When producing a CSV report I'll get the message "Invalid URL"

Hi There,

When producing a CSV report I’ll get the message “Invalid URL”

http://vnwvsw0057.******.local/cognos841/cgi-bin/cognosisapi.dll/gd/CAFS3c000000c8FAAAAGFfiLdTDtRLSdEX5gaR6T6KNitxSBM5dCu76wM-PubfoHAvaXeRAyE_H4sIAAAAAAAAADXLsQ6CMBAA0H9hQQeg1x5eW2Oi0cXBzUnD0PbapAkUEuD-nXz7O99vrfjUC3zmLcc2zLa3Z5MRBOYgvYJAKOOgtkoYmapgaA6dmtc1zyX77W4KV5qcOSQegievJJOueClSoiJAiNKrIdu3rdl3-5BCoBGqEbgWxjbk5WmRdCfevgBHyYp8pIAAAA_/

Where ****** is the domain name. For securing reasons i’ll used asteriks

We have just implemented 8.4.1 on windows 2003 server with IIS 6
In 8.3 I didn’t had this problem.
Anybody who can help me.
With Regards,

Nico Raspoort

Hi Nico,

You are busy with the Cognos upgrade! :wink:

I noticed the long URL, 344 characters. The length maybe causing the problem. You can set in IIS 6.0 / IIS 7 the parameter “Max URL Length Limit” or “URLscan max URL limit”

Check on the IIS webserver - In the Registry:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\HTTP\Parameters

Add :
DWORD Value Name ="UrlSegmentMaxLength"
Value Data (as hex) =“00000200” which is 512 characters.

If this value is not working, try to set the value to 0 (Zero) which means “allow up to the max possible value”. After the change restart IIS and test the export to CSV again.

See the following Microsoft KB article regarding which services need to be restarted in order for these changes to take effect: http://support.microsoft.com/kb/820129

This limit can also be imposed by URLscan if it’s installed. If this is the case, the setting that controls this is “MaxUrl” in the URLScan.ini file.

Let me know if it works.

Hi There Martijn,

That was the solution. Thanks.
Am I the only one. Probaly Yes because we use an very old internet explorer

Thanks again and see (hear) you soon.

Nico