Showing posts with label default. Show all posts
Showing posts with label default. Show all posts

Tuesday, March 27, 2012

Field Default Value

I'm copying MyDbTable to TempdbTable. There are 12 fields and I'm ignoring 11 of them when copying the one table to another with DTSWizard.

Once the TempdbTable is there, I'm adding 2 fields along with the one that is there already.

1) field1 int, Nullable, Default value ((3))

2) field2 tinyint, Nullable, Default value ((1))

The reason why I'm creating these two fields and giving them a value so they will match up when I import TempdbTable to MyDb2ndTable.

The problem I'm having is... field1 and field2 have a Null value intead of the value I'm giving them.

I'm new at this, so maybe the cause of the problem is obvious, but if anyone can help me I'd really appreciate it.

Thanks,

Bill

When you add the new columns, you MUST make them NOT NULL if you wish to set a DEFAULT value and assign that default value to the existing rows.


ALTER TABLE #MyTable
ADD MyNewColumn varchar(30) NOT NULL DEFAULT 'N/A'

|||

Thanks for responding Arnie.

I Ran This...

ALTER TABLE #xlaANLsubscribers
ADD listid int NOT NULL DEFAULT '3'
ADD isconfirmed tinyint NOT NULL DEFAULT '1'

I Got this Error...

Msg 102, Level 15, State 1, Line 3
Incorrect syntax near 'isconfirmed'.

When I added one field only I got something like...

The table doesn't exist or you don't have permission.

Thanks,

Bill

|||


ALTER TABLE #xlaANLsubscribers
ADD listid int NOT NULL DEFAULT '3',
isconfirmed tinyint NOT NULL DEFAULT '1'

(without the additional ADD)

Jens K. Suessmeyer.

http://www.sqlserver2005.de

|||

Thanks Jens,

This it the error I'm getting when running that, and the table is definitely there.

Msg 4902, Level 16, State 1, Line 1

Cannot find the object "#xlaANLsubscribers" because it does not exist or you do not have permissions.

Thanks,

Bill

|||Was the #Temp table created by the same user in the same session/connection?|||

Thanks Arnie,

I imported the records into the table of the database with DTSWizard authenicated in Windows. I then copied this table to Temp with the same authenication, but I've been running your script and doing the editing of the Temp table in SQL authenication. So I tried running your script and editing in Windows authenication and the same error happened. How that's not to confusing.

Thanks,

Bill

|||Unless you specify the ## as a prefix instead of a single #, the table is only available to the session where it was created in. Even other connected session might have no access to the table.

Jens K. Suessmeyer

http://www.sqlserver2005.de
|||I'm getting the same error even when I specify ## as the prefix of the table.|||

Bill,

Does this code execute without error.

Code Snippet


SET NOCOUNT ON


CREATE TABLE #MyTable
( RowID int IDENTITY,
Name varchar(20)
)


INSERT INTO #MyTable VALUES ( 'Bill' )


SELECT *
FROM #MyTable


ALTER TABLE #MyTable
ADD Address varchar(30) NOT NULL DEFAULT 'N/A'


SELECT *
FROM #MyTable


DROP TABLE #MyTable


|||

Arnie,

No errors, it worked perfectly.

|||Then I assume that your executing user is another one than the one which was uses to execute Arnies script, right ? Try to create explicitly dbo.#Something and select also with the full qualified name.

Jens K. Suessmeyer

http://www.sqlserver2005.de
|||

