Cannot connect to SQL Server 2008 R2 - sql-server-2008

I recently uninstalled SQL Server 2012 Express, including deleting all (I think) relevant files.
I have installed SQL Server 2008 R2 developers edition on my laptop (Windows 7), but when I open Management Studio the server name is blank, and I get connection errors when trying to login using localhost, MSSQLSERVER, etc... (Error 18456)
SQL Server Configuration Manager is showing SQL Server (MSSQLSERVER) as active.
Installation notes;
Default instance (MSSQLSERVER)
In Server Configuration I selected "Use the same account for all SQL Server services" (NT AUTHORITY\SYSTEM)
In "Engine Configuration" I selected windows authentication
Windows account used to install is not an admin account

Look at this article.
If your error message looks like this:
Msg 18456, Level 14, State 1, Server , Line 1 Login
failed for user ''
you need to look at the state part of the error message to find out the cause of the issue.
Anyway it will be better if you provide the full error message.

Related

sql server connection not showing up

I have mysql installed (including the connector for .net) and visual studio 2019 installed but when I try to connect via the one of the connections I have on the work bench by entering the name (it doesnt show up on the dropdown) I get the following error: server was not found or not accessible
here is the relevant server information
here a few other stack overflow related questions I found but none of them were helping me:
Why am I getting "Cannot Connect to Server - A network-related or instance-specific error"?
SQL Server is not showing in Visual Studio
How do I ensure Remote connections are allowed?
Also I have visual studio 2019 which meant I couldn't download the special mysql toolbar but does that mean it won't work at all with visual studio 2019?
You have 2 pictures in your post, in the first you try to connect to SQL Server, not to MySQL.
Your second image says that MySQL connection was made.
So I imagine that you need to connect to MySQL, not to SQL Server, so you should not choose Data Provider for SQL Server, but any driver for MySQL
what ended up working is if I go back and install vs2017 as oppose to vs 2019.

BizTalk 2010 Configuration Failure

I've two 64-bit Windows Server 2008 R2 machines. On one of the machines BizTalk Server 2010 Standard Edition is installed & on the other SQL Server 2008 R2 is installed.
When I use the 'BizTalk Server Configuration' on the BizTalk machine to create the necessary databases on the SQL Server machine, just the 'SSODB' gets created & then the configuration fails due to below errors
Failed to create the SQL database 'SSODB' on SQL Server 'SQLServerName' (with SSO Administrator account 'SSO Administrators').
(0xC0002A21) An error occurred while attempting to access the SSO database.
Could not find the account name 'SSO Administrators' on computer 'SQLServerName'. Configuration can proceed, but it might fail.
(0x800706BA) The RPC server is unavailable.
A few sites suggested to register both the 32-bit & 64-bit SSOSQL.dll using the regasm command to resolve this issue & I did the same. But, the issue still persists.
What is a solution for this?
Create "Domain user accounts/user groups" before configuring and use those instead of the local user accounts/user groups. (http://msdn.microsoft.com/en-us/library/aa577661(v=BTS.70).aspx)
Add the domain user account as sys-admin on the Sql server.
Most likely the above 2 steps will help you resolve this issue.

Unable to connect to the Report Server - Can't find service

Over the weekend the SQL Server 2008 R2 (running on Windows Server 2008 R2) was rebooted.
This morning my reports don't run.
I try to login to SQL Server 2008 R2 Reporting Services Configuration Manager and it gives me an error: Unable to connect to the Report Server
I did some searches and found this, but I don't see any service called Report Server. I also don't see any services that - by its name - seem to be the reporting service when running SQL Server Configuration Manager.
Ideas?
Thanks.
The link you provided was for the 2012 version. Use the appropriate version of the link for a few ideas:
http://msdn.microsoft.com/en-us/library/ms143773(v=sql.105).aspx
If the Reporting Services Configuration Manager can't be launched, I would check the system event logs for errors pointing in the right direction: This could be a lot of things: permissions, SQL connectivity problems, certificate expiration, &c.
Edit: the service name is still incorrect in the corret version of the docs I provided. The default instance of this service is called
SQL Server Reporting Services (MSSQLSERVER)
If you have multiple instances of SSRS installed there will be multiple services listed, with the instance name in parenthesis.

Cannot register default instance MSSQLSERVER in SQL Server 2008

I have installed SQL Server 2008 Developer on Windows 7 (64 bit). In SQL Management Studio I cannot register the default instance MSSQLSERVER. It cannot find it although the service is running. I get the message:
Cannot connect to PHOENIX\MSSQLSERVER.
A network-related or instance-specific error occurred while
establishing a connection to SQL Server. The server was not found or
was not accessible. Verify that the instance name is correct and that
SQL Server is configured to allow remote connections. (provider: SQL
Network Interfaces, error: 25 - Connection string is not valid)
(Microsoft SQL Server, Error: 87)
However SQL Server Management Studio does show the SQL Server 2005 Express instance (that was installed with VS 2008 Pro) which appeared as already registered. I am using Windows Authentication as I installed it in mixed mode.
How do I connect to an MSSQLSERVER instance using SQL Server Management Studio?
I always connected as:
[machine_name]/[instance_name]
and it wasn't able to connect. What works is connecting simply as:
[machine_name]
This is probably due to the fact that I am running a DEFAULT instance.
Check if the server allows remote connections on TCP/IP port 1433.
this can be checked by SQL Server 2008 configuration manager.
Go to network configuration and check if tcp/ip is enabled. If not enable this one.

Experiencing problems running Sql Server 2008 Express Edition SP1 on Windows 7 (firewall issue?)

I've installed sql2008 express sp1 on my laptop that's running the beta 1 of windows 7. The problem that I'm experiencing is a combination of dynamic ports/firewall/windows 7.
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
I was first experiencing this problem when I was trying to connect to sql with the management tools, but as soon as I enabled Sql Server Management Tools as a program to go through the firewall it worked out fine. Now the problem is when I launch my web site it gives me that error. I've also positive that sql browser is running and I've enabled tcp/ip and named pipes in the sql express service.
So does anyone have any thoughts as to how to resolve this?
Are you using the same instance name in both SSMS and your web application?
Commonly, people will try to connect based upon the machine name exclusively, for instance "MySQLServer". SQL Server Express installs a named instance by default, whose default name is SQLExpress. If this is the case, try connecting to "MySQLServer\SQLExpress" instead (omitting the quotes, of course).
Go into SQL Server Configuration Manager - under Programs - Microsoft SQL Server 2008 - Configuration Tools - and make sure that under SQL Server Network Configuration - Protocols for SQLExpress, that Named Pipes is enabled (by default it is not).
Yes, I'm aware of both scenarios. I've setup as a named instance and as a default instance as well, and adjusted the connection strings, neither worked.
I've also enabled named pipes and no go. It has everything to do with windows 7 firewall, but couldn't figure it out so I just installed server 2008 standard edition and voila.
I suspect the fact that it uses dynamic ports is another issue with windows 7.