ReportPortal
ReportPortal
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ReportPortal General Forum
 Report Portal General Issues
 Error when lgin to ReportPortal
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Aiwa

1 Posts

Posted - 01/04/2006 :  07:41:38  Show Profile  Reply with Quote
Hi,

I'm receiving the following error after I try to login to ReportPortal:

A potentially dangerous Request.Cookies value was detected from the client (Microsoft.Sharepoint.AcceptHeaders="...&pps=TRUE&one=FALSE&mpp=FALSE").
Description: Request Validation has detected a potentially dangerous client input value, and processing of the request has been aborted. This value may indicate an attempt to compromise the security of your application, such as a cross-site scripting attack. You can disable request validation by setting validateRequest=false in the Page directive or in the configuration section. However, it is strongly recommended that your application explicitly check all inputs in this case.

Exception Details: System.Web.HttpRequestValidationException: A potentially dangerous Request.Cookies value was detected from the client (Microsoft.Sharepoint.AcceptHeaders="...&pps=TRUE&one=FALSE&mpp=FALSE").

Source Error:


Line 30: var sReportType = "<%=sReportType%>";
Line 31: var sNewWindow = "<%=Application("NewWindow")%>";
Line 32: var sQueryString = "<%=Request.Params.Get("Query_String")%>";
Line 33:
Line 34: function init(){


Source File: c:\inetpub\wwwroot\ReportPortal\design\view.aspx Line: 32

Stack Trace:


[HttpRequestValidationException (0x80004005): A potentially dangerous Request.Cookies value was detected from the client (Microsoft.Sharepoint.AcceptHeaders="...&pps=TRUE&one=FALSE&mpp=FALSE").]
System.Web.HttpRequest.ValidateString(String s, String valueName, String collectionName) +240
System.Web.HttpRequest.ValidateCookieCollection(HttpCookieCollection cc) +103
System.Web.HttpRequest.get_Cookies() +109
System.Web.HttpRequest.FillInParamsCollection() +57
System.Web.HttpRequest.get_Params() +132
ASP.view_aspx.__Render__control1(HtmlTextWriter __output, Control parameterContainer) in c:\inetpub\wwwroot\ReportPortal\design\view.aspx:32
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +27
System.Web.UI.Control.Render(HtmlTextWriter writer) +7
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +243
System.Web.UI.Page.ProcessRequestMain() +2112
System.Web.UI.Page.ProcessRequest() +217
System.Web.UI.Page.ProcessRequest(HttpContext context) +18
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() +179
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +87




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET Version:1.1.4322.2300

Any help will be appreciated,
Eric

admin

1644 Posts

Posted - 01/04/2006 :  23:03:16  Show Profile  Reply with Quote
Please try to update Line: 32 from this:

var sQueryString = "<%=Request.Params.Get("Query_String")%>";

to this:

var sQueryString = "";

Let me know if this helps!
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
ReportPortal © 2000-2002 Snitz Communications Go To Top Of Page