A potentially dangerous Request.Path value was detected from the client (:).

10 年 前
I found this on the system log and was wondering what generate this exception? and how severe is this and what can i do to fix this issue (if this is an issue)?

System.Web.HttpException (**********): A potentially dangerous Request.Path value was detected from the client (:). at System.Web.HttpRequest.ValidateInputIfRequiredByConfig() at System.Web.HttpApplication.PipelineStepManager.ValidateHelper(HttpContext context)



I constantly get this systme log as well, on a daily basis:

The file '/products/default.aspx' does not exist stemming from http://www.***.com/products/default.aspx

Is this an issue as well, and how can i fix or prevent this from happening?

Thanks
10 年 前
I too have begun having the same problems:

Unknown  
Severity:  11  
Message:  The file '/store/products/default.aspx' does not exist.  
Exception:  System.Web.HttpException (0x80004005): The file '/store/products/default.aspx' does not exist. at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound) at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp) at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) at System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)  
IP address:  #########
Customer:  [email protected]#######
Page URL:  http://#######.com/store/products/default.aspx  
Referrer:  http://#######.com/store/products/96-www-streaming-event.aspx  
Created on:  9/13/2010 11:02:28 PM
10 年 前
After more investigation errors stopped after restarting IIS 7.5 and DNS on Server 2008.   Made a few DNS changes because of mail routing issues must have caused routing issues for IIS and NopCommerce.  Re-tweaked DNS and restarted IIS and DNS.  

No more Errors.

Something to look at.

Kokkos