Infrastructure Map Server Forum
Welcome to Autodesk’s Infrastructure Map Server Forums. Share your knowledge, ask questions, and explore popular Infrastructure Map Server topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

WMS publishing problem, cannot load WMS Failed to get bands data.

3 REPLIES 3
Reply
Message 1 of 4
majirku
10618 Views, 3 Replies

WMS publishing problem, cannot load WMS Failed to get bands data.

I published on IMS 2013 few layers to WMS. In "Infrastructure Map Server - Site Administrator" under "Configure WMS" I changed text-box Server name to relevant server name (in my case it is vtacnik

 

After I ran http://vtacnik/mapserver2013/mapagent/mapagent.fcgi?service=wms&request=GetCapabilities I get output saved in WMS.xml.

When you look this excerpt, there is: xlink:href="http://localhost:8008/mapserver2013/mapagent/mapagent.fcgi?"

<GetMap>
<Format>image/png</Format>
<Format>image/jpeg</Format>
<Format>image/gif</Format>
<DCPType>
<HTTP>
<Get>
<OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://localhost:8008/mapserver2013/mapagent/mapagent.fcgi?"/>
</Get>
</HTTP>
</DCPType>
</GetMap>

 Is "localhost:8008" right? If not, why it was not change to server name "vtacnik" after I configured WMS?

 

I tried to add new layer into AutoCAD MAP3D, I was successfully connected and WMS schema was successfully loaded:

MAP3D_FDO_WMS.png

 

But when I checked layer to load it and click "Add to Map" I get error:

"Failed to get bands data.

Unable to connect to the host."

 

It is same error with Scheboygan data as well with my own data.

 

Where can be the problem?

Tags (4)
3 REPLIES 3
Message 2 of 4
jackie.ng
in reply to: majirku

Go to Site Administrator - Configure (WMS/WFS)

 

Check that the server name does not have the port number.

 

I'm guessing the installer fails to update this part of the configuration if you didn't choose the bundled (Apache) configuration, where this configuration value would be applicable.

 

- Jackie

Message 3 of 4
majirku
in reply to: jackie.ng

Hello Jackie,

Thank you for your answer. 

I believe I changed settings of WMS/WFS to my server name without port number.

See print screen:

IMS_WMS_settings

Tags (2)
Message 4 of 4
kalman_albert
in reply to: majirku

You must restart server to update settings.

 

Albert

 

--------------------------------------------
"Nothing will ever be as it was!"

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report