I am getting a Security Exception on pages that are trying to connect to my database. I am using a MSAccess database in the access_db folder. I am using an OleDbConnection to connect to the database. The site works fine locally, but I cannot find a workaround for the security errors. The error can be seen by going to http://www.yalemountaineering.org/trips.aspx. I am aware that godaddy shared servers operate on medium trust with the addition of OleDbPermission. When I have run under medium trust with the addition of my OleDbPermission on my development server, the application ran perfectly. However, on the godaddy server, I still get permission errors. Look below for the very brief piece of code that demonstrates there are no other denied calls.
Thanks for your help!
1 <%@ Import Namespace="System.Data.OleDb" %>
2 ...
Go to the complete details ...