Sql Server Installation Code error - sql-server

My problem is this, I want to Install Sql server 2014 in my Pc but i have a problem with it:
SQL Server Setup failure.
SQL Server Setup has encountered the following error:
The SQL Server license agreement cannot be located for the selected edition, SQLBI. This could be a result of corrupted media or the edition being unsupported by the media.
Error code 0x858C001B.
My pc is new, I have not had any previous version of SQL server on this pc.. Do you have a Solution?
Thanks in advance.

Related

No instance created by SQL Server 2008 R2

I have a problem with SQL Server 2008 R2, when I try to connect to server it gives me the following message:
TITLE: Connect to Server
Cannot connect to (local).
ADDITIONAL INFORMATION:
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)
(Microsoft SQL Server, Error: 2)
I found a couple of solutions for this, one of which told me to go the configuration manager and check the instance created by SQL Server. There was none. I found only this:
I need to learn SQL Server for a job, and I don't know what to do.
-- UPDATE --
I reinstalled SQL Server 2008 and some errors might have something to do with my issue..
errors in reinstalling
note: the first time I installed I was basically clueless, I might had the same errors before and I simply didn't notice..
This seems you only install SQL Server Management studio not whole SQL Server DBMS so you need to install SQL Server and then try again.To check that SQL Server is installed on my PC or not You can follow these Steps
1.In Window Run Type `services.msc`
2.Check that SQL Server Service is present or not
3.If Present Then Check in Running Mode or not.
4.if not here still SQL Server is not installed
Hope this helps you
You need to install SQL server and SQL Server studio management tool. Seems you are trying to install SQL Server 2008.
Go to this link and download the version of SQL Server 2008 you are after
32 or 64 bit
https://www.microsoft.com/en-au/download/details.aspx?id=1695
Then install a Microsoft SQL Server 2008 Management Studio.
https://www.microsoft.com/en-au/download/details.aspx?id=7593
If you have windows 8.1 and upwards you can install the newer version of MSSQL which comes with Management studio. https://www.microsoft.com/en-us/sql-server/sql-server-downloads.

Report Services (SSRS) 2005 connect database in Microsoft SQL Server 2014

Currently I am working on a project it is request us to connect their database (Server A with Microsoft SQL Server 2014) via SSRS (Server B with Microsoft SQL Server 2005).
I keep facing the problem with this message :
The version of the report server database is either in a format that
is not valid, or it cannot be read. The found version is '162'. The
expected version is 'C.0.8.54'. To continue, update the version of the
report server database and verify access rights.
(rsInvalidReportServerDatabase) (rsRPCError) Get Online Help
Can anyone help me? Thanks a lot.
I think the problem is likely to be that the ReportServer database has been created using SQL Server 2014. Trying to connection a SQL Server 2005 Report Server installation to that database will not work because they are not compatible. If it is possible to run Reporting Services with a configuration like this at all, and I'm not sure that it is, you will need to have a ReportServer database that was created using SQL Server 2005 Reporting Services Configuration Manager.

Unable to connect to SQL Server in Hydro GeoAnalyst

I have installed Hydro GeoAnalyst 2014.2 and i have started trial and wanted to install demo project. Firstly, i must select data source type, available server and database name. I select data soruce type, then i write sql server instance name and then related combobox filled my databases. Finally, i select my database.
I use Microsoft SQL Server 2012 Express but Hydro GeoAnalyst return an error when i want to connect my database on MS SQL. Then i have installed Microsoft SQL Server 2014 Express and Hydro GeoAnalyst returned the same error:
Unable to Connect 'AYSE/SWS'. Ensure that the SQL Server exists and is running.
I have controlled my MS SQL Server 2012 and 2014 on SQL Server Management Studio and they works with no problems. I have controlled SQL Server Configuration Manager but no solution. Why do i take this error ? Is this because of express edition of SQL Server ?
Please help. Thanks in advance.
I send error picture:
If you are using SQL Server Express installed on another machine (not your local machine) make sure you have it configured for remote connections (http://blog.citrix24.com/configure-sql-express-to-accept-remote-connections/).
Also Please be aware that the vendor support email for Hydro GeoAnalyst has changed to support#waterloohydrogeologic.com. If you continue to experience difficulties contact them and they will be happy to look into the issue further.

Launching SQL Server 2008 Express from VS2010 in SQL Server Management Studio

My laptop has Windows 7, x64 bit, and was built this past December (2 months ago). It has Microsoft Visual Studio 2010 installed with SQL Server 2008 Express, but I had not used "Sql2008" before on this PC.
SQL Server Management Studio has been installed all that time, and I use it to connect to our company's instance of SQL Server.
Now, I need to do some development and debugging on a large stored procedure that is not returning the data we expect. I got a backup of the database companyDB.bak and moved that to my Win7x64 laptop in this folder: C:\Temp\companyDB.bak.
I open SQL Server Management Studio and select (local) and click "Connect":
After some time, I get error message:
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) (Microsoft SQL Server, Error: 2)
I do some research and found this helpful link: SQL SERVER – FIX : ERROR : (provider: Named Pipes Provider, error: 40 – Could not open a connection to SQL Server) (Microsoft SQL Server, Error: )
His first step is to make sure SQL Server is running, which it seems to be:
Next, it says to make sure I am using TCP/IP Port 1433. When I looked, it seemed all of mine were BLANK, so I changed them so that all use Port 1433, then Stopped and Restarted the service:
OK, now I can get my local instance to start up.
When I attempted to restore the database using my "companyDB.bak" file, I get an error saying the database I am restoring from is newer than I am saving it to:
System.Data.SqlClient.SqlError: The database was backed up on a server running version 10.50.1600. That version is incompatible with this server, which is running version 10.00.2531. Either restore the database on a server that supports the backup, or use a backup that is compatible with this server. (Microsoft.SqlServer.Smo)
So, I downloaded SQLEXPRWT_x64_ENU.exe from here: from here: http://www.microsoft.com/en-us/download/details.aspx?id=30438
During installation, I get this error saying that it can't install until **SQL Server 2005 Express Tools" are removed:
Now below, if you will notice, I did a search of the items installed under my computer, and the only thing there is with "2005" in the title is VC++ 2005 Redistributable:
So, I cancelled the installation and started it again, this time selecting the "Upgrade from SQL Server 2000, SQL Server 2005 or SQL Server 2008" option, but I got the same error message.
I do not seem to be able to continue.
Obviously, some of my installed applications need VC++ 2005 Redistributable, or I would not have installed it a few months ago.
How do I proceed?
[UPDATE]:
Following Davide Mauri's SQL Server 2008 R2 Installation and the Phantom of SQL Server 2005 Express blog, I searched for the term Sql2005SsmsExpressFacet in the log file "C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\yyyymmdd_hhmmss\Detail.txt".
It only pointed to a single registry entry (where his pointed at two): ""
Init rule target object: Microsoft.SqlServer.Configuration.SetupExtension.Sql2005SsmsExpressFacet
Sco: Attempting to create base registry key HKEY_LOCAL_MACHINE, machine
Sco: Attempting to open registry subkey
Sco: Attempting to open registry subkey SOFTWARE\Microsoft\Microsoft SQL Server\90\Tools\ShellSEM
Rule 'Sql2005SsmsExpressFacet' detection result: SQL 2005 Ssms EE installed=True
Evaluating rule : Sql2005SsmsExpressFacet
Rule running on machine: 5000-C6E8-1
Rule evaluation done : Failed
Rule evaluation message: The SQL Server 2005 Express Tools are installed. To continue, remove the SQL Server 2005 Express Tools.
But, my registry does not even HAVE that directory:
[UPDATE 2]:
OK, so our IT guy has given me the full blown SQL Server 2008 R2 CD to install, but I am still hitting this same roadblock with it thinking that SQL Server 2005 Express tools are still installed - so I can not move forward.
To fix this, I did the following:
Uninstall all of the SQL Management Studio instances I had
reboot
Install SQL Server 2008 (not the Express version)
reboot
Tada!
I guess Microsoft likes selling their product, and it worked.

Connection error for sqlserver rake db:migrate

I am getting the following error:
Open
OLE error code:80004005 in Microsoft OLE DB Provider for SQL Server
[DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied.
HRESULT error code:0×80020009
Exception occurred.
I have tried following the directions here with no luck.
Any ideas?
FIXED
My specific issue I believe was related to having to many mixed systems installed on my laptop. I had Visual Studio 2005 and 2008 components and SQL Server Management Standard loaded with SQL Server Express Edition as well as various other components that might have affected the stability of my environment. Once I reloaded Vista and went back through the steps from the link above it worked without issue.
I only loaded the Express Editions of SQL Server and SQL Server Management Studio.
Usually a authentication/permissions error.
Is the SQL Server on the same box as the web server, review the accounts they are running under, and review the type of connection you are making (integrated or otherwise)?
Random guess: By default SQL Server (express, at least anyway) does NOT enable network access. The SQL Admin manager tools connect to it using named pipes, however rails most likely will be trying to use TCP.
My specifc issue I believe was related to having to many mixed systems installed on my laptop. I had Visual Studio 2005 and 2008 componets and SQL Server Managment Standard loaded with SQL Server Express Edition as well as various other componets that might have effected the stability of my envirnomnet. Once I reloaded Vista and went back through the steps on http://wiki.rubyonrails.org/rails/pages/HowtoConnectToMicrosoftSQLServer it worked without issue.
I only loaded the Express Editions of SQL Server and SQL Server Management Studio

Resources