500 server eoor

  • Thread starter Thread starter Chetana
  • Start date Start date
C

Chetana

hi ALL,

I want to disscuss about following error:


Sys.WebForms.PageRequestManagerServerErrorException: An unknown error
occurred while processing the request on the server. The status code
returned from the server was: 500


I have searched on this and done following things:


1.Added "ValidateRequest="false" in Page Directive.


<%@ Page Language="VB" AutoEventWireup="false"
CodeFile="tajax.aspx.vb" Inherits="tajax" ValidateRequest="false" %>


2.Added <system.web>
<pages validateRequest="false" />
</system.web>


3. Also changed the recycle time of application pools of IIS .


So if anyone have idea of this error please immediately reply me..


Thanks,
Chetana
 
Chetana said:
hi ALL,

I want to disscuss about following error:


Sys.WebForms.PageRequestManagerServerErrorException: An unknown error
occurred while processing the request on the server. The status code
returned from the server was: 500


I have searched on this and done following things:


1.Added "ValidateRequest="false" in Page Directive.


<%@ Page Language="VB" AutoEventWireup="false"
CodeFile="tajax.aspx.vb" Inherits="tajax" ValidateRequest="false" %>


2.Added <system.web>
<pages validateRequest="false" />
</system.web>


3. Also changed the recycle time of application pools of IIS .


So if anyone have idea of this error please immediately reply me..


You may want to also post to MS.Public.inetserver.iis and to
MS.Public.inetserver.asp.general.
 
I had the same problem, please turn the Validaterequest as False.
With Ajax if you try to render any HTML tags such as - < , > ,
<script> etc then it would give an error primarily becasue of the
untrapper exception that is given out because of Cross Site Scripting
Safety. and that results in a -
Sys.WebForms.PageRequestManagerServerErrorException An unknown error
occurred while processing the request on the server. The status code
returned from the server was: 500

Try this - Pass this string - <script>alert('Hello');</script>
 
Back
Top