We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Winforms - Connect to Sql Datanase on Intranet PC

Thread ID:

Created:

Platform:

Replies:

7302 Sep 19,2003 12:14 AM Windows Forms 0
loading
Tags: FAQ
sunny123
Asked On September 19, 2003 12:14 AM

Hi, I'm a .net newbie & before this i have only worked with asp. I'm trying to make a sample winforms intranet application using VS.net - c# and sql 2000 database. The application works if executed on PC on which the sql-server is installed but does not seem to connect to the database when run on any other PC in the intranet. Connection string used: "data source=SUNNY;initial catalog=PROJ;password=sunny;persist security info=True;user id=softadmin;workstation id=192.168.1.2;packet size=4096"; Making the necessary changes in the connection string will do the trick OR does it required network socket programming... Please provide guidance and if possible any url links to related articles. Thanx in advance. Sunny

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;