locked
ASP .net...SQL Server 2005 not connecting RRS feed

  • Question

  • User1985356408 posted

    I can connect to the ASPNETDB.MDF when I run the app and use the login components...but in Visual Studio 2005, I cannot open the database in the environment. I try to create a connection to modify the MDF database and it will not open. It says that I need to use Microsoft SQL 2005 Server or greater...what's going on? I have MS SQL Server 2005 Developers Edition installed. Like I said, it connects when I run the app in Internet Explorer 8. I have no idea what's going on. VS 2005 says that it's using SQL EXPRESS and I don't know why. How do I set up SQL Server 2005 to be used in Visual Studio 2005?

    I can connect to an Access database in Visual Studio 2005, but I cannot connect to the MDF database. Weird.

    Any help is greatly appreciated.

    Thank you for your time,

    Malin

    Monday, January 25, 2010 6:00 PM

Answers

  • User1452680134 posted

    refer tis:

    http://objectmix.com/ado-dao-rdo-rds/242185-connection-string-attachdbfilename-doesnt-work.html

    http://forums.asp.net/t/1008091.aspx

    http://www.mydigitallife.info/2007/10/31/error-has-occurred-while-establishing-a-connection-to-sql-server-2005-which-does-not-allow-local-and-remote-connections/

    http://forums.asp.net/t/1337137.aspx


    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, January 26, 2010 6:38 AM
  • User1452680134 posted

    http://social.msdn.microsoft.com/Forums/en/Vsexpressinstall/thread/95d926e6-6e88-4cac-9bb4-c66339654c47


    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, January 26, 2010 6:49 AM

All replies

  • User1452680134 posted

    refer tis:

    http://objectmix.com/ado-dao-rdo-rds/242185-connection-string-attachdbfilename-doesnt-work.html

    http://forums.asp.net/t/1008091.aspx

    http://www.mydigitallife.info/2007/10/31/error-has-occurred-while-establishing-a-connection-to-sql-server-2005-which-does-not-allow-local-and-remote-connections/

    http://forums.asp.net/t/1337137.aspx


    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, January 26, 2010 6:38 AM
  • User1452680134 posted

    http://social.msdn.microsoft.com/Forums/en/Vsexpressinstall/thread/95d926e6-6e88-4cac-9bb4-c66339654c47


    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, January 26, 2010 6:49 AM
  • User1985356408 posted

    Thanks, dude. This should help. I appreciate it. 

    Tuesday, January 26, 2010 2:55 PM