locked
How to tell ASP.NET Configuration which SQL Server to use RRS feed

  • Question

  • User-1612319882 posted

    Hello,

    I am running VS 2008, I have both SQL Server 2008 Express and SQL Server 2005 Express installed. When I run the ASP.NET Configuration it creates a new database with SQL Server 2008, how can I tell it to create the ASPNETDB.MDF file as an SQL Server 2005 database instead of SQL Server 2008?

    I have changed the "SQL Server Instance Name" under Options, but that only affects the Server Exprorer but not the ASP.NET Configuration.

    Your help would be deeply appreciated.

    Thank you,

    Louis

    Sunday, August 16, 2009 1:20 AM

Answers

  • User1320101480 posted

    Hi,

    You got to mention it in the connectionstring, the Data Source="" , here write in the sql server instance that you want to use.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Sunday, August 16, 2009 4:25 AM

All replies

  • User1320101480 posted

    Hi,

    You got to mention it in the connectionstring, the Data Source="" , here write in the sql server instance that you want to use.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Sunday, August 16, 2009 4:25 AM
  • User-1612319882 posted

    Thank you, that worked.


    Louis

    Monday, August 17, 2009 2:34 AM
  • User1320101480 posted

    Hi,

    Great Louis!

    Monday, August 17, 2009 2:53 AM