Compartilhar via


Help, I've lost my remote object!?

So this is the 1st time I've seen this but I guess it makes sense since I only deal with so many things.  I was helping someone setup IIS hosting of a remote object but for the life of me I couldn't get it working on this W2k3 box.  I kept getting 404 (not found) when attempting to invoke the remote object.  We'd switch to XP and everything's kosher...back to W2k3 with the same code and it wouldn't work.  I checked the IIS logs and found my entry but still no luck.  I even ran filemon to see if the config file for the object was getting touched by IIS/ASP.NET but nada.

IIS Log:

2005-06-22 17:10:43 XX.XX.XX.XX GET /Remoting/RemoteObj.rem - 80 - XX.XX.XX.XX HTTP/1.1 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+5.1.2600.0;+MS+.NET+Remoting;+MS+.NET+CLR+1.1.4322.2032+) webserver98 404 0 2

Well, after consulting with Adam it turns out this is a "feature" of IIS 6:

“HTTP Error 404” – File or Directory no found” error message when you request dynamic content with IIS 6.0 - https://support.microsoft.com/?id=315122

and for reference purposes:

 

Web service extension lockdown policy prevents this request.

IIS Status Codes - https://support.microsoft.com/?id=318380