python mapscript with IIS

william paul williampaul28 at YAHOO.COM
Sun Nov 5 08:02:44 EST 2006


Thank you again Rich

It's working with IE without errors

William

Richard Greenwood <richard.greenwood at GMAIL.COM> wrote: On 11/4/06, william paul  wrote:
> Hi Rich:
>
> IIS was configured to work with Python scripts. I did the configuration
> according to http://support.microsoft.com/kb/276494
>
> I have removed #! c:\python24\python -u from the make_dlegend_xml.py and
> make_dlegend_xml_cgi.py. I tried as you told me to test the script, and I
> get the error:
>
> This XML file does not appear to have any style information associated with
> it. The document tree is shown below.
>
>
> - 
>
>
>   Missing required parameter "server"
> 

Are you trying with make_dlegend_xml_cgi.py or make_dlegend_xml.py?
I think you've got two different errors. Be sure you're testing with
make_dlegend_xml_CGI.py. Also, try it in IE because it won't bitch
about the blank first line (see below).


> When I look at the javascript console I see:
>
> Error: xml declaration not at start of external entity
> Source File:
> http://localhost/scripts/make_dlegend_xml_cgi.py?map=c:/inetpub/wwwroot/demo/example/itasca.map&server=localhost
> Line: 2, Column: 1
> Source Code:
> ^

That doesn't matter. Firefox always warns about that but it is not detrimental.


-- 
Richard Greenwood
richard.greenwood at gmail.com
www.greenwoodmap.com


 
---------------------------------
Get your email and see which of your friends are online - Right on the  new Yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20061105/a5b975aa/attachment.html


More information about the mapserver-users mailing list