Select to view content in your preferred language

Deployment of Web Application

1186
8
Jump to solution
04-23-2012 07:32 AM
ionarawilson1
Deactivated User
Can somebody explain to me what I need to transfer the web map application from my machine to a web server? I see on some posts that I all I need is to create a virtual directory and create a path to the bin-release folder of my application. However I also see articles mentioning the need of exporting a webservices handler, updating the rest configuration files and configuring the arcgis webservice handler cache. So, do I really need to export the services handler and do I need to republish all the services again and copy all the data to the web server machine? So far, I have published the services in my local machine that also is the SOC and SOM machine, but when I move the web server the SOC and SOM are in different machines. We use IIS 7.0 manager and ArcGIS server for  the Microsoft .NET framework. What would be the main steps needed to make the transition to the web server? Thank you for the help in advance!
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus
Ionara,

   In Flash Builder you go to the project menu and choose 'export release build' this will create the swf(s) needed by your web server. You then copy ALL the contents of the bin-release folder in flash builder to your web server to a folder that you will setup a virtual directory for. In IIS you would open your default website and right click it and choose 'Add Application', give it an alias, and browse to the physical path (the folder that you copied all the bin-release files to). The directory folder needs to be shared with everyone or at least iuser_machine name. You will likely have to specify a user name and password in the 'connect as' and then 'Test Settings'. You can Google tutorials on setting up a application if you need more info.


Don't forget to click the Mark as answer check on this post and to click the top arrow (promote) as shown below:

View solution in original post

0 Kudos
8 Replies
RobertScheitlin__GISP
MVP Emeritus
Ionara,

   In Flash Builder you go to the project menu and choose 'export release build' this will create the swf(s) needed by your web server. You then copy ALL the contents of the bin-release folder in flash builder to your web server to a folder that you will setup a virtual directory for. In IIS you would open your default website and right click it and choose 'Add Application', give it an alias, and browse to the physical path (the folder that you copied all the bin-release files to). The directory folder needs to be shared with everyone or at least iuser_machine name. You will likely have to specify a user name and password in the 'connect as' and then 'Test Settings'. You can Google tutorials on setting up a application if you need more info.


Don't forget to click the Mark as answer check on this post and to click the top arrow (promote) as shown below:
0 Kudos
karldailey
Deactivated User
yo'd also have to change the URL to match your production arcgis server.  it communicates over port 80 i believe so there should be no changes on it besides publishing your services.
0 Kudos
ionarawilson1
Deactivated User
Thank you Robert and Karl,

Sorry, my question was not very clear.  I was able to publish on my machine server. But I would like to know the general steps to publish the website in another server, in another machine.  Do I need to copy all the files and publish all the services again on this new machine. Do I need to make change to any config files?

Thanks!
0 Kudos
ionarawilson1
Deactivated User
Also, all the instructions point to selecting RSL (runtime shared library) as the framework linkage. Should I export the swcs with the data when I move the data to another computer? If so, how do I set the library path to use it in another computer? Right now the path is pointing to the C drive on my computer. Thanks!
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Ionara,

   You are WAY over thinking this... You develop your app on your development machine and then just like I said in my previous post you do a 'export release build' and copy all the contents of the at folder to the new servers inetpub/wwroot/yourAppsDirectoryFolder directory. and follow the normal IIS steps for setting up a web application. If you do not have a production ArcGIS Server setup yet than you need to do that, but if your map services are already on a production server that your new web server has access to then there is nothing else to do except ensure you have a crossdomain.xml file on your ArcGIS Server machine.
0 Kudos
ionarawilson1
Deactivated User
Hi Robert,

I  do not have a production ArcGIS Server setup yet so I am going to have to copy all the files and republish everything again, I believe. To follow our standard IT procedures I actually have to transfer everything to a testing server, then finally to a production server. Can you explain a little bit about the RSLs? I am not sure which option to choose and if I need to copy any files depending on what framework linkage I choose. Thank you!
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Ionara,

   Once again, as I mention earlier you are over thinking that part... When you build your application all of that is handled for you. If you have choosen to use RSLs in your build properties than your compiled swf will know that and request the RSL from Adobe's website at runtime.
0 Kudos
ionarawilson1
Deactivated User
Than you Robert. I think you are right, I am over thinking this, but I want to anticipate any problems before I move everything to the new server. Here is a good article about RSLs if anybody is interested.

http://devgirl.org/2010/04/08/framework-rsls-in-flex-builder-vs-flash-builder-performance-and-import...
0 Kudos