I have developed a trustworthy web service using ASP.NET, and while using the Visual Studio environment, it is a Works like magic IIS Express This service is a supplementary feature and we have to run on every machine on which our product is installed.
So I created a new directory WebService , which together with the Web.config and Global.asax files A directory is bin , which contains the RestulWebservice.dll file.
Then I have a new web page setup Web page based on IIS, web page based on C: \ inetpub \ wwwroot C: \ inetpub \ wwwroot \ RestfulWebservice (which holds the file described above) Has been doing.
However, if I To startup and http: // localhost: 80 / RestfulWebservice
, I'm getting an error 403.14, stating that I can not inspect the contents of this folder unless I do this to IIS Do not allow If I choose to allow it, then I just present the contents of the folder and not the service.
If I get straightforward web service resources (such as http: // localhost: 80 / restfulwebservice / home>
, I get a direct 404.0 error, telling me that the resource does not exist
What I'm doing wrong here, it's impossible to get A compiled library ASP.NET web service to run on strong IIS This is difficult, IIS Works like a magic on Express.
c: \ Windows \ Microsoft.NET \ framework \ v4.0.30319 \ aspnet_regiis.exe -i
Comments
Post a Comment