Quantcast
Channel: SQL Server Setup & Upgrade forum
Viewing all 8133 articles
Browse latest View live

Change named instance file location after the instance was created!

$
0
0

Greetings -

I installed a named instance, and realized that I have made a mistake with the file paths (not specifying the data and log drives correctly). When the named instance was created, it created c:\program files\Microsoft SQL Server\MSSQL10_50.InstanceName. What I want is to have the data files go to F:\Data and logs to E:\log. How I change the file locations to be copied to these two folders instead of going to C:\program files? Do I have to remove and reinstall the instance name to correct the file locations of SQL?

Thanks,

lsalih


Enable TLS 1.2 for SQL SSL connections?

$
0
0

Does anyone know if running SQL 2008 R2 on Windows Server 2008 R2 if you can enable TLS 1.2 for connections between the SQL server and the SQL 2008 R2 ODBC client? I successfully enabled TLS 1.2 in IIS 7.5. But a network trace with the same system tweaks showed that the SQL connection was only being negotiated at TLS 1.0.

Enabling TLS 1.2 for IIS 7.5 can be found here:

http://derek858.blogspot.com/2010/06/enable-tls-12-aes-256-and-sha-256-in.html

The big difference between TLS 1.0 and 1.2 is the use of SHA-256 hashing instead of SHA1. NIST has recommended the phasing out of SHA1 in favor of SHA-256.

The credentials you provided for analysis services service are invalid. To continue, provide a valid account and password for analysis services service.

$
0
0

Hi

I'm trying to install powerpivot with sharepoint integration mode on a server using sql server 2012 installation wizard.

I type in a domain user name and password and I get the error message :

The credentials you provided for analysis services service are invalid. To continue, provide a valid account and password for analysis services service.

Error result: -2068578304
Result facility code: 1204

Any ideas on how to get around this problem?

 I changed my password to s a strong type password. It made no difference.

The server is a domain member server.

Cluster adding node with Service Accounts Name empty

$
0
0

Created cluster with two nodes.

Install the first node, and the final step the system could not brought the server up, hence, the SQL Agent was not able to start properly.

Fixed the SQLAgent issue by adding the virtual name into HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\SQLServerAgent   ServerHost

Then everything seems to work good.

Adding the 2nd node into the system, get through to the Service Accounts, the SQL Agent is having an "empty" username, and it is read only, could not proceed any further as the credential info is always wrong for SQL Agent.

Tried SETSPN -D to remove the MSSQLSvc and then added back with -A

Re-run the installation still having empty user account and could not proceed.

Tried configuration manager to reset the logon as, re-run the installation, still the same.

Any hint on how to add a user account name to the SQL Agent Service for a clustered installation would be very much appreciated!

SQL Server 2008 is the worst installation experience ever

$
0
0

Sorry but you guys have really messed up with SQL Server 2008 installation.

 

I've been using SQL server since 6.5, so I would classify as a fan.  We were looking at upgrading from 2005, which I was quite pleased with.

 

The installation experience is the worst I've ever experienced.  I am a computer expert, and I couldn't figure out how to install it properly.  Why is it that when I downloaded SQL Server Management Studio Express 2008, it seems as though it wants to install the full database?  Why is it when I was asked if I wanted to install a new version of SQL Server 2008 or use a previous install, when I chose previous install, it said that an instance ID was missing, but there was no way to specify anything else?  It drove me crazy.

 

Why are there so many requirements and restrictions for the installation, when all I want to do is install Management Studio?  It's intolerable and makes me never want to upgrade to 2008.  Why is the process so terrible when Microsoft is supposed to have the best UE people in the business? 

 

You guys did a really terrible job on this one.

 

SQL Server 2012 x64 Fails on ScenarioEngine.exe

$
0
0

Dear Community,

I am trying to install SQL Server 2012 with a configurationfile.ini
The unattended installation hangs with just a black screen.

The installation hangs even without using the configuration file. (but with the same service accounts)

See: http://i47.tinypic.com/sfvzpk.png

