[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Moving vb.net project from local machine to server

Posted on 2009-05-05
4
Medium Priority
?
493 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 1

Assisted Solution

by:chuckdsc
chuckdsc earned 1500 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 1500 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

650 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