HighTechTalks DotNet Forums  

500 server eoor

Dotnet General Discussions microsoft.public.dotnet.general


Discuss 500 server eoor in the Dotnet General Discussions forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Chetana
 
Posts: n/a

Default 500 server eoor - 12-04-2007 , 02:04 AM






hi ALL,

I want to disscuss about following error:


Sys.WebForms.PageRequestManagerServerErrorExceptio n: 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





Reply With Quote
  #2  
Old   
Mr. Arnold
 
Posts: n/a

Default Re: 500 server eoor - 12-05-2007 , 06:32 PM







"Chetana" <chetanasystems (AT) eth (DOT) net> wrote

Quote:
hi ALL,

I want to disscuss about following error:


Sys.WebForms.PageRequestManagerServerErrorExceptio n: 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.




Reply With Quote
  #3  
Old   
piyalisom@gmail.com
 
Posts: n/a

Default Re: 500 server eoor - 12-21-2007 , 04:35 AM



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.PageRequestManagerServerErrorExceptio n 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>

Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.