Just reinstalled the Windows 2008R2 Server and I am in the process of deploying the applications ti IIS. I haev a RESTFul service in .NET 4.0 that will not work.. It works great on my developing machine (Win 7). I get a following error: Module IIS Web Core
Notification MapRequestHandler Handler StaticFile Error Code 0x80070002 Requested URL http://localhost:801/M24/Services/HelpDesk/RestHelpDesk/ticket/3 Physical Path E:\Pluto\M24\Services\HelpDesk\RestHelpDesk\ticket\3 Logon Method Anonymous Logon User Anonymous
My web.config: Global.asax.cs file: private void RegisterRoutes() { // Edit the base address of Service1 by replacing the "Service1" string below RouteTable.Routes.Add(new ServiceRoute("RestHelpDesk", new WebServiceHostFactory(), typeof(RestHelpDesk))); }
I belive this has something to do with the routing... I have seached for solution and tried almost anything i have found, but nothing works... Any ideas???
↧