This project is read-only.

Error 404 when accessing the Quickview

Jun 24, 2014 at 7:21 AM
Have installed the latest version (12) on our test environment, however when trying to access the Quick view, the following error occurs;

Error: Error : 404: Not Found: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/> <title>404 - File or directory not found.</title> <style type="text/css"> <!-- body{margin:0;font-size:.7em;font-family:Verdana, Arial, Helvetica, sans-serif;background:#EEEEEE;} fieldset{padding:0 15px 10px 15px;} h1{font-size:2.4em;margin:0;color:#FFF;} h2{font-size:1.7em;margin:0;color:#CC0000;} h3{font-size:1.2em;margin:10px 0 0 0;color:#000000;} #header{width:96%;margin:0 0 0 0;padding:6px 2% 6px 2%;font-family:"trebuchet MS", Verdana, sans-serif;color:#FFF; background-color:#555555;} #content{margin:0 0 0 2%;position:relative;} .content-container{background:#FFF;width:96%;margin-top:8px;padding:10px;position:relative;} --> </style> </head> <body>
<div id="header"><h1>Server Error</h1></div> <div id="content"> <div class="content-container"><fieldset> <h2>404 - File or directory not found.</h2> <h3>The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.</h3> </fieldset></div> </div> </body>
</html>

This is running under IE10 with CRM 2013 SP1. Any thoughts?
Regards
Tom
Jun 24, 2014 at 9:55 AM
Could you run Fiddler to see which file is not being found and let me know, currently I have this running in SP1 just fine so maybe this is localized to your environment.

Thanks,
Rhett

Jun 25, 2014 at 1:12 AM
Hi Rhett,

Have worked out the problem. It is giving an error 404 when trying to get to the Organization.svc, and the reason for that is that we currently have the system running on both http and https (internally http), however the above service is only running on https.

If I start CRM from the https URL, it works fine. However if I enter the http address it looks for the service on this - which returns the 404 error.

Cheers
Tom
Jun 25, 2014 at 4:05 AM
Edited Jun 25, 2014 at 4:07 AM
Further investigation shows that the Organization.svc is accessible on both http and https - but the Quick View only works if it is running on https

The full details returned from Fiddler are;
GET /UAT/xRMServices/2011/OrganizationData.svc/SiteMapSet?$select=SiteMapXml%20HTTP/1.1 HTTP/1.1

#   Result  Protocol    Host    URL Body    Caching Content-Type    Process Comments    Custom  
39  404 HTTP    crm.apps.dev.adbri.com.au   /UAT/XRMServices/2011/OrganizationData.svc/SiteMapSet?$select=SiteMapXml    1,245   no-cache; Expires: -1   text/html   iexplore:5000           


Cheers
Tom
Jun 25, 2014 at 6:16 AM
This is suggesting that the OrganizationData.svc is not accessible using http. I think when the quick view loads it calls getClientUrl and it uses this to construct the URL, I wonder if something cross domain is happening. Do you have the URL wildcard or both full URLs prefixed with/without https in IE Local intranet zone?

Jun 30, 2014 at 5:24 AM
Hi Rhett,

Interestingly accessing the Organization.svc works for both http and https, however the OrganizationData.svc retuns the error 404.

I will work on changing our system to redirect anyone who enters an http address to the secure https, which should hopefully fix the problem.
Regards
Tom