Click here to Skip to main content
15,892,809 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have one website hosted to Direct-I under shared hosting..When i am running my website from local its working fine. But after transferring it on server it was working fine before but now Direct-I have Changed Trust level from "Full" to "Medium" and becuase of that the website is not working and giving me following error:-

"This configuration section cannot be used at this path. This happens when the site administrator has locked access to this section using <location allowoverride="false"> from an inherited configuration file."

I spoke to Direct-I people they told me that they can not change the trust level from medium becuase of security issues, and asking me to change in code. but there is nothing in code to change becuase when i set the trust level to medium and run the same code locally its working absolutely fine.

I search for the solution on seleval sites they are asking to change the
<location allowoverride="Allow"> in applicationHost.config but the site is hosted on the server and not on our end.

And one more point is noted that the website open on my system from server perfectly but when clients try to access the website its not opening. Technically if they have set the security then either it should not open or open completely.

Please Help me on this.
Thanks in advance
Posted

1 solution

Hi,
try to remove configSection from web.config and upload it again.
It might solve your issue.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900