SQL Server Connection Unavailable in Visual Studio 2010 Express -



SQL Server Connection Unavailable in Visual Studio 2010 Express -

i'm hoping easy/quick fix, taking it's toll on me.

when seek create new info source in visual studio 2010 (visual basic) not have alternative select "microsoft sql server" in info source when click on "add new connection" on database explorer.

it allow me create connection sql server database file. not want.

i want show up:

but "microsoft sql server database file" option.

how enable connect actual microsoft sql server?

also: have alternative enabled on visual studio web developer. not on visual basic end , don't know did show up.

thank help

install .net info provider if did not install right provider. if have installed correctly, follow below steps,

there multiple machine.config files in \windows\microsoft.net\framework\vxxxx\config directories. check both of v2 , v4 machine.config files next (four files total you're looking @ here).

there extra, self terminated tag in 2 of files. had 4 open @ 1 time comparing them, , noticed in 2 of them, v4 believe, check them all. , easy miss:

<system.data> <dbproviderfactories> <add name="odbc info provider" invariant="system.data.odbc" ... /> <add name="oledb info provider" invariant="system.data.oledb" ... /> <add name="oracleclient info provider" invariant="system.data ... /> <add name="sqlclient info provider" invariant="system.data ... /> <add name="ibm db2 .net provider" invariant="ibm.data ... /> <add name="microsoft sql server compact info provider" ... /></dbproviderfactories> <dbproviderfactories/> </system.data>

notice closing tag @ end of lastly item, in case "microsoft sql server compact info provider", , there's self closing tag. clean keeping 1 after lastly item , deleting self closing 1 @ end , reboot it.

sql sql-server visual-studio-2010 sql-server-2005

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -