Posted By Johnny on 03-27-2015 03:37 AM
Thanks for evaluating Map Suite products and welcome to the discussion forum. I didn't have experience on depoying the WMS Service project to Windows Azure, but we did create a WebEdition project and publish it to Windows Azure before, I guess they should be the same, as both of them are created on Asp.NET and HttpHandler. Here is a guide on how we publish a web project to WindowsAzure (Not include license related stuff).
1. Run Visual Studio as administrator and create a
Windows Azure Cloud Service:
2. Add a web role
3. Add the attached 2
files to the WebRole Project and set their properties to “Content” and “Copy
4. Add a new node to
the ServiceDefinition.csdef under WebRole node as following:
<startup><</startup>Task commandLine="WebEditionServerInstaller.cmd" executionContext="elevated" taskType="simple">Task>
5. Open the
WebEditionServerInstaller.cmd and change the license key on the first line,
also change the msi name on the 2nd line if needed.
NOTE: here you need need WmsServerEditionInstaller.cmd, here is the content of this *.cmd file:
msiexec /i "Setup Unmanaged Dependencies 126.96.36.199.msi" /qn
exit /b 0
6. Build the project
and publish it to windows azure
7, After deploying it
successfully, proper items will be written to registry and proper assemblies
will be saved to System32 folder. It will always there even after a reimaging.
Please let me know if you
have any issues.
I have tried above steps but i am getting following error when accessing handler file
WMS Server Exception: The Map Suite Wms Server evaluation edition has not been installed on the machine, please go to Map Suite Product Center to start evaluation or activate it. at ThinkGeo.MapSuite.WmsServerEdition.WmsHandler.ProcessRequest(HttpContext context)