473,657 Members | 2,411 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

"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?Ma ke=Ford'. File names for monitoring must have
absolute paths, and no wildcards.
SOURCE: System.Web
URL: http://www.[...my server...].com/search.aspx?Mak e=Ford
FORM:
QUERYSTRING:
TARGETSITE: System.String GetFullPath(Sys tem.String)
STACKTRACE: at System.Web.File ChangesMonitor. GetFullPath(Str ing
alias)
at System.Web.File ChangesMonitor. StartMonitoring Path(String alias,
FileChangeEvent Handler callback)
at System.Web.Cach ing.CacheDepend ency.Init(Boole an isPublic, Boolean
isSensitive, String[] filenamesArg, String[] cachekeysArg,
CacheDependency dependency, DateTime utcStart)
at System.Web.Cach ing.CacheDepend ency..ctor(Bool ean isSensitive,
String[] filenames, DateTime utcStart)
at
System.Web.Conf iguration.HttpC onfigurationSys tem.GetCacheDep endencies(Hasht able
cachedeps, DateTime utcStart)
at
System.Web.Conf iguration.HttpC onfigurationSys tem.ComposeConf ig(String
reqPath, IHttpMapPath configmap)
at System.Web.Http Context.GetComp leteConfigRecor d(String reqpath,
IHttpMapPath configmap)
at System.Web.Http Context.GetComp leteConfig()
at System.Web.Http Context.GetConf ig(String name)
at System.Web.Http Request.get_Con tentEncoding()
at System.Web.Http Request.FillInQ ueryStringColle ction()
at System.Web.Http Request.set_Que ryStringText(St ring value)
at System.Web.Http Request.Interna lRewritePath(St ring newFilePath,
String newPathInfo, String newQueryString)
at System.Web.Http Context.Rewrite Path(String filePath, String
pathInfo, String queryString)
at Insignia.Catalo g2.ModuleRewrit er.RewritePath( HttpApplication app,
String path)
at Insignia.Catalo g2.ModuleRewrit er.Rewrite(Stri ng requestedPath,
HttpApplication app)
at
Insignia.Catalo g2.BaseModuleRe writer.BaseModu leRewriter_Begi nRequest(Object
sender, EventArgs e)
at
System.Web.Sync EventExecutionS tep.System.Web. HttpApplication +IExecutionStep .Execute()
at System.Web.Http Application.Exe cuteStep(IExecu tionStep step,
Boolean& completedSynchr onously)
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?Mak e=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.Rew ritePath() 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 1380

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

Similar topics

2
17748
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?? Thanks, John
1
3873
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 get the following error: Invalid file name for monitoring: 'E:\'. File names for monitoring must have absolute paths, and no wildcards. Description: An unhandled exception occurred during the
1
4170
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 couple of tables in my database using INNER JOINS and the WHERE clause to specify the required constraints. However, I also want to read two fields from a *single* record from a table called 'Locations' and then apply one of these field's values...
7
17874
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 able to encrypt and then decrypt data okay as in the following code: // encrypt the data // Encryptor enc = new Encryptor(EncryptionAlgorithm.TripleDes); byte key = Encoding.ASCII.GetBytes("0123456789012345");
0
1876
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 report viewer control (vwrReportViewer) and a report document control (reportDocument1). On the load of the page I have the following code. reportDocument1 = GetCatalogueSampleReport(DBConnectionString(this.Session),
2
2641
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 Len(request.querystring("rpt")) > 0 then Dim arrReportsList =split(request.querystring("rpt"),",") else
0
2835
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 and filename of the file to delete from the request.QueryString("path") so i got the above error when i try to delete the file before upload. Please anyone help me to solve out from this error. <%@ Import Namespace="System.IO" %>
0
1320
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 myFilePathDetach() As String = Split(Request.QueryString("link"), "/") Dim myFilePath As String =
10
4025
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 whether or not 2-dim list constitutes a "magic square" (i.e. all the rows, columns and diagonals equal each other when added). We are to create several definitions, and I have had no problem reading from the file, creating the list, and getting the...
0
8399
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8312
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8732
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8504
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8606
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7337
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6169
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
2732
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1959
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.