Showing posts with label sqlserver. Show all posts
Showing posts with label sqlserver. Show all posts

Friday, March 30, 2012

Install Security

Reguarding best practices: when I am installing s SQL
Server Database, best practice would say that I do not use
the Domain Admin or the BUILTIN Admin account to run the
database under. If I cannot use these accounts, what do I
use? My network has Active Directory installed and we are
running on Win2000 servers."Rich" <anonymous@.discussions.microsoft.com> wrote in message
news:8b5201c3e9a2$dbf005a0$a401280a@.phx.gbl...
quote:

> Reguarding best practices: when I am installing s SQL
> Server Database, best practice would say that I do not use
> the Domain Admin or the BUILTIN Admin account to run the
> database under. If I cannot use these accounts, what do I
> use? My network has Active Directory installed and we are
> running on Win2000 servers.

For fairly high level of security you can use a domain account with user
level domain permissions, on the server grant the permissions (user rights,
registry & NTFS permissions) found in this document:
http://support.microsoft.com/defaul...1&Product=sql2k
Stevesql

Install problems on one system

Hi;
I have VMWare on a test computer and installed the dev version of SqlServer
2005 fine on the frist VM partition.
However, on the second it won't let me check the reporting services and
requires a strong password. Why?
--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com
Cubicle Wars - http://www.windwardreports.com/film.htmHi,
For further research, I would like to know:
1. Do your two VMWare partions have the same version of Windows OS?
2. What's the Windows OS edition?
3. What will happen if you specify a strong password for it?
4. Could you send me related system event logs to me
(changliw@.microsoft.com) ?
Sincerely yours,
Charles Wang
Microsoft Online Community Support|||Hi;
1. Yes - same everything.
2. Windows 2003 with all service packs.
3. I did not do that as I want the same p/w we use for everything on the
test system.
4. Will get tomorrow (I'm home now).
--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com
Cubicle Wars - http://www.windwardreports.com/film.htm
"Charles Wang[MSFT]" wrote:
> Hi,
> For further research, I would like to know:
> 1. Do your two VMWare partions have the same version of Windows OS?
> 2. What's the Windows OS edition?
> 3. What will happen if you specify a strong password for it?
> 4. Could you send me related system event logs to me
> (changliw@.microsoft.com) ?
> Sincerely yours,
> Charles Wang
> Microsoft Online Community Support
>|||Hi;
For question 4 all it has is:
MsiInstaller - SQL Server 2005 - Install started.
MsiInstaller - SQL Server 2005 - Installation failed.
And the failed is because I cancelled it.
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com
Cubicle Wars - http://www.windwardreports.com/film.htm
"Charles Wang[MSFT]" wrote:
> Hi,
> For further research, I would like to know:
> 1. Do your two VMWare partions have the same version of Windows OS?
> 2. What's the Windows OS edition?
> 3. What will happen if you specify a strong password for it?
> 4. Could you send me related system event logs to me
> (changliw@.microsoft.com) ?
> Sincerely yours,
> Charles Wang
> Microsoft Online Community Support
>|||BTW - the big problem is it requiring a strong password for the SqlServer sa
user. That will break all of our unit tests.
--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com
Cubicle Wars - http://www.windwardreports.com/film.htm
"Charles Wang[MSFT]" wrote:
> Hi,
> For further research, I would like to know:
> 1. Do your two VMWare partions have the same version of Windows OS?
> 2. What's the Windows OS edition?
> 3. What will happen if you specify a strong password for it?
> 4. Could you send me related system event logs to me
> (changliw@.microsoft.com) ?
> Sincerely yours,
> Charles Wang
> Microsoft Online Community Support
>|||Hi Dave,
Thanks for your response.
By default, strong password is a policy in Windows 2003. From your
description, I understand that your SQL Server 2005 ran with mixed
authentication mode and you log on the SQL 2005 with sa account.
I would like to know whether or not you can log on the SQL Server 2005 with
sa account which password is weak. Which place did this issue occurs?
To let me better understand this issue, I would like you could mail me
(changliw@.microsoft.com) a screenshot of your issue.
In SQL Server 2005, you can modify sa password and cancel the strong
password policy via:
Log on into Microsoft SQL Server Management Studio with sysadmin;
Expand the Security folder;
Expand the Logins folder;
Right click sa account and click Properties on the pop menu;
Cancel the selection of "Enforce password policy";
Modify the sa password if you want to.
Sincerely yours,
Charles Wang
Microsoft Online Community Support|||Hello;
Not exactly. I have not installed Sql Server 2005 yet because of these two
problems.
1) It has greyed out reporting services and I need to install that.
2) It wants a strong password during install. How can I set it to not
require that during install?
What is weird is this is a Windows 2003 test system and I have another
identical test system that did not have these problems. The only difference
is the other system has IIS installed.
So, how can I fix this?
--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com
Cubicle Wars - http://www.windwardreports.com/film.htm
"Charles Wang[MSFT]" wrote:
> Hi Dave,
> Thanks for your response.
> By default, strong password is a policy in Windows 2003. From your
> description, I understand that your SQL Server 2005 ran with mixed
> authentication mode and you log on the SQL 2005 with sa account.
> I would like to know whether or not you can log on the SQL Server 2005 with
> sa account which password is weak. Which place did this issue occurs?
> To let me better understand this issue, I would like you could mail me
> (changliw@.microsoft.com) a screenshot of your issue.
> In SQL Server 2005, you can modify sa password and cancel the strong
> password policy via:
> Log on into Microsoft SQL Server Management Studio with sysadmin;
> Expand the Security folder;
> Expand the Logins folder;
> Right click sa account and click Properties on the pop menu;
> Cancel the selection of "Enforce password policy";
> Modify the sa password if you want to.
>
> Sincerely yours,
> Charles Wang
> Microsoft Online Community Support
>
>|||David Thielen wrote:
> Hello;
> Not exactly. I have not installed Sql Server 2005 yet because of these two
> problems.
> 1) It has greyed out reporting services and I need to install that.
> 2) It wants a strong password during install. How can I set it to not
> require that during install?
> What is weird is this is a Windows 2003 test system and I have another
> identical test system that did not have these problems. The only difference
> is the other system has IIS installed.
> So, how can I fix this?
>
Reporting Services requires IIS - that's how it delivers the reports...
Tracy McKibben
MCDBA
http://www.realsqlguy.com|||Yes, Reporting Service is a web-based application. I recommend that Install
IIS 6.0 first and then try again.
You can install the component via "Add/Remove Components" from control
panel or "Add or remove a role" from "Manage Your Server" in the start menu.
Sincerely yours,
Charles Wang
Microsoft Online Community Support
======================================================When responding to posts, please "Reply to Group" via
your newsreader so that others may learn and benefit
from this issue.
======================================================This posting is provided "AS IS" with no warranties, and confers no rights.
======================================================|||Any idea on the strong password requirement?
--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com
Cubicle Wars - http://www.windwardreports.com/film.htm
"Charles Wang[MSFT]" wrote:
> Yes, Reporting Service is a web-based application. I recommend that Install
> IIS 6.0 first and then try again.
> You can install the component via "Add/Remove Components" from control
> panel or "Add or remove a role" from "Manage Your Server" in the start menu.
> Sincerely yours,
> Charles Wang
> Microsoft Online Community Support
> ======================================================> When responding to posts, please "Reply to Group" via
> your newsreader so that others may learn and benefit
> from this issue.
> ======================================================> This posting is provided "AS IS" with no warranties, and confers no rights.
> ======================================================>|||Hi Dave,
That's due to your windows security policy on password.
You can try executing the statement ALTER LOGIN sa WITH CHECK_POLICY=OFF.
For more information on password policy, you can refer to:
Strong Passwords
http://msdn2.microsoft.com/en-us/library/ms161962.aspx
Password Policy
http://msdn2.microsoft.com/en-us/library/ms161959.aspx
If you have any other questions or concerns, please let me know. It's my
pleasure to be of assistance.
Charles Wang
Microsoft Online Community Support|||Hi;
Let me ask the question a little differently:
1) Why does this copy of Windows 2003 have a strong password policy when
another test system that I installed the same does not?
2) The password it will not allow for Sql Server it did allow as the
administrator password for Windows itself. How is it there is a policy that
requires the strong password only from Sql Server?
3) How can I turn off this policy for all of Windows on this system? It's a
test system so we don't want strong passwords required.
--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com
Cubicle Wars - http://www.windwardreports.com/film.htm
"Charles Wang[MSFT]" wrote:
> Hi Dave,
> That's due to your windows security policy on password.
> You can try executing the statement ALTER LOGIN sa WITH CHECK_POLICY=OFF.
> For more information on password policy, you can refer to:
> Strong Passwords
> http://msdn2.microsoft.com/en-us/library/ms161962.aspx
> Password Policy
> http://msdn2.microsoft.com/en-us/library/ms161959.aspx
> If you have any other questions or concerns, please let me know. It's my
> pleasure to be of assistance.
> Charles Wang
> Microsoft Online Community Support
>
>|||Hi Dave,
Appreciate your response.
For your first question, Windows Server 2003 has strong password policy by
default, so if another test system doesn't have that policy, it may be
changed.
For your seconde question, SQL Server doesn't force a database to have
strong password even Windows 2003 has that policy. However this is decided
by authentication mode of SQL Server 2005. If you log on your SQL Server
2005 with Windows Authentication, your SQL Server password policy is based
on Windows policy and should be changed in Windows security policy;
otherwise, if you log on SQL Server 2005 with SQL Authentication, you can
modify the password policy in SQL Server 2005 Management Studio:
1. Expand the the Login of Security node;
2. Right click the login account and click Properties;
3. Cancel the selection of "Enforce password policy".
For your third question, if your computer is in domain, you need cancel the
policy in your domain contrller first. For local configuration, you can do
via "Start->Administrative Tools->Local Security Policy->Account
Policy->Password Policy". Please refer to the following articles to change
the policy:
Account Policy Settings
http://technet2.microsoft.com/WindowsServer/en/library/353f7ad9-b53d-41d0-98
67-199f6595a01b1033.mspx?mfr=true
Step-by-Step Guide to Enforcing Strong Password Policies
http://www.microsoft.com/technet/prodtechnol/windowsserver2003/technologies/
directory/activedirectory/stepbystep/strngpw.mspx
Sincerely yours,
Charles Wang
Microsoft Online Community Support

Wednesday, March 28, 2012

Install Problem...Please Help!

Exactly the same problem here, on a W2K machine.
The event log provides me with: "Product: Microsoft SQL
Server Desktop Engine -- Installation operation failed.".
In close proximity to these error messages, I can see
some "LoadPerf" error messages and warnings. Seem these
messages are related.
Cool, another one of these "helpful" error messages.
I thried the 3rd party install and a manual install, but
to no avail.
Any idea, someone?
Best regards, Klaus
>--Original Message--
>A third party application is trying to install MSDE 2000
on our XP Professional machine. Install gets to about "2
seconds remaining" then backs out and simply quits. No
error messages. Saw a similar post on here but it was
never resolved. I've made sure the Server service is
running and that File and Print Sharing for Microsoft
Networks is installed and enabled. Any help would be
greatly appreciated...this is a very important application
we are trying to install. Thanks.
>Floyd
>.
>
hi Klaus,
"Klaus Stock" <ks@.expose-media.de> ha scritto nel messaggio
news:2d1201c47e2d$bf57b1c0$a401280a@.phx.gbl...
> Exactly the same problem here, on a W2K machine.
> The event log provides me with: "Product: Microsoft SQL
> Server Desktop Engine -- Installation operation failed.".
> In close proximity to these error messages, I can see
> some "LoadPerf" error messages and warnings. Seem these
> messages are related.
> Cool, another one of these "helpful" error messages.
> I thried the 3rd party install and a manual install, but
> to no avail.
please have a look if http://support.microsoft.com/?id=315083 can help
Andrea Montanari (Microsoft MVP - SQL Server)
http://www.asql.biz/DbaMgr.shtmhttp://italy.mvps.org
DbaMgr2k ver 0.8.0 - DbaMgr ver 0.54.0
(my vb6+sql-dmo little try to provide MS MSDE 1.0 and MSDE 2000 a visual
interface)
-- remove DMO to reply

Install of SQL Server 2000 dev edition over MSDE. Any advice appreciated.

It's arriving from ebuyer tomorrow for 32 quid. I already have an
instance of MSDE running on the laptop and ideally i would like SQL
server to be installed and use the current instance and not install
any other additional services. [hope i got my terminology correct
here.] Basically all i would like is to use the Enterprise Manager
with my existing MSDE database. I was wondering if there is anything i
should be doing before I install. Should i shut down the service or
leave it running for instance.

Thanks for any tips,
AndyB"Andy B" <coastalrocket@.yahoo.co.uk> wrote in message
news:f1523bf.0407290650.46b411b8@.posting.google.co m...
> It's arriving from ebuyer tomorrow for 32 quid. I already have an
> instance of MSDE running on the laptop and ideally i would like SQL
> server to be installed and use the current instance and not install
> any other additional services. [hope i got my terminology correct
> here.] Basically all i would like is to use the Enterprise Manager
> with my existing MSDE database. I was wondering if there is anything i
> should be doing before I install. Should i shut down the service or
> leave it running for instance.
> Thanks for any tips,
> AndyB

You could install only the client tools, if that's all you want (don't
forget to install SP3a as well). Or you can install Developer Edition
anyway, as a named instance - you don't have to start it if you don't need
it.

