Quantcast
Channel: Configuration and Deployment
Viewing all articles
Browse latest Browse all 3561

Long URL generating 400 error

$
0
0

I have a URL that is defined as the src property of a script on my home page. The URL contains 1037 characters total. Most of that is one query string. That query string can be variable length, and if I delete most of it, the script works fine.

If I leave the long URL as is, I get nothing. In Chrome's Inspect Element Console window, I get the following error for the URL:

Failed to load resource: the server responded with a status of 400 (Bad Request)

In my web.config for the site, I have the following:

<httpRuntime maxUrlLength="4096" maxQueryStringLength="4096" />

The system hosting the site is running Windows Server 2008 R2 and IIS7.

Any suggestions for what is causing the error? Thanks!


Viewing all articles
Browse latest Browse all 3561

Latest Images

Trending Articles



Latest Images