After publishing a simple web service, I encounter the following err when accessing it via the browser, like:http://localhost/web/get/win32_printer
in the IIS I also created one virtual application named "Web" which contains the following files:
so, the structure under localhost is like:
http://localhost/bin/xxx.dlls (the web services files)
/web /REST.svc & web.config file (this is the virtual application folder)
I wonder what's wrong, thx for helping me. I guess it's an IIS problem since web service was accessable before, but now it's not
I don't know where the problem is. who can tell me ?
Server Error in '/Web' Application.
The type 'ServiceLib.Web.REST', provided as the Service attribute value in the ServiceHost directive could not be found. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
View Complete Post