.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Reply
Message 1 of 2
Nawara17
181 Views, 1 Reply

.Net problem

Hi there,

I hope somebody can help me in this problem.
I am using visual C# Express and SQL Server Express in windows XP in my local pc. I had build a small program just to check if it is working when i call it from AutoCAD. it gives me an error that "the database cannot be opened it has been located in UNC share".
when i click on continue it opens the form but it does not retrieve the data from the SQL Server.
and there is another thing i think its related to the same problem,
when i restart my pc a message box appears it says that

" The application attempted to perform an operation not allowed by the security policy. The operation required the securityException. To grant this application the required permission please contact your system administration tool.
...
Request for the permission of type
System.Security.Permissions.SecurityPermission, mscorlib,
Version=1.0.5000.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089 failed."

this is the whole thing. please can anybody help?
Note: when i use another program that is not connected to a database everything is running without any problem.

sorry for my bad english 🙂

and thanks in advance.
1 REPLY 1
Message 2 of 2
Anonymous
in reply to: Nawara17

control panel > administrative tools > Microsoft .NET Framework 1.1
Configuration

--
Regards,
Tim
http://www.theswamp.org/~tim/pyacaddotnet/


wrote in message news:5147062@discussion.autodesk.com...
Hi there,

I hope somebody can help me in this problem.
I am using visual C# Express and SQL Server Express in windows XP in my
local pc. I had build a small program just to check if it is working when i
call it from AutoCAD. it gives me an error that "the database cannot be
opened it has been located in UNC share".
when i click on continue it opens the form but it does not retrieve the data
from the SQL Server.
and there is another thing i think its related to the same problem,
when i restart my pc a message box appears it says that

" The application attempted to perform an operation not allowed by the
security policy. The operation required the securityException. To grant this
application the required permission please contact your system
administration tool.
...
Request for the permission of type
System.Security.Permissions.SecurityPermission, mscorlib,
Version=1.0.5000.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089 failed."

this is the whole thing. please can anybody help?
Note: when i use another program that is not connected to a database
everything is running without any problem.

sorry for my bad english 🙂

and thanks in advance.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost