I have created a webservice and I want to deploy it on my local machine. I am using Windows Server 2008 R2 Ente开发者_C百科rprise edition. Till now I have done following things:
- Copied compiled file to the folder in WWWROOT folder [MyApp]
- Shared the folder to all available role in the computer
- I have checked in the IIS and I can see the folder here
- But when I tried to browse it from IIS I am getting this error:
Please help me.
If you look in your error screen you will see it say to enable directory browsing in your IIS :)
I think this should do the trick.
http://technet.microsoft.com/en-us/library/cc731109%28WS.10%29.aspx
Simple, you forgot to write Service asmx :)
http://localhost/MyApp/Service1.asmx
this should work
精彩评论