locked
Visual studio 2010 and sql server express 2008 RRS feed

  • Question

  • I have  downloaded and installed SQL Server 2008 from msdn site on my  Windows xp. I am trying to connect from vs 2010 accademic version. when I test connection it says connection succeed but I am getting this error : 

    unable to add data connection. coluld not find a part of the path 'c;\program files\Microsoft visual studio 10.0VSTSDB\Microsoft.Visual studio .Data.Schema.SEExtensions.xml". at DataViewSupport(4,3) 



    is there any way to fix the problem? 
    thanks
    Friday, February 13, 2015 3:13 AM

Answers

  • Try to put this
    	<connectionStrings>
    		<add name="conn2" connectionString="Data Source=192.?.?.?\your_db_instance;Initial Catalog=your_db_schema;Integrated Security=False;User ID=your_db_login;Password=??????" providerName="System.Data.SqlClient"/>
    	</connectionStrings>



    within Web.config/app.config file in your project, to ensure the project will work fine with the database.

    Many Thanks & Best Regards, Hua Min

    • Marked as answer by alex0210 Wednesday, February 18, 2015 7:08 AM
    Friday, February 13, 2015 4:26 AM

All replies