Hoppa till huvudinnehållet

Viewer Launch URL Results in "File or directory not found" (404)

Kommentarer

12 kommentarer

  • Dan Giersz
    Sounds like you did not install any viewer template duing post-install.  The post installer installs the viewer template for use in Essentials Manager and it also deploys it to IIS.
    0
  • Permanently deleted user
    Thanks Dan.  I do see the template in Manager, though. I thought I would not see it there if it had not installed during the post-install.  Is that correct?              _img_ alt="User-added image" src="https://latitudegeo--c.na53.content.force.com/servlet/rtaImage?eid=907600000004FtI&feoid=Body&refid=0EM600000004Y4B"_/_img_
    0
  • Dan Giersz
    Deploying to Manager and deploying to IIS are two separate steps, I think.

     

    Do you have a folder on your server in C:\inetpub\wwwroot with the name of the template you deployed?

     

     
    0
  • Permanently deleted user
    No, which I was curious about.  When I run through the set-up ,though, it created a "Html5Viewer" folder in the wwroot folder.
    0
  • Dan Giersz
    Are you still having issues?
    0
  • Permanently deleted user
    ...sorry, upon re-reading, maybe that is what you meant.  When I set-up the template in the post-installation, it created a virtual directory ("Html5Viewer" by default).  When I create a viewer based on that template, there is not folder in wwroot.  I just re-deployed to IIS and now getting a new error:

     

    An error occurred.

     

    ConfigurationDomainMismatch: Could not load viewer because the specified configuration file is not on the same domain as the viewer 
    0
  • Dan Giersz
    There won't be a folder for your sites in the wwwroot/Html5Viewer folder.  The Administrator Guide will give you the default locations of everything.

     

    Do you have your viewer installed on the same server as Essentials?  What URL are you using to launch your viewer?  It should be something like this, where the bold items need to be the same: http://<your domain or server name>/Html5Viewer/Index.html?configBase=<your domain or server name>/Geocortex/Essentials/REST/sites/<your site name>/viewers/<the viewer name of your site>/virtualdirectory/Resources/Config/Default
    0
  • Permanently deleted user
    It looks similar to that BUT it has httpS the first time it lists the domain but http (no S) after "configBase"

     

    http S ://<mydomain>/Html5Viewer/Index.html?configBase= http: //<mydomain>/Geocortex/Essentials/REST/sites........

     

     
    0
  • Dan Giersz
    Make them match and see what happens.  And take a look at host configuration in the installation guide.
    0
  • Permanently deleted user
    Dan, I had tried that yesterday but got the same results.  I got help from Latitude Geo.  What I had to do to fix this was go into the Manager\WebConfig and change the "EssentialsUrl" (http to https).  Not sure why that is different than manually changing it, but it did the trick.

     

    Thanks for your help!
    0
  • Permanently deleted user
    Shana - would you be able to share the exact location of the Manager\WebConfig fix?

     

    Is it stored locally at this location:

     

    Program Files (x86)\Latitude Geographics\Geocortex Essentials\Default\REST Elements\Manager\Web.xml

     

    Vanessa
    0
  • Permanently deleted user
    Yes, it is stored at the location you mentioned and the file is called Web.config. When I had this issue, the Url in my web config was different from Manager. I just had to change the http to https in the config file.

     

        <add key="EssentialsUrl" value="https://<domain>/Geocortex/Essentials/REST/sites" />
    0

Du måste logga in om du vill lämna en kommentar.