Author: rajneeshrana88 | Posted on: 1/30/2009 7:31:56 AM | Views : 274

 i am working on a website project for my college.
my problem is with the trust level settings on the web server.
i am able to use the application on main domain  example.com and there is no problem connecting to database.
But i tried to test the application on sub-domain  my.example.com
but when ever i try to acces the database from sub-domain security exception occurs.
i contacted the contact support of web hosting company and they gave the answer that my application is trying to use full access  and i should try to compile my application in medium or low level.
 
But when i changed the trust level in web config file the application is not able to connect to database on my local pc .
 Also, when i changed the trust level in web config file to medium and deployed the application on sub-domain then
it gives error that override disabled by administrator.
 
please help me with this pr ...

Go to the complete details ...