locked
Web Deployment problem ... please, need help. RRS feed

  • Question

  • User1608082067 posted

     Hello,

    I am using VS 2008 and and just downloaded Web Deployment Projects:
    http://connect.live.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=319288

    I need the connection string in my web site Web.config file to be replaced.

    So I created a new file named ConnectionStrings.config that contains only the following:

    <connectionStrings>
      <add name = "MyConn" connectionString = "Provider = Microsoft.Jet.OLEDB.4.0; Data Source = C:\MyDomain\\wwwroot\App_Data\DB.mdb; User Id=; Password=;" providerName = "System.Data.OleDb" />
    </connectionStrings>

    And in my Web Deployment Web.Config File Section Replacements I have:

    connectionStrings=ConnectionStrings.config;

    I get the following error:
    web.config(1): error WDP00002: missing section connectionStrings

    What am I doing wrong?

    And just another question on the side:
    Is it possible to have 2 files: ConnectionStrings.config and ConnectionStringsServer.config.

    The first would have the connectionStrings section to be used in my computer.
    The second would have the connectionStrings section to be used when deploying the web site to the server.

    Thanks,
    Miguel

    Friday, January 4, 2008 9:49 PM

Answers

  • User796746907 posted

    Hi Miguel,

    I am sorry you are running into the connection string error.  You are seeing a known bug with the CTP and web config replacement.  We will be fixing this in the final release and in the meantime, you can go to this discussion for a work around: http://forums.asp.net/t/1189079.aspx

    -Alison

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, January 8, 2008 2:29 AM

All replies

  • User796746907 posted

    Hi Miguel,

    I am sorry you are running into the connection string error.  You are seeing a known bug with the CTP and web config replacement.  We will be fixing this in the final release and in the meantime, you can go to this discussion for a work around: http://forums.asp.net/t/1189079.aspx

    -Alison

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, January 8, 2008 2:29 AM
  • User1608082067 posted

    Hello,

    Could you tell me when the final release will be available?

    Thanks,

    Miguel 

    Tuesday, January 8, 2008 8:31 AM
  • User796746907 posted

    Hi Miguel,

    No official date has been announced, but we plan to release it soon.

    -Alison

    Tuesday, January 8, 2008 8:53 PM