Solved

Moving vb.net project from local machine to server

Posted on 2009-05-05
4
487 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 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

Independent Software Vendors: 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

Suggested Solutions

Title # Comments Views Activity
Need help with a query 14 48
wrapping text in datagridview header columns 1 26
CSS styling problem 3 21
unable to isntall .net framework 3.5 19 22
This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
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…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

738 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