Bizarre BITS error.

Topics: Updater Application Block
Apr 6, 2004 at 3:01 AM
originally posted by: GravyBod

If I have a file ending in .exe.config in my server manifest list everything works fine. However, if I have a file ending with .config (note no .exe. between the base file name and the extension) then BITS fails with a message saying:

'The server understood the request, but is refusing to fulfill it.'

For example,

If the only file to update was:

myapp.exe.config

everything is OK. However if the file was:

myapp.config

then it doesn't work.

have I missed something obvious?


Thanks for your help

Graham Allwood
Apr 6, 2004 at 10:31 PM
originally posted by: Duncanma

Can you access that file directly via IE?
Apr 6, 2004 at 10:40 PM
originally posted by: GravyBod

No I can't, IE returns an error saying that This Type of Page cannot be server. If I change the file to xyz.exe.config it works. If I try xyz.exe1.config I get the error as before.

Are you thinking its ASP.NET thats stopping this.
Apr 7, 2004 at 4:27 AM
originally posted by: wsabey

I get the same error,

http://localhost/cibwebDemo/web.config
This type of page is not served

I can imagine that asp.net wants to protect web.config since it can have application sensitive info like db connection strings, etc.
Not sure the solution, may want to search msdn or the kb.
Apr 7, 2004 at 6:16 AM
originally posted by: keggeron

The problem is likely that the IIS server you are pulling the updates from has IISLockDown installed or has explicitly disabled serving files with ".config" in the IIS metabase.
One way around this is to add another extension to all of your files, say ".bits" and add a post-processor plugin to rename the files after they are downloaded to the client (remove the ".bits")