473,387 Members | 1,290 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Remote Sql Server Connection String

I have configured Sql Server Express on a server, Enabling TCP/IP and Named Pipes to accept remote connections. However when i attempt to connect from VB.net on another PC on the same network I get the following Error: Failed to login user "ServerName\User".

Can anyone offer some server setting and a ADO.NET Connection string.

The attached file has the Sql Server Settings.

Any help would be greatly appreciated.
Attached Files
File Type: txt sqlRemoteConfig_Current.txt (806 Bytes, 845 views)
Dec 3 '11 #1
2 4563
kadghar
1,295 Expert 1GB
Many times this is a problem in your SQL server or in your firewall.

Perhaps you aren't running all the services you need to connect, or perhaps you have to open the SQL server ports in your firewall.
Dec 13 '11 #2
  • Turn off all firewalls, with WIn XP and up, by default the firewalls are turned on.
  • First of all try connecting to the SQL server on the SQL server machine, the simplest way would be to create a ODBC and on the last step click the test connection button on the ODBC interface.
  • A typlical SQL server connection string for .NET should look like this: [connectionString="Data Source=<SQL SERVERNAME/IP ADDRESS>;Initial Catalog=<DATABASE>;User ID=<USERID>;password=<PASSWORD>" providerName="System.Data.SqlClient]
Dec 13 '11 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: fruddy | last post by:
Hi everybody, I currently have my SQL Server connection string in an Application variable in the global.asa. Could that be a security risk? I have heard that with Cold Fusion, when there is a...
1
by: Mark Fisher | last post by:
We have a database on a shared SQL Server stored on our ISP's server. I can connect to this via Enterprise Manager from our office, but when I try the same from Enterprise Manager on my PC at home...
5
by: Fred Zuckerman | last post by:
Hello All, After reading in this group about the preference for connecting to a SQL Server using a connection string instead of a DSN file, I have done just that. BUT, I cannot update my data....
1
by: K Meyer | last post by:
Everything in the deployment works fine with the exception of the address of the database also deployed on the remote server. The string address is found under "oledbconnection" in the ".......
2
by: D. Shane Fowlkes | last post by:
Upon reading through my ASP.NET book, I've learned how to place the connection string in both locations in my application. Just due to habit, I naturally want to place my SQL Server connection...
3
by: paulo | last post by:
Hello, I'm developing a web services apllication using SQL Server in mixed mode. I'm also using WSE 3.0. For each user in the application there's a corresponding user on the database. The...
2
by: SAL | last post by:
Hello, I am working with Framework 1.1 and Microsoft Enterprise Library 2005. I've used the Enterprise Library Configuration utility to create my app.config & dataConfiguration.config files. ...
2
by: dronkanoki | last post by:
I am attempting to set up myODBC 3.51 on Win XP Pro to a remote MySQL Linux server. I get the following error: Access denied for user: 'username@ipaddress.serviceprovider.net' (Using password:...
3
by: venkatanarasimhaa | last post by:
Hi, I am developing one application in VB as front end and SQL Server as backend. When I am trying to connect to SQL server, If I have Local Admin rights to my system then it is working fine...
2
by: Man T | last post by:
I just wonder what is/are your practices to build the SQL Server connection string? Use object to build the connection string from config file or somewhere?
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.