I have a .NET 2.0 website project that I have published with "Allow this precompiled site to be updateable".
Now the problem is that this precompiled site is being used by the customer as part of his own website. Everything runs properly when integrated with the customer's own website except for the codes that were in my Global.asax which is somewhere inside one of my published dll files. The global codes (Application_Start) will only work if the customer also copies the PrecompiledApp.config file from my published files to his root folder. He has also copied my published .dll and .compiled files to his bin folder.
This would have worked fine if he didn't have the App_Code folder in his root. But he has the App_Code in his root folder and he got the following error:
The directory '/App_Code/' is not allowed because the application is precompiled.
Obviously I can't ask him to delete the App_Code folder because he may have some codes in there. If anyone has encountered this issue before, I would appreciate all the help and advice I can get.