precompiled web site

Posted on 2009-04-22
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:9apit
    LVL 6

    Expert Comment

    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?
    LVL 6

    Expert Comment

    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

    Hello Daniel,

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


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
    Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

    779 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

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now