Link to home
Start Free TrialLog in
Avatar of Allen Pitts
Allen PittsFlag for United States of America

asked on

precompiled web site

Good aftenoon expert,

Been asked to maintain a web site I have never seen before and the author of which has been gone for years. Need to make some minor changes including changing the connection string to  a new database.

References to session variables were found in web.config but no connection string s to the database.

Tried to open solution out on net in VS 2005 got
'One or more projects in the solution could not be loaded for the following reason(s)
The project file or web has been moved, renamed or is not on your computer....'

So I moved the solution to my local computer and continued to get this message until I
found out that it wanted to find the solutiuon ina virtual directory at C:\development:
when I set that up I got a message

'You are attempting to open a precompiled Web site. You can view the site, but changes might cause the Web site to stop functioning. To modify a site, it is reconmmended that you edit the files in the original web site precompile the site and then publish iit again. Do you wish to continue....?....'

I have worked with webs that were deployed by executing MSIs but I can find no MSI file. I do find in the Bin folder some DLL files with names like App_Web_kiecpfda.dll, App_code.Compiled, App_Code.DLL, App_global.asax.DLL.

How can I open this web ite for maintenance. The connection string is not in the web.config where I usually find it. Any guesses about where it might be found?

Thanks  

Allen  
 


 
Avatar of DanielWillmott
DanielWillmott
Flag of United States of America image

It sounds like you're going to have a problem. You cannot modify the code of a precompiled website. Perhaps the source files can be found somewhere on a company computer or on the server somewhere else?
If it's just a connection string change, you might find it:
1) In an ODBC definition
2) in the machine.config (%windir%\Microsoft.NET\Framework\versionNumber\CONFIG\Machine.config)
 
ASKER CERTIFIED SOLUTION
Avatar of Allen Pitts
Allen Pitts
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial