Advertisement

05.15.2008 at 08:42AM PDT, ID: 23405608
[x]
Attachment Details

How do I run .NET application from network drive, and why am I getting designer errors now?

Asked by wayneatchley in Visual Studio .NET 2005, Microsoft Visual Basic.Net

Tags: Microsoft, Visual Studio 2005, Version 8.0.50727.42, VB.NET, One or more errors encountered while loading the designer

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=b77a5c561934e089' 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.

ThanksStart Free Trial
[+][-]05.15.2008 at 10:22AM PDT, ID: 21576075

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Visual Studio .NET 2005, Microsoft Visual Basic.Net
Tags: Microsoft, Visual Studio 2005, Version 8.0.50727.42, VB.NET, One or more errors encountered while loading the designer
Sign Up Now!
Solution Provided By: emoreau
Participating Experts: 1
Solution Grade: A
 
 
[+][-]05.15.2008 at 10:53AM PDT, ID: 21576412

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628