jennyek2000
Programmer
In my application I have used ADOX to create a database. The assembly I have created to run on all the computers has been given FULL TRUST by using the .NET framework wizards. Howerver, when I try to run the application and attempt to run the code that creates the database, I get the following error:
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 administrator, or use the Microsoft .NET security policy administration tool.
System.Security.Permissions.SecurityPermission at ADOX.CatalogClass.Create(String connectionstring).
Can anyone tell me why Im getting this error even though the assembly has full trust and how to fix the problem - anyone had this problem before?
Thanks,
Jenny
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 administrator, or use the Microsoft .NET security policy administration tool.
System.Security.Permissions.SecurityPermission at ADOX.CatalogClass.Create(String connectionstring).
Can anyone tell me why Im getting this error even though the assembly has full trust and how to fix the problem - anyone had this problem before?
Thanks,
Jenny