0

I am working on windows forms application using c#.net. i have developed an application that uses sql database as backend. Using local server i am working.Now I need work on client machine who have server on the network(non server machine).How can i work with non server machine).

Please guide me.

2 Answers 2

1

Modify your connection string. Instead of localhost or "." or your machine name, use the server machine name and sqlinstance name. More about connection strings, check http://www.connectionstrings.com

Sign up to request clarification or add additional context in comments.

1 Comment

Thanks your reply..i dont know server machine name and sqlinstance name.can i use Remove Integrated Security=True
0

Suppose when you execute your application, its address comes as

    http://localhost/pagename.aspx/formname

So instead of this, you can access it by replacing localhost by ip address of the machine

http://10.123.4.56/pagename.aspx/formname

2 Comments

I am using windows application.
This is local server connection string : string connection = "data source=localhost;initial catalog=TWO;integrated security=SSPI;persist security info=False;packet size=4096";

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.