10-02-2007 12:11 PM
10-02-2007 12:27 PM
Yes, feel free. I called earlier today with request #7171174.
To make matters worse I recently purchased Base 8.5 and App builder for 8.5 but I can't use either until I figure out the .NET problem. I'm getting a lot of heat from mgmt so any help would be GREATLY appreciated!
10-05-2007 02:56 PM
caspol -q -machine -addgroup 1 -url file://z:/* FullTrust -name "Z Drive"
He also iterated that All of the assemblies need to be in the same directory as the project or subdirectory unless they are stored in the GAC.
After moving all my assemblies and builds to a local drive I was able to to get everything running.
10-05-2007 04:26 PM
10-08-2007 09:55 AM
10-08-2007 03:33 PM
Hi remenakb,
In this case it helps to understand how the .NET CLR actually finds the
requested assemblies. I could go into detail, but I would rather have Microsoft
explain it to you. See the topic How the Runtime
Locates Assemblies and then particularly the probing section
(explains how the .NET CLR probes for assemblies using its heuristic chain).
Basically, you are putting the .NET assemblies in locations that the .NET CLR
doesn't probe and thus it can't load the needed assemblies. This in turn
doesn't allow LabVIEW to load the assemblies for reflection.
To resolve this issue, you need to help out the CLR by providing a
configuration file that uses the privatePath attribute. This privatePath
attribute allows the .NET CLR to search user-defined lists of subdirectories
under the root location (in this case the root location is the LabVIEW project
directory). In your case, you would set the attribute to your subdirectories.
So you would create a project configuration file named MyApp.lvproj.config (where MyApp is the name of your
project) and put that configuration file in the same directory as the actual
lvproj file. Then you would edit that file in some text-editor and put the
syntax
<configuration>
<runtime>
<assemblyBinding
xmlns="urn:schemas-microsoft-com:asm.v1">
<probing
privatePath="bin;bin2\subbin;bin3"/>
</assemblyBinding>
</runtime>
</configuration>
Then close and re-open your LabVIEW project so that it can use the
configuration file. You should now be able to open a VI that uses your .NET
assemblies. You should also be able to browse for public constructors via the
.NET Constructor Node.
Hope this helps!
Best Regards,
12-06-2007 01:00 PM
12-10-2007 06:07 PM - edited 12-10-2007 06:08 PM
12-12-2007 12:42 PM
12-13-2007 07:15 PM
Hi Stacy,
That could make a difference. It is hard to say. I would defiantly try this first.