Simon|||"Simon Hayes" <sql@.hayes.ch> wrote in message news:<41093871$1_2@.news.bluewin.ch>...
> "Andy B" <coastalrocket@.yahoo.co.uk> wrote in message
> news:f1523bf.0407290650.46b411b8@.posting.google.co m...
> > It's arriving from ebuyer tomorrow for 32 quid. I already have an
> > instance of MSDE running on the laptop and ideally i would like SQL
> > server to be installed and use the current instance and not install
> > any other additional services. [hope i got my terminology correct
> > here.] Basically all i would like is to use the Enterprise Manager
> > with my existing MSDE database. I was wondering if there is anything i
> > should be doing before I install. Should i shut down the service or
> > leave it running for instance.
> > Thanks for any tips,
> > AndyB
> You could install only the client tools, if that's all you want (don't
> forget to install SP3a as well). Or you can install Developer Edition
> anyway, as a named instance - you don't have to start it if you don't need
> it.
> Simon

Thanks Simon. I did just that.

Friday, March 23, 2012

Install errror in SQLServer 2005 SP1

I have a error instaling SP1 for SQLServer 2005 Standard Edition Spanish.

The log is the following:

.....

Doing Action: SetInstanceProperty
PerfTime Start: SetInstanceProperty : Wed Apr 26 16:02:31 2006
<Func Name='SetInstanceProperty'>
MSI (s) (48!D0) [16:02:31:827]: PROPERTY CHANGE: Adding SqlOriginalMachineName property. Its value is 'WS03'.
MSI (s) (48!D0) [16:02:31:827]: PROPERTY CHANGE: Adding SqlLegacyRegPath property. Its value is 'MSSQLServer'.
MSI (s) (48!D0) [16:02:31:859]: PROPERTY CHANGE: Adding PreviousInstId property. Its value is 'MSSQL.1'.
Using instanced id: MSSQL.1
MSI (s) (48!D0) [16:02:31:859]: PROPERTY CHANGE: Adding InstId property. Its value is 'MSSQL.1'.
Previous instance id: MSSQL.1
Using instance name: MSSQLSERVER
MSI (s) (48!D0) [16:02:31:890]: PROPERTY CHANGE: Adding PrevRegRootPath property. Its value is 'Software\Microsoft\Microsoft SQL Server\MSSQL.1'.
MSI (s) (48!D0) [16:02:31:921]: PROPERTY CHANGE: Adding Sql2KSxS property. Its value is '1'.
MSI (s) (48!D0) [16:02:31:921]: PROPERTY CHANGE: Adding InstanceName.D20239D7_E87C_40C9_9837_E70B8D4882C2 property. Its value is 'MSSQLSERVER'.
MSI (s) (48!D0) [16:02:31:921]: PROPERTY CHANGE: Adding ServicePrefixRS.6080319C_1466_426E_9E7A_1DD555143E0A property. Its value is 'SQLServer2005ReportServerUser$WS03$'.
MSI (s) (48!D0) [16:02:31:921]: PROPERTY CHANGE: Adding ServicePrefixSSIS.6080319C_1466_426E_9E7A_1DD555143E0A property. Its value is 'SQLServer2005DTSUser$WS03'.
MSI (s) (48!D0) [16:02:31:921]: PROPERTY CHANGE: Adding ServiceGroupSQLBrowser.2FC2D269_8625_4826_BB3F_F9059090CB38 property. Its value is 'SQLServer2005SQLBrowserUser$WS03'.
MSI (s) (48!D0) [16:02:31:921]: PROPERTY CHANGE: Adding QuotedServiceGroupSQLBrowser.2FC2D269_8625_4826_BB3F_F9059090CB38 property. Its value is 'RIEDER\SQLServer2005SQLBrowserUser$WS03'.
MSI (s) (48!D0) [16:02:31:921]: PROPERTY CHANGE: Adding ServiceGroupSQLBrowser.03BE59F9_3DFA_413B_A99C_B95CA31A7BFE property. Its value is 'SQLServer2005SQLBrowserUser$WS03'.
MSI (s) (48!D0) [16:02:31:921]: PROPERTY CHANGE: Adding QuotedServiceGroupSQLBrowser.03BE59F9_3DFA_413B_A99C_B95CA31A7BFE property. Its value is 'RIEDER\SQLServer2005SQLBrowserUser$WS03'.
MSI (s) (48!D0) [16:02:31:921]: PROPERTY CHANGE: Adding ServiceGroupSQLBrowser.879C8BDB_884A_4C3C_80C3_3452EA2B8439 property. Its value is 'SQLServer2005SQLBrowserUser$WS03'.
MSI (s) (48!D0) [16:02:31:921]: PROPERTY CHANGE: Adding QuotedServiceGroupSQLBrowser.879C8BDB_884A_4C3C_80C3_3452EA2B8439 property. Its value is 'RIEDER\SQLServer2005SQLBrowserUser$WS03'.
MSI (s) (48!D0) [16:02:31:921]: PROPERTY CHANGE: Adding ServiceGroupADHelper.2C8E638F_C982_4AA5_A173_7148A8E8649D property. Its value is 'SQLServer2005MSSQLServerADHelperUser$WS03'.
MSI (s) (48!D0) [16:02:31:921]: PROPERTY CHANGE: Adding QuotedServiceGroupADHelper.2C8E638F_C982_4AA5_A173_7148A8E8649D property. Its value is 'RIEDER\SQLServer2005MSSQLServerADHelperUser$WS03'.
MSI (s) (48!D0) [16:02:31:921]: PROPERTY CHANGE: Adding InstanceRegKey.2C8E638F_C982_4AA5_A173_7148A8E8649D property. Its value is 'Microsoft SQL Server\MSSQL.1'.
MSI (s) (48!D0) [16:02:31:921]: PROPERTY CHANGE: Adding DataInstanceTxt.EAD22282_F1AF_4119_B1F9_C9F1DCBC62FF property. Its value is 'C:\Archivos de programa\Microsoft SQL Server\MSSQL.1\MSSQL'.
MSI (s) (48!D0) [16:02:31:921]: PROPERTY CHANGE: Adding ServiceNameSQL.EAD22282_F1AF_4119_B1F9_C9F1DCBC62FF property. Its value is 'MSSQLSERVER'.
Using PrevRegRootPath: Software\Microsoft\Microsoft SQL Server\MSSQL.1
GetServiceUserGroup failed for MSSQLSERVER, 5
Error Code: 0x80070534 (1332)
Windows Error Text: No se ha efectuado ninguna asignación entre los nombres de cuenta y los identificadores de seguridad.
Source File Name: sqlca\sqlcax.cpp
Compiler Timestamp: Mon Feb 27 02:04:14 2006
Function Name: SetInstanceProperty
Source Line Number: 1223

MSI (s) (48!D0) [16:02:31:937]: Transforming table Error.

MSI (s) (48!D0) [16:02:31:937]: Note: 1: 2262 2: Error 3: -2147287038
MSI (s) (48!D0) [16:02:31:937]: Transforming table Error.

MSI (s) (48!D0) [16:02:31:937]: Transforming table Error.

MSI (s) (48!D0) [16:02:31:937]: Note: 1: 2262 2: Error 3: -2147287038
MSI (s) (48!D0) [16:02:31:937]: Transforming table Error.

MSI (s) (48!D0) [16:02:31:937]: Note: 1: 2262 2: Error 3: -2147287038
MSI (s) (48!D0) [16:02:31:937]: Transforming table Error.

MSI (s) (48!D0) [16:02:31:937]: Note: 1: 2262 2: Error 3: -2147287038
Error Code: 1332
MSI (s) (48!D0) [16:02:31:952]: Transforming table Error.

MSI (s) (48!D0) [16:02:31:952]: Note: 1: 2262 2: Error 3: -2147287038
MSI (s) (48!D0) [16:02:31:952]: Transforming table Error.

MSI (s) (48!D0) [16:02:31:952]: Transforming table Error.

MSI (s) (48!D0) [16:02:31:952]: Note: 1: 2262 2: Error 3: -2147287038
MSI (s) (48!D0) [16:02:31:952]: Transforming table Error.

MSI (s) (48!D0) [16:02:31:952]: Note: 1: 2262 2: Error 3: -2147287038
MSI (s) (48!D0) [16:02:31:952]: Transforming table Error.

MSI (s) (48!D0) [16:02:31:952]: Note: 1: 2262 2: Error 3: -2147287038
MSI (s) (48!D0) [16:02:31:952]: Producto: Microsoft SQL Server 2005 -- Error 29528. El programa de instalación ha detectado un error inesperado al Estableciendo propiedades internas. El error es: Error grave durante la instalación.
.

Error 29528. El programa de instalación ha detectado un error inesperado al Estableciendo propiedades internas. El error es: Error grave durante la instalación.
.
<Failure Type='Fatal' Error='1332'>
<EndFunc Name='LaunchFunction' Return='1332' GetLastError='0'>
MSI (s) (48:9C) [16:02:31:952]: Transforming table InstallExecuteSequence.

MSI (s) (48:9C) [16:02:31:952]: Note: 1: 2262 2: InstallExecuteSequence 3: -2147287038
MSI (s) (48:9C) [16:02:31:952]: Transforming table InstallExecuteSequence.

MSI (s) (48:9C) [16:02:31:952]: Transforming table InstallExecuteSequence.

MSI (s) (48:9C) [16:02:31:952]: Note: 1: 2262 2: InstallExecuteSequence 3: -2147287038
MSI (s) (48:9C) [16:02:31:952]: Transforming table InstallExecuteSequence.

MSI (s) (48:9C) [16:02:31:952]: Note: 1: 2262 2: InstallExecuteSequence 3: -2147287038
MSI (s) (48:9C) [16:02:31:952]: Transforming table InstallExecuteSequence.

MSI (s) (48:9C) [16:02:31:952]: Note: 1: 2262 2: InstallExecuteSequence 3: -2147287038
La acción terminó a las 16:02:31: SetInstanceProperty.D20239D7_E87C_40C9_9837_E70B8D4882C2. Valor devuelto: 3.
La acción terminó a las 16:02:31: INSTALL. Valor devuelto: 3.
Property(S): ProductCode = {FD515EB7-E1C3-4278-9EC2-047672A8B718}
Property(S): ProductLanguage = 3082
Property(S): Manufacturer = Microsoft Corporation
Property(S): ProductVersion = 9.1.2047.00
Property(S): MEDIAPACKAGEPATH = \Setup\
Property(S): ALLUSERS = 1
Property(S): NULLGUID = {00000000-0000-0000-0000-000000000000}
Property(S): ASPNetVersion = 2.0.50727
Property(S): ARPHELPLINK = http://go.microsoft.com/fwlink/?LinkId=52152
Property(S): ARPPRODUCTICON = ARPIcon.ico
Property(S): ARPNOREPAIR = 1
Property(S): ARPSYSTEMCOMPONENT = 1
Property(S): MsiHiddenProperties = SQLPASSWORD;AGTPASSWORD;ASPASSWORD;RSPASSWORD;SQLBROWSERPASSWORD;RSSQLPASSWORD;RSSQLPassword;RSSQLPasswordQuoted;RSSETUPPASSWORD;RSSetupPassword;SAPWD;saPWD;UPGRADEPWD;SqlUpgradePwd;SQLPassword;ServicePassword;ADMINPASSWORD;PIDKEY;FTEPassword.68C6D15C_77E0_11D5_8528_00C04F68155C;checksum.7354AFCB_913B_4E9F_B76C_2376101FDE0C;checksum.;DigitalProductID;DPID;Do_sqlScript.D20239D7_E87C_40C9_9837_E70B8D4882C2;Rollback_SqlConnection.D20239D7_E87C_40C9_9837_E70B8D4882C2;Do_XmlSingleNode.D20239D7_E87C_40C9_9837_E70B8D4882C2;Do_RSSetting.D20239D7_E87C_40C9_9837_E70B8D4882C2;PID;ProductID;RSUPGRADEPASSWORD;Do_RSSetSharePointExclusionPath.D20239D7_E87C_40C9_9837_E70B8D4882C2
Property(S): SecureCustomProperties = SQL_SHOWLIC;UPGRADESQL90
Property(S): SqlServerBuild = 1
Property(S): SqlCluster = 0
Property(S): INSTALLLEVEL = 90
Property(S): FXAssemblyVersion = 2.0.0.0
Property(S): VSAssemblyVersion = 8.0.0.0
Property(S): SqlErrorReporting = #0
Property(S): SqlSqmReporting = #0
Property(S): SqlEnableRanu = 0
Property(S): SqlPatchLevel = 9.1.2047
Property(S): ChannelID = 271
Property(S): PIDTemplate = 77656<````=````=````=````=`````>@.@.@.@.@.
Property(S): mpc = 77656
Property(S): OEMRelease = 0
Property(S): PIDKEY = **********
Property(S): ProgramFilesFolder = C:\Archivos de programa\
Property(S): ProductID = **********
Property(S): SqlInstanceName = MSSQLSERVER
Property(S): SqlSecurityMode = SQL
Property(S): SqlClusterSec = 0
Property(S): MDACSXS = 1
Property(S): DefaultUIFont = Tahoma8
Property(S): VersionNT = 502
Property(S): LocalSystemAccount = NT AUTHORITY\SYSTEM
Property(S): DefaultBuiltInAccount = LocalSystemAccount

.....

Thks

Emilio, unfortunately this is a known issue. Here is a snippet from a log I posted previously (from an English log).

The log post reads:

Using PrevRegRootPath: Software\Microsoft\Microsoft SQL Server\MSSQL.1
GetServiceUserGroup failed for MSSQLSERVER, 5
Error Code: 0x80070534 (1332)
Windows Error Text: No mapping between account names and security IDs was done.

We are currently investigating this issue, but my guess is that after RTM, someone deleted the user groups that were created during install. SQL setup creates several user groups that are used during setup. It appears that SP1 is also looking to use these and they no longer exist. The user groups are named in this fashion: SQLServer2005MSSQLUser$<MachineName>$<InstanceName>

We are still looking into it and hope to have a solution soon.

Thanks,
Samuel Lester (MSFT)

|||

Is a solution to this available?

Regards,
Eric Lapham

|||

SQL server uses local group for ACLs. When the server is installed the groups are created and their SIDs are stored in the registry. Somewhere along the way, the SID had to change and the SIDs in the registry were not valid anymore. Try to delete the values for the following values in Setup registry key the instance hive [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL.1\Setup]

The registry values are:

AGTGroup

SQLGroup

FTSGroup

ASGroup

Thanks,
Samuel Lester (MSFT)

|||

i deleted the registry value for AGTGroup, SQLGroupF, TSGroup and ASGroup and the setup ended now correct for all product.

Thanks for the help.

Regards,

Emilio

|||

Thank you; SP1 is installed. I found ASGroup in

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL.2\Setup]

The fours keys appeared to be recreated by the install of SP1. Regards, Eric Lapham

|||Correct, I should have mentioned that as well. These keys will get recreated correctly during the following SP1 install. Glad to hear it works for you!

Samuel Lester (MSFT)|||

Samuel, I am getting ready to install SP1. Would you recommend deleting these values prior to any attempt to install SP1

Regards,
Jon

|||

Nope, no need to do this. This error only occurs if someone has explicitly deleted user groups after installing RTM. We haven't seen much of this happening, but in case it has, this is how to clean it up.

Go ahead and install SP1.

Thanks,
Sam

|||

Hello Samuel,

I experienced the same problem when installing SQL 2005 SP2.

I removed the registry values as you suggested; but I still got the failures.

Here are the partial logs :

Configuring ACL for WMI namespace \\.\root\Microsoft\SqlServer\ComputerManagement
ACL: (A;CI;CCDCLCSWRPWPRCWD;;;BA)(A;CI;CC;;;WD)
<Func Name='SecureWMINamespace'>
No need to protect the namespace security
<EndFunc Name='SecureWMINamespace' Return='0' GetLastError='0'>
<EndFunc Name='Do_WMISecurity' Return='0' GetLastError='0'>
PerfTime Stop: Do_WMISecurity : Tue Jun 05 16:38:04 2007
MSI (s) (48:0C) [16:38:04:855]: Executing op: ActionStart(Name=CAFTEAddCertificate.68C6D15C_77E0_11D5_8528_00C04F68155C,,)
<EndFunc Name='LaunchFunction' Return='0' GetLastError='0'>
MSI (s) (48:0C) [16:38:04:855]: Executing op: CustomActionSchedule(Action=CAFTEAddCertificate.68C6D15C_77E0_11D5_8528_00C04F68155C,ActionType=1089,Source=BinaryData,Target=AddCertificate,CustomActionData=c:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\Binn\)
MSI (s) (48:CC) [16:38:04:875]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI596.tmp, Entrypoint: AddCertificate
FTECa.DLL: INFO: FTE: AddCertificate(), Entering...
FTECa.DLL: INFO: FTE: AddCertificate: CustomActionData: c:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\Binn\
MSI (s) (48:0C) [16:38:05:416]: Executing op: ActionStart(Name=CAFTEInstallPerfCounters.68C6D15C_77E0_11D5_8528_00C04F68155C,,)
FTECa.DLL: INFO: FTE: AddCertificate: Succeeded. Added Certificate from c:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\Binn\msfte.dll
MSI (s) (48:0C) [16:38:05:416]: Executing op: CustomActionSchedule(Action=CAFTEInstallPerfCounters.68C6D15C_77E0_11D5_8528_00C04F68155C,ActionType=1089,Source=BinaryData,Target=InstallPerfCounters,CustomActionData=c:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\Binn\Smile
MSI (s) (48Big SmileC) [16:38:05:436]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI597.tmp, Entrypoint: InstallPerfCounters
FTECa.DLL: INFO: FTE: InstallPerfCounters(), Entering...
FTECa.DLL: INFO: InstallPerfCounters: CustomActionData: c:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\Binn\:
FTECa.DLL: INFO: InstallPerfCounters: Instance name obtained:
FTECa.DLL: INFO: InstallPerfCounters: Instance home path: c:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\Binn\
FTECa.DLL: INFO: Setting acls on c:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\Binn\msfte.dll
FTECa.DLL: Warning: Failed to get BuiltinPerfMonitoringUsersSid win32error 87, this is only expected to work on w2k3+ systems
FTECa.DLL: INFO: InstallPerfCounters: Patching c:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\Binn\fdcntrs.ini -> c:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\Binn\ifdcntrs.ini, msftesqlFD -> msftesqlFD, MSFTESQL -> MSFTESQL
FTECa.DLL: INFO: InstallPerfCounters: Patching c:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\Binn\ftecntrs.ini -> c:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\Binn\iftcntrs.ini, msftesql -> msftesql, MSFTESQL -> MSFTESQL
FTECa.DLL: INFO: InstallPerfCounters: Patching c:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\Binn\idxcntrs.ini -> c:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\Binn\iindctrs.ini, msftesqlidx -> msftesqlidx, MSFTESQL -> MSFTESQL
FTECa.DLL: INFO: InstallPerfCounters: Perf counters from x "c:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\Binn\ifdcntrs.ini have been installed.
FTECa.DLL: INFO: InstallPerfCounters: Perf counters from x "c:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\Binn\iftcntrs.ini have been installed.
FTECa.DLL: INFO: InstallPerfCounters: Perf counters from x "c:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\Binn\iindctrs.ini have been installed.
MSI (s) (48:0C) [16:38:06:127]: Executing op: ActionStart(Name=CARemoveFTEServiceDependency.68C6D15C_77E0_11D5_8528_00C04F68155C,,)
FTECa.DLL: INFO: FTE: InstallPerfCounters(), Exiting...
MSI (s) (48:0C) [16:38:06:127]: Executing op: CustomActionSchedule(Action=CARemoveFTEServiceDependency.68C6D15C_77E0_11D5_8528_00C04F68155C,ActionType=1025,Source=BinaryData,Target=RemoveFTEServiceDependency,CustomActionData=msftesql)
MSI (s) (48:34) [16:38:06:147]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI598.tmp, Entrypoint: RemoveFTEServiceDependency
FTECa.DLL: INFO: FTE: Enter RemoveFTEServiceDependency()
FTECa.DLL: INFO: FTE: RemoveFTEServiceDependency: Service name obtained: msftesql
MSI (s) (48:0C) [16:38:07:008]: Executing op: ActionStart(Name=CASetLaunchPermissions.68C6D15C_77E0_11D5_8528_00C04F68155C,,)
FTECa.DLL: INFO: FTE: Exit RemoveFTEServiceDependency()
MSI (s) (48:0C) [16:38:07:018]: Executing op: CustomActionSchedule(Action=CASetLaunchPermissions.68C6D15C_77E0_11D5_8528_00C04F68155C,ActionType=1089,Source=BinaryData,Target=SetLaunchPermissions,CustomActionData={68C6D318-77E0-11D5-8528-00C04F68155C}:NT AUTHORITY\SYSTEM)
MSI (s) (48:8C) [16:38:07:038]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI599.tmp, Entrypoint: SetLaunchPermissions
MSI (s) (48:0C) [16:38:07:228]: Executing op: ActionStart(Name=StartServices,Description=Starting services,Template=Service: [1])
MSI (s) (48:0C) [16:38:07:238]: Executing op: ProgressTotal(Total=6,Type=1,ByteEquivalent=1300000)
MSI (s) (48:0C) [16:38:07:238]: Executing op: ServiceControl(,Name=SQLWriter,Action=1,Wait=0,)
MSI (s) (48:0C) [16:38:37:277]: Transforming table Error.

MSI (s) (48:0C) [16:38:37:277]: Note: 1: 2262 2: Error 3: -2147287038
MSI (s) (48:0C) [16:38:37:397]: Transforming table Error.

MSI (s) (48:0C) [16:38:37:407]: Transforming table Error.

MSI (s) (48:0C) [16:38:37:407]: Note: 1: 2262 2: Error 3: -2147287038
MSI (s) (48:0C) [16:38:37:407]: Transforming table Error.

MSI (s) (48:0C) [16:38:37:407]: Note: 1: 2262 2: Error 3: -2147287038
MSI (s) (48:0C) [16:38:37:407]: Transforming table Error.

MSI (s) (48:0C) [16:38:37:407]: Note: 1: 2262 2: Error 3: -2147287038
MSI (s) (48:0C) [16:38:37:498]: Transforming table Error.

MSI (s) (48:0C) [16:38:37:498]: Note: 1: 2262 2: Error 3: -2147287038
MSI (s) (48:0C) [16:38:37:528]: Transforming table Error.

MSI (s) (48:0C) [16:38:37:538]: Transforming table Error.

MSI (s) (48:0C) [16:38:37:538]: Note: 1: 2262 2: Error 3: -2147287038
MSI (s) (48:0C) [16:38:37:538]: Transforming table Error.

MSI (s) (48:0C) [16:38:37:538]: Note: 1: 2262 2: Error 3: -2147287038
MSI (s) (48:0C) [16:38:37:538]: Transforming table Error.

MSI (s) (48:0C) [16:38:37:538]: Note: 1: 2262 2: Error 3: -2147287038
MSI (s) (48:0C) [16:38:37:538]: Product: Microsoft SQL Server 2005 -- Error 1920. Service 'SQLWriter' (SQLWriter) failed to start. Verify that you have sufficient privileges to start system services.

Error 1920. Service 'SQLWriter' (SQLWriter) failed to start. Verify that you have sufficient privileges to start system services.
MSI (s) (48:0C) [16:38:37:568]: User policy value 'DisableRollback' is 0
MSI (s) (48:0C) [16:38:37:568]: Machine policy value 'DisableRollback' is 0
Action ended 16:38:37: InstallFinalize. Return value 3.

Any suggestion are much appreciated

Thanks

David Chan

Install errror in SQLServer 2005 SP1

I have a error instaling SP1 for SQLServer 2005 Standard Edition Spanish.

The log is the following:

.....

Doing Action: SetInstanceProperty
PerfTime Start: SetInstanceProperty : Wed Apr 26 16:02:31 2006
<Func Name='SetInstanceProperty'>
MSI (s) (48!D0) [16:02:31:827]: PROPERTY CHANGE: Adding SqlOriginalMachineName property. Its value is 'WS03'.
MSI (s) (48!D0) [16:02:31:827]: PROPERTY CHANGE: Adding SqlLegacyRegPath property. Its value is 'MSSQLServer'.
MSI (s) (48!D0) [16:02:31:859]: PROPERTY CHANGE: Adding PreviousInstId property. Its value is 'MSSQL.1'.
Using instanced id: MSSQL.1
MSI (s) (48!D0) [16:02:31:859]: PROPERTY CHANGE: Adding InstId property. Its value is 'MSSQL.1'.
Previous instance id: MSSQL.1
Using instance name: MSSQLSERVER
MSI (s) (48!D0) [16:02:31:890]: PROPERTY CHANGE: Adding PrevRegRootPath property. Its value is 'Software\Microsoft\Microsoft SQL Server\MSSQL.1'.
MSI (s) (48!D0) [16:02:31:921]: PROPERTY CHANGE: Adding Sql2KSxS property. Its value is '1'.
MSI (s) (48!D0) [16:02:31:921]: PROPERTY CHANGE: Adding InstanceName.D20239D7_E87C_40C9_9837_E70B8D4882C2 property. Its value is 'MSSQLSERVER'.
MSI (s) (48!D0) [16:02:31:921]: PROPERTY CHANGE: Adding ServicePrefixRS.6080319C_1466_426E_9E7A_1DD555143E0A property. Its value is 'SQLServer2005ReportServerUser$WS03$'.
MSI (s) (48!D0) [16:02:31:921]: PROPERTY CHANGE: Adding ServicePrefixSSIS.6080319C_1466_426E_9E7A_1DD555143E0A property. Its value is 'SQLServer2005DTSUser$WS03'.
MSI (s) (48!D0) [16:02:31:921]: PROPERTY CHANGE: Adding ServiceGroupSQLBrowser.2FC2D269_8625_4826_BB3F_F9059090CB38 property. Its value is 'SQLServer2005SQLBrowserUser$WS03'.
MSI (s) (48!D0) [16:02:31:921]: PROPERTY CHANGE: Adding QuotedServiceGroupSQLBrowser.2FC2D269_8625_4826_BB3F_F9059090CB38 property. Its value is 'RIEDER\SQLServer2005SQLBrowserUser$WS03'.
MSI (s) (48!D0) [16:02:31:921]: PROPERTY CHANGE: Adding ServiceGroupSQLBrowser.03BE59F9_3DFA_413B_A99C_B95CA31A7BFE property. Its value is 'SQLServer2005SQLBrowserUser$WS03'.
MSI (s) (48!D0) [16:02:31:921]: PROPERTY CHANGE: Adding QuotedServiceGroupSQLBrowser.03BE59F9_3DFA_413B_A99C_B95CA31A7BFE property. Its value is 'RIEDER\SQLServer2005SQLBrowserUser$WS03'.
MSI (s) (48!D0) [16:02:31:921]: PROPERTY CHANGE: Adding ServiceGroupSQLBrowser.879C8BDB_884A_4C3C_80C3_3452EA2B8439 property. Its value is 'SQLServer2005SQLBrowserUser$WS03'.
MSI (s) (48!D0) [16:02:31:921]: PROPERTY CHANGE: Adding QuotedServiceGroupSQLBrowser.879C8BDB_884A_4C3C_80C3_3452EA2B8439 property. Its value is 'RIEDER\SQLServer2005SQLBrowserUser$WS03'.
MSI (s) (48!D0) [16:02:31:921]: PROPERTY CHANGE: Adding ServiceGroupADHelper.2C8E638F_C982_4AA5_A173_7148A8E8649D property. Its value is 'SQLServer2005MSSQLServerADHelperUser$WS03'.
MSI (s) (48!D0) [16:02:31:921]: PROPERTY CHANGE: Adding QuotedServiceGroupADHelper.2C8E638F_C982_4AA5_A173_7148A8E8649D property. Its value is 'RIEDER\SQLServer2005MSSQLServerADHelperUser$WS03'.
MSI (s) (48!D0) [16:02:31:921]: PROPERTY CHANGE: Adding InstanceRegKey.2C8E638F_C982_4AA5_A173_7148A8E8649D property. Its value is 'Microsoft SQL Server\MSSQL.1'.
MSI (s) (48!D0) [16:02:31:921]: PROPERTY CHANGE: Adding DataInstanceTxt.EAD22282_F1AF_4119_B1F9_C9F1DCBC62FF property. Its value is 'C:\Archivos de programa\Microsoft SQL Server\MSSQL.1\MSSQL'.
MSI (s) (48!D0) [16:02:31:921]: PROPERTY CHANGE: Adding ServiceNameSQL.EAD22282_F1AF_4119_B1F9_C9F1DCBC62FF property. Its value is 'MSSQLSERVER'.
Using PrevRegRootPath: Software\Microsoft\Microsoft SQL Server\MSSQL.1
GetServiceUserGroup failed for MSSQLSERVER, 5
Error Code: 0x80070534 (1332)
Windows Error Text: No se ha efectuado ninguna asignación entre los nombres de cuenta y los identificadores de seguridad.
Source File Name: sqlca\sqlcax.cpp
Compiler Timestamp: Mon Feb 27 02:04:14 2006
Function Name: SetInstanceProperty
Source Line Number: 1223

MSI (s) (48!D0) [16:02:31:937]: Transforming table Error.

MSI (s) (48!D0) [16:02:31:937]: Note: 1: 2262 2: Error 3: -2147287038
MSI (s) (48!D0) [16:02:31:937]: Transforming table Error.

MSI (s) (48!D0) [16:02:31:937]: Transforming table Error.

MSI (s) (48!D0) [16:02:31:937]: Note: 1: 2262 2: Error 3: -2147287038
MSI (s) (48!D0) [16:02:31:937]: Transforming table Error.

MSI (s) (48!D0) [16:02:31:937]: Note: 1: 2262 2: Error 3: -2147287038
MSI (s) (48!D0) [16:02:31:937]: Transforming table Error.

MSI (s) (48!D0) [16:02:31:937]: Note: 1: 2262 2: Error 3: -2147287038
Error Code: 1332
MSI (s) (48!D0) [16:02:31:952]: Transforming table Error.

MSI (s) (48!D0) [16:02:31:952]: Note: 1: 2262 2: Error 3: -2147287038
MSI (s) (48!D0) [16:02:31:952]: Transforming table Error.

MSI (s) (48!D0) [16:02:31:952]: Transforming table Error.

MSI (s) (48!D0) [16:02:31:952]: Note: 1: 2262 2: Error 3: -2147287038
MSI (s) (48!D0) [16:02:31:952]: Transforming table Error.

MSI (s) (48!D0) [16:02:31:952]: Note: 1: 2262 2: Error 3: -2147287038
MSI (s) (48!D0) [16:02:31:952]: Transforming table Error.

MSI (s) (48!D0) [16:02:31:952]: Note: 1: 2262 2: Error 3: -2147287038
MSI (s) (48!D0) [16:02:31:952]: Producto: Microsoft SQL Server 2005 -- Error 29528. El programa de instalación ha detectado un error inesperado al Estableciendo propiedades internas. El error es: Error grave durante la instalación.
.

Error 29528. El programa de instalación ha detectado un error inesperado al Estableciendo propiedades internas. El error es: Error grave durante la instalación.
.
<Failure Type='Fatal' Error='1332'>
<EndFunc Name='LaunchFunction' Return='1332' GetLastError='0'>
MSI (s) (48:9C) [16:02:31:952]: Transforming table InstallExecuteSequence.

MSI (s) (48:9C) [16:02:31:952]: Note: 1: 2262 2: InstallExecuteSequence 3: -2147287038
MSI (s) (48:9C) [16:02:31:952]: Transforming table InstallExecuteSequence.

MSI (s) (48:9C) [16:02:31:952]: Transforming table InstallExecuteSequence.

MSI (s) (48:9C) [16:02:31:952]: Note: 1: 2262 2: InstallExecuteSequence 3: -2147287038
MSI (s) (48:9C) [16:02:31:952]: Transforming table InstallExecuteSequence.

MSI (s) (48:9C) [16:02:31:952]: Note: 1: 2262 2: InstallExecuteSequence 3: -2147287038
MSI (s) (48:9C) [16:02:31:952]: Transforming table InstallExecuteSequence.

MSI (s) (48:9C) [16:02:31:952]: Note: 1: 2262 2: InstallExecuteSequence 3: -2147287038
La acción terminó a las 16:02:31: SetInstanceProperty.D20239D7_E87C_40C9_9837_E70B8D4882C2. Valor devuelto: 3.
La acción terminó a las 16:02:31: INSTALL. Valor devuelto: 3.
Property(S): ProductCode = {FD515EB7-E1C3-4278-9EC2-047672A8B718}
Property(S): ProductLanguage = 3082
Property(S): Manufacturer = Microsoft Corporation
Property(S): ProductVersion = 9.1.2047.00
Property(S): MEDIAPACKAGEPATH = \Setup\
Property(S): ALLUSERS = 1
Property(S): NULLGUID = {00000000-0000-0000-0000-000000000000}
Property(S): ASPNetVersion = 2.0.50727
Property(S): ARPHELPLINK = http://go.microsoft.com/fwlink/?LinkId=52152
Property(S): ARPPRODUCTICON = ARPIcon.ico
Property(S): ARPNOREPAIR = 1
Property(S): ARPSYSTEMCOMPONENT = 1
Property(S): MsiHiddenProperties = SQLPASSWORD;AGTPASSWORD;ASPASSWORD;RSPASSWORD;SQLBROWSERPASSWORD;RSSQLPASSWORD;RSSQLPassword;RSSQLPasswordQuoted;RSSETUPPASSWORD;RSSetupPassword;SAPWD;saPWD;UPGRADEPWD;SqlUpgradePwd;SQLPassword;ServicePassword;ADMINPASSWORD;PIDKEY;FTEPassword.68C6D15C_77E0_11D5_8528_00C04F68155C;checksum.7354AFCB_913B_4E9F_B76C_2376101FDE0C;checksum.;DigitalProductID;DPID;Do_sqlScript.D20239D7_E87C_40C9_9837_E70B8D4882C2;Rollback_SqlConnection.D20239D7_E87C_40C9_9837_E70B8D4882C2;Do_XmlSingleNode.D20239D7_E87C_40C9_9837_E70B8D4882C2;Do_RSSetting.D20239D7_E87C_40C9_9837_E70B8D4882C2;PID;ProductID;RSUPGRADEPASSWORD;Do_RSSetSharePointExclusionPath.D20239D7_E87C_40C9_9837_E70B8D4882C2
Property(S): SecureCustomProperties = SQL_SHOWLIC;UPGRADESQL90
Property(S): SqlServerBuild = 1
Property(S): SqlCluster = 0
Property(S): INSTALLLEVEL = 90
Property(S): FXAssemblyVersion = 2.0.0.0
Property(S): VSAssemblyVersion = 8.0.0.0
Property(S): SqlErrorReporting = #0
Property(S): SqlSqmReporting = #0
Property(S): SqlEnableRanu = 0
Property(S): SqlPatchLevel = 9.1.2047
Property(S): ChannelID = 271
Property(S): PIDTemplate = 77656<````=````=````=````=`````>@.@.@.@.@.
Property(S): mpc = 77656
Property(S): OEMRelease = 0
Property(S): PIDKEY = **********
Property(S): ProgramFilesFolder = C:\Archivos de programa\
Property(S): ProductID = **********
Property(S): SqlInstanceName = MSSQLSERVER
Property(S): SqlSecurityMode = SQL
Property(S): SqlClusterSec = 0
Property(S): MDACSXS = 1
Property(S): DefaultUIFont = Tahoma8
Property(S): VersionNT = 502
Property(S): LocalSystemAccount = NT AUTHORITY\SYSTEM
Property(S): DefaultBuiltInAccount = LocalSystemAccount

.....

Thks

Emilio, unfortunately this is a known issue. Here is a snippet from a log I posted previously (from an English log).

The log post reads:

Using PrevRegRootPath: Software\Microsoft\Microsoft SQL Server\MSSQL.1
GetServiceUserGroup failed for MSSQLSERVER, 5
Error Code: 0x80070534 (1332)
Windows Error Text: No mapping between account names and security IDs was done.

We are currently investigating this issue, but my guess is that after RTM, someone deleted the user groups that were created during install. SQL setup creates several user groups that are used during setup. It appears that SP1 is also looking to use these and they no longer exist. The user groups are named in this fashion: SQLServer2005MSSQLUser$<MachineName>$<InstanceName>

We are still looking into it and hope to have a solution soon.

Thanks,
Samuel Lester (MSFT)

|||

Is a solution to this available?

Regards,
Eric Lapham

|||

SQL server uses local group for ACLs. When the server is installed the groups are created and their SIDs are stored in the registry. Somewhere along the way, the SID had to change and the SIDs in the registry were not valid anymore. Try to delete the values for the following values in Setup registry key the instance hive [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL.1\Setup]

The registry values are:

AGTGroup

SQLGroup

FTSGroup

ASGroup

Thanks,
Samuel Lester (MSFT)

|||

i deleted the registry value for AGTGroup, SQLGroupF, TSGroup and ASGroup and the setup ended now correct for all product.

Thanks for the help.

Regards,

Emilio

|||

Thank you; SP1 is installed. I found ASGroup in

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL.2\Setup]

The fours keys appeared to be recreated by the install of SP1. Regards, Eric Lapham

|||Correct, I should have mentioned that as well. These keys will get recreated correctly during the following SP1 install. Glad to hear it works for you!

Samuel Lester (MSFT)|||

Samuel, I am getting ready to install SP1. Would you recommend deleting these values prior to any attempt to install SP1

Regards,
Jon

|||

Nope, no need to do this. This error only occurs if someone has explicitly deleted user groups after installing RTM. We haven't seen much of this happening, but in case it has, this is how to clean it up.

Go ahead and install SP1.

Thanks,
Sam

|||

Hello Samuel,

I experienced the same problem when installing SQL 2005 SP2.

I removed the registry values as you suggested; but I still got the failures.

Here are the partial logs :

