Link to home
Start Free TrialLog in
Avatar of Dee
DeeFlag for United States of America

asked on

Moving vb.net project from local machine to server

I have developed a project on my local machine that I am trying to move to the server.  When the main form opens, it creates a new database connection and recordset.

I am getting this error:  InvalidOperationException.  That assembly does not allow partially trusted callers.

I have located other posts with this error, but I am not understanding what to do or how it applies here.  This is my first .net project.  I am working in 3.5 framework.
SOLUTION
Avatar of chuckdsc
chuckdsc

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Dee

ASKER

This is not an issue with my vb6 apps.  They are all developed on the server.  Why would permissions be different for .net?
Avatar of Dee

ASKER

I have resolved this.  I just needed to designate the application as a full trust application in the security settings in the project properties.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial