.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Forum >> VB.Net >> Post New QuestionBookmark and Share Subscribe to Forum

How to know SQLSERVER

Posted By: shahin     Posted Date: April 03, 2010    Points:2   Category :VB.Net
hi
i developed one windows application and installed on server.
Run fines on server and Client PC also.

But it doesn't share Common database.

Actually on server only VS2008 is installed not SQL server.
i also deploy my database with application.

i used this connection string .....

New SqlConnection("Data Source=.\SQLEXPRESS;AttachDbFilename=" & Application.CommonAppDataPath() & "\Database\XYZ.mdf;Integrated Security=True;User Instance=True")

So how can i solve this problem?

any other way to define it?

Responses
Author: Venkat             
Posted Date: April 04, 2010     Points: 5   

Hi,

Sorry unable to understand your question. Please explain your problem in a bit detail.

Are you unable to connect application using given connection string?

Mark As Answer if this solve your problem
Warm Regards,
Venkat
Author: shahin             
Posted Date: April 04, 2010     Points: 5   

no i am able to to connect application using given connection string

but only in my pc

when i deployed project and install on server and in client machine
it does nt share same database....

all client machine hv diff database even server

Author: shahin             
Posted Date: April 04, 2010     Points: 5   

not that on sever only VS2008 is installed not sql.....



Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend