Hello,
I noticed my II7 folders for https and file transfer have a web.cfg file in
them - these are not for web sites - just for file transfer. I moved the
file out of the folder and everything still seems to work properly but I've
put it back for now until I find out what would be a potential issue of not
keeping it there. I have a program to wipe out all files that haven't been
modified in a while and I'd like to know what would happen if it deleted
that file.
Ken Schaefer - 28 Jul 2008 01:12 GMT
Are you talking about a web.config file? or a web.cfg file? The former is an
IIS7 configuration file, the latter isn't.
What are the contents of this file?
Cheers
Ken
> Hello,
>
[quoted text clipped - 5 lines]
> haven't been modified in a while and I'd like to know what would happen if
> it deleted that file.
boe - 28 Jul 2008 19:11 GMT
it is a web.config file on a IIS7 server
It says the xml version, encoding
security
authorization
roles
> Are you talking about a web.config file? or a web.cfg file? The former is
> an IIS7 configuration file, the latter isn't.
[quoted text clipped - 13 lines]
>> all files that haven't been modified in a while and I'd like to know what
>> would happen if it deleted that file.
David Wang - 28 Jul 2008 12:21 GMT
> Hello,
>
[quoted text clipped - 5 lines]
> modified in a while and I'd like to know what would happen if it deleted
> that file.
You need to fix your program to ignore IIS7's distributed
configuration files.
With IIS7, It is possible for you to make system configurations in a
distributed fashion at server setup time, intending to not change them
ever -- and this program will obviously start deleting your original
configuration changes after a while, much to your surprise. Since one
can have any IIS configuration in the distributed files ---
functional, performance, security settings -- deletion of the
distributed files can result in randomizing behavior on the IIS7 web
server.
In other words, consider your cleanup program as capable of making
random configuration changes to your web server (through config file
deletion). It is your choice as to whether you can deal with the
randomness.
//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//
boe - 29 Jul 2008 14:18 GMT
Thanks
>> Hello,
>>
[quoted text clipped - 31 lines]
> http://blogs.msdn.com/David.Wang
> //