Solved

Moving vb.net project from local machine to server

Posted on 2009-05-05
4
486 Views
Last Modified: 2013-11-08
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.
0
Comment
Question by:Delta7428
  • 2
  • 2
4 Comments
 
LVL 1

Assisted Solution

by:chuckdsc
chuckdsc earned 500 total points
ID: 24311170
Delta7428:

Check for the user permissions on the server
0
 

Author Comment

by:Delta7428
ID: 24314993
This is not an issue with my vb6 apps.  They are all developed on the server.  Why would permissions be different for .net?
0
 

Author Comment

by:Delta7428
ID: 24315792
I have resolved this.  I just needed to designate the application as a full trust application in the security settings in the project properties.
0
 
LVL 1

Accepted Solution

by:
chuckdsc earned 500 total points
ID: 24322203
Delta7428 have you not taken the solution I have given as the base to arrive at your result, by looking into the security settings of the application,

if not full points, should I not be receiving some points for this?



0

Featured Post

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question