Solved

Moving vb.net project from local machine to server

Posted on 2009-05-05
4
483 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
Comment Utility
Delta7428:

Check for the user permissions on the server
0
 

Author Comment

by:Delta7428
Comment Utility
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
Comment Utility
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
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

763 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now