TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Chad Mancl
NA
11
0
Security Exception Opening SqlConnection After Invoking Dll
Jun 16 2009 4:21 PM
Hello....
Thanks in advance for any help you can give me...
I am trying to load a Dll on the fly (C# .net Assembly 2.0) which works just fine. I can Load the assembly, get the type, and invoke the member. I can step into the dll loaded, but I am getting a SecurityExeption stating...
"Request for the permission of type 'System.Data.SqlClient.SqlClientPermission, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed."
The dll is located on another server. This server is used by multiple other applications to call Com Objects and is used for referencing .Net Assemblies, but I need to call this dynamically because the Dll name will be pulled out of a database.
I'm getting the exception on the SqlConnection.Open()
thanks for your help...
Chad
Reply
Answers (
0
)
intellisense in a asp textbox
Calling .net code (managed code) from vb