Configuring ACL for WMI namespace \\.\root\Microsoft\SqlServer\ComputerManagement
ACL: (A;CI;CCDCLCSWRPWPRCWD;;;BA)(A;CI;CC;;;WD)
<Func Name='SecureWMINamespace'>
No need to protect the namespace security
<EndFunc Name='SecureWMINamespace' Return='0' GetLastError='0'>
<EndFunc Name='Do_WMISecurity' Return='0' GetLastError='0'>
PerfTime Stop: Do_WMISecurity : Tue Jun 05 16:38:04 2007
MSI (s) (48:0C) [16:38:04:855]: Executing op: ActionStart(Name=CAFTEAddCertificate.68C6D15C_77E0_11D5_8528_00C04F68155C,,)
<EndFunc Name='LaunchFunction' Return='0' GetLastError='0'>
MSI (s) (48:0C) [16:38:04:855]: Executing op: CustomActionSchedule(Action=CAFTEAddCertificate.68C6D15C_77E0_11D5_8528_00C04F68155C,ActionType=1089,Source=BinaryData,Target=AddCertificate,CustomActionData=c:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\Binn\)
MSI (s) (48:CC) [16:38:04:875]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI596.tmp, Entrypoint: AddCertificate
FTECa.DLL: INFO: FTE: AddCertificate(), Entering...
FTECa.DLL: INFO: FTE: AddCertificate: CustomActionData: c:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\Binn\
MSI (s) (48:0C) [16:38:05:416]: Executing op: ActionStart(Name=CAFTEInstallPerfCounters.68C6D15C_77E0_11D5_8528_00C04F68155C,,)
FTECa.DLL: INFO: FTE: AddCertificate: Succeeded. Added Certificate from c:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\Binn\msfte.dll
MSI (s) (48:0C) [16:38:05:416]: Executing op: CustomActionSchedule(Action=CAFTEInstallPerfCounters.68C6D15C_77E0_11D5_8528_00C04F68155C,ActionType=1089,Source=BinaryData,Target=InstallPerfCounters,CustomActionData=c:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\Binn\Smile
MSI (s) (48Big SmileC) [16:38:05:436]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI597.tmp, Entrypoint: InstallPerfCounters
FTECa.DLL: INFO: FTE: InstallPerfCounters(), Entering...
FTECa.DLL: INFO: InstallPerfCounters: CustomActionData: c:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\Binn\:
FTECa.DLL: INFO: InstallPerfCounters: Instance name obtained:
FTECa.DLL: INFO: InstallPerfCounters: Instance home path: c:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\Binn\
FTECa.DLL: INFO: Setting acls on c:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\Binn\msfte.dll
FTECa.DLL: Warning: Failed to get BuiltinPerfMonitoringUsersSid win32error 87, this is only expected to work on w2k3+ systems
FTECa.DLL: INFO: InstallPerfCounters: Patching c:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\Binn\fdcntrs.ini -> c:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\Binn\ifdcntrs.ini, msftesqlFD -> msftesqlFD, MSFTESQL -> MSFTESQL
FTECa.DLL: INFO: InstallPerfCounters: Patching c:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\Binn\ftecntrs.ini -> c:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\Binn\iftcntrs.ini, msftesql -> msftesql, MSFTESQL -> MSFTESQL
FTECa.DLL: INFO: InstallPerfCounters: Patching c:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\Binn\idxcntrs.ini -> c:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\Binn\iindctrs.ini, msftesqlidx -> msftesqlidx, MSFTESQL -> MSFTESQL
FTECa.DLL: INFO: InstallPerfCounters: Perf counters from x "c:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\Binn\ifdcntrs.ini have been installed.
FTECa.DLL: INFO: InstallPerfCounters: Perf counters from x "c:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\Binn\iftcntrs.ini have been installed.
FTECa.DLL: INFO: InstallPerfCounters: Perf counters from x "c:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\Binn\iindctrs.ini have been installed.
MSI (s) (48:0C) [16:38:06:127]: Executing op: ActionStart(Name=CARemoveFTEServiceDependency.68C6D15C_77E0_11D5_8528_00C04F68155C,,)
FTECa.DLL: INFO: FTE: InstallPerfCounters(), Exiting...
MSI (s) (48:0C) [16:38:06:127]: Executing op: CustomActionSchedule(Action=CARemoveFTEServiceDependency.68C6D15C_77E0_11D5_8528_00C04F68155C,ActionType=1025,Source=BinaryData,Target=RemoveFTEServiceDependency,CustomActionData=msftesql)
MSI (s) (48:34) [16:38:06:147]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI598.tmp, Entrypoint: RemoveFTEServiceDependency
FTECa.DLL: INFO: FTE: Enter RemoveFTEServiceDependency()
FTECa.DLL: INFO: FTE: RemoveFTEServiceDependency: Service name obtained: msftesql
MSI (s) (48:0C) [16:38:07:008]: Executing op: ActionStart(Name=CASetLaunchPermissions.68C6D15C_77E0_11D5_8528_00C04F68155C,,)
FTECa.DLL: INFO: FTE: Exit RemoveFTEServiceDependency()
MSI (s) (48:0C) [16:38:07:018]: Executing op: CustomActionSchedule(Action=CASetLaunchPermissions.68C6D15C_77E0_11D5_8528_00C04F68155C,ActionType=1089,Source=BinaryData,Target=SetLaunchPermissions,CustomActionData={68C6D318-77E0-11D5-8528-00C04F68155C}:NT AUTHORITY\SYSTEM)
MSI (s) (48:8C) [16:38:07:038]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI599.tmp, Entrypoint: SetLaunchPermissions
MSI (s) (48:0C) [16:38:07:228]: Executing op: ActionStart(Name=StartServices,Description=Starting services,Template=Service: [1])
MSI (s) (48:0C) [16:38:07:238]: Executing op: ProgressTotal(Total=6,Type=1,ByteEquivalent=1300000)
MSI (s) (48:0C) [16:38:07:238]: Executing op: ServiceControl(,Name=SQLWriter,Action=1,Wait=0,)
MSI (s) (48:0C) [16:38:37:277]: Transforming table Error.

MSI (s) (48:0C) [16:38:37:277]: Note: 1: 2262 2: Error 3: -2147287038
MSI (s) (48:0C) [16:38:37:397]: Transforming table Error.

MSI (s) (48:0C) [16:38:37:407]: Transforming table Error.

MSI (s) (48:0C) [16:38:37:407]: Note: 1: 2262 2: Error 3: -2147287038
MSI (s) (48:0C) [16:38:37:407]: Transforming table Error.

MSI (s) (48:0C) [16:38:37:407]: Note: 1: 2262 2: Error 3: -2147287038
MSI (s) (48:0C) [16:38:37:407]: Transforming table Error.

MSI (s) (48:0C) [16:38:37:407]: Note: 1: 2262 2: Error 3: -2147287038
MSI (s) (48:0C) [16:38:37:498]: Transforming table Error.

MSI (s) (48:0C) [16:38:37:498]: Note: 1: 2262 2: Error 3: -2147287038
MSI (s) (48:0C) [16:38:37:528]: Transforming table Error.

MSI (s) (48:0C) [16:38:37:538]: Transforming table Error.

MSI (s) (48:0C) [16:38:37:538]: Note: 1: 2262 2: Error 3: -2147287038
MSI (s) (48:0C) [16:38:37:538]: Transforming table Error.

MSI (s) (48:0C) [16:38:37:538]: Note: 1: 2262 2: Error 3: -2147287038
MSI (s) (48:0C) [16:38:37:538]: Transforming table Error.

MSI (s) (48:0C) [16:38:37:538]: Note: 1: 2262 2: Error 3: -2147287038
MSI (s) (48:0C) [16:38:37:538]: Product: Microsoft SQL Server 2005 -- Error 1920. Service 'SQLWriter' (SQLWriter) failed to start. Verify that you have sufficient privileges to start system services.

Error 1920. Service 'SQLWriter' (SQLWriter) failed to start. Verify that you have sufficient privileges to start system services.
MSI (s) (48:0C) [16:38:37:568]: User policy value 'DisableRollback' is 0
MSI (s) (48:0C) [16:38:37:568]: Machine policy value 'DisableRollback' is 0
Action ended 16:38:37: InstallFinalize. Return value 3.

Any suggestion are much appreciated

Thanks

David Chan

Install errror in SQLServer 2005 SP1

I have a error instaling SP1 for SQLServer 2005 Standard Edition Spanish.

The log is the following:

.....

Doing Action: SetInstanceProperty
PerfTime Start: SetInstanceProperty : Wed Apr 26 16:02:31 2006
<Func Name='SetInstanceProperty'>
MSI (s) (48!D0) [16:02:31:827]: PROPERTY CHANGE: Adding SqlOriginalMachineName property. Its value is 'WS03'.
MSI (s) (48!D0) [16:02:31:827]: PROPERTY CHANGE: Adding SqlLegacyRegPath property. Its value is 'MSSQLServer'.
MSI (s) (48!D0) [16:02:31:859]: PROPERTY CHANGE: Adding PreviousInstId property. Its value is 'MSSQL.1'.
Using instanced id: MSSQL.1
MSI (s) (48!D0) [16:02:31:859]: PROPERTY CHANGE: Adding InstId property. Its value is 'MSSQL.1'.
Previous instance id: MSSQL.1
Using instance name: MSSQLSERVER
MSI (s) (48!D0) [16:02:31:890]: PROPERTY CHANGE: Adding PrevRegRootPath property. Its value is 'Software\Microsoft\Microsoft SQL Server\MSSQL.1'.
MSI (s) (48!D0) [16:02:31:921]: PROPERTY CHANGE: Adding Sql2KSxS property. Its value is '1'.
MSI (s) (48!D0) [16:02:31:921]: PROPERTY CHANGE: Adding InstanceName.D20239D7_E87C_40C9_9837_E70B8D4882C2 property. Its value is 'MSSQLSERVER'.
MSI (s) (48!D0) [16:02:31:921]: PROPERTY CHANGE: Adding ServicePrefixRS.6080319C_1466_426E_9E7A_1DD555143E0A property. Its value is 'SQLServer2005ReportServerUser$WS03$'.
MSI (s) (48!D0) [16:02:31:921]: PROPERTY CHANGE: Adding ServicePrefixSSIS.6080319C_1466_426E_9E7A_1DD555143E0A property. Its value is 'SQLServer2005DTSUser$WS03'.
MSI (s) (48!D0) [16:02:31:921]: PROPERTY CHANGE: Adding ServiceGroupSQLBrowser.2FC2D269_8625_4826_BB3F_F9059090CB38 property. Its value is 'SQLServer2005SQLBrowserUser$WS03'.
MSI (s) (48!D0) [16:02:31:921]: PROPERTY CHANGE: Adding QuotedServiceGroupSQLBrowser.2FC2D269_8625_4826_BB3F_F9059090CB38 property. Its value is 'RIEDER\SQLServer2005SQLBrowserUser$WS03'.
MSI (s) (48!D0) [16:02:31:921]: PROPERTY CHANGE: Adding ServiceGroupSQLBrowser.03BE59F9_3DFA_413B_A99C_B95CA31A7BFE property. Its value is 'SQLServer2005SQLBrowserUser$WS03'.
MSI (s) (48!D0) [16:02:31:921]: PROPERTY CHANGE: Adding QuotedServiceGroupSQLBrowser.03BE59F9_3DFA_413B_A99C_B95CA31A7BFE property. Its value is 'RIEDER\SQLServer2005SQLBrowserUser$WS03'.
MSI (s) (48!D0) [16:02:31:921]: PROPERTY CHANGE: Adding ServiceGroupSQLBrowser.879C8BDB_884A_4C3C_80C3_3452EA2B8439 property. Its value is 'SQLServer2005SQLBrowserUser$WS03'.
MSI (s) (48!D0) [16:02:31:921]: PROPERTY CHANGE: Adding QuotedServiceGroupSQLBrowser.879C8BDB_884A_4C3C_80C3_3452EA2B8439 property. Its value is 'RIEDER\SQLServer2005SQLBrowserUser$WS03'.
MSI (s) (48!D0) [16:02:31:921]: PROPERTY CHANGE: Adding ServiceGroupADHelper.2C8E638F_C982_4AA5_A173_7148A8E8649D property. Its value is 'SQLServer2005MSSQLServerADHelperUser$WS03'.
MSI (s) (48!D0) [16:02:31:921]: PROPERTY CHANGE: Adding QuotedServiceGroupADHelper.2C8E638F_C982_4AA5_A173_7148A8E8649D property. Its value is 'RIEDER\SQLServer2005MSSQLServerADHelperUser$WS03'.
MSI (s) (48!D0) [16:02:31:921]: PROPERTY CHANGE: Adding InstanceRegKey.2C8E638F_C982_4AA5_A173_7148A8E8649D property. Its value is 'Microsoft SQL Server\MSSQL.1'.
MSI (s) (48!D0) [16:02:31:921]: PROPERTY CHANGE: Adding DataInstanceTxt.EAD22282_F1AF_4119_B1F9_C9F1DCBC62FF property. Its value is 'C:\Archivos de programa\Microsoft SQL Server\MSSQL.1\MSSQL'.
MSI (s) (48!D0) [16:02:31:921]: PROPERTY CHANGE: Adding ServiceNameSQL.EAD22282_F1AF_4119_B1F9_C9F1DCBC62FF property. Its value is 'MSSQLSERVER'.
Using PrevRegRootPath: Software\Microsoft\Microsoft SQL Server\MSSQL.1
GetServiceUserGroup failed for MSSQLSERVER, 5
Error Code: 0x80070534 (1332)
Windows Error Text: No se ha efectuado ninguna asignación entre los nombres de cuenta y los identificadores de seguridad.
Source File Name: sqlca\sqlcax.cpp
Compiler Timestamp: Mon Feb 27 02:04:14 2006
Function Name: SetInstanceProperty
Source Line Number: 1223

MSI (s) (48!D0) [16:02:31:937]: Transforming table Error.

MSI (s) (48!D0) [16:02:31:937]: Note: 1: 2262 2: Error 3: -2147287038
MSI (s) (48!D0) [16:02:31:937]: Transforming table Error.

MSI (s) (48!D0) [16:02:31:937]: Transforming table Error.

MSI (s) (48!D0) [16:02:31:937]: Note: 1: 2262 2: Error 3: -2147287038
MSI (s) (48!D0) [16:02:31:937]: Transforming table Error.

MSI (s) (48!D0) [16:02:31:937]: Note: 1: 2262 2: Error 3: -2147287038
MSI (s) (48!D0) [16:02:31:937]: Transforming table Error.

MSI (s) (48!D0) [16:02:31:937]: Note: 1: 2262 2: Error 3: -2147287038
Error Code: 1332
MSI (s) (48!D0) [16:02:31:952]: Transforming table Error.

MSI (s) (48!D0) [16:02:31:952]: Note: 1: 2262 2: Error 3: -2147287038
MSI (s) (48!D0) [16:02:31:952]: Transforming table Error.

MSI (s) (48!D0) [16:02:31:952]: Transforming table Error.

MSI (s) (48!D0) [16:02:31:952]: Note: 1: 2262 2: Error 3: -2147287038
MSI (s) (48!D0) [16:02:31:952]: Transforming table Error.

MSI (s) (48!D0) [16:02:31:952]: Note: 1: 2262 2: Error 3: -2147287038
MSI (s) (48!D0) [16:02:31:952]: Transforming table Error.

MSI (s) (48!D0) [16:02:31:952]: Note: 1: 2262 2: Error 3: -2147287038
MSI (s) (48!D0) [16:02:31:952]: Producto: Microsoft SQL Server 2005 -- Error 29528. El programa de instalación ha detectado un error inesperado al Estableciendo propiedades internas. El error es: Error grave durante la instalación.
.

Error 29528. El programa de instalación ha detectado un error inesperado al Estableciendo propiedades internas. El error es: Error grave durante la instalación.
.
<Failure Type='Fatal' Error='1332'>
<EndFunc Name='LaunchFunction' Return='1332' GetLastError='0'>
MSI (s) (48:9C) [16:02:31:952]: Transforming table InstallExecuteSequence.

MSI (s) (48:9C) [16:02:31:952]: Note: 1: 2262 2: InstallExecuteSequence 3: -2147287038
MSI (s) (48:9C) [16:02:31:952]: Transforming table InstallExecuteSequence.

MSI (s) (48:9C) [16:02:31:952]: Transforming table InstallExecuteSequence.

MSI (s) (48:9C) [16:02:31:952]: Note: 1: 2262 2: InstallExecuteSequence 3: -2147287038
MSI (s) (48:9C) [16:02:31:952]: Transforming table InstallExecuteSequence.

MSI (s) (48:9C) [16:02:31:952]: Note: 1: 2262 2: InstallExecuteSequence 3: -2147287038
MSI (s) (48:9C) [16:02:31:952]: Transforming table InstallExecuteSequence.

MSI (s) (48:9C) [16:02:31:952]: Note: 1: 2262 2: InstallExecuteSequence 3: -2147287038
La acción terminó a las 16:02:31: SetInstanceProperty.D20239D7_E87C_40C9_9837_E70B8D4882C2. Valor devuelto: 3.
La acción terminó a las 16:02:31: INSTALL. Valor devuelto: 3.
Property(S): ProductCode = {FD515EB7-E1C3-4278-9EC2-047672A8B718}
Property(S): ProductLanguage = 3082
Property(S): Manufacturer = Microsoft Corporation
Property(S): ProductVersion = 9.1.2047.00
Property(S): MEDIAPACKAGEPATH = \Setup\
Property(S): ALLUSERS = 1
Property(S): NULLGUID = {00000000-0000-0000-0000-000000000000}
Property(S): ASPNetVersion = 2.0.50727
Property(S): ARPHELPLINK = http://go.microsoft.com/fwlink/?LinkId=52152
Property(S): ARPPRODUCTICON = ARPIcon.ico
Property(S): ARPNOREPAIR = 1
Property(S): ARPSYSTEMCOMPONENT = 1
Property(S): MsiHiddenProperties = SQLPASSWORD;AGTPASSWORD;ASPASSWORD;RSPASSWORD;SQLBROWSERPASSWORD;RSSQLPASSWORD;RSSQLPassword;RSSQLPasswordQuoted;RSSETUPPASSWORD;RSSetupPassword;SAPWD;saPWD;UPGRADEPWD;SqlUpgradePwd;SQLPassword;ServicePassword;ADMINPASSWORD;PIDKEY;FTEPassword.68C6D15C_77E0_11D5_8528_00C04F68155C;checksum.7354AFCB_913B_4E9F_B76C_2376101FDE0C;checksum.;DigitalProductID;DPID;Do_sqlScript.D20239D7_E87C_40C9_9837_E70B8D4882C2;Rollback_SqlConnection.D20239D7_E87C_40C9_9837_E70B8D4882C2;Do_XmlSingleNode.D20239D7_E87C_40C9_9837_E70B8D4882C2;Do_RSSetting.D20239D7_E87C_40C9_9837_E70B8D4882C2;PID;ProductID;RSUPGRADEPASSWORD;Do_RSSetSharePointExclusionPath.D20239D7_E87C_40C9_9837_E70B8D4882C2
Property(S): SecureCustomProperties = SQL_SHOWLIC;UPGRADESQL90
Property(S): SqlServerBuild = 1
Property(S): SqlCluster = 0
Property(S): INSTALLLEVEL = 90
Property(S): FXAssemblyVersion = 2.0.0.0
Property(S): VSAssemblyVersion = 8.0.0.0
Property(S): SqlErrorReporting = #0
Property(S): SqlSqmReporting = #0
Property(S): SqlEnableRanu = 0
Property(S): SqlPatchLevel = 9.1.2047
Property(S): ChannelID = 271
Property(S): PIDTemplate = 77656<````=````=````=````=`````>@.@.@.@.@.
Property(S): mpc = 77656
Property(S): OEMRelease = 0
Property(S): PIDKEY = **********
Property(S): ProgramFilesFolder = C:\Archivos de programa\
Property(S): ProductID = **********
Property(S): SqlInstanceName = MSSQLSERVER
Property(S): SqlSecurityMode = SQL
Property(S): SqlClusterSec = 0
Property(S): MDACSXS = 1
Property(S): DefaultUIFont = Tahoma8
Property(S): VersionNT = 502
Property(S): LocalSystemAccount = NT AUTHORITY\SYSTEM
Property(S): DefaultBuiltInAccount = LocalSystemAccount

.....

Thks

Emilio, unfortunately this is a known issue. Here is a snippet from a log I posted previously (from an English log).

The log post reads:

Using PrevRegRootPath: Software\Microsoft\Microsoft SQL Server\MSSQL.1
GetServiceUserGroup failed for MSSQLSERVER, 5
Error Code: 0x80070534 (1332)
Windows Error Text: No mapping between account names and security IDs was done.

We are currently investigating this issue, but my guess is that after RTM, someone deleted the user groups that were created during install. SQL setup creates several user groups that are used during setup. It appears that SP1 is also looking to use these and they no longer exist. The user groups are named in this fashion: SQLServer2005MSSQLUser$<MachineName>$<InstanceName>

We are still looking into it and hope to have a solution soon.

Thanks,
Samuel Lester (MSFT)

|||

Is a solution to this available?

Regards,
Eric Lapham

|||

SQL server uses local group for ACLs. When the server is installed the groups are created and their SIDs are stored in the registry. Somewhere along the way, the SID had to change and the SIDs in the registry were not valid anymore. Try to delete the values for the following values in Setup registry key the instance hive [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL.1\Setup]

The registry values are:

AGTGroup

SQLGroup

FTSGroup

ASGroup

Thanks,
Samuel Lester (MSFT)

|||

i deleted the registry value for AGTGroup, SQLGroupF, TSGroup and ASGroup and the setup ended now correct for all product.

Thanks for the help.

Regards,

Emilio

|||

Thank you; SP1 is installed. I found ASGroup in

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL.2\Setup]

The fours keys appeared to be recreated by the install of SP1. Regards, Eric Lapham

|||Correct, I should have mentioned that as well. These keys will get recreated correctly during the following SP1 install. Glad to hear it works for you!

Samuel Lester (MSFT)|||

Samuel, I am getting ready to install SP1. Would you recommend deleting these values prior to any attempt to install SP1

Regards,
Jon

|||

Nope, no need to do this. This error only occurs if someone has explicitly deleted user groups after installing RTM. We haven't seen much of this happening, but in case it has, this is how to clean it up.

Go ahead and install SP1.

Thanks,
Sam

|||

Hello Samuel,

I experienced the same problem when installing SQL 2005 SP2.

I removed the registry values as you suggested; but I still got the failures.

Here are the partial logs :

Configuring ACL for WMI namespace \\.\root\Microsoft\SqlServer\ComputerManagement
ACL: (A;CI;CCDCLCSWRPWPRCWD;;;BA)(A;CI;CC;;;WD)
<Func Name='SecureWMINamespace'>
No need to protect the namespace security
<EndFunc Name='SecureWMINamespace' Return='0' GetLastError='0'>
<EndFunc Name='Do_WMISecurity' Return='0' GetLastError='0'>
PerfTime Stop: Do_WMISecurity : Tue Jun 05 16:38:04 2007
MSI (s) (48:0C) [16:38:04:855]: Executing op: ActionStart(Name=CAFTEAddCertificate.68C6D15C_77E0_11D5_8528_00C04F68155C,,)
<EndFunc Name='LaunchFunction' Return='0' GetLastError='0'>
MSI (s) (48:0C) [16:38:04:855]: Executing op: CustomActionSchedule(Action=CAFTEAddCertificate.68C6D15C_77E0_11D5_8528_00C04F68155C,ActionType=1089,Source=BinaryData,Target=AddCertificate,CustomActionData=c:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\Binn\)
MSI (s) (48:CC) [16:38:04:875]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI596.tmp, Entrypoint: AddCertificate
FTECa.DLL: INFO: FTE: AddCertificate(), Entering...
FTECa.DLL: INFO: FTE: AddCertificate: CustomActionData: c:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\Binn\
MSI (s) (48:0C) [16:38:05:416]: Executing op: ActionStart(Name=CAFTEInstallPerfCounters.68C6D15C_77E0_11D5_8528_00C04F68155C,,)
FTECa.DLL: INFO: FTE: AddCertificate: Succeeded. Added Certificate from c:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\Binn\msfte.dll
MSI (s) (48:0C) [16:38:05:416]: Executing op: CustomActionSchedule(Action=CAFTEInstallPerfCounters.68C6D15C_77E0_11D5_8528_00C04F68155C,ActionType=1089,Source=BinaryData,Target=InstallPerfCounters,CustomActionData=c:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\Binn\Smile
MSI (s) (48Big SmileC) [16:38:05:436]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI597.tmp, Entrypoint: InstallPerfCounters
FTECa.DLL: INFO: FTE: InstallPerfCounters(), Entering...
FTECa.DLL: INFO: InstallPerfCounters: CustomActionData: c:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\Binn\:
FTECa.DLL: INFO: InstallPerfCounters: Instance name obtained:
FTECa.DLL: INFO: InstallPerfCounters: Instance home path: c:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\Binn\
FTECa.DLL: INFO: Setting acls on c:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\Binn\msfte.dll
FTECa.DLL: Warning: Failed to get BuiltinPerfMonitoringUsersSid win32error 87, this is only expected to work on w2k3+ systems
FTECa.DLL: INFO: InstallPerfCounters: Patching c:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\Binn\fdcntrs.ini -> c:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\Binn\ifdcntrs.ini, msftesqlFD -> msftesqlFD, MSFTESQL -> MSFTESQL
FTECa.DLL: INFO: InstallPerfCounters: Patching c:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\Binn\ftecntrs.ini -> c:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\Binn\iftcntrs.ini, msftesql -> msftesql, MSFTESQL -> MSFTESQL
FTECa.DLL: INFO: InstallPerfCounters: Patching c:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\Binn\idxcntrs.ini -> c:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\Binn\iindctrs.ini, msftesqlidx -> msftesqlidx, MSFTESQL -> MSFTESQL
FTECa.DLL: INFO: InstallPerfCounters: Perf counters from x "c:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\Binn\ifdcntrs.ini have been installed.
FTECa.DLL: INFO: InstallPerfCounters: Perf counters from x "c:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\Binn\iftcntrs.ini have been installed.
FTECa.DLL: INFO: InstallPerfCounters: Perf counters from x "c:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\Binn\iindctrs.ini have been installed.
MSI (s) (48:0C) [16:38:06:127]: Executing op: ActionStart(Name=CARemoveFTEServiceDependency.68C6D15C_77E0_11D5_8528_00C04F68155C,,)
FTECa.DLL: INFO: FTE: InstallPerfCounters(), Exiting...
MSI (s) (48:0C) [16:38:06:127]: Executing op: CustomActionSchedule(Action=CARemoveFTEServiceDependency.68C6D15C_77E0_11D5_8528_00C04F68155C,ActionType=1025,Source=BinaryData,Target=RemoveFTEServiceDependency,CustomActionData=msftesql)
MSI (s) (48:34) [16:38:06:147]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI598.tmp, Entrypoint: RemoveFTEServiceDependency
FTECa.DLL: INFO: FTE: Enter RemoveFTEServiceDependency()
FTECa.DLL: INFO: FTE: RemoveFTEServiceDependency: Service name obtained: msftesql
MSI (s) (48:0C) [16:38:07:008]: Executing op: ActionStart(Name=CASetLaunchPermissions.68C6D15C_77E0_11D5_8528_00C04F68155C,,)
FTECa.DLL: INFO: FTE: Exit RemoveFTEServiceDependency()
MSI (s) (48:0C) [16:38:07:018]: Executing op: CustomActionSchedule(Action=CASetLaunchPermissions.68C6D15C_77E0_11D5_8528_00C04F68155C,ActionType=1089,Source=BinaryData,Target=SetLaunchPermissions,CustomActionData={68C6D318-77E0-11D5-8528-00C04F68155C}:NT AUTHORITY\SYSTEM)
MSI (s) (48:8C) [16:38:07:038]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI599.tmp, Entrypoint: SetLaunchPermissions
MSI (s) (48:0C) [16:38:07:228]: Executing op: ActionStart(Name=StartServices,Description=Starting services,Template=Service: [1])
MSI (s) (48:0C) [16:38:07:238]: Executing op: ProgressTotal(Total=6,Type=1,ByteEquivalent=1300000)
MSI (s) (48:0C) [16:38:07:238]: Executing op: ServiceControl(,Name=SQLWriter,Action=1,Wait=0,)
MSI (s) (48:0C) [16:38:37:277]: Transforming table Error.

MSI (s) (48:0C) [16:38:37:277]: Note: 1: 2262 2: Error 3: -2147287038
MSI (s) (48:0C) [16:38:37:397]: Transforming table Error.

MSI (s) (48:0C) [16:38:37:407]: Transforming table Error.

MSI (s) (48:0C) [16:38:37:407]: Note: 1: 2262 2: Error 3: -2147287038
MSI (s) (48:0C) [16:38:37:407]: Transforming table Error.

MSI (s) (48:0C) [16:38:37:407]: Note: 1: 2262 2: Error 3: -2147287038
MSI (s) (48:0C) [16:38:37:407]: Transforming table Error.

MSI (s) (48:0C) [16:38:37:407]: Note: 1: 2262 2: Error 3: -2147287038
MSI (s) (48:0C) [16:38:37:498]: Transforming table Error.

MSI (s) (48:0C) [16:38:37:498]: Note: 1: 2262 2: Error 3: -2147287038
MSI (s) (48:0C) [16:38:37:528]: Transforming table Error.

MSI (s) (48:0C) [16:38:37:538]: Transforming table Error.

MSI (s) (48:0C) [16:38:37:538]: Note: 1: 2262 2: Error 3: -2147287038
MSI (s) (48:0C) [16:38:37:538]: Transforming table Error.

MSI (s) (48:0C) [16:38:37:538]: Note: 1: 2262 2: Error 3: -2147287038
MSI (s) (48:0C) [16:38:37:538]: Transforming table Error.

MSI (s) (48:0C) [16:38:37:538]: Note: 1: 2262 2: Error 3: -2147287038
MSI (s) (48:0C) [16:38:37:538]: Product: Microsoft SQL Server 2005 -- Error 1920. Service 'SQLWriter' (SQLWriter) failed to start. Verify that you have sufficient privileges to start system services.

Error 1920. Service 'SQLWriter' (SQLWriter) failed to start. Verify that you have sufficient privileges to start system services.
MSI (s) (48:0C) [16:38:37:568]: User policy value 'DisableRollback' is 0
MSI (s) (48:0C) [16:38:37:568]: Machine policy value 'DisableRollback' is 0
Action ended 16:38:37: InstallFinalize. Return value 3.

Any suggestion are much appreciated

Thanks

David Chan

sql

Install errror in SQLServer 2005 SP1

I have a error instaling SP1 for SQLServer 2005 Standard Edition Spanish.

The log is the following:

.....

Doing Action: SetInstanceProperty
PerfTime Start: SetInstanceProperty : Wed Apr 26 16:02:31 2006
<Func Name='SetInstanceProperty'>
MSI (s) (48!D0) [16:02:31:827]: PROPERTY CHANGE: Adding SqlOriginalMachineName property. Its value is 'WS03'.
MSI (s) (48!D0) [16:02:31:827]: PROPERTY CHANGE: Adding SqlLegacyRegPath property. Its value is 'MSSQLServer'.
MSI (s) (48!D0) [16:02:31:859]: PROPERTY CHANGE: Adding PreviousInstId property. Its value is 'MSSQL.1'.
Using instanced id: MSSQL.1
MSI (s) (48!D0) [16:02:31:859]: PROPERTY CHANGE: Adding InstId property. Its value is 'MSSQL.1'.
Previous instance id: MSSQL.1
Using instance name: MSSQLSERVER
MSI (s) (48!D0) [16:02:31:890]: PROPERTY CHANGE: Adding PrevRegRootPath property. Its value is 'Software\Microsoft\Microsoft SQL Server\MSSQL.1'.
MSI (s) (48!D0) [16:02:31:921]: PROPERTY CHANGE: Adding Sql2KSxS property. Its value is '1'.
MSI (s) (48!D0) [16:02:31:921]: PROPERTY CHANGE: Adding InstanceName.D20239D7_E87C_40C9_9837_E70B8D4882C2 property. Its value is 'MSSQLSERVER'.
MSI (s) (48!D0) [16:02:31:921]: PROPERTY CHANGE: Adding ServicePrefixRS.6080319C_1466_426E_9E7A_1DD555143E0A property. Its value is 'SQLServer2005ReportServerUser$WS03$'.
MSI (s) (48!D0) [16:02:31:921]: PROPERTY CHANGE: Adding ServicePrefixSSIS.6080319C_1466_426E_9E7A_1DD555143E0A property. Its value is 'SQLServer2005DTSUser$WS03'.
MSI (s) (48!D0) [16:02:31:921]: PROPERTY CHANGE: Adding ServiceGroupSQLBrowser.2FC2D269_8625_4826_BB3F_F9059090CB38 property. Its value is 'SQLServer2005SQLBrowserUser$WS03'.
MSI (s) (48!D0) [16:02:31:921]: PROPERTY CHANGE: Adding QuotedServiceGroupSQLBrowser.2FC2D269_8625_4826_BB3F_F9059090CB38 property. Its value is 'RIEDER\SQLServer2005SQLBrowserUser$WS03'.
MSI (s) (48!D0) [16:02:31:921]: PROPERTY CHANGE: Adding ServiceGroupSQLBrowser.03BE59F9_3DFA_413B_A99C_B95CA31A7BFE property. Its value is 'SQLServer2005SQLBrowserUser$WS03'.
MSI (s) (48!D0) [16:02:31:921]: PROPERTY CHANGE: Adding QuotedServiceGroupSQLBrowser.03BE59F9_3DFA_413B_A99C_B95CA31A7BFE property. Its value is 'RIEDER\SQLServer2005SQLBrowserUser$WS03'.
MSI (s) (48!D0) [16:02:31:921]: PROPERTY CHANGE: Adding ServiceGroupSQLBrowser.879C8BDB_884A_4C3C_80C3_3452EA2B8439 property. Its value is 'SQLServer2005SQLBrowserUser$WS03'.
MSI (s) (48!D0) [16:02:31:921]: PROPERTY CHANGE: Adding QuotedServiceGroupSQLBrowser.879C8BDB_884A_4C3C_80C3_3452EA2B8439 property. Its value is 'RIEDER\SQLServer2005SQLBrowserUser$WS03'.
MSI (s) (48!D0) [16:02:31:921]: PROPERTY CHANGE: Adding ServiceGroupADHelper.2C8E638F_C982_4AA5_A173_7148A8E8649D property. Its value is 'SQLServer2005MSSQLServerADHelperUser$WS03'.
MSI (s) (48!D0) [16:02:31:921]: PROPERTY CHANGE: Adding QuotedServiceGroupADHelper.2C8E638F_C982_4AA5_A173_7148A8E8649D property. Its value is 'RIEDER\SQLServer2005MSSQLServerADHelperUser$WS03'.
MSI (s) (48!D0) [16:02:31:921]: PROPERTY CHANGE: Adding InstanceRegKey.2C8E638F_C982_4AA5_A173_7148A8E8649D property. Its value is 'Microsoft SQL Server\MSSQL.1'.
MSI (s) (48!D0) [16:02:31:921]: PROPERTY CHANGE: Adding DataInstanceTxt.EAD22282_F1AF_4119_B1F9_C9F1DCBC62FF property. Its value is 'C:\Archivos de programa\Microsoft SQL Server\MSSQL.1\MSSQL'.
MSI (s) (48!D0) [16:02:31:921]: PROPERTY CHANGE: Adding ServiceNameSQL.EAD22282_F1AF_4119_B1F9_C9F1DCBC62FF property. Its value is 'MSSQLSERVER'.
Using PrevRegRootPath: Software\Microsoft\Microsoft SQL Server\MSSQL.1
GetServiceUserGroup failed for MSSQLSERVER, 5
Error Code: 0x80070534 (1332)
Windows Error Text: No se ha efectuado ninguna asignación entre los nombres de cuenta y los identificadores de seguridad.
Source File Name: sqlca\sqlcax.cpp
Compiler Timestamp: Mon Feb 27 02:04:14 2006
Function Name: SetInstanceProperty
Source Line Number: 1223

MSI (s) (48!D0) [16:02:31:937]: Transforming table Error.

MSI (s) (48!D0) [16:02:31:937]: Note: 1: 2262 2: Error 3: -2147287038
MSI (s) (48!D0) [16:02:31:937]: Transforming table Error.

MSI (s) (48!D0) [16:02:31:937]: Transforming table Error.

MSI (s) (48!D0) [16:02:31:937]: Note: 1: 2262 2: Error 3: -2147287038
MSI (s) (48!D0) [16:02:31:937]: Transforming table Error.

MSI (s) (48!D0) [16:02:31:937]: Note: 1: 2262 2: Error 3: -2147287038
MSI (s) (48!D0) [16:02:31:937]: Transforming table Error.

MSI (s) (48!D0) [16:02:31:937]: Note: 1: 2262 2: Error 3: -2147287038
Error Code: 1332
MSI (s) (48!D0) [16:02:31:952]: Transforming table Error.

MSI (s) (48!D0) [16:02:31:952]: Note: 1: 2262 2: Error 3: -2147287038
MSI (s) (48!D0) [16:02:31:952]: Transforming table Error.

MSI (s) (48!D0) [16:02:31:952]: Transforming table Error.

MSI (s) (48!D0) [16:02:31:952]: Note: 1: 2262 2: Error 3: -2147287038
MSI (s) (48!D0) [16:02:31:952]: Transforming table Error.

MSI (s) (48!D0) [16:02:31:952]: Note: 1: 2262 2: Error 3: -2147287038
MSI (s) (48!D0) [16:02:31:952]: Transforming table Error.

MSI (s) (48!D0) [16:02:31:952]: Note: 1: 2262 2: Error 3: -2147287038
MSI (s) (48!D0) [16:02:31:952]: Producto: Microsoft SQL Server 2005 -- Error 29528. El programa de instalación ha detectado un error inesperado al Estableciendo propiedades internas. El error es: Error grave durante la instalación.
.

Error 29528. El programa de instalación ha detectado un error inesperado al Estableciendo propiedades internas. El error es: Error grave durante la instalación.
.
<Failure Type='Fatal' Error='1332'>
<EndFunc Name='LaunchFunction' Return='1332' GetLastError='0'>
MSI (s) (48:9C) [16:02:31:952]: Transforming table InstallExecuteSequence.

MSI (s) (48:9C) [16:02:31:952]: Note: 1: 2262 2: InstallExecuteSequence 3: -2147287038
MSI (s) (48:9C) [16:02:31:952]: Transforming table InstallExecuteSequence.

MSI (s) (48:9C) [16:02:31:952]: Transforming table InstallExecuteSequence.

MSI (s) (48:9C) [16:02:31:952]: Note: 1: 2262 2: InstallExecuteSequence 3: -2147287038
MSI (s) (48:9C) [16:02:31:952]: Transforming table InstallExecuteSequence.

MSI (s) (48:9C) [16:02:31:952]: Note: 1: 2262 2: InstallExecuteSequence 3: -2147287038
MSI (s) (48:9C) [16:02:31:952]: Transforming table InstallExecuteSequence.

MSI (s) (48:9C) [16:02:31:952]: Note: 1: 2262 2: InstallExecuteSequence 3: -2147287038
La acción terminó a las 16:02:31: SetInstanceProperty.D20239D7_E87C_40C9_9837_E70B8D4882C2. Valor devuelto: 3.
La acción terminó a las 16:02:31: INSTALL. Valor devuelto: 3.
Property(S): ProductCode = {FD515EB7-E1C3-4278-9EC2-047672A8B718}
Property(S): ProductLanguage = 3082
Property(S): Manufacturer = Microsoft Corporation
Property(S): ProductVersion = 9.1.2047.00
Property(S): MEDIAPACKAGEPATH = \Setup\
Property(S): ALLUSERS = 1
Property(S): NULLGUID = {00000000-0000-0000-0000-000000000000}
Property(S): ASPNetVersion = 2.0.50727
Property(S): ARPHELPLINK = http://go.microsoft.com/fwlink/?LinkId=52152
Property(S): ARPPRODUCTICON = ARPIcon.ico
Property(S): ARPNOREPAIR = 1
Property(S): ARPSYSTEMCOMPONENT = 1
Property(S): MsiHiddenProperties = SQLPASSWORD;AGTPASSWORD;ASPASSWORD;RSPASSWORD;SQLBROWSERPASSWORD;RSSQLPASSWORD;RSSQLPassword;RSSQLPasswordQuoted;RSSETUPPASSWORD;RSSetupPassword;SAPWD;saPWD;UPGRADEPWD;SqlUpgradePwd;SQLPassword;ServicePassword;ADMINPASSWORD;PIDKEY;FTEPassword.68C6D15C_77E0_11D5_8528_00C04F68155C;checksum.7354AFCB_913B_4E9F_B76C_2376101FDE0C;checksum.;DigitalProductID;DPID;Do_sqlScript.D20239D7_E87C_40C9_9837_E70B8D4882C2;Rollback_SqlConnection.D20239D7_E87C_40C9_9837_E70B8D4882C2;Do_XmlSingleNode.D20239D7_E87C_40C9_9837_E70B8D4882C2;Do_RSSetting.D20239D7_E87C_40C9_9837_E70B8D4882C2;PID;ProductID;RSUPGRADEPASSWORD;Do_RSSetSharePointExclusionPath.D20239D7_E87C_40C9_9837_E70B8D4882C2
Property(S): SecureCustomProperties = SQL_SHOWLIC;UPGRADESQL90
Property(S): SqlServerBuild = 1
Property(S): SqlCluster = 0
Property(S): INSTALLLEVEL = 90
Property(S): FXAssemblyVersion = 2.0.0.0
Property(S): VSAssemblyVersion = 8.0.0.0
Property(S): SqlErrorReporting = #0
Property(S): SqlSqmReporting = #0
Property(S): SqlEnableRanu = 0
Property(S): SqlPatchLevel = 9.1.2047
Property(S): ChannelID = 271
Property(S): PIDTemplate = 77656<````=````=````=````=`````>@.@.@.@.@.
Property(S): mpc = 77656
Property(S): OEMRelease = 0
Property(S): PIDKEY = **********
Property(S): ProgramFilesFolder = C:\Archivos de programa\
Property(S): ProductID = **********
Property(S): SqlInstanceName = MSSQLSERVER
Property(S): SqlSecurityMode = SQL
Property(S): SqlClusterSec = 0
Property(S): MDACSXS = 1
Property(S): DefaultUIFont = Tahoma8
Property(S): VersionNT = 502
Property(S): LocalSystemAccount = NT AUTHORITY\SYSTEM
Property(S): DefaultBuiltInAccount = LocalSystemAccount

.....

Thks

Emilio, unfortunately this is a known issue. Here is a snippet from a log I posted previously (from an English log).

The log post reads:

Using PrevRegRootPath: Software\Microsoft\Microsoft SQL Server\MSSQL.1
GetServiceUserGroup failed for MSSQLSERVER, 5
Error Code: 0x80070534 (1332)
Windows Error Text: No mapping between account names and security IDs was done.

We are currently investigating this issue, but my guess is that after RTM, someone deleted the user groups that were created during install. SQL setup creates several user groups that are used during setup. It appears that SP1 is also looking to use these and they no longer exist. The user groups are named in this fashion: SQLServer2005MSSQLUser$<MachineName>$<InstanceName>

We are still looking into it and hope to have a solution soon.

Thanks,
Samuel Lester (MSFT)

|||

Is a solution to this available?

Regards,
Eric Lapham

|||

SQL server uses local group for ACLs. When the server is installed the groups are created and their SIDs are stored in the registry. Somewhere along the way, the SID had to change and the SIDs in the registry were not valid anymore. Try to delete the values for the following values in Setup registry key the instance hive [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL.1\Setup]

The registry values are:

AGTGroup

SQLGroup

FTSGroup

ASGroup

Thanks,
Samuel Lester (MSFT)

|||

i deleted the registry value forAGTGroup, SQLGroupF, TSGroup and ASGroup and the setup ended now correct for all product.

Thanks for the help.

Regards,

Emilio

|||

Thank you; SP1 is installed. I found ASGroup in

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL.2\Setup]