In EventViewer I can see the following error:

You can find the configuration file here:
http://pastebin.com/hQzD1jm4

Thanks in advance!

SQL Server 2012 stops running after setup files are copied.

$
0
0

SQL Server 2012 setup stops running after setup files are copied.

I've experiencing the same issue on two different machines. Both are 64 bit running Server 2008.

On both of them I tried installing using the files from the ISO. I initially used winzip to extract the files. The setup was running fine, but the SQL Server engine had an error when it installed. Then using the Add/Remove programs i uninstalled all of the SQL Server 2012 applications, including the setup files.

Now when i try to install using the "New SQL Server stand-alone..." wizard it will copy the setup files and then the wizard never comes back. I've tried mounting the ISO, extracting with winrar, Burning the ISO to a dvd and downloading the 3 files. I also tried mounting ISO of the version that was just recently released. I run into the same issue with all of them.

Thanks for the help.


Script level upgrade for database 'master' failed because upgrade step 'msdb110_upgrade.sql' encountered error 15173, state 1, severity 16.

$
0
0

I cannot start the instance MSSQLSERVER since I tried to update SQL Server 2012 using Windows Update. As I was updating it, Windows Update gave me an error message saying that the update failed. I decided to run the update again, and it succeeded, I believe. Then I started SQL Server Management Studio, and I noticed that the name of my server in the Object Explorer did not have a green arrow next to it but a white circle. I knew something was wrong, so I ran Sql Server Configuration Manager and saw that the state for MSSQLSERVER was "Change Pending". I decided to restart Windows 7 Home Premium and start SQL Server Management Studio. I tried to connect to my server, but I got a connection error message. I ran Sql Server Configuration Manager again and saw that MSSQLSERVER was in the "Stopped" state. I looked at Event Viewer and saw two error messages that showed the cause of this problem. The title of this thread is the beginning of one of the error messages. Can you help me resolve my issue? Thank you.


Moving system DBs on cluster

$
0
0

I have a single node SQL Server 2005SP3 cluster running on Windows server 2008 . We have experiened corruption in SAN drive (on SAN Volume E,F) recently and i want to move the system DBs and User DBs to a new volume (H,I) on same node . I have no issues with users DBs, but worried about moving the system DBs.  Can you guys tell me how to/step by step procedure move system DBs between two different drives on the same node/server on cluster.

Any links/suggesions would greatly help.

 

-Pradeep

SQL Server 2008 Reporting Services on Failover Cluster

$
0
0

 

When I try to install the Reporting Services on a second node of a failover cluster, I get the following error message:

Existing clustered or cluster-prepared instance failed. The instance selected for installation is already installed and clustered on node 2.

But, we never installed it before. Does anyone have any ideas? This is on Windows 2008 server 64-bit.

programatically install sqlexpress2008 with instance name password and user id ?

$
0
0

Hello

I need below.

1-) if there is sqlserver2008 express, i should install instance name as myprojectname. (Programatically Csharp codes)

2-) if there is no sqlserver 2008 express, i should install sqlserver2008 and instance name as myprojectname. (Programatically Csharp Codes)

both of them my connection string should be like user id = sa; password = sa123; datasource= .\myprojectname.

Thanks.

Slipstream of SQL Server 2008 R2 SP2 fails

$
0
0

Has anyone successfully created a slipstreamed drop of SQL Server 2008 R2 with SP2? I have successfully slipstreamed 4-5 other SQL Server 2008 and 2008 R2 versions with both SP's and CU's, so I'm not exactly new to this process, but can't seem to get SP2 to slipstream correctly.

I followed the following procedure:

  1. Copied SQL 2008 R2 RTM media to C:\SQL2008R2
  2. Deleted the x86 and ia64 directories.
  3. Extracted the x64 SP2 file to C:\SQL2008R2\SP
  4. Copied setup.exe from .\SP to .\
  5. Copied the files, but not the folders, and not the packagechain.dll from .\SP to .\
  6. Modified .\x64\DefaultInstall.ini to add PCUSOURCE=".\SP"

This process results in the following message:

"SQL Server setup media does not support the language of the OS or does not have the ENU localized files. Use the matching language-specific SQL Server media or change the OS locale through Control Panel."

I then tried copying the file .\SP\resources\1033\setup.rll to .\. This fails as well with the same error.

I then tried copying .\SP\1033_enu_lp and .\SP\resources to .\. This fails with the error:

"Microsoft .NET Framework 3.5 SP1 installation has failed. SQL Server 2008 R2 Setup requires .NET Framework 3.5 SP1 to be installed."

Let me quickly point out that the setup media language matches the OS language and SP language (ENU). Also, .NET is most definitely installed. Running the RTM setup and SP setup programs standalone work fine.

Thanks!

John

Does SQL Server (2003, 2008, 2012) support TLS 1.2? Is so, how to configure it?

$
0
0

Does SQL Server (2003, 2008, 2012) support TLS 1.2? Is so, how to configure it?

I have installed SQL Server 2008 R2 on a Windows 2008 R2 machine, and following instruction to set TLS 1.2 for IIS, while IIS works with TLS 1.2 (verified with a remote browser restricted to TLS 1.2), the SQL Server to a restricted client would fail and the server had chosen TLS 1.0 - anyone knows if there is a solution for this - many thanks.

SQL Server upgrade to 2008R2

$
0
0

Hi,

We are trying to upgrade SQL Server from 2005 SP /Developer 64-bit to 2008R2 /Developer 64-bit. At the last step before starting installation I get an error "Feature upgrade failed". Looking into this error, it seems that this occurs when trying to upgrade developer --> standard/enterprise OR 32-->64 bit but this is not the case for us.

The DVD that we are using is burnt from the file: en_sql_server_2008_r2_developer_x86_x64_ia64_dvd_522665.iso From Download area for my MSDN subscription. This DVD was used on a test machine to upgrade developer-->developer successfully... When given the option, I can't choose between enterprise and developer and can only choose between free (express, etc.) and other edition. So I choose the other option and a key is detected coming from DefaultSetup.ini:
;SQLSERVER2008 Configuration File
[SQLSERVER2008]
PID="GYFXX-XXXX..."

Any ideas where to look and what to look for? One hint is that the license agreement is titled "SQL Server 2008R2 enterprise" but this might simply be for the license agreement... 

Thanks a lot for your assistance!


SQL Server 2008 R2 Management Studio install fails telling me to install Visual Studio 2008 SP1!

$
0
0

Hi,

I am getting the following error when trying to install SQL Server 2008 R2 Management Studio (SQLManagementStudio_x86_ENU.exe or SQLManagementStudio_x64_ENU.exe) on a new Toshiba Portege R830-10R:

Another version of Microsoft Visual Studio 2008 has been detected on this system that must be updated to SP1.  Please update all Visual Studio 2008 installations to SP1 level, by visiting Microsoft Update.

I have all Windows Updates installed on this machine and I DO NOT have VS 2008 installed on this computer (VS2008 was never installed on this computer), but VS 2010 SP1 with .Net Framework 4.0 SP1!

I have sent all day trying to install either ones of the above .exe, but always get the same error message.

