Cannot publish looking for help

Discussion in 'Databases' started by elischneider, May 1, 2012.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Developing in VS2010. Website looks fine on local server sqlserver2008 express. When I tried publishing the project everything looks good but a database application does not execute correctly. I need help in configuring the "WEB.CONFIG" file. The remainder of the project, basically a menu, works fine and has been created thus far using FTP. My database was moved in and attached (I am told), so I need some hand-holding.

    My site is leads2012.net. The failing page is the second menu item down (database). If you think you can help and wish to discuss directly, you can e-mail [email protected]. I will be glad to provide the "web.config" file.
     
  2. RayH

    RayH DiscountASP.NET Lackey DiscountASP.NET Staff

  3. Thanks.

    I am embarrassed by having screwed up the filename which you astutely identified. Having fixed that, I am still erring with the "attachdb..." error. To begin with, I could not identify the link to ...tools.aspx which you provided me in your response. The remainder of my problem is a lack of understanding of what the file structure is on your site vs my home computer. I'll try to be to the point to simplify your answer. My home computer via Visual Studio 2010 has a "PUBLISH" option which results in a directory named precompiled website. My question is do I move the whole directory to discasp's root, or do I just upload the files to the root level? I suspect that at present I am executing routines in the root, which would imply that I need to move the App_data directory to the root level so that I can attach. Do I make sense? Appreciate your effort.
     
  4. RayH

    RayH DiscountASP.NET Lackey DiscountASP.NET Staff

    I think what you want is to upload the files to the root level.
     
  5. The files have always been at the root level. Just for giggles, I renamed the web.config file in my precompiled directory and uploaded everything. The results are the same as before telling me there is a problem with the attachdbfilename statement.
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page