Unable To Connect To Server
Nov 14, 2000
On a fresh installation of SQL Server 6.5, I have
opened the EM and registered the server but am unable
to connect. I get the error of 'A connection could not
be established to [ServerName]- [DB-Library] Unable
to connect: SQL Server is unavailable or does not exist.
General Network Error. Check your documentation.'
I've tried connecting with all different DB-Lib settings
to no avail. Ultimately, I want to use TCP/IP. I am,
however, able to connect to other SQL Server boxes from
this EM, just not the local server. I am able to stop
and start the services from Control Panel and from SQL
Service Manager.
Since I haven't been able to log into the local SQL Server,
I've registered the server in EM to log in with sa and a
blank password. I've already completely uninstalled SQL
and reinstalled it to see if that would help. It didn't.
Does anyone have any idea what the problem could be?
Thank you!
Toni
View 7 Replies
ADVERTISEMENT
Jan 14, 2000
I upgraded my 6.5 server to 7.0 two days ago running into small problems with the database upgrade wizard. I had some small problems with security which took me some time but was not that difficult once I figured it out. I then proceeded to switch back to 6.5 mode to transfer all the data that had been done that day to my development machine so I could then import it to the SQL 7.0 version. When I was done with the transfer I switched back successfully, started the server successfully, but I was unable to connect. I get the error "Connection could not be established...", so after several attempts to connect and shuting the server down I now am at a loss. The server runs fine in 6.5 mode but it will not connect in 7.0?? Tonight I am going to try to reinstall SP1, if that does not work I am going to try to reinstall SQL 7.0. Any suggestions???
View 2 Replies
View Related
Jan 20, 2003
Hi,
I am running SQL 2000 on Windows 2000 Server. The clients are running different OS ranging from Win 98/NT/2000. Although i am able to connect to the local host, but whenever i try to connect over the network the following error pops up :
unable to connect to server <server name>
Server : Msg 11, Level 16, State 1
[Microsoft][ODBC SQL Server Driver][TCP/IP Socket]General network error. Check your network documentation.
I checked up the event long on the server and found the following entry:
Event Type: Warning
Event Source: MSSQL$NETSDK
Event Category: (8)
Event ID: 19011
Date: 1/20/2003
Time: 2:12:32 PM
User: N/A
Computer: <computer name>
Description:
The description for Event ID ( 19011 ) in Source ( MSSQL$NETSDK ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. The following information is part of the event:
(SpnRegister) : Error 1355.
May i further clarify that this error started today n till last week end (saturday, i am
stationed in India) there was no problem and the users were able to connect to the server
without any problem. My network engineer feels that its an sql problem and has nothing to do with network related issues.
i would appreciate if anybody could help me out. thanking in advance
- Paramesh
View 4 Replies
View Related
Nov 20, 2003
recently i made my PC dual boot by installing windows 2000 advanced server. It already had win2000 profesional installed on it. since then i have been unable to connect to sql server running on some other server(called CONTROLS) on the LAN. I am able to access the CONTROLS server thru 'my networkplaces' and able to see all its hsared directories and access htem. but when i open Enterprise manager i cannot connect to CONTROLS.
Please help me . i have already wasted 2 days over it.
View 3 Replies
View Related
Jun 12, 2000
I am unable to connect to SQL Server using isql_w or enterprise manager. The ODBC settings register successfull and the services show as started. I have tried starting SQL server in single-user mode with minimum config to see if memory is a problem but still cannot connect. The error logs show SQL as having started successfully with no errors. Has anyone got any ideas?
View 5 Replies
View Related
Aug 2, 2001
From my Win98SE box with MDAC 2.6sp1, I can't connect to SQL (win2k, sql2k).
I've tried everything I know but nothing works.
I always get the following error:
Unable to connect to server 192.168.1.2
ODBC: Msg 0, Level 16, State 1
[Microsoft][ODBC Sql Server Driver] Timeout Expired
some additional info...
- both computers are in a workgroup, not in a domain.
- this is a home network and they're connected via a Linksys cable modem router
- another box on this same lan can connect to sql just fine, although it's
running win2k.
- all boxes have identical DSN, Subnet...settings
- I also installed Jet4.0sp1 just in case, but that didn't help either
- I'm primarily trying to connect via TCP, although I have tried Named Pipes
as well
- i can ping both boxes from each other just fine
- odbc ping fails
MDAC has worked beautifully for me for the last several years. Did MS
change something recently...or is there another problem?
Thanks, Andre
View 2 Replies
View Related
Nov 18, 2004
Hi,
I encounter (suddenly) the following error:
[ODBC SQL-Server Driver][Shared Memory] Unknown connection
by connecting either with the query analyzer or enterprise manager.
No connection possible anymore.
My configuration is:
Windows 2003 Server with
SQL Server 2000 SP3a Enterprise Edition with standard network configuration
One MSDE is still running on same machine and can connect.
I have checked with Compchecker, but no mismatches.
Any ideas ? It all sounds weired !
dajm
:(
View 3 Replies
View Related
Oct 25, 2005
Hello. I am very new to SQL Server. I've tried to look through other posts on the forum but did not find the solution I needed. Please help.
I have SQL Server running on Machine1 which I am able to connect to. What I want to do is connect to this server through a Machine2 that is on my network.
Both Machines run on WindowXP Professional
On the server of Machine1, I have:
1. Under the security tab, I have created a New Login using SQL Server Authentication (general tab), checked all server roles (server roles tab) and checked to permit all databases (in the database access tab)
2. On the server, went to properties -> security tab and allowed for SQL Server and Windows authentication
On Machine2 when I try to register the server of Machine1 through the Register SQL Server Wizard, I am able to see the server. However, when I use the newly created Login Name and password (from step 1 of above). I get a Login Failed for user message. When I try to connect to the server through Query Analyzer I also get an unable to connect to server message (Server: Msg 18456, Level 16, State1)
What else do I need to configure to make it work?
Thank you!
View 9 Replies
View Related
Jul 20, 2005
If you place an image of your server on a rebuilt server, rename it andchange the SID. You get an error message “UNABLE TO CONNECT” when youuse the SQL Query analyzer on a desktop computer to connect to theserver (hosting the image). If you add the server (hosting the image)to the Windows2000 server domain/active server and restart the server(hosting the image), you get the following error message: "YOUR SQLSERVER INSTALLATION IS EITHER CORRUPT OR HAS BEEN TAMPERED WITH (UNKNOWNPACKAGE ID). PLEASE RERUN SETUP."Wouldn't you think changing the name, the sid and adding it to a domainwould be enough to access it. I even created a new ODBC connection.*** Sent via Developersdex http://www.developersdex.com ***Don't just participate in USENET...get rewarded for it!
View 1 Replies
View Related
Jan 31, 2008
i have three computers with three differnent running systems. about three days ago we were experiencing trouble getting into the game rooms at pogo.com. we thought it would be trouble with java since it affected all three computers. on the computer i am on now i have uninstalled and reinstalled java numerous times to no avail. I am at my wits end trying to fix this. does anyone have any ideas.
View 1 Replies
View Related
Dec 12, 2006
Hi there,
There is a SQL instance (sql2005) and I am trying to add a new distribution. Replication wazard says:
SQL
Server is unable to connect to server 'SERVER1'. (New Publication
Wizard)SQL
Server is unable to connect to server 'SERVER1'. (New Publication
Wizard)
SQL Server replication
requires the actual server name to make a connection to the server.
Connections through a server alias, IP address, or any other alternate
name are not supported. Specify the actual server name, 'SERVER1'. (Replication.Utilities)
There is the only local instance of the server on local computer and 'SERVER1' is actual name.
What is wrong?
Thank yuu
View 4 Replies
View Related
Apr 6, 2007
hi,
im making a log in using the asp.net web site admin tool the probably
is when click n the security tab it says it cannt connect to the
aspnetsqlprovider. thanksdomal
View 1 Replies
View Related
Aug 3, 2007
The error occurs when I try to configure SQL server express. Please help. An error has occured while establishing a connection to the server. When connectiong to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (Provider: Named Pipes Provider, error: 40-Could not open a connection to SQL Server)
-sam
View 1 Replies
View Related
Aug 13, 2007
Hello all,I try to configure the website by using the built in tool of vs2005. When i click the button from Website -> ASP .NET Configuration.when the main page is displayed, i clicked the security, the error shows like:---------------------------------------- There is a problem with your selected data store. This can be caused by an
invalid server name or credentials, or by insufficient permission. It can also
be caused by the role manager feature not being enabled. Click the button below
to be redirected to a page where you can choose a new data store. The following message may
help in diagnosing the problem: Unable to connect to SQL Server database.---------------------------------------How to enable connection to sql server? Thanks
View 5 Replies
View Related
Aug 13, 2007
I have a problem that unble to connect the SQL Server2005 on Vista OS. After searching solution around but still not able to find the solution for me problem.
The Error was Error 26,
provider:SQL network interfaces, error:26 - error locating server/instance specified
Is any1 facing the problem on this? Any solution for this case?
TQ
View 14 Replies
View Related
Aug 21, 2007
To All Members,When I create a new project and try to use the ASP.Net web application administration :security tab, I get the following :There
is a problem with your selected data store. This can be caused by an
invalid server name or credentials, or by insufficient permission. It
can also be caused by the role manager feature not being enabled. Click
the button below to be redirected to a page where you can choose a new
data store. The following message may help in diagnosing the problem: Unable to connect to SQL Server database. I am using Microsoft Visual Web Developer 2005 Express Edition with a local MS SQL Server 2000.I am new to all of this so a little help would be greatThanks.please mail me to dehackers@linuxmail.orgor izzuan@malysia.com
View 4 Replies
View Related
Oct 15, 2007
Hi, I am working through "Sams Teach Yourself ASP Dot NET 2.0 in 24 Hours"
I am upto hour 20 where it says
Configuring an ASP.NET Website to Support Membership
To configure our website to support membership, we must launch the ASP.NET Website Administration Tool. To accomplish this, either click the ASP.NET
Configuration icon at the top of the Solution Explorer or click the Website menu's ASP.NET Configuration option. Either way will open a web browser pointed to a page through which the ASP.NET site can be configured. Figure 20.1 shows the ASP.NET Website Administration Tool.
To add user account support, click the Security link. This will take you to the Security screen shown in Figure 20.2. From this screen, you can specify the user accounts in your system, what roles for users exist, and the access rules for users.
However when I click security I get the following error message;
"There is a problem with your selected data store. This can be caused by an invalid server name or credentials, or by insufficient permission. It can also be caused by the role manager feature not being enabled. Click the button below to be redirected to a page where you can choose a new data store."
"The following message may help in diagnosing the problem: Unable to connect to SQL Server database."
If I test the provider I get this error;
"Provider Management""Could not establish a connection to the database.""If you have not yet created the SQL Server database, exit the Web Site Administration tool, use the aspnet_regsql command-line utility to create and configure the database, and then return to this tool to set the provider."
I am using MS VWD Express with MS SQL Express. I have run the 'aspnet_regsql' tool on my database which the book fails to mention and verified that the tables were created correctly. I have tried copying the MDF file directly into my 'app_data' directory but this made no difference. I have googled these errors and nothing seems to help. I can connect to the database through a 'SqlDataSource' and have had no trouble with the database in the previous sections of the book. I think it may have something to do with how I setup SQL Express or database permissions, I hope someone can help. Thanks in advance.
Here is a copy of my web.config; <?xml version="1.0"?><!--
Note: As an alternative to hand editing this file you can use the
web admin tool to configure settings for your application. Use
the Website->Asp.Net Configuration option in Visual Studio.
A full list of settings and comments can be found in
machine.config.comments usually located in
WindowsMicrosoft.NetFrameworkv2.xConfig
--><configuration>
<connectionStrings>
<add name="MyFirstDatabaseConnectionString" connectionString="Data Source=.;AttachDbFilename="C:Program FilesMicrosoft SQL ServerMSSQL.1MSSQLDataMyFirstDatabase.mdf";Integrated Security=True;Connect Timeout=30;User Instance=True"providerName="System.Data.SqlClient" />
</connectionStrings><appSettings/>
<system.web><!--
Set compilation debug="true" to insert debugging
symbols into the compiled page. Because this
affects performance, set this value to true only
during development.
Visual Basic options:
Set strict="true" to disallow all data type conversions
where data loss can occur.
Set explicit="true" to force declaration of all variables.-->
<compilation debug="false" strict="false" explicit="true" /><pages>
<namespaces><clear />
<add namespace="System" /><add namespace="System.Collections" />
<add namespace="System.Collections.Specialized" /><add namespace="System.Configuration" />
<add namespace="System.Text" /><add namespace="System.Text.RegularExpressions" />
<add namespace="System.Web" /><add namespace="System.Web.Caching" />
<add namespace="System.Web.SessionState" /><add namespace="System.Web.Security" />
<add namespace="System.Web.Profile" /><add namespace="System.Web.UI" />
<add namespace="System.Web.UI.WebControls" /><add namespace="System.Web.UI.WebControls.WebParts" />
<add namespace="System.Web.UI.HtmlControls" /></namespaces>
</pages>
<!--
The <authentication> section enables configuration
of the security authentication mode used by
ASP.NET to identify an incoming user. -->
<authentication mode="Windows" />
<!--
The <customErrors> section enables configuration
of what to do if/when an unhandled error occurs
during the execution of a request. Specifically,
it enables developers to configure html error pages
to be displayed in place of a error stack trace.
<customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
<error statusCode="403" redirect="NoAccess.htm" />
<error statusCode="404" redirect="FileNotFound.htm" />
</customErrors>-->
</system.web></configuration>
View 13 Replies
View Related
Jun 2, 2008
Hello everyone, I've been using the tutorial located here.I am using Microsoft Visual Studio 8.0.50727.42, Microsoft SQL Server 2005, and Microsoft .NET Framework 2.0.50727 SP1.The tutorial uses the SQL Express version and I cannot get it to connect to the standard SQL Server 2005 version. I have used the website ConnectionStrings.com and the whitepaper located here and I wasn't able to get my web app talking to the database through many attempts.I am using a database in Microsoft SQL Server 2005 named SecurityTutorials. This is located on my local machine. There is a login named SecurityTutorials and a user in the SecurityTutorials database named SecurityTutorials who has default schema dbo, who owns the db_owner schema, and has role membership to db_datareader, db_datawriter, and db_ddladmin. The password of this user does match the password in the connection string in web.config, I have verified this multiple times.The problem comes when I open up the CreatingUserAccounts page of this tutorial. When I hit the button 'Create the User Account,' nothing happens. And no record is inserted into the database.Here is my web.config file (if you need any other files then please let me know and I can post them but it is my understanding that this is the only file responsible for the database connection):<?xml version="1.0"?><!-- Note: As an alternative to hand editing this file you can use the web admin tool to configure settings for your application. Use the Website->Asp.Net Configuration option in Visual Studio. A full list of settings and comments can be found in machine.config.comments usually located in WindowsMicrosoft.NetFrameworkv2.xConfig --><configuration> <appSettings/> <connectionStrings> <add name="SecurityTutorialsConnectionString" connectionString="Server=localhost;Database=SecurityTutorials;User Id=SecurityTutorials;Password=**********;" providerName="System.Data.SqlClient"/> </connectionStrings> <system.web> <membership defaultProvider="SecurityTutorialsSqlMembershipProvider"> <providers> <!--Add a customized SqlMembershipProvider --> <add name="SecurityTutorialsSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="SecurityTutorialsConnectionString" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="true" applicationName="SecurityTutorials" requiresUniqueEmail="true" passwordFormat="Hashed" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="7" minRequiredNonalphanumericCharacters="1" passwordAttemptWindow="10" passwordStrengthRegularExpression=""/> </providers> </membership> <!-- Set compilation debug="true" to insert debugging symbols into the compiled page. Because this affects performance, set this value to true only during development. --> <compilation debug="false" /> <!-- The <authentication> section enables configuration of the security authentication mode used by ASP.NET to identify an incoming user. --> <authentication mode="Forms"> <forms slidingExpiration="true" timeout="60" /> </authentication> <machineKey decryption="AES" validation="SHA1" decryptionKey="1513F567EE75F7FB5AC0AC4D79E1D9F25430E3E2F1BCDD3370BCFC4EFC97A541" validationKey="32CBA563F26041EE5B5FE9581076C40618DCC1218F5F447634EDE8624508A129" /> <!-- The <customErrors> section enables configuration of what to do if/when an unhandled error occurs during the execution of a request. Specifically, it enables developers to configure html error pages to be displayed in place of a error stack trace. <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm"> <error statusCode="403" redirect="NoAccess.htm" /> <error statusCode="404" redirect="FileNotFound.htm" /> </customErrors> --> </system.web></configuration>Note: The password is an actually password. Not sure if it'd be a good idea to post that here, even though it is a test database.Thank you all in advance for your advice!
View 1 Replies
View Related
Feb 27, 2004
I am currently trying to connect to a SQL Server instance with my host provider. I am having issues trying to connect to it.
I am using a Linkysys router and I have opened up the ports that SQL Server needs but I am getting an error - "SQL Server does not exist or Access denied". I've contacted the support but they are telling me it is an error on my end.
Has anyone experienced this issue before?
Thanks in advance for the help.
View 5 Replies
View Related
Jul 20, 2005
I'd be really grateful for some help.I have successfully installed the SQL server on my xp home edition machine but everytime I try to connect through the Data Matrix i get the message 'unable to connect to database sever. Log in failed for user sa.' I am entering 'local host' for server 'sa' for user and my password but I cannot connect.I saw Harish Rangathans article about this where he suggested going to the Enterprise manager and then the properties box to fix the problem but my version of the server only has a server manager and no properties box to enter to fix the problem.Is there anyone out there with any ideas about how to fix this problem.
View 7 Replies
View Related
Jul 22, 2005
My VS 2005 website project was connecting to a remote SQL Server. But after I move the database to the second SQL Server, I got the following error message from running my website project:
Named Pipes Provider: Logon failure: unknown user name or bad password.
I do everything same like what I did in the first SQL server:
Using “SQL Server and Windows� authentication and “System account�;
Create a domain account IIS_WPG;
Grant this IIS_WPG as db_owner for the database;
In web.config, add the name and password to the end of connectionstring;
Make sure the SQL Server has “Named Pipes� and “TCP/IP� protocols.
I have no idea what I can do else, anybody has suggestions?
View 3 Replies
View Related
Nov 30, 2005
hello guysI'm trying to access a sql server database through an asp.net web application and I get the following message"login failed for user 'MYCRAYASPNET' " where MYCRAY is the server name. I enabled mixed mode authentification to the server and created a user "ASPNET" for the database. But while creating the user, enterprise manager never asked me to supply a password.does anybody know what's going on here?Thanks for any input.Naby.
View 1 Replies
View Related
Dec 11, 2005
HI all,I have hosted my ASP.Net application to a Hostingserver.My application fails to connect to the databaseserver, and promts error "Object refrence is not set to an instance of anobject"This Error is due to Drop Down Lists which query datafrom the database. I am using the connection string "Data Source=xxx.xxx.xxx.xx; Initial Catalog=shopadvizor;User Id=user1;Password=pass"The IP address above works fine when I Register andconnect the Remote database Srever with my Enterprisemanager. I can even query the database from my Local enterprise manager to the remote machine database server. Really Lost Need some help.Regards
View 5 Replies
View Related
Dec 24, 2005
System.Web.HttpException: Unable to connect to SQL Server database.
---> System.Data.SqlClient.SqlException: An error has occurred while
establishing a connection to the server. When connecting to SQL
Server 2005, this failure may be caused by the fact that under the
default settings SQL Server does not allow remote connections.
(provider: Named Pipes Provider, error: 40 - Could not open a
connection to SQL Server)
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParser.Connect(Boolean&
useFailoverPartner, Boolean& failoverDemandDone, String host,
String failoverPartner, String protocol, SqlInternalConnectionTds
connHandler, Int64 timerExpire,
The above was what I get whenever I tried connecting to SQL Server
database. I've got Windows XP Pro SP2, IIS 5.1, and is currently using
Visual Web Developer.
How do I rectify my problem of connecting to an SQL Server?
View 1 Replies
View Related
Mar 1, 2000
I have SQL Server 7 SP1
OLAP Server SP1
installed on two WIN NT 4 SP5 machines.
On machine 1 I can connect to the locally installed OLAP Server, but cannot connect to machine 2's OLAP server. (and vice versa machine 2 cannot connect to machine1's OLAP server)
The error I am getting is the following:
"Error occurred while connecting to machine2
Cannot open the following registry key on the server computer(machine2):
SOFTWAREMicrosoftOlap ServerServer
Connection Info"
Can anyone give me a clue as to what is going on.
(note: I have tried the 'default' MS troubleshooting method of re-installing - no change)
Thanks
View 1 Replies
View Related
Mar 20, 2000
Hi !! everbody i have a problem in sql executive ( 6.5 version),whenever i am using cmd.exe for running scheduled task it runs fine but if i am using TSQL task type to run a task then it gives error and says that 'unable to connect to server '(local)'.
our this TSQL task type was running previously but now for last 5 days itis not runnig.
Your reply would be highly appreciated
Pl. reply as early as possible
thanks in advace
from
rajesh
View 2 Replies
View Related
Dec 26, 2004
Hi All,
I am using Crystal Report 8.0 to create report on MSDE sp3a , but when I try to make connection Natively :
More Data Source->MiCrosoft SQL Server-> [Dialog opens]
then I type the ServerName, UserID and Password.
System hangs for a while, then I get this error :
"Unable To Connect to Sql server MyServer"
BUT IF I create system DSN (ODBC) then create the report, it works.
Why can't I create report Natively on MSDE ??
Thank you very much for any help,
Krist
View 7 Replies
View Related
Jun 29, 2007
Hello , i m new to SQL Server when i am connecting it shows me error
"An error has occured while establishing a connection to the server.When connecting to SQL Server 2005,this faliure may be caused by the fact that under the default settings SQL Server does not allow remote connections.(provider: SQL Network Interfaces,error:26-Error Locating Server/Instances Specified)(Microsoft SQL Server)"
please help me as soon as possible, Thanks in advance
View 3 Replies
View Related
Jul 25, 2007
Hi All
I'm new to ASP coding and trying to connect to SQL server in ASP thru vbscript.
It works fine in the local machine, but received the "[DBNETLIB][connectionopen[connect().]SQL server does not exist or access denied" in the client machine, can anybody help to sort this out?
connection string
conn.Open "Provider=SQLOLEDB.1;Persist Security Info=False;User ID=clnt_user;Password=welcome;Initial Catalog=attendance;Data Source=(local)"
Thanks,
nags.
View 2 Replies
View Related
Jan 23, 2004
I have loaded NT4 onto a machine with 256MB's of ram. I have put on SP6 and the hard drive is 80GB's in size. I then loaded in SQL Server 6.5 and set up my default database at 250MB's in size. I can ping all other computers on the network and they can ping me but when I try to register the database it give me a unable to connect error. This is the 10004 error. The error is Execomm and it says the DBPROCESS is dead. I guess thats cause it won't connect. The Sqlserver is running and so is the sqlexecutive running.
Help, Help, Help.
TIA
View 4 Replies
View Related
May 15, 2008
Hi, I'm not a DBA and our DBA is not available.
I get the following error for my connection string when I try to connect to a specific database on the SQL Server 2005:
Below is the connection string:
cnn = "data source=" & CompanyT & ";driver=VPC-002BALGORD\SQLEXPRESS;AttachDBFilename=" & ArInvoice.FilePath & ";username=sa;password=balgord;Trusted_Connection=no"
SQLdb.Open cnn
I get the following error:
[Microsoft][SQL Native Client][SQL Server]Login failed for user. the user is not associated with a trusted SQL Server connection
Mixed mode is set in the Server Security properties (SQL Server authenticaion and Windows Authentication).
I searched googled and everyone says set the authentication to mixed mode... It is set to mixed mode so I'm all out of ideas. I think if there was an error in the connection string it would give me a different error right? I dont know I'm all out of ideas, any help will be greatly appreaciated.
Thank you.
Regards,
Irena V.
View 1 Replies
View Related
Nov 8, 2007
Hi
I had Sql Server 2005 installed on a machine of mine and was able to connect to the local, however I had to unistall it. Recently I put it back on the machine and found that I was no longer able to connect to the local server.
Does anyone know why this has happened and how it can be resolved?
Thanks
View 8 Replies
View Related
Nov 27, 2007
Hi,
I have a Visual C# WinForms app which I am accessing a SQL Server 2005 database with. On the Server, I have allowed remote connections (TCP and named pipes) and enable SQL Browser as per instructions on MSDN. The app works fine on the development machine.
Server name is <machine name>SQLEXPRESS, connecting with Windows Authentication.
Server log states that it is listening on [ 'any' <ipv4> 3153].
Server named pipe provider is ready to accept connection on [ \.pipeMSSQL$SQLEXPRESSsqlquery ].
On the client (local network), when trying to open the database I get this error still:
An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)
Also on the client, I can go into the ODBC Data Source Administation, and connect to the SQL Server Database that way successfully.
What further steps can I take to allow the client to access the SQL Server?
Andrew
View 1 Replies
View Related