?
Solved

Moving vb.net project from local machine to server

Posted on 2009-05-05
4
Medium Priority
?
498 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 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

Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Suggested Courses
Course of the Month16 days, 18 hours left to enroll

862 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