ContextCapture Webviewer Hangs and .3mx give HTTP error 404.3

Hello all,

Just beginning to work with the ContextCapture Web Viewer to show it's potential to my supervisor, but I am having some trouble getting it to work.

Specifically I am working in IIS Express (allows for web development without admin rights) using the Command Line. The localhost I set up has the Production folder copied across from the Web Ready output (with both App and Scene folders). 

Trying to access the production, a fire hydrant, is not working when I use "localhost:[portnumber]/[ProductionFileName]/App". The page itself says "We are sorry, but there seems to be a problem with loading the scene. This might be a browser problem, so please try a different browser, such as Chrome". I have tried both Chrome and Microsoft Edge, with the same output.

On Command Line, this is the key output relating to the .3mx:

"Request started: "GET" localhost:9999/.../FH.3mx
Request ended: localhost:9999/.../FH.3mx with HTTP status 404.3"

Although the FH Scene is located within that folder. Link for those who aren't sure what the error is: https://www.webhosting.uk.com/kb/iis-http-error-404-3-not-found-add-a-mime-map/

Could it be a problem to do with access issues? Do I need to do any more work than described in this link here? https://docs.bentley.com/LiveContent/web/ContextCapture%20Help-v10/en/GUID-3F710259-3B5A-4B00-8C2A-AE41C0A43EBF.html

Thanks in advance, 

Hugh

Parents
  • Here is the answer I came to in the end that fixed it.

    Go to the Program Files that your IIS Express is located in. Enter the IIS Express folder and go to the AppServer folder. Open "applicationhost.config" with a text editor (this is the template file that all IIS Express localhosts are based on).

    Enter the editor, and find the static content section (Line is <staticContent lockAttributes="isDocFooterFileName">)

    Add the following lines (in alphabetical order with the other MIME types present):

    <mimeMap fileExtension=".3mx" mimeType="application/octet-stream" />

    <mimeMap fileExtension=".3mxb" mimeType="application/octet-stream" />

    Save and restart your IIS Express server. Should be able to open .3mx productions in IIS Express now.

    Cheers for all the help!

    Hugh

    Answer Verified By: Hugh Barlow 

Reply
  • Here is the answer I came to in the end that fixed it.

    Go to the Program Files that your IIS Express is located in. Enter the IIS Express folder and go to the AppServer folder. Open "applicationhost.config" with a text editor (this is the template file that all IIS Express localhosts are based on).

    Enter the editor, and find the static content section (Line is <staticContent lockAttributes="isDocFooterFileName">)

    Add the following lines (in alphabetical order with the other MIME types present):

    <mimeMap fileExtension=".3mx" mimeType="application/octet-stream" />

    <mimeMap fileExtension=".3mxb" mimeType="application/octet-stream" />

    Save and restart your IIS Express server. Should be able to open .3mx productions in IIS Express now.

    Cheers for all the help!

    Hugh

    Answer Verified By: Hugh Barlow 

Children
  • Or copy this web.config file in root of the published 3mx folder

    <?xml version="1.0" encoding="UTF-8"?>
    <configuration>
        <system.webServer>
            <staticContent>
                <mimeMap fileExtension=".*" mimeType="application/octet-stream" />
            </staticContent>
        </system.webServer>
    </configuration>
    

    Answer Verified By: Hugh Barlow