The fours keys appeared to be recreated by the install of SP1. Regards, Eric Lapham

|||Correct, I should have mentioned that as well. These keys will get recreated correctly during the following SP1 install. Glad to hear it works for you!

Samuel Lester (MSFT)|||

Samuel, I am getting ready to install SP1. Would you recommend deleting these values prior to any attempt to install SP1

Regards,
Jon

|||

Nope, no need to do this. This error only occurs if someone has explicitly deleted user groups after installing RTM. We haven't seen much of this happening, but in case it has, this is how to clean it up.

Go ahead and install SP1.

Thanks,
Sam

|||

Hello Samuel,

I experienced the same problem when installing SQL 2005 SP2.

I removed the registry values as you suggested; but I still got the failures.

Here are the partial logs :

Configuring ACL for WMI namespace \\.\root\Microsoft\SqlServer\ComputerManagement
ACL: (A;CI;CCDCLCSWRPWPRCWD;;;BA)(A;CI;CC;;;WD)
<Func Name='SecureWMINamespace'>
No need to protect the namespace security
<EndFunc Name='SecureWMINamespace' Return='0' GetLastError='0'>
<EndFunc Name='Do_WMISecurity' Return='0' GetLastError='0'>
PerfTime Stop: Do_WMISecurity : Tue Jun 05 16:38:04 2007
MSI (s) (48:0C) [16:38:04:855]: Executing op: ActionStart(Name=CAFTEAddCertificate.68C6D15C_77E0_11D5_8528_00C04F68155C,,)
<EndFunc Name='LaunchFunction' Return='0' GetLastError='0'>
MSI (s) (48:0C) [16:38:04:855]: Executing op: CustomActionSchedule(Action=CAFTEAddCertificate.68C6D15C_77E0_11D5_8528_00C04F68155C,ActionType=1089,Source=BinaryData,Target=AddCertificate,CustomActionData=c:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\Binn\)
MSI (s) (48:CC) [16:38:04:875]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI596.tmp, Entrypoint: AddCertificate
FTECa.DLL: INFO: FTE: AddCertificate(), Entering...
FTECa.DLL: INFO: FTE: AddCertificate: CustomActionData: c:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\Binn\
MSI (s) (48:0C) [16:38:05:416]: Executing op: ActionStart(Name=CAFTEInstallPerfCounters.68C6D15C_77E0_11D5_8528_00C04F68155C,,)
FTECa.DLL: INFO: FTE: AddCertificate: Succeeded. Added Certificate from c:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\Binn\msfte.dll
MSI (s) (48:0C) [16:38:05:416]: Executing op: CustomActionSchedule(Action=CAFTEInstallPerfCounters.68C6D15C_77E0_11D5_8528_00C04F68155C,ActionType=1089,Source=BinaryData,Target=InstallPerfCounters,CustomActionData=c:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\Binn\Smile
MSI (s) (48Big SmileC) [16:38:05:436]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI597.tmp, Entrypoint: InstallPerfCounters
FTECa.DLL: INFO: FTE: InstallPerfCounters(), Entering...
FTECa.DLL: INFO: InstallPerfCounters: CustomActionData: c:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\Binn\:
FTECa.DLL: INFO: InstallPerfCounters: Instance name obtained:
FTECa.DLL: INFO: InstallPerfCounters: Instance home path: c:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\Binn\
FTECa.DLL: INFO: Setting acls on c:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\Binn\msfte.dll
FTECa.DLL: Warning: Failed to get BuiltinPerfMonitoringUsersSid win32error 87, this is only expected to work on w2k3+ systems
FTECa.DLL: INFO: InstallPerfCounters: Patching c:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\Binn\fdcntrs.ini -> c:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\Binn\ifdcntrs.ini, msftesqlFD -> msftesqlFD, MSFTESQL -> MSFTESQL
FTECa.DLL: INFO: InstallPerfCounters: Patching c:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\Binn\ftecntrs.ini -> c:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\Binn\iftcntrs.ini, msftesql -> msftesql, MSFTESQL -> MSFTESQL
FTECa.DLL: INFO: InstallPerfCounters: Patching c:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\Binn\idxcntrs.ini -> c:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\Binn\iindctrs.ini, msftesqlidx -> msftesqlidx, MSFTESQL -> MSFTESQL
FTECa.DLL: INFO: InstallPerfCounters: Perf counters from x "c:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\Binn\ifdcntrs.ini have been installed.
FTECa.DLL: INFO: InstallPerfCounters: Perf counters from x "c:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\Binn\iftcntrs.ini have been installed.
FTECa.DLL: INFO: InstallPerfCounters: Perf counters from x "c:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\Binn\iindctrs.ini have been installed.
MSI (s) (48:0C) [16:38:06:127]: Executing op: ActionStart(Name=CARemoveFTEServiceDependency.68C6D15C_77E0_11D5_8528_00C04F68155C,,)
FTECa.DLL: INFO: FTE: InstallPerfCounters(), Exiting...
MSI (s) (48:0C) [16:38:06:127]: Executing op: CustomActionSchedule(Action=CARemoveFTEServiceDependency.68C6D15C_77E0_11D5_8528_00C04F68155C,ActionType=1025,Source=BinaryData,Target=RemoveFTEServiceDependency,CustomActionData=msftesql)
MSI (s) (48:34) [16:38:06:147]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI598.tmp, Entrypoint: RemoveFTEServiceDependency
FTECa.DLL: INFO: FTE: Enter RemoveFTEServiceDependency()
FTECa.DLL: INFO: FTE: RemoveFTEServiceDependency: Service name obtained: msftesql
MSI (s) (48:0C) [16:38:07:008]: Executing op: ActionStart(Name=CASetLaunchPermissions.68C6D15C_77E0_11D5_8528_00C04F68155C,,)
FTECa.DLL: INFO: FTE: Exit RemoveFTEServiceDependency()
MSI (s) (48:0C) [16:38:07:018]: Executing op: CustomActionSchedule(Action=CASetLaunchPermissions.68C6D15C_77E0_11D5_8528_00C04F68155C,ActionType=1089,Source=BinaryData,Target=SetLaunchPermissions,CustomActionData={68C6D318-77E0-11D5-8528-00C04F68155C}:NT AUTHORITY\SYSTEM)
MSI (s) (48:8C) [16:38:07:038]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI599.tmp, Entrypoint: SetLaunchPermissions
MSI (s) (48:0C) [16:38:07:228]: Executing op: ActionStart(Name=StartServices,Description=Starting services,Template=Service: [1])
MSI (s) (48:0C) [16:38:07:238]: Executing op: ProgressTotal(Total=6,Type=1,ByteEquivalent=1300000)
MSI (s) (48:0C) [16:38:07:238]: Executing op: ServiceControl(,Name=SQLWriter,Action=1,Wait=0,)
MSI (s) (48:0C) [16:38:37:277]: Transforming table Error.

MSI (s) (48:0C) [16:38:37:277]: Note: 1: 2262 2: Error 3: -2147287038
MSI (s) (48:0C) [16:38:37:397]: Transforming table Error.

MSI (s) (48:0C) [16:38:37:407]: Transforming table Error.

MSI (s) (48:0C) [16:38:37:407]: Note: 1: 2262 2: Error 3: -2147287038
MSI (s) (48:0C) [16:38:37:407]: Transforming table Error.

MSI (s) (48:0C) [16:38:37:407]: Note: 1: 2262 2: Error 3: -2147287038
MSI (s) (48:0C) [16:38:37:407]: Transforming table Error.

MSI (s) (48:0C) [16:38:37:407]: Note: 1: 2262 2: Error 3: -2147287038
MSI (s) (48:0C) [16:38:37:498]: Transforming table Error.

MSI (s) (48:0C) [16:38:37:498]: Note: 1: 2262 2: Error 3: -2147287038
MSI (s) (48:0C) [16:38:37:528]: Transforming table Error.

MSI (s) (48:0C) [16:38:37:538]: Transforming table Error.

MSI (s) (48:0C) [16:38:37:538]: Note: 1: 2262 2: Error 3: -2147287038
MSI (s) (48:0C) [16:38:37:538]: Transforming table Error.

MSI (s) (48:0C) [16:38:37:538]: Note: 1: 2262 2: Error 3: -2147287038
MSI (s) (48:0C) [16:38:37:538]: Transforming table Error.

MSI (s) (48:0C) [16:38:37:538]: Note: 1: 2262 2: Error 3: -2147287038
MSI (s) (48:0C) [16:38:37:538]: Product: Microsoft SQL Server 2005 -- Error 1920. Service 'SQLWriter' (SQLWriter) failed to start. Verify that you have sufficient privileges to start system services.

Error 1920. Service 'SQLWriter' (SQLWriter) failed to start. Verify that you have sufficient privileges to start system services.
MSI (s) (48:0C) [16:38:37:568]: User policy value 'DisableRollback' is 0
MSI (s) (48:0C) [16:38:37:568]: Machine policy value 'DisableRollback' is 0
Action ended 16:38:37: InstallFinalize. Return value 3.

Any suggestion are much appreciated

Thanks

David Chan

Monday, March 19, 2012

installation (instance name)

I am trying to install SqlServer PE on a WinXP desktop.
But I reach "install name" window where I am asked: "for a default
installation leave default checked..." and "to install a named instance clear
the default checkbox..." etc.
But the Default checkbox is grayed and I can just install a named instance.
What do I miss? I think it is not a user problem because I tryed with 2
different users (one is Administrator).
thanks in advanced for any feedback.
Hi
If Setup detects an already installed default instance, it will not let you
select the check box.
Maybe you have an instance of MSDE installed.
Look in Control Panel > Services to see if you have MSDE or SQL server
already installed.
Regards
Mike
"Francesco" wrote:

> I am trying to install SqlServer PE on a WinXP desktop.
> But I reach "install name" window where I am asked: "for a default
> installation leave default checked..." and "to install a named instance clear
> the default checkbox..." etc.
> But the Default checkbox is grayed and I can just install a named instance.
> What do I miss? I think it is not a user problem because I tryed with 2
> different users (one is Administrator).
> thanks in advanced for any feedback.
|||Correct. After the instance installation I have MSSQLSERVER and
MSSQL$my_instance. I suppose the first service is the engine that somebody
else installed previously... I'll try to remove the engine and start again.
Thanks.
"Mike Epprecht (SQL MVP)" wrote:
[vbcol=seagreen]
> Hi
> If Setup detects an already installed default instance, it will not let you
> select the check box.
> Maybe you have an instance of MSDE installed.
> Look in Control Panel > Services to see if you have MSDE or SQL server
> already installed.
> Regards
> Mike
> "Francesco" wrote:

installation (instance name)

I am trying to install SqlServer PE on a WinXP desktop.
But I reach "install name" window where I am asked: "for a default
installation leave default checked..." and "to install a named instance clear
the default checkbox..." etc.
But the Default checkbox is grayed and I can just install a named instance.
What do I miss? I think it is not a user problem because I tryed with 2
different users (one is Administrator).
thanks in advanced for any feedback.Hi
If Setup detects an already installed default instance, it will not let you
select the check box.
Maybe you have an instance of MSDE installed.
Look in Control Panel > Services to see if you have MSDE or SQL server
already installed.
Regards
Mike
"Francesco" wrote:
> I am trying to install SqlServer PE on a WinXP desktop.
> But I reach "install name" window where I am asked: "for a default
> installation leave default checked..." and "to install a named instance clear
> the default checkbox..." etc.
> But the Default checkbox is grayed and I can just install a named instance.
> What do I miss? I think it is not a user problem because I tryed with 2
> different users (one is Administrator).
> thanks in advanced for any feedback.|||Correct. After the instance installation I have MSSQLSERVER and
MSSQL$my_instance. I suppose the first service is the engine that somebody
else installed previously... I'll try to remove the engine and start again.
Thanks.
"Mike Epprecht (SQL MVP)" wrote:
> Hi
> If Setup detects an already installed default instance, it will not let you
> select the check box.
> Maybe you have an instance of MSDE installed.
> Look in Control Panel > Services to see if you have MSDE or SQL server
> already installed.
> Regards
> Mike
> "Francesco" wrote:
> > I am trying to install SqlServer PE on a WinXP desktop.
> > But I reach "install name" window where I am asked: "for a default
> > installation leave default checked..." and "to install a named instance clear
> > the default checkbox..." etc.
> >
> > But the Default checkbox is grayed and I can just install a named instance.
> > What do I miss? I think it is not a user problem because I tryed with 2
> > different users (one is Administrator).
> > thanks in advanced for any feedback.