I can only suggest walking back throught the rest of your code (all code that touches the #xlaANLsubscribers table), and verify that there isn't a DELETE TABLE stuck in there somewhere...

If you are creating the #Temp table, and populating it in the same session, it 'should' be there. So I'm baffled at the moment and will have to give this some thought...

|||

Jens,

I thought that schema/owner was ignored in TempDb...

|||I'm using DTSWizard to copy the table from the Main Database to Temp... am I wrong in doing it that way?

Wednesday, March 7, 2012

FAST_FORWARD Cursor

Hi Experts,
(1) Will there be any considerable performance gain in
using the default cursor type (FORWARD_ONLY) over
FAST_FORWARD cursors. Cursors are used in my application
as READ ONLY source of data.
(2) Will the use of GOTO inside a SP degrade performance?
Kindly suggest.
TIA,
Hari
On Wed, 4 Aug 2004 05:02:01 -0700, Hari wrote:

>Hi Experts,
>(1) Will there be any considerable performance gain in
>using the default cursor type (FORWARD_ONLY) over
>FAST_FORWARD cursors. Cursors are used in my application
>as READ ONLY source of data.
>(2) Will the use of GOTO inside a SP degrade performance?
>Kindly suggest.
>TIA,
>Hari
Hi Hari,
(1) No. FORWARD_ONLY is implied by FAST_FORWARD. There will be a
performance gain in using a set-based solution over a cursor based
solution, if possible.
(2) No.
Best, Hugo
(Remove _NO_ and _SPAM_ to get my e-mail address)
|||Hugo,
Could you please tell me what is the SET-based solution?
Thanks,
Hari

>--Original Message--
>On Wed, 4 Aug 2004 05:02:01 -0700, Hari wrote:
>
>Hi Hari,
>(1) No. FORWARD_ONLY is implied by FAST_FORWARD. There
will be a
>performance gain in using a set-based solution over a
cursor based
>solution, if possible.
>(2) No.
>Best, Hugo
>--
>(Remove _NO_ and _SPAM_ to get my e-mail address)
>.
>
|||On Wed, 4 Aug 2004 05:31:30 -0700, Hari wrote:

>Hugo,
>Could you please tell me what is the SET-based solution?
>Thanks,
>Hari
Hi Hari,
Without knowing what your current cursor-based solution actually does?
No.
But if you post DDL (create table statements, including all constraints
but excluding irrelevant columns), sample data (as INSERT statements),
expected output, your current cursor-based SQL and a description of the
business problem you're trying to solve, I could give it a shot.
Best, Hugo
(Remove _NO_ and _SPAM_ to get my e-mail address)

FAST_FORWARD Cursor

Hi Experts,
(1) Will there be any considerable performance gain in
using the default cursor type (FORWARD_ONLY) over
FAST_FORWARD cursors. Cursors are used in my application
as READ ONLY source of data.
(2) Will the use of GOTO inside a SP degrade performance?
Kindly suggest.
TIA,
HariOn Wed, 4 Aug 2004 05:02:01 -0700, Hari wrote:
>Hi Experts,
>(1) Will there be any considerable performance gain in
>using the default cursor type (FORWARD_ONLY) over
>FAST_FORWARD cursors. Cursors are used in my application
>as READ ONLY source of data.
>(2) Will the use of GOTO inside a SP degrade performance?
>Kindly suggest.
>TIA,
>Hari
Hi Hari,
(1) No. FORWARD_ONLY is implied by FAST_FORWARD. There will be a
performance gain in using a set-based solution over a cursor based
solution, if possible.
(2) No.
Best, Hugo
--
(Remove _NO_ and _SPAM_ to get my e-mail address)|||Hugo,
Could you please tell me what is the SET-based solution?
Thanks,
Hari
>--Original Message--
>On Wed, 4 Aug 2004 05:02:01 -0700, Hari wrote:
>>Hi Experts,
>>(1) Will there be any considerable performance gain in
>>using the default cursor type (FORWARD_ONLY) over
>>FAST_FORWARD cursors. Cursors are used in my application
>>as READ ONLY source of data.
>>(2) Will the use of GOTO inside a SP degrade performance?
>>Kindly suggest.
>>TIA,
>>Hari
>Hi Hari,
>(1) No. FORWARD_ONLY is implied by FAST_FORWARD. There
will be a
>performance gain in using a set-based solution over a
cursor based
>solution, if possible.
>(2) No.
>Best, Hugo
>--
>(Remove _NO_ and _SPAM_ to get my e-mail address)
>.
>|||On Wed, 4 Aug 2004 05:31:30 -0700, Hari wrote:
>Hugo,
>Could you please tell me what is the SET-based solution?
>Thanks,
>Hari
Hi Hari,
Without knowing what your current cursor-based solution actually does?
No.
But if you post DDL (create table statements, including all constraints
but excluding irrelevant columns), sample data (as INSERT statements),
expected output, your current cursor-based SQL and a description of the
business problem you're trying to solve, I could give it a shot.
Best, Hugo
--
(Remove _NO_ and _SPAM_ to get my e-mail address)

FAST_FORWARD Cursor

Hi Experts,
(1) Will there be any considerable performance gain in
using the default cursor type (FORWARD_ONLY) over
FAST_FORWARD cursors. Cursors are used in my application
as READ ONLY source of data.
(2) Will the use of GOTO inside a SP degrade performance?
Kindly suggest.
TIA,
HariOn Wed, 4 Aug 2004 05:02:01 -0700, Hari wrote:

>Hi Experts,
>(1) Will there be any considerable performance gain in
>using the default cursor type (FORWARD_ONLY) over
>FAST_FORWARD cursors. Cursors are used in my application
>as READ ONLY source of data.
>(2) Will the use of GOTO inside a SP degrade performance?
>Kindly suggest.
>TIA,
>Hari
Hi Hari,
(1) No. FORWARD_ONLY is implied by FAST_FORWARD. There will be a
performance gain in using a set-based solution over a cursor based
solution, if possible.
(2) No.
Best, Hugo
--
(Remove _NO_ and _SPAM_ to get my e-mail address)|||Hugo,
Could you please tell me what is the SET-based solution?
Thanks,
Hari

>--Original Message--
>On Wed, 4 Aug 2004 05:02:01 -0700, Hari wrote:
>
>Hi Hari,
>(1) No. FORWARD_ONLY is implied by FAST_FORWARD. There
will be a
>performance gain in using a set-based solution over a
cursor based
>solution, if possible.
>(2) No.
>Best, Hugo
>--
>(Remove _NO_ and _SPAM_ to get my e-mail address)
>.
>|||On Wed, 4 Aug 2004 05:31:30 -0700, Hari wrote:

>Hugo,
>Could you please tell me what is the SET-based solution?
>Thanks,
>Hari
Hi Hari,
Without knowing what your current cursor-based solution actually does?
No.
But if you post DDL (create table statements, including all constraints
but excluding irrelevant columns), sample data (as INSERT statements),
expected output, your current cursor-based SQL and a description of the
business problem you're trying to solve, I could give it a shot.
Best, Hugo
--
(Remove _NO_ and _SPAM_ to get my e-mail address)

Sunday, February 26, 2012

Failures in installing SP1 on top SQL Server 2005

I am trying to apply SP1 on top of SQL Server 2005 and it keeps failing. I have a default instance and a named instance on the machine. The named instance disabled when I tried installing the pack. Then I enabled the named instance and tried the pack. This time the default instance failed as usual but the named instance was successful. The log is as follows ( when I attempted when the named instance 'TEST' was disabled ):

ANy suggestions / insights ?

Thanks.

-chiraj

12/13/2006 12:23:18.661 ================================================================================
12/13/2006 12:23:18.661 Hotfix package launched
12/13/2006 12:23:20.021 Product discovery successfully completed during the install process for MSSQLSERVER
12/13/2006 12:23:20.021 SP Level check successfully completed during the install process for MSSQLSERVER
12/13/2006 12:23:20.021 Product language check successfully completed during the install process for MSSQLSERVER
12/13/2006 12:23:20.021 Product version check successfully completed during the install process for MSSQLSERVER
12/13/2006 12:23:20.021 Product discovery successfully completed during the install process for TEST
12/13/2006 12:23:20.021 SP Level check successfully completed during the install process for TEST
12/13/2006 12:23:20.021 Product language check successfully completed during the install process for TEST
12/13/2006 12:23:20.021 Product version check successfully completed during the install process for TEST
12/13/2006 12:23:20.021 Command-line instance name check completed during the install process
12/13/2006 12:23:20.021 Baseline build check completed during the install process
12/13/2006 12:26:04.479 Attempting to install instance: MSSQLSERVER
12/13/2006 12:26:04.479 Attempting to install target: KCMSQL02
12/13/2006 12:26:04.479 Attempting to check for locked files: sqlrun_sql.msp
12/13/2006 12:26:04.526 Attempting to check for locked files: \\KCMSQL02\e$\491bf0f9e8c5744ccb0c\HotFixSQL\Files\sqlrun_sql.msp
12/13/2006 12:26:04.526 Creating MSP locked file check log at: C:\WINDOWS\Hotfix\SQL9\Logs\SQL9_Hotfix_KB913090_sqlrun_sql.msp.out
12/13/2006 12:26:16.416 MSP returned 1602: The user cancels installation.
12/13/2006 12:26:16.416 Successfully checked file: \\KCMSQL02\e$\491bf0f9e8c5744ccb0c\HotFixSQL\Files\sqlrun_sql.msp
12/13/2006 12:26:16.431 Successfully opened registry key: System\CurrentControlSet\Control\Session Manager
12/13/2006 12:26:16.431 Failed to read registry key: PendingFileRenameOperations
12/13/2006 12:26:16.431 Failed to read associated hotfix build information for the following file: C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\xmlfilt.dll
12/13/2006 12:26:16.431 Failed to read associated hotfix build information for the following file: C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\ThaWBrkr.dll
12/13/2006 12:26:16.431 Failed to read associated hotfix build information for the following file: C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\query.dll
12/13/2006 12:26:16.431 Failed to read associated hotfix build information for the following file: C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\nls400.dll
12/13/2006 12:26:16.431 Failed to read associated hotfix build information for the following file: C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\nlhtml.dll
12/13/2006 12:26:16.431 Failed to read associated hotfix build information for the following file: C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\msir5jp.dll
12/13/2006 12:26:16.431 Failed to read associated hotfix build information for the following file: C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\msftesql.exe
12/13/2006 12:26:16.431 Failed to read associated hotfix build information for the following file: C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\msftepxy.dll
12/13/2006 12:26:16.431 Failed to read associated hotfix build information for the following file: C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\msftefd.exe
12/13/2006 12:26:16.431 Failed to read associated hotfix build information for the following file: C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\msfte.dll
12/13/2006 12:26:16.431 Failed to read associated hotfix build information for the following file: C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\LangWrbk.dll
12/13/2006 12:26:16.431 Failed to read associated hotfix build information for the following file: C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\korwbrkr.dll
12/13/2006 12:26:16.431 Failed to read associated hotfix build information for the following file: C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\infosoft.dll
12/13/2006 12:26:16.431 Failed to read associated hotfix build information for the following file: C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\FTERef\FTERef.dll
12/13/2006 12:26:16.431 Failed to read associated hotfix build information for the following file: C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\CHTBRKR.DLL
12/13/2006 12:26:16.431 Failed to read associated hotfix build information for the following file: C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\ChsBrkr.dll
12/13/2006 12:26:16.431 Failed to read version information for the following file: C:\Program Files\Microsoft SQL Server\90\COM\2005.90.2047.0
C:\Program Files\Microsoft SQL Server\90\COM\Resources\1033\REPLRES.rll
12/13/2006 12:26:16.431 Failed to read version information for the following file: C:\Program Files\Microsoft SQL Server\90\COM\2005.90.2047.0
C:\Program Files\Microsoft SQL Server\90\COM\replrec.dll
12/13/2006 12:26:16.431 Failed to read version information for the following file: C:\Program Files\Microsoft SQL Server\90\COM\2005.90.2047.0
C:\Program Files\Microsoft SQL Server\90\COM\rplisapi.dll
12/13/2006 12:26:16.431 Failed to read version information for the following file: C:\Program Files\Microsoft SQL Server\90\COM\2005.90.2047.0
C:\WINDOWS\assembly\GAC_32\Microsoft.SqlServer.Replication\9.0.242.0__89845dcd8080cc91\Repl.dll
12/13/2006 12:26:16.431 Failed to read associated hotfix build information for the following file: C:\WINDOWS\assembly\GAC_MSIL\Microsoft.SqlServer.DataStorage\9.0.242.0__89845dcd8080cc91\Microsoft.SqlServer.DataStorage.dll
12/13/2006 12:26:16.431 Failed to read version information for the following file: C:\Program Files\Common Files\Microsoft Shared\Database Replication\Resources\1033\2005.90.2047.0
C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Install\rplhtfin.sql
12/13/2006 12:26:16.431 Failed to read version information for the following file: C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Install\
C:\Program Files\Microsoft SQL Server\90\COM\qrdrsvc.exe
12/13/2006 12:26:16.431 Failed to read version information for the following file: C:\Program Files\Microsoft SQL Server\90\COM\2005.90.2047.0
C:\Program Files\Microsoft SQL Server\90\COM\snapshot.exe
12/13/2006 12:26:16.431 Failed to read version information for the following file: C:\Program Files\Microsoft SQL Server\90\COM\2005.90.2047.0
C:\Program Files\Microsoft SQL Server\90\COM\replmerg.exe
12/13/2006 12:26:16.431 Failed to read associated hotfix build information for the following file: C:\Program Files\Microsoft SQL Server\90\COM\tablediff.exe
12/13/2006 12:26:16.431 Failed to read version information for the following file: C:\Program Files\Microsoft SQL Server\90\COM\2005.90.2047.0
C:\Program Files\Microsoft SQL Server\90\COM\DISTRIB.exe
12/13/2006 12:26:16.431 Failed to read associated hotfix build information for the following file: C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\DatabaseMail90.exe
12/13/2006 12:26:16.431 Failed to read version information for the following file: C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\Resources\3082\2005.90.2047.0
C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\Resources\2052\sqlevn70.rll
12/13/2006 12:26:16.431 Failed to read version information for the following file: C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\Resources\1042\2005.90.2047.0
C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\Resources\1041\sqlevn70.rll
12/13/2006 12:26:16.431 Failed to read version information for the following file: C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\Resources\1040\2005.90.2047.0
C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\Resources\1036\sqlevn70.rll
12/13/2006 12:26:16.431 Failed to read version information for the following file: C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\Resources\1033\2005.90.2047.0
C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\Resources\1031\sqlevn70.rll
12/13/2006 12:26:16.431 Failed to read version information for the following file: C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\Resources\1028\2005.90.2047.0
C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\Resources\1033\XPStar90.RLL
12/13/2006 12:26:16.431 Failed to read associated hotfix build information for the following file: C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\sqlaccess.dll
12/13/2006 12:26:16.431 Failed to read associated hotfix build information for the following file: C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\sqlaccess.dll
12/13/2006 12:26:16.431 Failed to read associated hotfix build information for the following file: C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\sqlaccess.dll
12/13/2006 12:26:16.447 Failed to read version information for the following file: C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\6.6.3.5
C:\Program Files\Microsoft SQL Server\90\Shared\msxmlsql.dll
12/13/2006 12:26:16.447 Failed to read version information for the following file: C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\2.0.3609.0
C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\xmlrw.dll
12/13/2006 12:26:16.447 Failed to read associated hotfix build information for the following file: C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\sqlsvc90.dll
12/13/2006 12:26:16.447 Failed to read associated hotfix build information for the following file: C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\sqlsvc90.dll
12/13/2006 12:26:16.447 Failed to read associated hotfix build information for the following file: C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\sqlsvc90.dll
12/13/2006 12:26:16.447 Failed to read version information for the following file: C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\2005.90.2047.0
C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\SQLBOOT.dll
12/13/2006 12:26:16.447 Failed to read version information for the following file: C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\2005.90.2047.0
C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\xplog70.dll
12/13/2006 12:26:16.447 Failed to read version information for the following file: C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\2005.90.2047.0
C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\batchp~1.dll
12/13/2006 12:26:16.447 Failed to read associated hotfix build information for the following file: C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\Resources\1033\SQLAgentMail90.rll
12/13/2006 12:26:16.447 Failed to read associated hotfix build information for the following file: C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\Resources\1033\SQLAgentMail90.rll
12/13/2006 12:26:16.447 Failed to read associated hotfix build information for the following file: C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\Resources\1033\SQLAgentMail90.rll
12/13/2006 12:26:16.447 Failed to read associated hotfix build information for the following file: C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\Resources\1033\SQLAGENT90.RLL
12/13/2006 12:26:16.447 Failed to read associated hotfix build information for the following file: C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\Resources\1033\SQLAGENT90.RLL
12/13/2006 12:26:16.447 Failed to read associated hotfix build information for the following file: C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\Resources\1033\SQLAGENT90.RLL
12/13/2006 12:26:16.447 Failed to read associated hotfix build information for the following file: C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\SQLAgentMail90.dll
12/13/2006 12:26:16.447 Failed to read associated hotfix build information for the following file: C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\SQLAgentMail90.dll
12/13/2006 12:26:16.447 Failed to read associated hotfix build information for the following file: C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\SQLAgentMail90.dll
12/13/2006 12:26:16.447 Failed to read associated hotfix build information for the following file: C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\SQLAGENT90.EXE
12/13/2006 12:26:16.447 Failed to read associated hotfix build information for the following file: C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\SQLAGENT90.EXE
12/13/2006 12:26:16.447 Failed to read associated hotfix build information for the following file: C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\SQLAGENT90.EXE
12/13/2006 12:26:16.447 Failed to read version information for the following file: C:\Program Files\Microsoft SQL Server\90\Shared\Resources\1033\9.0.2047.0
C:\Program Files\Microsoft SQL Server\90\Shared\msmdrdir.dll
12/13/2006 12:26:16.447 Failed to read version information for the following file: C:\Program Files\Common Files\System\ole db\2.0.3609.0
C:\Program Files\Common Files\System\ole db\xmlrw.dll
12/13/2006 12:26:16.447 Failed to read associated hotfix build information for the following file: C:\Program Files\Microsoft SQL Server\90\Shared\msmdlocal.dll
12/13/2006 12:26:16.447 Failed to read associated hotfix build information for the following file: C:\Program Files\Microsoft SQL Server\90\Shared\msmdlocal.dll
12/13/2006 12:26:16.447 Failed to read associated hotfix build information for the following file: C:\Program Files\Microsoft SQL Server\90\Shared\msmdlocal.dll
12/13/2006 12:26:16.447 Failed to read associated hotfix build information for the following file: C:\Program Files\Microsoft SQL Server\90\Shared\sqlbrowser.exe
12/13/2006 12:26:16.447 Failed to read associated hotfix build information for the following file: C:\Program Files\Microsoft SQL Server\90\Shared\sqlbrowser.exe
12/13/2006 12:26:16.447 Failed to read associated hotfix build information for the following file: C:\Program Files\Microsoft SQL Server\90\Shared\sqlbrowser.exe
12/13/2006 12:26:16.447 Failed to read associated hotfix build information for the following file: C:\Program Files\Microsoft SQL Server\90\Shared\msasxpress.dll
12/13/2006 12:26:16.447 Failed to read associated hotfix build information for the following file: C:\Program Files\Microsoft SQL Server\90\Shared\msasxpress.dll
12/13/2006 12:26:16.447 Failed to read associated hotfix build information for the following file: C:\Program Files\Microsoft SQL Server\90\Shared\msasxpress.dll
12/13/2006 12:26:16.447 Failed to read version information for the following file: C:\Program Files\Microsoft.NET\ADOMD.NET\90\en\Microsoft.AnalysisServices.AdomdClient.xml
12/13/2006 12:26:16.463 Failed to read associated hotfix build information for the following file: C:\Program Files\Microsoft.NET\ADOMD.NET\90\Microsoft.AnalysisServices.AdomdClient.dll
12/13/2006 12:26:16.463 Failed to read associated hotfix build information for the following file: C:\WINDOWS\assembly\GAC_MSIL\Microsoft.AnalysisServices.AdomdClient\9.0.242.0__89845dcd8080cc91\Microsoft.AnalysisServices.AdomdClient.dll
12/13/2006 12:26:16.463 Failed to read version information for the following file: C:\Program Files\Microsoft SQL Server\90\Tools\Binn\Resources\1033\
C:\Program Files\Microsoft SQL Server\90\Tools\Binn\Resources\1033\sqlcm.xml
12/13/2006 12:26:16.463 Failed to read associated hotfix build information for the following file: C:\Program Files\Microsoft SQL Server\90\Tools\Binn\Resources\1033\SqlManager.rll
12/13/2006 12:26:16.463 Failed to read associated hotfix build information for the following file: C:\Program Files\Microsoft SQL Server\90\Tools\Binn\Resources\1033\SqlManager.rll
12/13/2006 12:26:16.463 Failed to read associated hotfix build information for the following file: C:\Program Files\Microsoft SQL Server\90\Tools\Binn\Resources\1033\SqlManager.rll
12/13/2006 12:26:16.463 Failed to read associated hotfix build information for the following file: C:\Program Files\Microsoft SQL Server\90\Tools\binn\SqlManager.dll
12/13/2006 12:26:16.463 Failed to read associated hotfix build information for the following file: C:\Program Files\Microsoft SQL Server\90\Tools\binn\SqlManager.dll
12/13/2006 12:26:16.463 Failed to read associated hotfix build information for the following file: C:\Program Files\Microsoft SQL Server\90\Tools\binn\SqlManager.dll
12/13/2006 12:26:16.463 Failed to read associated hotfix build information for the following file: C:\Program Files\Microsoft SQL Server\90\Tools\Binn\batchparser90.dll
12/13/2006 12:26:16.463 Failed to read associated hotfix build information for the following file: C:\Program Files\Microsoft SQL Server\90\Tools\Binn\batchparser90.dll
12/13/2006 12:26:16.463 Failed to read associated hotfix build information for the following file: C:\Program Files\Microsoft SQL Server\90\Tools\Binn\batchparser90.dll
12/13/2006 12:26:16.463 Failed to read version information for the following file: C:\Program Files\Microsoft SQL Server\90\Tools\Binn\Resources\1033\2005.90.2047.0
C:\Program Files\Microsoft SQL Server\90\Tools\binn\SQLSVC90.DLL
12/13/2006 12:26:16.463 Failed to read version information for the following file: C:\Program Files\Microsoft SQL Server\90\Tools\Binn\2.0.3609.0
C:\Program Files\Microsoft SQL Server\90\Tools\Binn\SQLdiag.exe
12/13/2006 12:26:16.463 Failed to read version information for the following file: C:\Program Files\Microsoft SQL Server\90\Tools\Binn\2005.90.2047.0
C:\Program Files\Microsoft SQL Server\90\Shared\sqlsvc~1.dll
12/13/2006 12:26:16.463 Failed to read associated hotfix build information for the following file: C:\Program Files\Microsoft SQL Server\90\Shared\sqlsecacctchg.dll
12/13/2006 12:26:16.463 Failed to read associated hotfix build information for the following file: C:\Program Files\Microsoft SQL Server\90\Shared\sqlsecacctchg.dll
12/13/2006 12:26:16.463 Failed to read associated hotfix build information for the following file: C:\Program Files\Microsoft SQL Server\90\Shared\sqlsecacctchg.dll
12/13/2006 12:26:16.463 Failed to read associated hotfix build information for the following file: C:\Program Files\Microsoft SQL Server\90\Shared\sqlftacct.dll
12/13/2006 12:26:16.463 Failed to read associated hotfix build information for the following file: C:\Program Files\Microsoft SQL Server\90\Shared\sqlftacct.dll
12/13/2006 12:26:16.463 Failed to read associated hotfix build information for the following file: C:\Program Files\Microsoft SQL Server\90\Shared\sqlftacct.dll
12/13/2006 12:26:16.463 Failed to read associated hotfix build information for the following file: C:\Program Files\Microsoft SQL Server\90\Shared\isacctchange.dll
12/13/2006 12:26:16.463 Failed to read associated hotfix build information for the following file: C:\Program Files\Microsoft SQL Server\90\Shared\isacctchange.dll
12/13/2006 12:26:16.463 Failed to read associated hotfix build information for the following file: C:\Program Files\Microsoft SQL Server\90\Shared\isacctchange.dll
12/13/2006 12:26:16.463 Failed to read associated hotfix build information for the following file: C:\Program Files\Microsoft SQL Server\90\Shared\svrenumapi.dll
12/13/2006 12:26:16.463 Failed to read associated hotfix build information for the following file: C:\Program Files\Microsoft SQL Server\90\Shared\svrenumapi.dll
12/13/2006 12:26:16.463 Failed to read associated hotfix build information for the following file: C:\Program Files\Microsoft SQL Server\90\Shared\svrenumapi.dll
12/13/2006 12:26:16.463 Failed to read version information for the following file: C:\Program Files\Microsoft SQL Server\90\Shared\2005.90.2047.0
C:\Program Files\Microsoft SQL Server\90\Shared\sqlsqm.exe
12/13/2006 12:26:16.463 Failed to read version information for the following file: C:\Program Files\Microsoft SQL Server\90\Shared\9.0.2047.0
C:\Program Files\Microsoft SQL Server\90\Shared\dbghelp.dll
12/13/2006 12:26:16.463 Failed to read associated hotfix build information for the following file: C:\Program Files\Microsoft SQL Server\90\Shared\SqlDumper.exe
12/13/2006 12:26:16.463 Failed to read associated hotfix build information for the following file: C:\Program Files\Microsoft SQL Server\90\Shared\SqlDumper.exe
12/13/2006 12:26:16.463 Failed to read associated hotfix build information for the following file: C:\Program Files\Microsoft SQL Server\90\Shared\SqlDumper.exe
12/13/2006 12:26:16.463 Failed to read associated hotfix build information for the following file: C:\WINDOWS\assembly\GAC_MSIL\Microsoft.SqlServer.Rmo\9.0.242.0__89845dcd8080cc91\Microsoft.SqlServer.Rmo.dll
12/13/2006 12:26:16.463 Failed to read associated hotfix build information for the following file: C:\WINDOWS\assembly\GAC_MSIL\Microsoft.AnalysisServices\9.0.242.0__89845dcd8080cc91\Microsoft.AnalysisServices.DLL
12/13/2006 12:26:16.463 Failed to read associated hotfix build information for the following file: C:\WINDOWS\assembly\GAC_MSIL\Microsoft.DataWarehouse.Interfaces\9.0.242.0__89845dcd8080cc91\Microsoft.DataWarehouse.Interfaces.DLL
12/13/2006 12:26:16.463 Failed to read associated hotfix build information for the following file: C:\WINDOWS\assembly\GAC_MSIL\Microsoft.SqlServer.RegSvrEnum\9.0.242.0__89845dcd8080cc91\Microsoft.SqlServer.RegSvrEnum.dll
12/13/2006 12:26:16.463 Failed to read associated hotfix build information for the following file: C:\WINDOWS\assembly\GAC_32\Microsoft.SqlServer.BatchParser\9.0.242.0__89845dcd8080cc91\microsoft.sqlserver.batchparser.dll
12/13/2006 12:26:16.463 Failed to read associated hotfix build information for the following file: C:\WINDOWS\assembly\GAC_32\Microsoft.SqlServer.BatchParser\9.0.242.0__89845dcd8080cc91\microsoft.sqlserver.batchparser.dll
12/13/2006 12:26:16.463 Failed to read associated hotfix build information for the following file: C:\WINDOWS\assembly\GAC_32\Microsoft.SqlServer.BatchParser\9.0.242.0__89845dcd8080cc91\microsoft.sqlserver.batchparser.dll
12/13/2006 12:26:16.478 Failed to read associated hotfix build information for the following file: C:\WINDOWS\assembly\GAC_MSIL\Microsoft.SqlServer.ServiceBrokerEnum\9.0.242.0__89845dcd8080cc91\Microsoft.SqlServer.ServiceBrokerEnum.dll
12/13/2006 12:26:16.478 Failed to read associated hotfix build information for the following file: C:\WINDOWS\assembly\GAC_MSIL\Microsoft.SqlServer.WmiEnum\9.0.242.0__89845dcd8080cc91\Microsoft.SqlServer.WmiEnum.dll
12/13/2006 12:26:16.478 Failed to read associated hotfix build information for the following file: C:\WINDOWS\assembly\GAC_MSIL\Microsoft.SqlServer.SqlEnum\9.0.242.0__89845dcd8080cc91\Microsoft.SqlServer.SqlEnum.dll
12/13/2006 12:26:16.478 Failed to read associated hotfix build information for the following file: C:\WINDOWS\assembly\GAC_MSIL\Microsoft.SqlServer.SmoEnum\9.0.242.0__89845dcd8080cc91\Microsoft.SqlServer.SmoEnum.dll
12/13/2006 12:26:16.478 Failed to read associated hotfix build information for the following file: C:\WINDOWS\assembly\GAC_MSIL\Microsoft.SqlServer.Smo\9.0.242.0__89845dcd8080cc91\Microsoft.SqlServer.Smo.dll
12/13/2006 12:26:16.478 Failed to read associated hotfix build information for the following file: C:\Program Files\Microsoft SQL Server\90\Shared\SqlSAC.exe
12/13/2006 12:26:16.478 Failed to read associated hotfix build information for the following file: C:\Program Files\Microsoft SQL Server\90\Shared\Microsoft.SqlSac.Public.dll
12/13/2006 12:26:16.494 Attempting to install file: sqlrun_sql.msp
12/13/2006 12:26:16.510 Attempting to install file: \\KCMSQL02\e$\491bf0f9e8c5744ccb0c\HotFixSQL\Files\sqlrun_sql.msp
12/13/2006 12:26:16.510 Creating MSP install log file at: C:\WINDOWS\Hotfix\SQL9\Logs\SQL9_Hotfix_KB913090_sqlrun_sql.msp.log
12/13/2006 12:26:16.510 Successfully opened registry key: Software\Policies\Microsoft\Windows\Installer
12/13/2006 12:26:16.510 Failed to read registry key: Debug
12/13/2006 12:26:57.834 MSP returned 1603: A fatal error occurred during installation.
12/13/2006 12:26:57.834 Successfully opened registry key: Software\Policies\Microsoft\Windows\Installer
12/13/2006 12:26:57.834 Failed to read registry key: Debug
12/13/2006 12:26:57.834 Unable to install MSP file: \\KCMSQL02\e$\491bf0f9e8c5744ccb0c\HotFixSQL\Files\sqlrun_sql.msp
12/13/2006 12:26:57.834 The following exception occurred: Unable to install Windows Installer MSP file Date: 12/13/2006 12:26:57.834 File: \depot\sqlvault\setupmain\setup\sqlse\sqlsedll\copyengine.cpp Line: 856
12/13/2006 12:26:57.881
12/13/2006 12:26:57.881 Product Status Summary:
12/13/2006 12:26:57.881 Product: SQL Server Native Client
12/13/2006 12:26:57.881 SQL Server Native Client (RTM ) - Success
12/13/2006 12:26:57.881
12/13/2006 12:26:57.881 Product: Setup Support Files
12/13/2006 12:26:57.881 Setup Support Files (RTM ) - Success
12/13/2006 12:26:57.881
12/13/2006 12:26:57.881 Product: Database Services
12/13/2006 12:26:57.881 Database Services (RTM 1399 ENU) - Failure
12/13/2006 12:26:57.881 Details: Unable to install Windows Installer MSP file
12/13/2006 12:26:57.881 Analysis Services (SP1 2047 ENU) - Not Applied
12/13/2006 12:26:57.881
12/13/2006 12:26:57.881 Product: Database Services
12/13/2006 12:26:57.881 Database Services (RTM 1399 ENU) - Not Selected
12/13/2006 12:26:57.881
12/13/2006 12:26:57.881 Product: Notification Services
12/13/2006 12:26:57.881 Notification Services (SP1 2047 ENU) - Not Applied
12/13/2006 12:26:57.881
12/13/2006 12:26:57.881 Product: Integration Services
12/13/2006 12:26:57.881 Integration Services (SP1 2047 ENU) - Not Applied
12/13/2006 12:26:57.881
12/13/2006 12:26:57.881 Product: Client Components
12/13/2006 12:26:57.881 Client Components (SP1 2047 ENU) - Not Applied
12/13/2006 12:26:57.881
12/13/2006 12:26:57.881 Product: MSXML 6.0 Parser
12/13/2006 12:26:57.881 MSXML 6.0 Parser (RTM ) - Not Applied
12/13/2006 12:26:57.881
12/13/2006 12:26:57.881 Product: SQLXML4
12/13/2006 12:26:57.881 SQLXML4 (RTM ) - Not Applied
12/13/2006 12:26:57.881
12/13/2006 12:26:57.881 Product: Backward Compatibility
12/13/2006 12:26:57.881 Backward Compatibility (RTM ) - Not Applied
12/13/2006 12:26:57.881
12/13/2006 12:26:57.881 Product: Microsoft SQL Server VSS Writer
12/13/2006 12:26:57.881 Microsoft SQL Server VSS Writer (RTM ) - Not Applied
12/13/2006 12:26:57.881
12/13/2006 12:30:17.995 Hotfix package closed

Hi,

this is a bug which is filed in the connect portal. In the meantime, shutdown your SQL Server processes in order to avoid the lock on the appropiate files and let the installer run through.

HTH, Jens K. Suessmeyer.

http://www.sqlserver2005.de|||

Hi Jens,

Thanks for the response. When I first attempted installing the pack, my named instance was disabled because I was not using it and I shutdown the default instance's sqlserver process and its agent. Some other process in the sqlserver group may have been running which explains the locked files. On subsequent attempts, I made sure all the processes in the "SQL Server Configuration Manager" were stopped and then attempted installing the patch. I suspect the first failure left things in a dirty state and subsequent attempts are failing because of that.

I'd appreciate any workarounds for this.

Thanks,

-chiraj.