Problem with opening local saved svf file in offline forge viewer - autodesk-forge

We are converting rvt file to svf and saved it in local store.
Now we are want to open this saved file in offline viewer.
We have code for offline viewer but have problems, when we run this code with visual studio code from 'Go live server, we can see result. But when we want to run that code from server, we getting error with status 404.
here attached code and error`

Remove the extra ../ from the beginning of model's URL - looks like your viewer HTML is already at the root path on your server so in the screenshot you ended up with the wrong path http://Test_2/... for the model...

Related

Error with uploading my google chrome extnsion to chrome web store

Hey guys i have planned to upload my google chrome.
According to the documentation i have made the whole file in a zip format with the manifest.json in the root directory. i have developed the solution with reactjs
But when i select the file and uploaded it to the web store it shows me error like
An error occurred: Failed to process your item.
Invalid package. Please make sure it is a valid zip file and the file manifest.json is at the root directory of the zip package.
Can anyone tell me why am getting like this ??..
Any help would be appreciated ..Thanx in advance

styles.css resource not loading when on the server, works locally

I'm new to creating webpages, so perhaps this is really easy and I just can't see it. I have a HTML/CSS template that I am modifying for a new site. When I check the index.html file locally (in Dreamweaver or in browsers) it appears correct. When I uploaded them to the server then the website does not load the images and it appears that the styles.css file is not loading correctly. I have attached a few screenshots to get the ball rolling. As always thanks for your assistance.
Desired Output:
Current Output:
This is likely (later confirmed by asker in comment) a file and directory access right problem.
This can be verified by checking the access logs of the http server.
The solution is to update the ownership and permissions of any problem files so that the http server has rights to them. In this case, it is probably the easiest to examine the permissions of the index.html file and related folders and apply the same permission to the problematic files/folders.

Uploading remote image to webpage using Chrome File Upload Dialog

How do I upload an image that is located on the web to a different webpage without manually downloading and uploading it?
Example: Using the Chrome browser I want to upload the Wikipedia logo onto this post. I copy the URL of the image, https://www.wikipedia.org/portal/wikipedia.org/assets/img/Wikipedia-logo-v2.png, and on this page I click Image and paste the URL in the Upload File Dialog but then I get an error.
Screenshot of error at Chrome's Open File Dialog:
I used to be able to just paste the URL of a remote image and it would upload it as if it was a local file (probably downloading it to the Windows temporary internet files folder).
I'm not sure what happened, but when I try this now I get an error stating that the "The RPC has failed and did not execute" (translated from Dutch). Searching the internet for this error related to Chrome uploads gave no results.
Is my computer being weird, or have I been using a functionality that shouldn't have worked in first place?

flash cannot find xml file

i have a flash app that loads data from an xml file.
i get a network error 404 not found for the xml file but it shows the correct path to the xml file.
"NetworkError: 404 Not Found - http://www.mysite.com/movie/StartDATA.xml" this path is correct.
also i can call up this XML file in browser.
also this works on my localhost, just will not work on live server (have tried 2 different servers).
i thought a permission problem so i set XML to read/write all but also that does not work.
i am out of ideas now.

Can not load webpage in Rest webservice using apache wink

I have successfully implemented rest webservice using apache wink. I am using ant to build war and to deploy it to tomcat server. Now I want include html or jsp file in the project to display some results. But I dont know how to include it via ant build file. I tried copy and pasting the html file in the root folder as well as web-inf folder in tomcat's webapp folder and than restarted it. But so far I am not able to access it. Whenever I try to access html page it gives me error
org.apache.wink.server.internal.RequestProcessor - The following error occurred during the invocation of the handlers chain: WebApplicationException (404 - Not Found) with message 'null' while processing GET request sent to http://localhost:8080/outliers/index.html
Please help me how can I include html file in my server.
Basically you should just put the html file in the war's root directory. \
Don't put it in WEB-INF, it's is not accessible from the web!
If the html file in root directory, and you still cannot access it, check that tomcat started without errors. Sometimes errors are not displayed in console, so check the logs.