Outlook Anywhere - A web exception occurred because an HTTP 404 - NotFound response was received from IIS7
I am trying to connect Outlook 2007 to an SBS 2008 server using Outlook Anywhere but it is not working. Autodiscover seems to be OK but there is a problem with RPC. I get the error message "A web exception occurred because an HTTP 404 - NotFound response
was received from IIS7" from ExRCA. OWA is working fine. I am using a 3rd Party Certificate. When I type
https://localhost/rpc/rpcproxy.dll on the CAS, I get the following error:
Error Summary
HTTP Error 404.0 - Not Found
The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.
<fieldset><legend>Detailed Error Information</legend>
Module
IIS Web Core
Notification
MapRequestHandler
Handler
StaticFile
Error Code
0x80070002
Requested URL
https://localhost:443/rpc/rpcproxy.dll
Physical Path
C:\Program Files\Windows Small Business Server\Bin\WebApp\SBS Web Applications\rpc\rpcproxy.dll
Logon Method
Anonymous
Logon User
Anonymous
</fieldset>
<fieldset><legend>Most likely causes:</legend>
The directory or file specified does not exist on the Web server. The URL contains a typographical error. A custom filter or module, such as URLScan, restricts access to the file.
</fieldset>
<fieldset><legend>Things you can try:</legend>
Create the content on the Web server. Review the browser URL. Create a tracing rule to track failed requests for this HTTP status code and see which module is calling SetStatus. For more information about creating a tracing rule for failed requests, click
here.
</fieldset>
<fieldset><legend>Links and More Information</legend>This error means that the file or directory does not exist on the server. Create the file or directory and try the request again.
View more information »
</fieldset>
The RPC directory mentioned in this error does not seem to exist. I have already reinstalled the RPC over HTTP Proxy feature and Outlook Anywhere but still no luck.
Can anyone help with this?
April 28th, 2011 7:09am
Hi,
Have you included autodiscover name in certificate, If certificate does not have autodiscover name then outlook anywhere does not work and throug this error.
http://forums.msexchange.org/m_1800497404/mpage_1/key_/tm.htm#1800511512The
Path of a virtual directory on the server does not match the path in Active Directory:
http://technet.microsoft.com/en-us/library/dd535378(EXCHG.80).aspxAnil
Free Windows Admin Tool Kit Click here and download it now
April 28th, 2011 8:22am
Hey BruceJos,
After reinstalling the RPC over Http Proxy feature did you run IISReset?
-NS
April 28th, 2011 8:22am
Hi NS,
Yes, I did run IISreset.
Bruce
Free Windows Admin Tool Kit Click here and download it now
April 28th, 2011 8:24am
Hi Anil,
Yes, the certificate includes the autodisover hostname: remote.******.co.uk
The exchange server BPA does not throw up any errors relating to the virtual directory not matching AD.
Bruce
April 28th, 2011 8:30am
I Believe when a RPC VD is recreated, by default "Anonymos" permission is given.
Make Sure "Basic authentication" is enabled for RPC VD.
-NS
Free Windows Admin Tool Kit Click here and download it now
April 28th, 2011 8:41am
The RPC Vdir does not appear to exist? How do I confirm this?
April 28th, 2011 9:17am
Thats strange. I tried to do in my LAB and I was able to..!!
Can you try Restarting the Default Web Site.
Free Windows Admin Tool Kit Click here and download it now
April 28th, 2011 9:44am
I tried restarting the default web site but did not help. I have RPC and RPCWithCert showing under DefaultWebSite. I can browse RPC and get a blank screen after entering my credentials, which I believe is correct, but when I browse RPCWithCert using
HTTPS I get the 404 error.
April 28th, 2011 9:52am
If RPC VD is showing blank when tried to browse, thats correct. With regards RPCWithCert, thats something which you can Ignore I believe as it gets created along with the component.
If you go ahead and Enable the Outlook Anywhere, it should work...!!
-NS
Free Windows Admin Tool Kit Click here and download it now
April 28th, 2011 10:07am
Outlook anywhere was already enabled and doesn't work. I have tried disabling OA, uninstalling RPC over HTTP proxy, reboot, re-installing RPC over HTTP proxy and re-enabling OA but still no luck.
April 28th, 2011 10:18am
Quote: “I type https://localhost/rpc/rpcproxy.dll on the CAS, I get the following error …
I can browse RPC and get a blank screen after entering my credentials, which I believe is correct”
So, when browsing /rpcproxy.dll, the error 404 won’t appear again, right?
What’s the current error information in the ExRCA?
Could the outlook anywhere be used when you set client in the internal LAN, and check “On fast network …” and “On slow network …”?
Does the redirection set on the /RPC virtual directory?
Please run Test-OutlookWebServices and check if there’s any related error output
Please check if there’s any related event in the application log and IIS log after reproduce the issue
Please run ExBPA against the server for health check
James Luo
TechNet Subscriber Support
in forum
If you have any feedback on our support, please contact
tngfb@microsoft.com
Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
April 29th, 2011 3:35am
How's the issue currently? Any update?Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
May 1st, 2011 9:31pm
Quote: “I type https://localhost/rpc/rpcproxy.dll on the CAS, I get the following error … I can browse
RPC and get a blank screen after entering my credentials, which I believe is correct”
So, when browsing /rpcproxy.dll, the error 404 won’t appear again, right?
I still get the 404 error when browsing rpcproxy.dll
What’s the current error information in the ExRCA?
A Web exception occurred because an HTTP 404 - NotFound response was received from IIS7
Could the outlook anywhere be used when you set client in the internal LAN, and check “On fast network …” and “On slow network …”?
Only tried using external LAN. Will try on internal LAN.
Does the redirection set on the /RPC virtual directory?
Cannot find /RPC virtual directory in IIS7
Please run Test-OutlookWebServices and check if there’s any related error output
Results:
PleId : 1013
Type : Error
Message : When contacting https://remote.******.co.uk/Rpc received the error T
he remote server returned an error: (404) Not Found.
Id : 1017
Type : Error
Message : [EXPR]-Error when contacting the RPC/HTTP service at https://remote.******.co.uk/Rpc. The elapsed time was 15 milliseconds.ase check if there’s any related event in the application log and IIS log after reproduce the issue
Please run ExBPA against the server for health check
No critical errors but the following warnings:
1. The default web site contains the /rpc directory
2. The log file for the Windows SharePoint services configuration database is getting large.
3. The RPC Proxy Website value is missing.
4. Web.config exists in the Rpcproxy directory.
Bruce
Free Windows Admin Tool Kit Click here and download it now
May 2nd, 2011 2:56pm
Quote: “I have RPC and RPCWithCert showing under DefaultWebSite”
It seems that the “RpcProxy” entry is missing in the registry, please add it and reinstall the RPC/HTTP proxy component (KB
969743)Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
May 2nd, 2011 10:42pm