RE: sql server 2005 sillence installation
How can I check to see if my custom install can install SQL before my custom installer trys to install SQL 2008 or 2012
I have a install for my software that depends on SQL. I want to install SQL 2008 or 2012 express versions if SQL does not exist on the system. However, it is possible and likely that the system has been configured in a way that causes the SQL install to fail. I want to run a pre-install check to make sure SQL has the correct permissions to install before I attempt the install. Is there a way to call the SQL install so that you can get a return of errors without actually installing SQL. Or is there a program I can run as part of my install to check the system will not block the SQL install. My ultimate goal is to problematically set the polices and permissions of the system, Install SQL and then reset the computer permissions to the way they were before the install.
Unable to troubleshoot error when rebulidng master database
I am on SQL Server 2008 R2 on Windows 7. I want to rebuild my master database (this is for learning) using
setup.exe /QUIET /ACTION=REBUILDDATABASE /INSTANCENAME=MSSQLSERVER /SQLSYSADMINACCOUNTS=PREMTESTCOMPUTE\pmehrotr /SAPWD=xxxxxxx
When I run this command, I get error:
Final result: Failed: see details below
Exit code (Decimal): -2068643838
Exit facility code: 1203
Exit error code: 2
Exit message: The state of your SQL Server installation was not changed after the setup execution. Please review the summary.txt logs for further details.
Requested action: RebuildDatabase
I have looked in various summary log files in Setup Bootstrap \Log drcetory and I cannot find the roort cause as something missing, do not have premssions etc. In different files it shows the same exit message; so it is frustrating how to troubleshoot this problem. I have also looked in event viewer and no information related to this error.
My database instance MSSQLSERVER has several accounts with sysadmin role. I just sepcified one:
setup.exe /QUIET /ACTION=REBUILDDATABASE /INSTANCENAME=MSSQLSERVER /SQLSYSADMINACCOUNTS=PREMTESTCOMPUTE\pmehrotr /SAPWD=xxxxxxx
Unable to add feature to existing SQL Server 2008 R2 Install
Hi,
I'm trying to add reporting services to an existing 2008 R2 instance as a pre-requisite for a fresh CRM 2011 installation. I figured out that the "Installation Type" page that allows adding features to an existing instance does not show up. This is an SQL Server 2008 R2 Enterprise installation and the Data-base Engine is up and running and being used by SharePoint. The OS is Windows Server 2008 R2 with all updates installed.
Tried to run setup "as administrator", but didn't help. Tried Add/Remove from control panel, but no difference. Seems that the setup routine does not recognize the instance initially. Is there any command line switch that forces the Installation Type page to appear?
I'd be thankful for any hints.
Can't uninstall SQL 2012 ? Error Code 0x84b10001
I keep getting this error when I try to install, repair or uninstall SQL 2012 which won't run because of another error? Here is the error..
sql server has encontoiured the following error:
Could not load file or assembly \\\ C:/program files/microsoft/sql server/ 110 blah blah blah huge path / Microsoft.SQLserver.Configuration.Setup.Extension.DLL Error Code 0x84b10001
I'm also not able to open SQL server management studio 2012. I have Management Studio 2008, but I need 2012 for my remote host which is using 2012. So, when I try with 2008 to open my db at the host, I get an error that I need 2012. This is driving me nuts..
I'm running Windows 7 Ultimate with 8gig of ram, solid state drive, on a lap top, latest updates, etc,. I also have VIsual Studio 2012 Pro, Webmatrix, and everything else works fine. Just this one damn SQL server Management studio that I need for it's visual tools to do relationships with, etc, and it doesn't work. Any help would be most appreciated.. I'm going to try to update SQL server again and the computer in general to see if that helps..
A search gives me a lot of stuff about 2008 sql, but nothing with the same error, so I'm afraid to try those solutions since they don't seem to be the same problem as I'm having!
Tim
Tim
sql server upgrade to 2012 .how to select the hardware requirements?
for the installaion of Sql server 2012
can someone please answer my questions
1.which physical blade should be purchased for the upgrade of Windows server 2008 to windows server 2012
currently we are using BL 465 c G5
2.how to choose how many processors that windows server will have?
Upgrade Advisor - Method not found
Hello,
I'm shortly to be upgrading a SQL Server 2005 instance to SQL Server 2008 R2 on a Windows 2003 R2 box. Whilst following suggested practice I ran the Upgrade Advisor and got the following issue reported "
Method not found: 'System.Collections.Generic.IEnumerable`1<Microsoft.SqlServer.Management.SqlParser.Parser.Error> Microsoft.SqlServer.Management.SqlParser.SqlCodeDom.SqlCodeObject.get_Errors()'. |
". This was for many commands such as DROPSYSOBJ, OUTPUTINTOFULLTEXT, OLDSYSTEMTABLES, DUMPLOAD, MERGE, ...
The status of these issues is critical and it is suggested that they be resolved prior to the upgrade, but I don't know what the issue means let alone how to resolve it. Can anyone shed any light on this for me please?
Mike
SQL Server 2008 R2 product key change on production server
Hello,
We have a one production server which has Microsoft SQL Server 2008 R2 (RTM) - Standard Edition (64-bit). This SQL server 2008 R2 is already activated with valid product key and is good. When this server was shipped from DELL it came up with SQL Server 2012 media but we support SQL Server 2008 R2 standard so we used one of our own license copy to activate this server. Now we traded this 2012 media with Microsoft and they have sent us back SQL Server 2008 R2 standard edition media with product key and now we want to use this new product key.
How can we change this product key on production server? Will it affect the server in case of changing the product key fails? Will the instance get corrupt?
I have one solution but I am not sure of.
By using the configuration manager, run the installation wizard, maintenance --> edition upgrade--> and there we can enter new product key.
But will this go smoothly? as we are not upgrading the edition of sql server. It has SQL Server 2008 R2 standard edition now and new one is also same one. Just product key will be different.
Your help is much appreciated.
Thank you.
Spawned SQL Server 2008 R2 SP2 installation freezes during ExecuteStandardTimingsWorkflow
We have an InstallShield installation package that spawns an installation of MS SQL Server 2008 R2, depending on what components the user selects to install. This has worked fine, but now we need to support Windows Server 2012 and Windows 8, so we want to
distribute SP2 of SQL Server 2008 R2 Express Edition instead of the original SP1. The only difference made to the installation package is to replace the redistributable of SQL Server R2 Express Edition SP1 with SP2. If the SP1 version is used Windows 2012
and Windows 8 will popup a message saying that there is compatibility issues with that version of SQL Server.
When the installation package use SQL SP2 the SQL Server installation starts, extracts files etc and and begins the installation, but then freezes at the step ExecuteStandardTimingsWorkflow displayed in the installer UI.
There is no significant CPU usage and no increase in memory by any process like msiexec or similar and there is no error message displayed.
It is not possible to cancel the installation either (cancel button disabled). Reviewing the SQL Server log files shows the following lines in the Detail_ComponentUpdate log
2012-08-23 08:33:06 Slp: Sco: Attempting to open registry subkey SOFTWARE\Microsoft\VisualStudio\9.0
2012-08-23 08:33:06 Slp: Sco: Waiting for service 'msiserver' to accept the stop request.
2012-08-23 08:33:06 Slp: Sco: Returning service status Running
2012-08-23 08:33:11 Slp: Sco: Returning service status Running
2012-08-23 08:33:16 Slp: Sco: Returning service status Running <- repeated indefintely until the installer is killed in task manager
When using SP1 the same log files says the following
2012-08-23 11:00:57 Slp: Sco: Attempting to open registry subkey SOFTWARE\Microsoft\VisualStudio\9.0
2012-08-23 11:00:57 Slp: Sco: Waiting for service 'msiserver' to accept the stop request.
2012-08-23 11:00:57 Slp: Sco: Returning service status Stopped
The problems appears to be that the installer cannot shutdown the msiserver service and just loops indefinitely.
The following conditions apply to all tested machines which is Windows 8, Windows Server 2012 RC, Windows Server 2008 R2
Machine is clean, no existing versions of SQL Server exists prior to installation. All security updates etc. applied.
Logged in user is local administrator.
Installation is successful if the SP1 version of SQL Server 2012 is used instead of the SP2 version
The SP2 version can be installed successfully from the command prompt (run as administrator). In this case I use the following command
line (replaced password with ****):
SQLEXPR_x86_ENU.exe /ACTION=install /INSTANCENAME=PRODACAPO /IACCEPTSQLSERVERLICENSETERMS /HIDECONSOLE /QUIETSIMPLE /SECURITYMODE=SQL /SAPWD=**** /SQLSVCACCOUNT="NT AUTHORITY\SYSTEM"
Display language is US English and SQL Server package is US English. Input/keyboard language is Swedish.
Windows Installer service cannot be shutdown from services as Stop and Restart options are disabled.
No summary.txt file is created when the installation freezes
Are there any changes in the behavior of the installation package from SP1 to SP2? Since SP1 works it seems that InstallShield cannot be blamed for this problem? However, installing from the command prompt works which means that the problem seem to lie in with
how the SQL installation is spawned from InstallShield. Currently this problem is preventing us from supporting Windows Server 2012 and Windows 8 properly.
If you need any log files or other info I can provide that promptly.
Related problems for other users:
http://stackoverflow.com/questions/11741803/fail-to-install-sql-server-2008-r2-as-a-feature-pre-requisite-in-a-wix-project
http://social.msdn.microsoft.com/Forums/en-NZ/sqlsetupandupgrade/thread/ce69b4e1-939f-4a64-9b44-e6ffdad3b9c8
The SP2 redistributable I use can be downloaded from here (SQLEXPR_x86_ENU.exe):
http://www.microsoft.com/en-za/download/details.aspx?id=30438
Thanks
Fredrik
Frede
SQL Server will not start on VMWare (5.1) hosted 2012 (sp1) server.
I built a brand new Standard Server 2012 SP1 virtual machine in a VMWare 5.1 clustered environment. No problems with the server itself. No errors, no issues. I patched to SP1 with all the latest KB's. I start the installation of SQL 2012 Standard. Install goes fine. I set up domain service accounts to run the server and agent on, set them up as administrators on the box. At the end of the installation it can't start the services. SQL Server Agent wont start. SQL Server wont start... I am logged in as a domain admin.
There is NOTHING else installed on this server, not even antivirus.
"Windows could not start the SQL Server (MSSQLSERVER) service on local computer. Error 5: Access is denied."
I found a posting about someone having a similar issue Here. There was something about permissions of the guest in VMWare. The fix for them was "changing all of the sql server services to log on as local system" which is NOT an option for me. I did change permissions on the SQL install folder, and that didn't help.
So I wrapped up the installation....
Tried to start the service and got the above error. Here is the event: (Sanitized for your protection)
Log Name: System
Source: Service Control Manager
Date: 3/4/2013 4:16:34 PM
Event ID: 7000
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: ComputerName.Domain
Description:
The SQL Server (MSSQLSERVER) service failed to start due to the following error:
Access is denied.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Service Control Manager" Guid="{555908d1-a6d7-4695-8e1e-26931d2012f4}" EventSourceName="Service Control Manager" />
<EventID Qualifiers="49152">7000</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x8080000000000000</Keywords>
<TimeCreated SystemTime="2013-03-04T22:16:34.412450700Z" />
<EventRecordID>1921</EventRecordID>
<Correlation />
<Execution ProcessID="508" ThreadID="2348" />
<Channel>System</Channel>
<Computer>ComputerName.Domain</Computer>
<Security />
</System>
<EventData>
<Data Name="param1">SQL Server (MSSQLSERVER)</Data>
<Data Name="param2">%%5</Data>
<Binary>4D005300530051004C005300450052005600450052000000</Binary>
</EventData>
</Event>
Just before this in the security logs (When I tried to start the service:)
Log Name: Security
Source: Microsoft-Windows-Security-Auditing
Date: 3/4/2013 4:15:19 PM
Event ID: 4656
Task Category: File System
Level: Information
Keywords: Audit Failure
User: N/A
Computer: ComputerName.Domain
Description:
A handle to an object was requested.
Subject:
Security ID:
DOMAIN\MyUserID
Account Name:
MyUserID
Account Domain:FNTS
Logon ID:
0xC86050
Object:
Object Server:Security
Object Type:
File
Object Name:
C:\Windows\System32\services.msc
Handle ID:
0x0
Resource Attributes:-
Process Information:
Process ID:
0xfdc
Process Name:
C:\Windows\System32\mmc.exe
Access Request Information:
Transaction ID:{00000000-0000-0000-0000-000000000000}
Accesses:
READ_CONTROL
SYNCHRONIZE
WriteData (or AddFile)
AppendData (or AddSubdirectory or CreatePipeInstance)
WriteEA
ReadAttributes
WriteAttributes
Access Reasons:READ_CONTROL:Granted byD:(A;;0x1200a9;;;BA)
SYNCHRONIZE:
Granted byD:(A;;0x1200a9;;;BA)
WriteData (or AddFile):Not granted
AppendData (or AddSubdirectory or CreatePipeInstance):Not granted
WriteEA:
Not granted
ReadAttributes:Granted by ACE on parent folderD:(A;;0x1301bf;;;BA)
WriteAttributes:Not granted
Access Mask:
0x120196
Privileges Used for Access Check:-
Restricted SID Count:0
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4656</EventID>
<Version>1</Version>
<Level>0</Level>
<Task>12800</Task>
<Opcode>0</Opcode>
<Keywords>0x8010000000000000</Keywords>
<TimeCreated SystemTime="2013-03-04T22:15:19.640384100Z" />
<EventRecordID>1730094</EventRecordID>
<Correlation />
<Execution ProcessID="516" ThreadID="524" />
<Channel>Security</Channel>
<Computer>ComputerName.Domain</Computer>
<Security />
</System>
<EventData>
<Data Name="SubjectUserSid">S-1-5-21-1724424548-855808307-1441089987-1194</Data>
<Data Name="SubjectUserName">MyUserID</Data>
<Data Name="SubjectDomainName">DOMAIN</Data>
<Data Name="SubjectLogonId">0xc86050</Data>
<Data Name="ObjectServer">Security</Data>
<Data Name="ObjectType">File</Data>
<Data Name="ObjectName">C:\Windows\System32\services.msc</Data>
<Data Name="HandleId">0x0</Data>
<Data Name="TransactionId">{00000000-0000-0000-0000-000000000000}</Data>
<Data Name="AccessList">%%1538
%%1541
%%4417
%%4418
%%4420
%%4423
%%4424
</Data>
<Data Name="AccessReason">%%1538:%%1801D:(A;;0x1200a9;;;BA)
%%1541:
%%1801D:(A;;0x1200a9;;;BA)
%%4417:
%%1805
%%4418:
%%1805
%%4420:
%%1805
%%4423:
%%1811D:(A;;0x1301bf;;;BA)
%%4424:
%%1805
</Data>
<Data Name="AccessMask">0x120196</Data>
<Data Name="PrivilegeList">-</Data>
<Data Name="RestrictedSidCount">0</Data>
<Data Name="ProcessId">0xfdc</Data>
<Data Name="ProcessName">C:\Windows\System32\mmc.exe</Data>
<Data Name="ResourceAttributes">-</Data>
</EventData>
</Event>
"If at first you don't succeed, get a bigger hammer."
Support Issue.
Can't remove or re-install SQL Server
System: Windows 7 64-bit
My first mistake was trying tro install SQL Server 2008(64-bit) 180 day evaluation. It never worked, couldn't get it to connect in SQL Managment Studio. There were always different errors, the main one seems to be :
TITLE: SQL Server Setup failure.
------------------------------
SQL Server Setup has encountered the following error:
The given key was not present in the dictionary.
I get this error whether I try to repair, add or uninstall. I tried every article I could find from MSDN and other blog sites. I was at one time able to uninstall things and remove registry keys. I then tried to reinstall SQL Server Express thinking maybe it was easier. I got the same problem. I was able to get an instance to connect, but it wouldn't allow me to install reporting services. So after three weeks I went back to a earlier restore point now I have the same mess I started with. I have too much data to try and reformat my drive. If some one could tell me how to fully remove all aspects of SQL and then how to install SQL Server Express w/Advanced Services. Another thing I noticed is when I tried to install SQL Server Express 64-bit, it kept telling me there were compatibility issues. I then tried to install SQL Server Express SP1 as was advised by MS, but none of this has helped. I think I have so much stuff installed over other installs that I am hopelessly lost. If you can help please let me know. If you need error logs or event logs let me know how to get them and I will provide what I can.
Thanks.
SQL 2012 upgrade advisor gets stuck during scan
SQL Server Mgt Studio 2008 installation problem - Key not valid for use in specified state
Nevertheless, I exported the file again without usernames and passwords, but the new install now won't let me even see servers, let alone import any new ones.
When I start Studio, it gives me the "Key not valid for use in specified state" error. When I 'continue', I'm delivered to a screen with the 'registered servers' pane crippled. It has no contents at all and no ability to add, select, import, export. Nothing there.
How do I rectify this?
The installation is on Windows 7 Home Premium.
Thanks for any suggestions.
Downgrade BIDS 2008R2 to 2008
SQLPS not importing after SQL 2012 install
Restore OLAP Cube created in SQL Server 2012 to SQL Server 2008 R2
Hi All,
I have created a cube using SSDT in SQL Server 2012.
Now for deployment, I was told that the client cannot provide SQL Server 2012 and will just use SQL Server 2008 R2 Standard Edition instead.
I have tried restoring the backup file (.abf) and I got "Instance versions used are incompatible".
Is there any way or tool that can downgrade cube? Just like for db, I can use SSMS and generate script and specify the SQL Server version.
Regards,
Charllemagne
SQL doesnt run after install
Specify port number in configuration file
If not, does anyone know a simple way to change it automatically after the install is complete?
SQL 2008 R2 SP1 - now can't access databases
I have two SQL 2008 R2 instances installed - one is Developer edition and the other Express. Yesterday I installed SQL 2008 R2 SP1 and now I can't access any of the databases under either instance. DBCC CHECKDB spat out a huge list of errors on one database
under the Developer Instance and, under the Express instance I get the message:
Database 'MyDb' cannot be opened due to inaccessible files or insufficient memory or disk space.
whenever I try to execute a simple SELECT on a table. Under Express I also tried to open up the databases in Management Studio's object explorer. It failed. When I looked at the error log, it had a message for each database along the lines:
Cannot use file MyDb.mdf because it was originally formatted with sector size 512 and is now on a volume with sector size 3072.
The database files have not been moved.
Any suggestions would be greatly appreciated.