I have checked the registry and see that I do not have a  HKLM\SOFTWARE\Microsoft\DevDiv\VS key but only a HKLM\SOFTWARE\Microsoft\DevDiv\VC key (probably since I configured VS1010 for C#).  The HKLM\SOFTWARE\Microsoft\DevDiv\VC\Servicing\9.0 contains SP = 1 and SPIndex = 1.

Please help.
Thanks.

Eric


Is there an upgrade roadmap from SSRS 2008 Service pack 3 to SSRS 2012?

$
0
0

There is an upgrade path from SSRS 2008 Service Pack 2 to SSRS 2012 documented on the MSDN.

However, I cannot find any similar documentation to say if the same will work if Service Pack 3 is installed.

Does anyone know if it's Service Pack 2 or above or is there a different upgrade path from Service Pack 3?

Rule "Microsoft .NET Framework 3.5 Service Pack 1 is required" failed.-> SSMS Express 2012 on Windows 7

$
0
0

I'm trying to install SQL Server Management Studio Express 2012 on my Windows 7.  I have Microsoft .NET Framework 4.0 Client Profile, Extended and Multi-targeting Pack on my machine.

I also have had Visual Studio Professional Edition recently installed if that makes any difference.

The install for SSMS is failling on the installation rules screen at:

---------------------------
Rule Check Result
---------------------------
Rule "Microsoft .NET Framework 3.5 Service Pack 1 is required" failed.

This computer does not have the Microsoft .NET Framework 3.5 Service Pack 1 installed. If the operating system is Windows Vista or Windows Server 2008, download and install Microsoft .NET Framework 3.5 SP1 from http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=22. If the operating system is Windows 7 or Windows Server 2008 R2, enable the .NET Framework 3.5 feature. A computer restart may be required after installing.
---------------------------

Taking a hint from the error message,  I went to Turn Features On and Off,  but I saw only Windows Communication Foundation HTTP Activation

and

Windows Communication Foundation Non-HTTP Activation

under microsoft NET Framework 3.5.1.  So I checked those boxes and restarted. No help.

One possible other guess from this thread:

http://social.msdn.microsoft.com/Forums/en-US/sqldensetup/thread/c06365c5-ce96-4fc8-a12b-6c123c39044c/

is that I may need to "enable the application role (including .NET 3.5) through the OS"?

How would I do that on a Windows 7?

Or if there are other solutions, please let me know.

Thanks!

- Michele

SQL 2008 Instance not listening on port

$
0
0

Windows 2008 R2 Standard 64 Bit Server SQL 2008 R2 Standard 64 bit

I have three SQL instances running on my server

Instance 1 myswlserver port 1433

Instance 2 Sharepoint port 50135

Instance 3 Production port 49477

Instance 1 and 2 both are listening on ipv4

Instance 3 is not it is only listening on ipv6 I do not use IPV6 yet.

In SSCM I defined static port for both Instance 2 and 3

I am having a problem connnecting to instance 3 from a web site that uses ASP code with a connect string. Been fighting with this for several days.

Then just looked again at my logs and found that instance 3 is not listening on IPV4

My firewall is configured for the ports udp and tcp allowing access both ways also port 1434 is open both ways.

So why is instance 3 only listening on IPV6?

Any ideas on why?

Thanks

Tom


Thomas R Grassi Jr

find RAM and HDD capacity

$
0
0

Hello Every One,

How to find the Actual installed RAM on the server in GB (ex:16GB/32GB/64GB) and the total capacity of the installed Hard Disk capacity and Total free space on the server in GB (Ex: 1024 GB etc). I don't need the size for individual partitions, I am looking at the overall capacity of the HDD.

I have over 25 Servers and I need to know the same on all of them. Is there any easiest way?

Thanks in Advance

SQL Server Network Configuration Protocols TCP/IP needs some SQL Experts on this one.

$
0
0

SQL 2008 R2 Standard 64 bit on Windows 2008 R2 Standard 64 bit

Using SSCM to define the protocols for my sql instances. I have three sql instances

1. Mysqlserver    port 1433
2. Sharepoint      port 50135
3. Production      port 2433

My question is about defining the tcp/ip parameters.

I want to use static ports for all three instances.

Now the IP# is not the same in all three instances. Should they be the same except for the port number?

Mysqlserver

IP1
Active   Yes
Enabled No
Ip Address   FE80...........
TCP Dynamic Ports  (blank)
TCP Port 1433

IP2
Active   Yes
Enabled No
Ip Address   192.168.69.18
TCP Dynamic Ports  (blank)
TCP Port 1433

IP3
Active   Yes
Enabled No
Ip Address   FE80...........
TCP Dynamic Ports  (blank)
TCP Port 1433

IP4
Active   Yes
Enabled No
Ip Address   192.168.69.17
TCP Dynamic Ports  (blank)
TCP Port 1433

IP5
Active   Yes
Enabled No
Ip Address  ::1
TCP Dynamic Ports  (blank)
TCP Port 1433

IP6
Active   Yes
Enabled No
Ip Address   127.0.0.1
TCP Dynamic Ports  (blank)
TCP Port 1433

IP7
Active   Yes
Enabled No
Ip Address   FE80...........
TCP Dynamic Ports  (blank)
TCP Port 1433

IP8
Active   Yes
Enabled No
Ip Address   FE80...........
TCP Dynamic Ports  (blank)
TCP Port 1433

IPALL
TCP Dynamic Ports  (blank)
TCP Port 1433

Sharepoint

IP1
Active Yes
Enabled No
Ip Address   FE80...........
TCP Dynamic Ports  0
TCP Port (blank)

IP2
Active   Yes
Enabled No
Ip Address   192.168.69.18
TCP Dynamic Ports 0
TCP Port 50135

IP3
Active   Yes
Enabled No
Ip Address   FE80...........
TCP Dynamic Ports 0
TCP Port  (blank)

IP4
Active   Yes
Enabled No
Ip Address   192.168.69.17
TCP Dynamic Ports 0
TCP Port  (blank)

IP5
Active   Yes
Enabled No
Ip Address  ::1
TCP Dynamic Ports  0
TCP Port (blank)

IP6
Active   Yes
Enabled No
Ip Address   127.0.0.1
TCP Dynamic Ports 0
TCP Port  (blank)

IP7
Active   Yes
Enabled No
Ip Address   FE80...........
TCP Dynamic Ports  0
TCP Port  (blank)

IP8
Active   Yes
Enabled No
Ip Address   FE80...........
TCP Dynamic Ports 0
TCP Port (blank)

IPALL
TCP Dynamic Ports  (blank)
TCP Port (blank)

Production

IP1
Active Yes
Enabled No
Ip Address   FE80...........
TCP Dynamic Ports  (blank)
TCP Port 2433

IP2
Active   Yes
Enabled No
Ip Address   192.168.69.18
TCP Dynamic Ports  (blank)
TCP Port 2433

IP3
Active   Yes
Enabled No
Ip Address   FE80...........
TCP Dynamic Ports  (blank)
TCP Port 2343

IP4
Active   Yes
Enabled No
Ip Address   192.168.69.17
TCP Dynamic Ports  (blank)
TCP Port 2433

IP5
Active   Yes
Enabled No
Ip Address  ::1
TCP Dynamic Ports  (blank)
TCP Port 2433

IP6
Active   Yes
Enabled No
Ip Address   127.0.0.1
TCP Dynamic Ports  (blank)
TCP Port 2433

IP7
Active   Yes
Enabled No
Ip Address   FE80...........
TCP Dynamic Ports  (blank)
TCP Port 2433

IP8
Active   Yes
Enabled No
Ip Address   FE80...........
TCP Dynamic Ports  (blank)
TCP Port 2433

IPALL
TCP Dynamic Ports  (blank)
TCP Port 2433

See how they are different?

The logs

Mysqlsever

Date,Source,Severity,Message
10/10/2012 13:11:17,Server,Unknown,Server is listening on [ 127.0.0.1 <ipv4> 1434].
10/10/2012 13:11:17,Server,Unknown,Server is listening on [ ::1 <ipv6> 1434].
10/10/2012 13:11:17,Server,Unknown,Server is listening on [ 'any' <ipv4> 1433].
10/10/2012 13:11:17,Server,Unknown,Server is listening on [ 'any' <ipv6> 1433].
10/10/2012 13:01:53,Server,Unknown,Server is listening on [ 127.0.0.1 <ipv4> 1434].
10/10/2012 13:01:53,Server,Unknown,Server is listening on [ ::1 <ipv6> 1434].
10/10/2012 13:01:53,Server,Unknown,Server is listening on [ 'any' <ipv4> 1433].
10/10/2012 13:01:53,Server,Unknown,Server is listening on [ 'any' <ipv6> 1433].
10/05/2012 10:11:43,Server,Unknown,Server is listening on [ 127.0.0.1 <ipv4> 1434].
10/05/2012 10:11:43,Server,Unknown,Server is listening on [ ::1 <ipv6> 1434].
10/05/2012 10:11:43,Server,Unknown,Server is listening on [ 'any' <ipv4> 1433].
10/05/2012 10:11:43,Server,Unknown,Server is listening on [ 'any' <ipv6> 1433].
09/29/2012 19:06:11,Server,Unknown,Server is listening on [ 127.0.0.1 <ipv4> 1434].
09/29/2012 19:06:11,Server,Unknown,Server is listening on [ ::1 <ipv6> 1434].
09/29/2012 19:06:11,Server,Unknown,Server is listening on [ 'any' <ipv4> 1433].
09/29/2012 19:06:11,Server,Unknown,Server is listening on [ 'any' <ipv6> 1433].
09/28/2012 13:40:33,Server,Unknown,Server is listening on [ 127.0.0.1 <ipv4> 1434].
09/28/2012 13:40:33,Server,Unknown,Server is listening on [ ::1 <ipv6> 1434].
09/28/2012 13:40:33,Server,Unknown,Server is listening on [ 'any' <ipv4> 1433].
09/28/2012 13:40:33,Server,Unknown,Server is listening on [ 'any' <ipv6> 1433].

Sharepoint

Date,Source,Severity,Message
10/10/2012 13:01:22,Server,Unknown,Server is listening on [ 127.0.0.1 <ipv4> 50136].
10/10/2012 13:01:22,Server,Unknown,Server is listening on [ ::1 <ipv6> 50136].
10/05/2012 10:11:52,Server,Unknown,Server is listening on [ 127.0.0.1 <ipv4> 50136].
10/05/2012 10:11:52,Server,Unknown,Server is listening on [ ::1 <ipv6> 50136].
10/04/2012 08:49:09,Server,Unknown,Server is listening on [ 127.0.0.1 <ipv4> 50136].
10/04/2012 08:49:09,Server,Unknown,Server is listening on [ ::1 <ipv6> 50136].
10/04/2012 08:38:40,Server,Unknown,Server is listening on [ 127.0.0.1 <ipv4> 50136].
10/04/2012 08:38:40,Server,Unknown,Server is listening on [ ::1 <ipv6> 50136].
10/04/2012 08:38:40,Server,Unknown,Server is listening on [ 'any' <ipv4> 50135].
10/04/2012 08:38:40,Server,Unknown,Server is listening on [ 'any' <ipv6> 50135].
10/03/2012 22:12:37,Server,Unknown,Server is listening on [ 127.0.0.1 <ipv4> 50136].
10/03/2012 22:12:37,Server,Unknown,Server is listening on [ ::1 <ipv6> 50136].
10/03/2012 22:12:37,Server,Unknown,Server is listening on [ 'any' <ipv4> 50135].
10/03/2012 22:12:37,Server,Unknown,Server is listening on [ 'any' <ipv6> 50135].

Production

Date,Source,Severity,Message
10/24/2012 08:31:39,Server,Unknown,Server is listening on [ 127.0.0.1 <ipv4> 49478].
10/24/2012 08:31:39,Server,Unknown,Server is listening on [ ::1 <ipv6> 49478].
10/24/2012 08:31:39,Server,Unknown,Server is listening on [ 'any' <ipv4> 2433].
10/24/2012 08:31:39,Server,Unknown,Server is listening on [ 'any' <ipv6> 2433].

See how they start up different?

The Sharepoint and Production iinstances had dynamic ports and I changed them to statis and added those ports to my firewall inbound rules.

Should I model the Sharepoint and Production instances like the mysqlserver instance?

I am leaning toward that but need the experts opionon

Thanks

tom


Thomas R Grassi Jr

Viewing all 8133 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>