473,386 Members | 1,652 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

"Invalid file name for monitoring" rewrite querystring

I've deployed a 'URL rewriter' version of our application almost two
months ago and it is working great (.NET 1.1, Win2k, IIS5). Since then,
I've gotten just FOUR exceptions that look like this:

The description for Event ID ( 0 ) in Source ( Application ) cannot be
found. The local computer may not have the necessary registry
information or message DLL files to display messages from a remote
computer. The following information is part of the event:
Exception: HttpException
MESSAGE: Invalid file name for monitoring: '[...local
path...]\search.aspx?Make=Ford'. File names for monitoring must have
absolute paths, and no wildcards.
SOURCE: System.Web
URL: http://www.[...my server...].com/search.aspx?Make=Ford
FORM:
QUERYSTRING:
TARGETSITE: System.String GetFullPath(System.String)
STACKTRACE: at System.Web.FileChangesMonitor.GetFullPath(String
alias)
at System.Web.FileChangesMonitor.StartMonitoringPath( String alias,
FileChangeEventHandler callback)
at System.Web.Caching.CacheDependency.Init(Boolean isPublic, Boolean
isSensitive, String[] filenamesArg, String[] cachekeysArg,
CacheDependency dependency, DateTime utcStart)
at System.Web.Caching.CacheDependency..ctor(Boolean isSensitive,
String[] filenames, DateTime utcStart)
at
System.Web.Configuration.HttpConfigurationSystem.G etCacheDependencies(Hashtable
cachedeps, DateTime utcStart)
at
System.Web.Configuration.HttpConfigurationSystem.C omposeConfig(String
reqPath, IHttpMapPath configmap)
at System.Web.HttpContext.GetCompleteConfigRecord(Str ing reqpath,
IHttpMapPath configmap)
at System.Web.HttpContext.GetCompleteConfig()
at System.Web.HttpContext.GetConfig(String name)
at System.Web.HttpRequest.get_ContentEncoding()
at System.Web.HttpRequest.FillInQueryStringCollection ()
at System.Web.HttpRequest.set_QueryStringText(String value)
at System.Web.HttpRequest.InternalRewritePath(String newFilePath,
String newPathInfo, String newQueryString)
at System.Web.HttpContext.RewritePath(String filePath, String
pathInfo, String queryString)
at Insignia.Catalog2.ModuleRewriter.RewritePath(HttpA pplication app,
String path)
at Insignia.Catalog2.ModuleRewriter.Rewrite(String requestedPath,
HttpApplication app)
at
Insignia.Catalog2.BaseModuleRewriter.BaseModuleRew riter_BeginRequest(Object
sender, EventArgs e)
at
System.Web.SyncEventExecutionStep.System.Web.HttpA pplication+IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionS tep step,
Boolean& completedSynchronously)
HttpException: Code=500 HResult=-2147024809.

The IIS log entry is:

2006-02-18 14:53:09 217.169.46.98 - 192.168.20.248 80 GET
/ADW1/search.aspx?Make=Ford - 500 0 Mozilla/4.0+(compatible;) -

(I replaced real paths and URL's with [...])

Notice in the exception log entry that QUERYSTRING is empty - somehow
the QUERYSTRING isn't being detected and/or split from the URL.
Apparently the first arg to HttpContext.RewritePath() doesn't like the
query string. I can hit the same page myself and never get the 500
error. This site gets hundreds of thousands of hits each day. What
would make this request generate this error?

Thanks!

-Brian

Feb 20 '06 #1
0 1357

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: John Davis | last post by:
I want to know what's the differences between Request.Form("Field Name") and Request.QueryString("Field Name") OR they function exactly the same, which is to return the value of the field?? ...
1
by: Ron | last post by:
I am trying to run asp.net pages. The server is accessed via http://sitename/username I have verified it is using port 80 and aspx extensions are configured. But when I run and asp.net page I...
1
by: Andrew McNab | last post by:
Hi folks, I have a problem with an MS Access SQL query which is being used in an Access Report, and am wondering if anyone can help. Basically, my query (shown below) gets some records from a...
7
by: Dica | last post by:
i've used the sample code from msdn to create an encyption/decryption assembly as found here: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/SecNetHT10.asp i'm...
0
by: Nicola George | last post by:
Hi all, I hope someone can help me as I'm going a bit metal with this problem. I have a project in ASP.NET, within this project I have Crystal Report called Catalogue. On an asp page I have a...
2
by: TJS | last post by:
it says the name is not declared, but it is how can I fix this ? Compiler Error Message: BC30451: Name 'arrReportsList' is not declared. ========================== if...
0
by: smanisankar | last post by:
hi, the following is the full page code for uploading a file to server. since i got no idea to overwrite the file, i want delete the file if the file is already uploaded. i got the folder name...
0
by: Ibrahim. | last post by:
Hello, The problem I'm facing is that the file name that is displayed in File download diaglog of web page displays garbled. The file name is japanese. English names works fine. Dim...
10
by: jonathanemil | last post by:
Hello, I am a 1st semester Computer Science student in a Python class. Our current assignment calls for us to read a list from a file, create a 2-dimensional list from the file, and check to see...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.