Visual C# 2008 express edition error connections to sql server files require (*.mdf) require sql server express 2005...


i have ms sql server 2008 installed before install ms visual c# express edition. when try create database through c# using

project -> add new item-> server based database

i error connections sql server files (*.mdf) require sql server express 2005 function properly. please verify installation of component or download url : http://go.microsoft.com/fwlink/?linkid=49251

does means ms visual c# 2008 express can work sql server express 2005 only? shall fix error. thank you

hi daboy regino,

 

thank question.

 

this behavior design. when add database file through solution explorer ->my_progect -> add -> new item…, visual studio try use feature "user instance" enabled in sql server express edition, if sql server express not installed on local machine, error raised.

 

if want use other sql server editions, specify server name , database name in connection string, more detailed information connection string, please refer below link:
http://www.connectionstrings.com/

 

thanks,
weilin qiao


please remember mark replies answers if , unmark them if provide no help. can beneficial other community members reading thread.


SQL Server  >  SQL Server Setup & Upgrade



Comments

Popular posts from this blog

Conditional formatting a graph vertical axis in SSRS 2012 charts

Register with Power BI failed

SQL server replication error Cannot find the dbo or user defined function........