Getting error when I added .aspx to the url
Hi,
I am getting the following error when I added the .aspx extension to a page url. The url looks like this now:
test/.../.aspx
An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of the
exception can be identified using the exception stack trace below.
|
|
Hello Annie,
This is general error, which is related to the fact that the URL is longer than expected. The following article may be useful to you: http://msdn.microsoft.com/en-us/library/system.web.configuration.httpruntimesection.maxurllength.aspx - if you want to increase the maxurllength setting you need to add / edit the following section in your web.config file:
<system.web>
<httpRuntime maxUrlLength="4096" /> (for example)
On a side note: the url seems to contain some forbidden symbols ( such as the dot ) which may lead to false URLs as well.