all groups > visual studio .net enterprise tools > april 2004 >
You're in the

visual studio .net enterprise tools

group:

EIF backs up config and logs the fact, how to stop?


EIF backs up config and logs the fact, how to stop? BrentM
4/27/2004 2:09:13 AM
visual studio .net enterprise tools:
Enterprise Instrumentation Framework puts the following message into
the Windows event log each time an app starts it up:

ConsoleApplication2.exe has successfully read the configuration from
C:\ConsoleApplication2\bin\EnterpriseInstrumentation.config. A copy of
the
file has been saved to
C:\ConsoleApplication2\bin\EnterpriseInstrumentation.config.backup.

If it fails to make the backup due to security restrictions or
whatever,
you might see a warning like this:

/LM/w3svc/1/root/WebApplication1-2-127272128737052048 has successfully
read
the configuration from
c:\inetpub\wwwroot\WebApplication1\EnterpriseInstrumentation.config
but was
unable to backup the configuration file to
c:\inetpub\wwwroot\WebApplication1\EnterpriseInstrumentation.config.backup.

Anyone know how to make it stop backing up the file, or at least stop
RE: EIF backs up config and logs the fact, how to stop? mikehayt_ NO[at]SPAM online.microsoft.com
4/27/2004 9:00:53 PM
Sorry there isnt any way with the current version of EIF.
I have noted you request and for the next version of EIF.


Sorry again - I have heard this request from other people.

Mike

--------------------
| Enterprise Instrumentation Framework puts the following message into
| the Windows event log each time an app starts it up:
|
| ConsoleApplication2.exe has successfully read the configuration from
| C:\ConsoleApplication2\bin\EnterpriseInstrumentation.config. A copy of
| the
| file has been saved to
| C:\ConsoleApplication2\bin\EnterpriseInstrumentation.config.backup.
|
| If it fails to make the backup due to security restrictions or
| whatever,
| you might see a warning like this:
|
| /LM/w3svc/1/root/WebApplication1-2-127272128737052048 has successfully
| read
| the configuration from
| c:\inetpub\wwwroot\WebApplication1\EnterpriseInstrumentation.config
| but was
| unable to backup the configuration file to
|
c:\inetpub\wwwroot\WebApplication1\EnterpriseInstrumentation.config.backup.
|
| Anyone know how to make it stop backing up the file, or at least stop
| telling me about it?
|

--

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
RE: EIF backs up config and logs the fact, how to stop? Steve Norman
5/27/2004 3:46:03 AM
Yanhong

Thanks for getting back to me. We have just found out what the issue is

Basically if you have the EnterpriseInstrumentation.config file in the bin directory (which is where we had it), then when ASP.net starts up the web project, it launches EIF which makes a backup copy of the config file. This caused the web application to restart (as files had changed in the bin directory) which caused a load of problems. Moving the config file out of the bin directory solved the problem but it may be worth documenting that you need to be careful with the config file location

AddThis Social Bookmark Button