HELP - .net configuration problem
Messages   Related Types
This message was discovered on ASPFriends.com 'aspngconfig' list.
Responses highlighted in red are from those people who are likely to be able to contribute good, authoratitive information to this discussion. They include Microsoft employees, MVP's and others who IMHO contribute well to these kinds of discussions.

Ochu, Philip
All,

I am receiving the following error message from asp.net. We have a IIS web
server and plan to run multiple sites on different ports, however, for any
port other than port 80 I receive the following error when requesting a
simple aspx page that only contains simple html like "Hello World". The
error message is as follows:

Invalid file name for monitoring: {0}
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.

--error begins--

Exception Details: System.Web.HttpException: Invalid file name for
monitoring: {0}

Source Error:

An unhandled exception was generated during the execution of the current web
request. Information regarding the origin and location of the exception can
be identifed using the exception stack trace below.

Stack Trace:

[HttpException (0x80004005): Invalid file name for monitoring: {0}]

System.Web.FileChangesMonitor.StartMonitoringDirectoryRenamesAndBinDirectory
(String dir, FileChangeEventHandler callback) +265
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +241

[HttpException (0x80004005): ASP.NET Initialization Error]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +554
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +120

--error ends--

I am guessing this has to be a configuration issue with not having it on
port 80 - maybe machine.config change or something. Really have no clues all
help is welcome.

Philip O
Reply to this message...
 
    
Bob Levittan (VIP)
Are you hitting the site via:

http:/url:port#

eg - http://www.xyz.com:8080

???

----Original Message Follows----
From: "Ochu, Philip" <Click here to reveal e-mail address>
Reply-To: "aspngconfig" <Click here to reveal e-mail address>
To: "aspngconfig" <Click here to reveal e-mail address>
CC: "'Click here to reveal e-mail address'" <Click here to reveal e-mail address>
Subject: [aspngconfig] HELP - .net configuration problem
Date: Tue, 25 Sep 2001 14:50:32 -0500

All,

I am receiving the following error message from asp.net. We have a IIS web
server and plan to run multiple sites on different ports, however, for any
port other than port 80 I receive the following error when requesting a
simple aspx page that only contains simple html like "Hello World". The
error message is as follows:

Invalid file name for monitoring: {0}
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.

--error begins--

Exception Details: System.Web.HttpException: Invalid file name for
monitoring: {0}

Source Error:

An unhandled exception was generated during the execution of the current web
request. Information regarding the origin and location of the exception can
be identifed using the exception stack trace below.

Stack Trace:

[HttpException (0x80004005): Invalid file name for monitoring: {0}]

System.Web.FileChangesMonitor.StartMonitoringDirectoryRenamesAndBinDirectory
(String dir, FileChangeEventHandler callback) +265
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +241

[HttpException (0x80004005): ASP.NET Initialization Error]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +554
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +120

--error ends--

I am guessing this has to be a configuration issue with not having it on
port 80 - maybe machine.config change or something. Really have no clues all
help is welcome.

Philip O

| [aspngconfig] member Click here to reveal e-mail address = YOUR ID
| http://www.asplists.com/asplists/aspngconfig.asp = JOIN/QUIT
| http://www.asplists.com/search = SEARCH Archives

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

Reply to this message...
 
    
Ochu, Philip
Yes

-----Original Message-----
From: Bob Levittan [mailto:Click here to reveal e-mail address]
Sent: Tuesday, September 25, 2001 3:09 PM
To: aspngconfig
Subject: [aspngconfig] Re: HELP - .net configuration problem

Are you hitting the site via:

http:/url:port#

eg - http://www.xyz.com:8080

???

----Original Message Follows----
From: "Ochu, Philip" <Click here to reveal e-mail address>
Reply-To: "aspngconfig" <Click here to reveal e-mail address>
To: "aspngconfig" <Click here to reveal e-mail address>
CC: "'Click here to reveal e-mail address'" <Click here to reveal e-mail address>
Subject: [aspngconfig] HELP - .net configuration problem
Date: Tue, 25 Sep 2001 14:50:32 -0500

All,

I am receiving the following error message from asp.net. We have a IIS web
server and plan to run multiple sites on different ports, however, for any
port other than port 80 I receive the following error when requesting a
simple aspx page that only contains simple html like "Hello World". The
error message is as follows:

Invalid file name for monitoring: {0}
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.

--error begins--

Exception Details: System.Web.HttpException: Invalid file name for
monitoring: {0}

Source Error:

An unhandled exception was generated during the execution of the current web
request. Information regarding the origin and location of the exception can
be identifed using the exception stack trace below.

Stack Trace:

[HttpException (0x80004005): Invalid file name for monitoring: {0}]

System.Web.FileChangesMonitor.StartMonitoringDirectoryRenamesAndBinDirectory
(String dir, FileChangeEventHandler callback) +265
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +241

[HttpException (0x80004005): ASP.NET Initialization Error]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +554
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +120

--error ends--

I am guessing this has to be a configuration issue with not having it on
port 80 - maybe machine.config change or something. Really have no clues all
help is welcome.

Philip O

| [aspngconfig] member Click here to reveal e-mail address &# Y;OUR ID
| http://www.asplists.com/asplists/aspngconfig.asp &# J;OIN/QUIT
| http://www.asplists.com/search &# S;EARCH Archives

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

| [aspngconfig] member Click here to reveal e-mail address &# Y;OUR ID
| http://www.asplists.com/asplists/aspngconfig.asp &# J;OIN/QUIT
| http://www.asplists.com/search &# S;EARCH Archives
Reply to this message...
 
    
Mansoor Raza
hi,
have u tried to access the site with :port# if
now try it by writing servername/sitename:prot# and if
dosen't work then go to the iis admin select the site
go to the properties and find the "server assigned ip"
and change it to unassigned ip,
hope this will work for u.
Regards
Mansoor
--- Bob Levittan <Click here to reveal e-mail address> wrote:
[Original message clipped]

__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger. http://im.yahoo.com

Reply to this message...
 
    
Mitch Denny (VIP)
Philip,

Actually, it is possible that the ASP.NET worker process doesn't
have access to the files that it needs to serve, hence it can't
monitor them for changes.

Brad Kingsley from ORCSWeb was having a problem similar to this;
he encountered it when we was playing with the impersonation
settings.

As an initial step, ensure that the IUSR_MACHINE account and
the SYSTEM account both have at least List access to the
application's files. Give it a try and get back to the list,
I'd like to know whether this is the solution to the problem
that you are seeing.

----------------------------------------
- Mitch Denny
- http://www.warbyte.com
- Click here to reveal e-mail address
- +61 (414) 610-141
-

-----Original Message-----
From: Ochu, Philip [mailto:Click here to reveal e-mail address]
Sent: Wednesday, 26 September 2001 5:51 AM
To: aspngconfig
Cc: 'Click here to reveal e-mail address'
Subject: [aspngconfig] HELP - .net configuration problem

All,
I am receiving the following error message from asp.net. We have a IIS
web server and plan to run multiple sites on different ports, however,
for any port other than port 80 I receive the following error when
requesting a simple aspx page that only contains simple html like "Hello
World". The error message is as follows:
Invalid file name for monitoring: {0}
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.
--error begins--
Exception Details: System.Web.HttpException: Invalid file name for
monitoring: {0}
Source Error:
An unhandled exception was generated during the execution of the current
web request. Information regarding the origin and location of the
exception can be identifed using the exception stack trace below.
Stack Trace:

[HttpException (0x80004005): Invalid file name for monitoring: {0}]

System.Web.FileChangesMonitor.StartMonitoringDirectoryRenamesAndBinDirec
tory(String dir, FileChangeEventHandler callback) +265
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +241
[HttpException (0x80004005): ASP.NET Initialization Error]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +554
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
+120

--error ends--
I am guessing this has to be a configuration issue with not having it on
port 80 - maybe machine.config change or something. Really have no clues
all help is welcome.
Philip O
| [aspngconfig] member Click here to reveal e-mail address = YOUR ID
| http://www.asplists.com/asplists/aspngconfig.asp = JOIN/QUIT
| http://www.asplists.com/search = SEARCH Archives

Reply to this message...
 
    
Jeroen S
(Type your message here)

--------------------------------
From: Jeroen S

I have a similar problembut not the same, it appears to happen randomly and I cannot put my finger on it... the message I get is:

[HttpException (0x80070057): Invalid file name for monitoring: 'C:\WEB\Stage\filer\~'. File names for monitoring must have absolute paths, and no wildcards.]
System.Web.DirectoryMonitor.AddFileMonitor(String file) +429
System.Web.DirectoryMonitor.StartMonitoringFile(String file, FileChangeEventHandler callback, String alias) +76
System.Web.FileChangesMonitor.StartMonitoring

Who, or what determines these file names... "not my code" he said hopefully...

Help will be apreciated on this.

Thanks in advance
Reply to this message...
 
 
System.Web.HttpContext
System.Web.HttpException
System.Web.HttpRuntime
System.Web.HttpWorkerRequest




Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com