I have downloaded the arcgis web app builder and able to configured properly by using arcgis developer account. Now, everytime i have to execute startup.bat file to load my application. I want to know how can i configure this application into IIS so others can also access and use.
Anyhelp would be greatly appreciated.
Normally the Web AppBuilder application is intended to be installed on a development machine and the app that is developed and configured is what is intended to be shared on your web server for use by others. But there has been threads discussing setting up WAB on a server for multiple people to use as a shared resources.
Rebecca has some great resources/tips for installing WAB as well:
Also, to add on to what Robert mentioned, if you are just trying to deploy (a snapshot of) and app for others to see, and not expecting for them to be able to edit or see immediate changed (without redeploying), check out
Thanks Rebecca and Robert for your quick reply. But i feel rebecca answer is more closer to what i want.
Let me narrow down my problem further:
I only want to deploy my configured app to IIS server not complete app builder and while mapping following path in IIS (D:\XXX\iPLAN_Code\arcgis-web-appbuilder-1.1\client\stemapp)
and browsing on port 80 via http://localhost/iPLANII/index.html
I am getting attached error. Is there a real need to configure proxy also before publishing it to IIS as stated in rebecca reply. Please confirm
So it look like you have a pathing problem as the errors you show all are trying to access http://localhost/http://localhost/....
No you do not have to setup a proxy, but it will definitely help when any of your requests exceed the url limit and need to use post (this happens a lot when buffering and other large geometry operations).
Deploying the app to IIS is pretty straight forward.
Though i have followed the same steps , still i am facing same error only. Only i am not using 'connect as ' because i am having admin rights on my system. Also, not configuring the proxy.
It's really annoying why it is not working ?
I have also tried mapping path to IIS i.e. D:\arcgis-web-appbuilder-1.1\client\stemapp but no success.
Please suggest something
That you tested that you have IIS functioning correctly? Have you tried just the localhost as the url in your browser and gotten the welcome to iis page?
I am a admin of my whole network and I still use connect as in iis. Did you use the "Test Settings... and get both tests to pass without using the connect as?
Your test of using D:\arcgis-web-appbuilder-1.1\client\stemapp should have FAILED with just the loader screen (blue screen) with white progress bar in middle on going so far. This is because the stemapp site does not have its env.js setup correctly yet. You have to setup an app that has been "Downloaded" as instructed in the steps of my previous post.
As you have yet to get a WAB app properly deployed I would advise that you open WAB using the bat file and create a new app then follow my EXACT steps and see if you can get a site to deploy properly. Lots of people are getting WAB apps deployed on IIS so it has to be something you are doing or something in your deployment environment.
Yes, my iis is working fine.
I will try creating new application and than let you know . Thanks for your advice.
Also, one doubt in my mind , may be this question is irrelevant but just for the sake of knowledge. I can see env.js exist in stemapp folder and that too similar to the one downloaded via app. So what's the difference setting up from this folder or after downloading?
Thanks again for these tips.
Could you clarify Step 9:
My last step is to open the config.json file from the c:\www\MywabApp1 folder and use by JS IDE (Brackets) to "beautify" the json and then add my proxy url.
What should I be adding as my proxy URL?