precompiled web site

Posted on 2009-04-22
Medium Priority
Last Modified: 2013-12-17
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?



Question by:Allen Pitts
  • 2

Expert Comment

ID: 24209215
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?

Expert Comment

ID: 24209235
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)

Accepted Solution

Allen Pitts earned 0 total points
ID: 24214407
Hello Daniel,

Thanks for your effort. Tried both ideas with no success.


Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
An ASP.NET Web Form User Control is not newly introduced in ASP.NET. In fact, it was an old technology yet still playing a role to generate web content, especially when we want to use it to have a better and easy way to control part of the web conte…
Free Data Recovery software is an advanced solution from Kernel Tools to recover data and files such as documents, emails, database, media and pictures, etc. It supports recovery from physical & logical drive after a hard disk crash, accidental/inte…
Watch the video to learn how one can deal with PST file corruption issue with an outstanding Kernel for Outlook PST Repair Tool easily. Using this tool, non-technical users can swiftly perform the repair process to restore their essential data witho…

601 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question