Security Exception
-
Hi I have devloped an asp.net appliaction that uses MS Access DB and tested it successfully on my PC locally, but when i tried to upload the application on Server that i have a rented space on it, i had a security exception when i try to access my DB file, i put it in a separated folder under the root directory, but i had the same error, which is: Security Exception Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file. Can any one help me quickly. My Email is: eng_mahmoud_tahoon@hotmail.com Thank you
-
Hi I have devloped an asp.net appliaction that uses MS Access DB and tested it successfully on my PC locally, but when i tried to upload the application on Server that i have a rented space on it, i had a security exception when i try to access my DB file, i put it in a separated folder under the root directory, but i had the same error, which is: Security Exception Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file. Can any one help me quickly. My Email is: eng_mahmoud_tahoon@hotmail.com Thank you
-
Hi I have devloped an asp.net appliaction that uses MS Access DB and tested it successfully on my PC locally, but when i tried to upload the application on Server that i have a rented space on it, i had a security exception when i try to access my DB file, i put it in a separated folder under the root directory, but i had the same error, which is: Security Exception Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file. Can any one help me quickly. My Email is: eng_mahmoud_tahoon@hotmail.com Thank you
Whenever Access opens a database it creates a temporary working file (.idb) or something like that. Anyway, when your applications access the database it is being opened by the SERVER_MACHINE_NAME/ASP.NET account... more than likely that account doesn't have modify permission on the folder you are saving it in. Usually a hosting company can work with you fairly quickly to eliminate this question by having them tell you whether the account mentioned above has the modify permission on the folder the database is in. Usually hosting companies will have a 'Data' folder that this permission is set on, all the other folders are generally read-only.