Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I am currently on a shared hosting plan with iis 7.0

I have an asp.net mvc application in the wwwroot of my hosting. Now I made a virtual directory to store my webservice in(I don't want to have to host this on a sub domain and pay extra)

However when I put my web service code in my virtual directory and try to run it I get this

Error Summary
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    BeginRequest
Handler Not yet determined
Error Code  0x80070005
Config Error    Cannot read configuration file due to insufficient permissions
Config File \?C:HostingSpacesintSite.comwwwrootweb.config
Requested URL   http://www.Site.com:80/VirtualDirectory/Webservice.asmx
Physical Path   C:HostingSpacesintSite.comwwwrootVirutalDirectoryWebservice.asmx
Logon Method    Not yet determined
Logon User  Not yet determined
Config Source

   -1: 
    0: 

I don't know what the probelm is nor how to fix it.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
887 views
Welcome To Ask or Share your Answers For Others

1 Answer

You should check the permission of the user account of the apppool. Or you can check the security property of the folder(C:HostingSpacesintSite.comwwwroot). Ensure the account of the apppool of IIS can read the folder at least.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...