Click here to Skip to main content
15,895,709 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Plz help me solve my problem...

I host the website its is showing the following error msg..

HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.



Detailed Error Information
Module IIS Web Core
Notification Unknown
Handler Not yet determined
Error Code 0x80070005
Config Error Cannot read configuration file due to insufficient permissions
Config File \\?\D:\inetpub\vhosts\insidevizag.com\httpdocs\web.config





Please help me to solve the problem..
Posted

The error seems to be that your site does not have access to the web.config file. First, check to be sure there is a config file there. Next, check what the permissions are set to on the file. The process that runs your app pool should have access to read the web.config file. Here is a Stack Overflow question with more details:

http://stackoverflow.com/questions/5615296/cannot-read-configuration-file-due-to-insufficient-permissions[^]

Since this is a hosted environment, there may be some things that are outside your control (shouldn't be, but I've seen it happen). If that is the case, you will need to contact your hosting company for help. However, don't do that until after you have walked through the above solutions and tried them.
 
Share this answer
 
It may also be worth checking the permissions on your file. If you're using FileZilla to access the server, right click the file, select permissions and then select the relevant permissions to your task. To save time 777 enables read, write and execute access for your file.
 
Share this answer
 
Hi,
You need to take a close look at your web.config file, it looks like you may have a duplicate line in the HttpHandlers section.

It could also be that you have 2 web.config files i.e. 1 in the root folder and a second in the imageserver folder, with duplicate entries. If this is the case then you have 2 options

1. remove the duplicate entries from the config file in the subdirectory as the application in the sub directory will automatically inherit the settings form the config file in the root directory

2. mulch all the settings in the config file in the root folder and remove the config file in the subdirectory (this is probably a bit more advanced as you will need to use tags to specify any application specific settings for the application in the subdirectory)
All the best.
--AK
 
Share this answer
 
SQL
ok, do as it is ....

Go to your Default website in INETMGR, Right click and select Properties give the path Correctly and run it.... Definetly it will run.


Thanks.
 
Share this answer
 
hi,

at first your project compatible .NET version of instal your iis.
then configure the website.
 
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