Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / July 2007

Tip: Looking for answers? Try searching our database.

That assembly does not allow partially trusted callers.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Stephen - 03 Jul 2007 14:00 GMT
VS2005 app cannot access a call to an ODBC conection. I get a security
warning"
That assembly does not allow partially trusted callers."

I have a strong name for the project set in the project.

What do I have to do to allow this application to be called from a file
server instead of the local drive.

Is there a way to set the data tier's dll to the local drive? If so how do
I set up the base project to not look for that dll in the bin directory?

TIA

__Stephen
Alvin Bruney [MVP] - 04 Jul 2007 15:42 GMT
Turn CAS policy off temporarily and then try the application again. It
should work. That will confirm a CAS issue. If that's the case, you have a
couple of options (in no particular order):
   1. Run the application with higher trust
   2. Configure CAS policy to allow the access (preferred)

Signature

Regards,
Alvin Bruney
------------------------------------------------------
Shameless author plug
Excel Services for .NET is coming...
https://www.microsoft.com/MSPress/books/10933.aspx
OWC Black Book www.lulu.com/owc
Professional VSTO 2005 - Wrox/Wiley

> VS2005 app cannot access a call to an ODBC conection. I get a security
> warning"
[quoted text clipped - 11 lines]
>
> __Stephen

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.