First, I am a Delphi/Java developer that is having to do maintenance on a VB.NET application. Actually, the application was just converted to VB.NET from VB6, but the person that did the conversion no longer works here.
Anyway, I have been fixing bugs on the .NET version of the application and I am ready to deploy the app to the network for testing. Being new to .NET, I didn't know about the CAS policy. So, after a few hours of searching, I found that a bad (but catch all) solution to this is to change the local Intranet security policy to Full Trust. The machine I am using has 3 versions of the .NET runtime 1.0, 1.1, and 2.0. So, I made the CAS policy change in 2 places(apparently the 1.0 and 1.1 CAS stuff is in the same place). Unfortunately, that didn't fix my problem. the application still won't run form the network drive.
But now I have a new problem. After getting the CAS policy settings changed, I can no longer open the designer in VS. All of the forms give me a variation of the following error:
Could not load type 'System.Int32' from assembly 'mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c56193
4e089' because the format is invalid.
I did some searching and saw a few things about .snk files in the general assembly area, but I don't even know what that means.
Any help is appreciated. BTW: I am not an admin on my workstation so some changes will not be possible for me to make on my own.
Thanks
Start Free Trial