Hi,
I have developed a stand alone application that get data from excel and dumps it in local database (sql server database primary data file) in visual studio .net 2005. I had no issues while developing the application. When i am trying to install this application in the standalone system with .net framework 2.0 and no backend database it giving the following error
provider: sql network interfaces, error 26 - Error locating Server/ Instance Specified
connection string i am using is
Dim
objLocalDB As System.Data.SqlClient.SqlConnectionobjLocalDB =
New System.Data.SqlClient.SqlConnection("Data Source=.\SQLEXPRESS;AttachDbFilename=" & System.AppDomain.CurrentDomain.BaseDirectory & "LFDB.mdf;Integrated Security=True;User Instance=True")I dont want to use any backend database. I only want to use the database that comes with .net (i.e sqlexpress)
Please help me how can i get through this problem.

problem running vb.net application with sqlexpress in system with only .NET FRAMEWORK
jqq
HTH, Jens K. Suessmeyer.
---
http://www.sqlserver0205.de
---
Deerhake44
Rick Thomas
SQL Express is not part of the .NET Framework, it is a completely separate product that must be installed if you are going to use it. You can add SQL Express as a prerequisite to you application installation automatically using either ClickOnce or standard Setup Projects in VS 2005, in your projects properties, click the Prerequisite button and make sure SQL Express is checked in the list. This will automatically include the SQL Express installer in your deployment and install it on the target computer if it is needed.
Mike
Benedikt
hi,
I can't understand if you installed SQLExpress as well, on the target computer... did you
regards
modtran
Hi,
Thanks for your valueable suggestion. So i cannot run a vb application developed using sql server management studio without SQL EXPRESS.I tried installing SQL EXPRESS in standalone system, but its giving issues.
Process followed -->
Uninstalled existing framework.
Installed .NET framework 2.0Dowloaded SQLEXPRESS and istalled in system.
Its throwing a error that .net should require some updates... What updates do we need to install to get this working.
Thanks in advance.
JohnTMSDN
Hi,
Thanks for your suggestion. So we cannot run vb.net application that is developed using sql server management studio without SQL EXPRESS and only .net framework.
I tried to open the link provided by you. Its not opening. I am getting page cannot be displayed.