Hello everyone,
After deploying a new version of my WAB application to the server, I am getting the following error message.
Error |
and the trace in debug mode shows the following lines:
Failed to load resource: the server responded with a status of 404 (Not Found)
/[myapp]/jimu.js/main.js?wab_dv=2.2:173
jimu.js init...
/[myapp]/jimu.js/ConfigManager.js?wab_dv=2.2:127
Load Config: 461.248ms
I am not using portal.
When I access the application via AGOL, I receive the same error.
But if I access the same application locally in IIS on the server:.
http://localhost/webapplication/index.html it works if I type local host
http://[servername]/webapplicaiton/index.html it fails if I type the server name
In my workstation the same WAP application works fine:
http://[my workstation]/webapplicaiton/index.html
Any ideas of why it fails
Jose,
Have you seen the FAQ on this invalid redirect issue?
FAQs—Web AppBuilder for ArcGIS (Developer Edition) | ArcGIS for Developers
And if the official help doc Robert pointed you to does work, check out /blogs/myAlaskaGIS/2015/01/15/tips-and-observations-for-getting-web-appbuilder-developer-edition-ins...
Where can I find the file signininfo.json?
On the development server I just deployed the IIS Web App builder Application from my workstation using Visual Studio 2012 and using the VS option Publish a project. I revised the links and they all point to the development server in my workstation, for example
proxyUrl: "http://[development server]/proxy/proxy.ashx
This WAB project was working fine on the server before I deployed this new version.
Thanks.
Jose,
Your post is pretty unclear... Can you clean up your post and clearly define your question/issue? Also have you checked the browser console window for errors?
Found it, the "appId": "", in the config files was the wrong one.
This is my development cycle:
- create application in Web Application Builder in my workstation,
- download the application locally, create a virtual directory in IIS in my workstation pointing to it
- open the web application with Visual Studio 2012, using the option "Open web Site" and customize it in my workstation
- with Visual Studio 2012, publish the application on the development server (a testing server), in order to be tested by the users
- deploy to production server when end users approve the application or enhancements
Thanks