Showing posts with label log. Show all posts
Showing posts with label log. Show all posts

Sunday, March 25, 2012

Cannot recover the master database.

Hi,
In my computer when sql is starting occur the follow
message in log :
- Error: 9003, Severity: 20, State: 1.
- Cannot recover the master database.
What I do? Why this happened?
Thanks,
Daniela"Daniela" <daniela@.perfilcs.com.br> wrote in message
news:257101c41b18$e6f5f3e0$3a01280a@.phx.gbl...
> Hi,
> In my computer when sql is starting occur the follow
> message in log :
> - Error: 9003, Severity: 20, State: 1.
> - Cannot recover the master database.
> What I do? Why this happened?
>
To fix a corrupted master database run rebuildm.exe. This will destroy your
master, msdb and modle databases and replace them with blank ones. Then
restore your master, msdb and model backups.
Erm... You do have a backup of your system databases, don't you?
If not, then after rebuildm.exe you'll have to execute sp_attach_db or
sp_attach_single_file_db to repopulate your sysdatabases table in Master.
Also you will have to recreate your SQLAgent jobs etc if you do not have a
MSDB backup
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.647 / Virus Database: 414 - Release Date: 29/03/2004|||i hope you been backing up your system database regularly. if you don't. you
are in trouble.
you can't restore a corrupt master.mdb thru GUI.
-- to exclusive use the master database (to restore)
/* start the server in exclusive mode
From a command prompt (the dos prompt, get to the c:\mssql7\binn directory
(adjust accordingly for sql2k), enter:
sqlservr.exe -c (standard)
sqlservr -m (exclusive)
restore master db from the last known good backup
stop server and re-start in normal mode
*/
once the master is restored. you can use Enterprise Manger GUI to restore
the last known good copy of msdb.
Steve Lin
MCDBA
"Daniela" <daniela@.perfilcs.com.br> wrote in message
news:257101c41b18$e6f5f3e0$3a01280a@.phx.gbl...
> Hi,
> In my computer when sql is starting occur the follow
> message in log :
> - Error: 9003, Severity: 20, State: 1.
> - Cannot recover the master database.
> What I do? Why this happened?
> Thanks,
> Daniela
>

Thursday, March 22, 2012

Cannot open user database error message AFTER I connect and log in.

Ok so I'm using the Management Studio Express and was able to log in and get into the database server, but I had to click the "options>>" button and change database I wanted to connect to from <<default>> to my database on the server or else I get the "cannot open user database, login failed" error message.

Then I right click my database and it gives me the "Cannot open user database. Login failed" error message, even though I already connected to the database to login during the connect screen.

Also I'm able to interact with the database using SQL QUERIES in the Management Studio, like adding new tables with it, but if I right click the database and click "add table" I get that error.

What gives? I know I have permission since I was able to log on, and modify the database using SQL queries but if use the GUI I can't use it. I can't even right-click select "properties" without getting that error.

The reason I want to use the GUI is because I want to right click and use the backup feature of the database.

My guess is that Management Studio continues to point to the default database(which gives me that message) after I already logged in, so I have no idea how to change the default database that management studio points to, to the one I do have permission to use.

Thanks in advance.

What's the account you used to connect to SQL Database Engine in Management Studio Express? The 'Default Database' in SQL is a property of login, that means each login has a Default Database which will be accessed when connecting to SQL Server. You can check this property in the Security->login Properties. Just make sure your login has access on its default database.

Sunday, March 11, 2012

Cannot log into a SQL Server 2005 database

Hello:
I just installed SQL Server 2005. I was trying to set up the database to
support IBM's RequisitePro.
RequisitePro requires the creation of a database, RequisitePro and 4
scripts to be executed.
After creating the databse, the first step executes the following SQL:
/* Microsoft SQL Server - Scripting */
/* Database: ReqPro */
/* Creation Date 11/2/98 09:50:13 */
/* Version: 4.02i */
/* Notes: Creates ReqPro default Login and User. */
/* This script is optional; if you have established your */
/* own login and user scheme, you need not run this. */
sp_addlogin 'ReqPro', 'reqpro', 'RequisitePro', default
Go
sp_adduser 'ReqPro', 'ReqPro', 'public'
Go
Grant Create Default, Create Procedure, Create Rule, Create Table, Create
View To ReqPro
Go
After executing the script, I tried to log in as ReqPro but got an error
message:
Cannot connect to venkat-wxp2.
Additional information:
Cannot open user default database; login failed.
Login failed for user, 'ReqPro'.
This script works on a SQL Server 2000 without any problem.
Can somebody tell me what I have to change?
Thanks.
VenkiI see one thing different on 2005 as opposed to 2000. On reviewing the user
mapping for the login, ReqPro, I see that it has access only to Master
databse but not the database, RequistePro even though that database has bee
n
designated as its default database.
How can I alter the script so that it is given that access privilege?
Thanks.
venki
"vvenk" wrote:

> Hello:
> I just installed SQL Server 2005. I was trying to set up the database to
> support IBM's RequisitePro.
> RequisitePro requires the creation of a database, RequisitePro and 4
> scripts to be executed.
> After creating the databse, the first step executes the following SQL:
> /* Microsoft SQL Server - Scripting */
> /* Database: ReqPro */
> /* Creation Date 11/2/98 09:50:13 */
> /* Version: 4.02i */
> /* Notes: Creates ReqPro default Login and User. */
> /* This script is optional; if you have established your */
> /* own login and user scheme, you need not run this. */
> sp_addlogin 'ReqPro', 'reqpro', 'RequisitePro', default
> Go
> sp_adduser 'ReqPro', 'ReqPro', 'public'
> Go
> Grant Create Default, Create Procedure, Create Rule, Create Table, Create
> View To ReqPro
> Go
> After executing the script, I tried to log in as ReqPro but got an error
> message:
> Cannot connect to venkat-wxp2.
> Additional information:
> Cannot open user default database; login failed.
> Login failed for user, 'ReqPro'.
> This script works on a SQL Server 2000 without any problem.
> Can somebody tell me what I have to change?
> Thanks.
> Venki|||Change context to your new database and issue an sp_adduser.
Mike
Mentor
Solid Quality Learning
http://www.solidqualitylearning.com
"vvenk" <vvenk@.discussions.microsoft.com> wrote in message
news:3DAEB6C6-C708-4DD9-AD04-82E2CC76FA2B@.microsoft.com...[vbcol=seagreen]
>I see one thing different on 2005 as opposed to 2000. On reviewing the user
> mapping for the login, ReqPro, I see that it has access only to Master
> databse but not the database, RequistePro even though that database has
> been
> designated as its default database.
> How can I alter the script so that it is given that access privilege?
> Thanks.
> venki
> "vvenk" wrote:
>|||Michael:
I am trying to understand the differences between 2000 and 2005.
I did not have to change the context to the new database when I run the
script against 2000. But I see that I have to, when running the script
against 2005.
Is this a change?
"Michael Hotek" wrote:

> Change context to your new database and issue an sp_adduser.
> --
> Mike
> Mentor
> Solid Quality Learning
> http://www.solidqualitylearning.com
>
> "vvenk" <vvenk@.discussions.microsoft.com> wrote in message
> news:3DAEB6C6-C708-4DD9-AD04-82E2CC76FA2B@.microsoft.com...
>
>|||yes
Mike
Mentor
Solid Quality Learning
http://www.solidqualitylearning.com
"vvenk" <vvenk@.discussions.microsoft.com> wrote in message
news:C6FEF0A4-9A7F-41FD-8379-A9A0452960CF@.microsoft.com...[vbcol=seagreen]
> Michael:
> I am trying to understand the differences between 2000 and 2005.
> I did not have to change the context to the new database when I run the
> script against 2000. But I see that I have to, when running the script
> against 2005.
> Is this a change?
> "Michael Hotek" wrote:
>|||Understanding security is going to be the single biggest issue with 2005. I
would very strongly recommend spending several days with the security topics
in BOL and testing many of them to understand what they do. An
administrator can actually lock themselves out of their own database server
with zero possibility of getting back into it. Security isn't hard, it just
has a LOT of components to it.
Mike
Mentor
Solid Quality Learning
http://www.solidqualitylearning.com
"vvenk" <vvenk@.discussions.microsoft.com> wrote in message
news:C6FEF0A4-9A7F-41FD-8379-A9A0452960CF@.microsoft.com...[vbcol=seagreen]
> Michael:
> I am trying to understand the differences between 2000 and 2005.
> I did not have to change the context to the new database when I run the
> script against 2000. But I see that I have to, when running the script
> against 2005.
> Is this a change?
> "Michael Hotek" wrote:
>|||Hi Venki
I think maybe you might have just been 'lucky' in SQL 2000. Your script
creates a login and then in the same database context it creates a user.
What database were you in when the sp_addlogin and sp_adduser were created?
Perhaps the user running the script has a default db of the correct database
in SQL 2000, but not in SQL 2005.
There is NO difference between SQL 2000 and 2005 in this regard. Whatever
database you are in when you run sp_adduser is the database that the new
user will have access to.
So you either have to issue a USE, as Mike suggested, or you have to make
sure that whoever runs this script will start in the right database.
HTH
Kalen Delaney, SQL Server MVP
www.solidqualitylearning.com
"vvenk" <vvenk@.discussions.microsoft.com> wrote in message
news:C6FEF0A4-9A7F-41FD-8379-A9A0452960CF@.microsoft.com...
> Michael:
> I am trying to understand the differences between 2000 and 2005.
> I did not have to change the context to the new database when I run the
> script against 2000. But I see that I have to, when running the script
> against 2005.
> Is this a change?
> "Michael Hotek" wrote:
>
>|||> Is this a change?
No. To add to Mike and Kalen's comments, perhaps the login gained access to
the new database in the SQL 2000 instance via a server role membership like
'sysadmin' but this is not the case in the 2005 instance. Other than that,
I would not expect the login/user to have access to the RequisitePro
database unless the database context was set to the RequisitePro database
before executing the script.
Hope this helps.
Dan Guzman
SQL Server MVP
"vvenk" <vvenk@.discussions.microsoft.com> wrote in message
news:C6FEF0A4-9A7F-41FD-8379-A9A0452960CF@.microsoft.com...[vbcol=seagreen]
> Michael:
> I am trying to understand the differences between 2000 and 2005.
> I did not have to change the context to the new database when I run the
> script against 2000. But I see that I have to, when running the script
> against 2005.
> Is this a change?
> "Michael Hotek" wrote:
>|||Hi Mike
Although security is one of the biggest areas of change in SQL 2005 that
will cause a lot of confusion, it's not clear what specific change you're
referring to here.
Can you elaborate?
Thanks
Kalen Delaney, SQL Server MVP
www.solidqualitylearning.com
"Michael Hotek" <mike@.solidqualitylearning.com> wrote in message
news:e35OwGJEGHA.3052@.TK2MSFTNGP10.phx.gbl...
> yes
> --
> Mike
> Mentor
> Solid Quality Learning
> http://www.solidqualitylearning.com
>
> "vvenk" <vvenk@.discussions.microsoft.com> wrote in message
> news:C6FEF0A4-9A7F-41FD-8379-A9A0452960CF@.microsoft.com...
>
>

Cannot log conflict data

Hi,
I'm having problme when performing the Merge replication and the error as
belows:
1) The process could not log conflict information
follow by
2) Too many arguments were supplied for procedure sp_cft_xxxxxxx
Pls help, it is urgent!!!
Thanks.
Ringo
Message posted via http://www.sqlmonster.com
does this help?
http://support.microsoft.com/default...;en-us;Q241658
Hilary Cotter
Looking for a SQL Server replication book?
<http://www.nwsu.com/0974973602.html>
Looking for a FAQ on Indexing Services/SQL FTS
<http://www.indexserverfaq.com>
|||Hi,
This doesn't really help. Maybe I should address more on my problem. The
problem happened when there;s conflict during replication and try to record
info into the conflict table through sp_cft_xxxxx stored procedure. The
error shows that the parameters passing to the sp_cft_xxxxx SP is more (one
extra parameter which I think is "0x00" as the last parameter).
The above replication is between the SQL CE (PDA) and MS SQL 2000 server
where I'm using the "Synchronize()" method.
BTW, thanks for your help
Message posted via http://www.sqlmonster.com
|||where are you calling this proc? Its on the publisher correct?
--
Hilary Cotter
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html
Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com
"ringo law via SQLMonster.com" <forum@.SQLMonster.com> wrote in message
news:daf883cd95a9432fba48b2a26852239f@.SQLMonster.c om...
> Hi,
> This doesn't really help. Maybe I should address more on my problem. The
> problem happened when there;s conflict during replication and try to
> record
> info into the conflict table through sp_cft_xxxxx stored procedure. The
> error shows that the parameters passing to the sp_cft_xxxxx SP is more
> (one
> extra parameter which I think is "0x00" as the last parameter).
> The above replication is between the SQL CE (PDA) and MS SQL 2000 server
> where I'm using the "Synchronize()" method.
> BTW, thanks for your help
> --
> Message posted via http://www.sqlmonster.com
|||Hi,
No, I didn't call the stored proc. It's a system stored proc to log
conflict info in publisher table (conflict_tablename) when there's conflict
occurred.
If I try this Merge Replication between SQL Server (2000 to 2000), it can
work and the conflict record is created. But, if between SQL CE and 2000,
then this problem happened.
Thanks.
Ringo
Message posted via http://www.sqlmonster.com

Thursday, March 8, 2012

Cannot install SSIS or Notification services

I'm trying to reinstall SQL Server 2005 STD but I cannot get Setup to install Integration Services or Notification Services. I looked in the log and this is what I found. Needless to say, it makes no sense to me. It seems that Setup is trying to find a missing source list for a certain product. I have no clue what that product is. I've spent endless hours trying to figure it out and I'm still drawing a blank. This is a printout of the log.

Integration services -
-
MSI (s) (F0:B0) [02:33:01:437]: Machine policy value 'DisableUserInstalls' is 0
MSI (s) (F0:B0) [02:33:02:188]: End dialog not enabled
MSI (s) (F0:B0) [02:33:02:188]: Original package ==> G:\Servers\Setup\SqlRun_DTS.msi
MSI (s) (F0:B0) [02:33:02:188]: Package we're running from ==> C:\WINDOWS\Installer\188966.msi
MSI (s) (F0:B0) [02:33:02:339]: APPCOMPAT: looking for appcompat database entry with ProductCode '{EE8CFFD9-6E29-4DC3-A967-7348D5F41F44}'.
MSI (s) (F0:B0) [02:33:02:339]: APPCOMPAT: no matching ProductCode found in database.
MSI (s) (F0:B0) [02:33:02:339]: MSCOREE already loaded, using loaded copy
MSI (s) (F0:B0) [02:33:02:379]: Couldn't find local patch ''. Looking for it at its source.
MSI (s) (F0:B0) [02:33:02:379]: Resolving Patch source.
MSI (s) (F0:B0) [02:33:02:379]: User policy value 'SearchOrder' is 'nmu'
MSI (s) (F0:B0) [02:33:02:379]: User policy value 'DisableMedia' is 0
MSI (s) (F0:B0) [02:33:02:379]: Machine policy value 'AllowLockdownMedia' is 0
MSI (s) (F0:B0) [02:33:02:379]: SOURCEMGMT: Media enabled only if package is safe.
MSI (s) (F0:B0) [02:33:02:379]: SOURCEMGMT: Looking for sourcelist for product {8B7E2749-624E-4C61-92FC-2BC18307FF24}
MSI (s) (F0:B0) [02:33:02:379]: Note: 1: 1706 2: {8B7E2749-624E-4C61-92FC-2BC18307FF24} 3:
MSI (s) (F0:B0) [02:33:02:379]: SOURCEMGMT: Failed to resolve source
MSI (s) (F0:B0) [02:33:02:399]: Note: 1: 1708
MSI (s) (F0:B0) [02:33:02:399]: Note: 1: 2729
MSI (s) (F0:B0) [02:33:02:409]: Note: 1: 2729
MSI (s) (F0:B0) [02:33:02:409]: Product: Microsoft SQL Server 2005 Integration Services -- Installation failed.

MSI (s) (F0:B0) [02:33:02:439]: MainEngineThread is returning 1612
The installation source for this product is not available. Verify that the source exists and that you can access it.
G:\Servers\Setup\SqlRun_DTS.msi
MSI (c) (B8:88) [02:33:02:439]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1
MSI (c) (B8:88) [02:33:02:439]: MainEngineThread is returning 1612
=== Verbose logging stopped: 5/19/2006 2:33:02 ===

--
Notification services -
--
MSI (s) (F0:30) [02:33:07:566]: Machine policy value 'DisableUserInstalls' is 0
MSI (s) (F0:30) [02:33:08:087]: End dialog not enabled
MSI (s) (F0:30) [02:33:08:087]: Original package ==> G:\Servers\Setup\SqlRun_NS.msi
MSI (s) (F0:30) [02:33:08:087]: Package we're running from ==> C:\WINDOWS\Installer\18898f.msi
MSI (s) (F0:30) [02:33:08:167]: APPCOMPAT: looking for appcompat database entry with ProductCode '{37E9AD9F-3217-4229-B5A5-7A0C82364C6C}'.
MSI (s) (F0:30) [02:33:08:167]: APPCOMPAT: no matching ProductCode found in database.
MSI (s) (F0:30) [02:33:08:167]: MSCOREE already loaded, using loaded copy
MSI (s) (F0:30) [02:33:08:187]: Couldn't find local patch ''. Looking for it at its source.
MSI (s) (F0:30) [02:33:08:187]: Resolving Patch source.
MSI (s) (F0:30) [02:33:08:187]: User policy value 'SearchOrder' is 'nmu'
MSI (s) (F0:30) [02:33:08:187]: User policy value 'DisableMedia' is 0
MSI (s) (F0:30) [02:33:08:187]: Machine policy value 'AllowLockdownMedia' is 0
MSI (s) (F0:30) [02:33:08:187]: SOURCEMGMT: Media enabled only if package is safe.
MSI (s) (F0:30) [02:33:08:187]: SOURCEMGMT: Looking for sourcelist for product {65A498A6-83B9-4B91-99EA-1BA88D73F0AA}
MSI (s) (F0:30) [02:33:08:187]: Note: 1: 1706 2: {65A498A6-83B9-4B91-99EA-1BA88D73F0AA} 3:
MSI (s) (F0:30) [02:33:08:187]: SOURCEMGMT: Failed to resolve source
MSI (s) (F0:30) [02:33:08:187]: Note: 1: 1708
MSI (s) (F0:30) [02:33:08:187]: Note: 1: 2729
MSI (s) (F0:30) [02:33:08:187]: Note: 1: 2729
MSI (s) (F0:30) [02:33:08:187]: Product: Microsoft SQL Server 2005 Notification Services -- Installation failed.

MSI (s) (F0:30) [02:33:08:197]: MainEngineThread is returning 1612
The installation source for this product is not available. Verify that the source exists and that you can access it.
G:\Servers\Setup\SqlRun_NS.msi
MSI (c) (B8:DC) [02:33:08:207]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1
MSI (c) (B8:DC) [02:33:08:207]: MainEngineThread is returning 1612

During your first install, the MSIs were cached to the specified location (G:\servers\setup\...). Apparently those files were subsequently deleted or perhaps the drive is no longer accessible. Are you reinstalling from the original media or are you using add/remove programs?|||

Paul, I noticed these lines in the error log.

Integration services -
-
MSI (s) (F0:B0) [02:33:02:188]: Original package ==> G:\Servers\Setup\SqlRun_DTS.msi
MSI (s) (F0:B0) [02:33:02:188]: Package we're running from ==> C:\WINDOWS\Installer\188966.msi
--
Notification services -
--
MSI (s) (F0:30) [02:33:08:087]: Original package ==> G:\Servers\Setup\SqlRun_NS.msi
MSI (s) (F0:30) [02:33:08:087]: Package we're running from ==> C:\WINDOWS\Installer\18898f.msi

However, I can't find the C:\WINDOWS\Installer folder on my computer. Is this significant?

|||

The c:\windows\installer folder is ordinarily hidden. To see it, go to Windows Explorer tools\folder options and under the view tab turn on both "Display the contents of system folders" and "Show hidden files and folders". Once you've done that, the folder and its contents should be visible.

Paul

Wednesday, March 7, 2012

Cannot install SQLExpress after uninstalling June CTP

I try to install SQL Server Express after uninstalling its beta and get the following error in the log file. Can anyone help me? Thanks.

Microsoft SQL Server 2005 Setup beginning at Thu Dec 15 20:28:39 2005
Process ID : 110612
c:\e7b4645908c60721e3107fa330d0184a\setup.exe Version: 2005.90.1399.0
Running: LoadResourcesAction at: 2005/11/15 20:28:38
Complete: LoadResourcesAction at: 2005/11/15 20:28:38, returned true
Running: ParseBootstrapOptionsAction at: 2005/11/15 20:28:38
Loaded DLL:c:\e7b4645908c60721e3107fa330d0184a\xmlrw.dll Version:2.0.3604.0
Complete: ParseBootstrapOptionsAction at: 2005/11/15 20:28:39, returned true
Running: ValidateWinNTAction at: 2005/11/15 20:28:39
Complete: ValidateWinNTAction at: 2005/11/15 20:28:39, returned true
Running: ValidateMinOSAction at: 2005/11/15 20:28:39
Complete: ValidateMinOSAction at: 2005/11/15 20:28:39, returned true
Running: PerformSCCAction at: 2005/11/15 20:28:39
Complete: PerformSCCAction at: 2005/11/15 20:28:39, returned true
Running: ActivateLoggingAction at: 2005/11/15 20:28:39
Complete: ActivateLoggingAction at: 2005/11/15 20:28:39, returned true
Delay load of action "DetectPatchedBootstrapAction" returned nothing. No action will occur as a result.
Action "LaunchPatchedBootstrapAction" will be skipped due to the following restrictions:
Condition "EventCondition: __STP_LaunchPatchedBootstrap__110612" returned false.
Running: PerformSCCAction2 at: 2005/11/15 20:28:39
Loaded DLL:C:\WINDOWS\system32\msi.dll Version:3.1.4000.2435
Product "{2AFFFDD7-ED85-4A90-8C52-5DA9EBDC9B8F}" versioned 9.00.1116 is not compatible with current builds of SQL Server.Expected at least version: 9.00.1399.06
The Product Name is "Microsoft SQL Server 2005 Express Edition CTP"
Loaded DLL:C:\WINDOWS\system32\msi.dll Version:3.1.4000.2435
Error: Action "PerformSCCAction2" threw an exception during execution.
Return Code: 70032
Message displayed to user
SQL Server 2005 Setup has detected incompatible components from beta versions of Visual Studio, .NET Framework, or SQL Server 2005. Use Add or Remove Programs to remove these components, and then run SQL Server 2005 Setup again. For detailed instructions on uninstalling SQL Server 2005, see the SQL Server 2005 Readme.

Class not registered.
Delay load of action "UploadDrWatsonLogAction" returned nothing. No action will occur as a result.
Message pump returning: 70032

Here's the problem:

Product "{2AFFFDD7-ED85-4A90-8C52-5DA9EBDC9B8F}" versioned 9.00.1116 is not compatible with current builds of SQL Server.Expected at least version: 9.00.1399.06

You can uninstall this from the command line using the following command:

msiexec /x {2AFFFDD7-ED85-4A90-8C52-5DA9EBDC9B8F}

jeff.

|||

I get the following error when I execute the command msiexec /x {2AFFFDD7-ED85-4A90-8C52-5DA9EBDC9B8F}

Thanks,

Event Type: Error
Event Source: MsiInstaller
Event Category: None
Event ID: 10005
Date: 12/15/2005
Time: 11:59:17 PM
User: TWSERVER3\Administrator
Computer: TWSERVER3
Description:
Product: Microsoft SQL Server 2005 Express Edition CTP -- Error 29628. The setup has encountered an unexpected error in datastore. The action is RestoreSetupParams. The error is :Failed to read property "InstallIds" {"MachineConfiguration", "", "TWSERVER3"} from cache
Unable to write property into cache: IsClustered
Unable to write property into cache: "IsClustered"
XmlRW Error: Failure loading xmlrw.dll
CheckAllProcedures() returned: 2


|||Different server, same error message though on trying to uninstall.|||Yep, me too. Exactly the same problem as you guys. How do we get rid of the wretched thing?|||

I am not sure if the following will work in your case, but that work in my case finally:

1. Delete all directories related to the previous version of SQL Server.

2. Search and deleted all keys(or parent key) of 2AFFFDD7-ED85-4A90-8C52-5DA9EBDC9B8F(in my case).

After that, I successfully install SQL Server Express.

|||

That seems to have worked for me too.

Many thanks for your help.

Cannot install SQL Srv 2005 Service Pack 2 (KB 921896) / uninstall SQL Srv 2005

I tried to uninstall SQL Server 2005 and it was failed.

I tried to install SP2 for SQL Server 2005, and it was failed too!

Here are the log file SUMMARY.TXT (is it enough?).

Can anyone tell me what the problem is?

Time: 05/17/2007 16:51:41.483
KB Number: KB921896
Machine: XXXXXX
OS Version: Microsoft Windows Server 2003 family, Enterprise Edition Service Pack 1 (Build 3790)
Package Language: 1033 (ENU)
Package Platform: x86
Package SP Level: 2
Package Version: 3042
Command-line parameters specified:
/quiet
/allinstances
Cluster Installation: No

**********************************************************************************
Prerequisites Check & Status
SQLSupport: Passed

**********************************************************************************
Products Detected Language Level Patch Level Platform Edition
Express Database Services (SQLEXPRESS) ENU RTM 2005.090.1399.00 x86 EXPRESS

**********************************************************************************
Products Disqualified & Reason
Product Reason

**********************************************************************************
Processes Locking Files
Process Name Feature Type User Name PID

**********************************************************************************
Product Installation Status
Product : Express Database Services (SQLEXPRESS)
Product Version (Previous): 1399
Product Version (Final) :
Status : Failure
Log File : D:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Hotfix\SQL9Express_Hotfix_KB921896_SQLEXPR.EXE
SQL Express Features : SQL_Data_Files,SQL_Engine,SQL_Replication,SQL_SharedTools
Error Number : 1332
Error Description : *** Shared String ID 1332 Not Found ***
-

**********************************************************************************
Summary
One or more products failed to install, see above for details
Exit Code Returned: 1332

From the log, it looks like you have two instances of SQL 2005 on your machine, one instance of Standard Edition (instance name of MSSQLSERVER) and one instance of Express (instance name of SQLEXPRESS). The SP2 installer will only apply to your Standard edition and not to the Express edition. Try to run the SP2 installer and only select the Standard edition components. To upgrade your Express edition, use this package:

http://www.microsoft.com/downloads/details.aspx?familyid=31711d5d-725c-4afa-9d65-e4465cdff1e7&displaylang=en

Thanks,
Sam Lester (MSFT)

Saturday, February 25, 2012

Cannot install SP1 x86 - Windows XP Professional

Hi, I am trying to install SP1 on a Windows XP Professional - Version 2002 SP2.

but i got an Error, this is the error log :

(File : Redist9_Hotfix_KB913090.log )

-

05/18/2006 16:59:31.835 ================================================================================
05/18/2006 16:59:31.866 Hotfix package launched
05/18/2006 17:01:07.616 Attempting to install instance: SQL Server Native Client
05/18/2006 17:01:07.631 Attempting to install target: GDSA3367
05/18/2006 17:01:07.678 Attempting to install file: sqlncli.msi
05/18/2006 17:01:07.881 Attempting to install file: \\GDSA3367\c$\33b3e8d8202a1514eb8d3dbc\HotFixSqlncli\Files\sqlncli.msi
05/18/2006 17:01:07.928 Creating MSI install log file at: C:\WINDOWS\Hotfix\Redist9\Logs\Redist9_Hotfix_KB913090_sqlncli.msi.log
05/18/2006 17:01:07.959 Successfully opened registry key: Software\Policies\Microsoft\Windows\Installer
05/18/2006 17:01:07.991 Failed to read registry key: Debug
05/18/2006 17:01:11.381 MSP returned 0: The action completed successfully.
05/18/2006 17:01:11.444 Successfully opened registry key: Software\Policies\Microsoft\Windows\Installer
05/18/2006 17:01:11.475 Failed to read registry key: Debug
05/18/2006 17:01:11.491 Successfully installed file: \\GDSA3367\c$\33b3e8d8202a1514eb8d3dbc\HotFixSqlncli\Files\sqlncli.msi
05/18/2006 17:01:11.522 Successfully installed target: GDSA3367
05/18/2006 17:01:11.553 Successfully installed instance: SQL Server Native Client
05/18/2006 17:01:11.584
05/18/2006 17:01:11.600 Product Status Summary:
05/18/2006 17:01:11.631 Product: SQL Server Native Client
05/18/2006 17:01:11.662 SQL Server Native Client (RTM ) - Success
05/18/2006 17:01:11.694
05/18/2006 17:01:11.709 Product: Setup Support Files
05/18/2006 17:01:11.741 Setup Support Files (RTM ) - Not Applied
05/18/2006 17:01:11.756
05/18/2006 17:01:11.834 Product: Database Services
05/18/2006 17:01:11.928 Database Services (RTM 1399 ENU) - Not Applied
05/18/2006 17:01:11.975
05/18/2006 17:01:11.991 Product: Client Components
05/18/2006 17:01:12.022 Client Components (SP1 2047 ENU) - Not Applied
05/18/2006 17:01:12.053
05/18/2006 17:01:12.069 Product: MSXML 6.0 Parser
05/18/2006 17:01:12.116 MSXML 6.0 Parser (RTM ) - Not Applied
05/18/2006 17:01:12.147
05/18/2006 17:01:12.162 Product: SQLXML4
05/18/2006 17:01:12.194 SQLXML4 (RTM ) - Not Applied
05/18/2006 17:01:12.225
05/18/2006 17:01:12.272 Product: Backward Compatibility
05/18/2006 17:01:12.303 Backward Compatibility (RTM ) - Not Applied
05/18/2006 17:01:12.381
05/18/2006 17:01:12.412 Product: Microsoft SQL Server VSS Writer
05/18/2006 17:01:12.428 Microsoft SQL Server VSS Writer (RTM ) - Not Applied
05/18/2006 17:01:12.459
-<EOF>

...and this is the Error Report sends this info:

EventType : sqlsesetup P1 : sql9 P2 : 9 P3 : x86 P4 : null
P5 : null P6 : kb913090
P7 : _depot_sqlvault_setupmain_setup_sqlse_sqlsedll_copyengine.cpp - 856
P8 : null

Files:
C:\WINDOWS\Hotfix\HotFix.log
C:\WINDOWS\Hotfix\Redist9\Logs\Redist9_Hotfix_KB913090.log
C:\WINDOWS\Hotfix\SQL9\Logs\SQL9_Hotfix_KB913090.log
C:\WINDOWS\Hotfix\OLAP9\Logs\OLAP9_Hotfix_KB913090.log
C:\WINDOWS\Hotfix\NS9\Logs\NS9_Hotfix_KB913090.log
C:\WINDOWS\Hotfix\RS9\Logs\RS9_Hotfix_KB913090.log
C:\WINDOWS\Hotfix\DTS9\Logs\DTS9_Hotfix_KB913090.log
C:\WINDOWS\Hotfix\SQLTools9\Logs\SQLTools9_Hotfix_KB913090.log
C:\WINDOWS\Hotfix\Redist9\Logs\Redist9_Hotfix_KB913090_sqlncli.msi.log
C:\WINDOWS\Hotfix\Redist9\Logs\Redist9_Hotfix_KB913090_SqlSupport.msp.log
C:\WINDOWS\Hotfix\SQL9\Logs\SQL9_Hotfix_KB913090_sqlrun_sql.msp.log
C:\WINDOWS\Hotfix\SQL9\Logs\SQL9_Hotfix_KB913090_sqlrun_sql.msp.out

-

My Version of SQL is - Microsoft SQL Server 2005 - 9.00.1399.06 (Intel X86) Oct 14 2005 00:33:37 Copyright (c) 1988-2005 Microsoft Corporation Developer Edition on Windows NT 5.1 (Build 2600: Service Pack 2) .

Thanks.

Cristian Bianchi

I don't see anything interesting there. Can you look in the log files here:

%Program Files%\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files

|||

Paul:

In the folder " %Program Files%\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files" there in not files dated when i made the instalation of the SP1. But i found in the log C:\WINDOWS\Hotfix\SQL9\Logs\SQL9_Hotfix_KB913090_sqlrun_sql.msp.log , the next line :

MSI (s) (FC:F0) [17:21:26:030]: Product: Microsoft SQL Server 2005 - Update 'Service Pack 1 for SQL Server Database Services 2005 ENU (KB913090)' could not be installed. Error code 1603. Additional information is available in the log file C:\WINDOWS\Hotfix\SQL9\Logs\SQL9_Hotfix_KB913090_sqlrun_sql.msp.log.

Thanks in advance.

Crsitan F. Bianchi

|||1603 is just "Fatal error during installation." The lines above that in the log should reveal something about the cause of the error.

Thursday, February 16, 2012

Cannot get MSDE to install.

Hello,
I am having a huge problem trying to get MSDE to install. The problem
reported in the error log is:
Starting custom action InstallSQLAgentSecurity
InstallSQLAgentSecurity failed (TheComputerName,LocalSystem,87).
Action ended 10:44:27: InstallFinalize. Return value 3.
I have done plenty of searches regarding this problem. Many of them
refer me to Microsoft Knowledge Base article 829386. The article
stated to insure that the server service was running. I checked this
and it was. I restarted it just in case, but that didn't help.
The article also talked about a hotfix, which I obtained from
Microsoft. The article said to apply this hotfix in the following way:
Extract all the files from the hotfix installer, and then locate the
Semnt.dll file.
Create the following two folders on the destination computer (where
InstallPath is the location where you want to install MSDE 2000
[typically C:\Program Files\Microsoft SQL Server] and Instance_Name is
the name of the instance that you want to use):
<InstallPath>\<Instance_Name>\Binn
<InstallPath>\80\Tools\Binn
Copy the Semnt.dll file to both of the folders that you created in
step 2.
Run MSDE 2000 Setup.
I have done this, but the installation still fails with the same
error.
I am attempting to install from the command prompt in the following
way:
setup SAPWD="Thepassword" INSTANCENAME="Sharepoint" /l*v
C:\install.log
I have the semnt.dll file in the following directories
C:\Program Files\Microsoft SQL Server\80\Tools\Binn
C:\Program Files\Microsoft SQL Server\Sharepoint\Binn
Installation fails and rolls back on this everytime.
Does anyone know where I am going wrong?
Any help would be greatly appreciated.
Newsgroups: microsoft.public.sqlserver.msde
From: girishs@.microsoft.com (Girish Sundaram)
Organization: Microsoft
Date: Fri, 24 Sep 2004 20:27:41 GMT
Subject: RE: Cannot get MSDE to install.
X-Tomcat-NG: microsoft.public.sqlserver.msde
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Try out the following steps
1) Remove terminal services from the control panel if it is enabled
Reboot the machine before trying to install msde once again.
Before doing the reinstall remove msde manually from teh machine using the
following steps:
<MANUALLY REMOVE MSDE>
A)Remove the following registry:
1) Remove the following ID_Number from your MSDE 2.0 instance
HKEY_CLASSES_ROOT\Installer\Products\ID_Number
-- It has key value name 'ProductName' which displays the instance name.
For example, "ProductName" = Microsoft SQL Server Desktop Engine
(MYINSTANCE)
2)If you had patch applied on this MSDE 2.0 instance, you need to remove
ID_Number
for that MSDE 2.0 instance:
HKEY_CLASSES_ROOT\Installer\Patches\ID_Number
3) For MSDE 2.0 Default instance, remove
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer
For MSDE 2.0 named instance, remove
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL
Server\Your_instance_name
4)If you have the following key points to MSDE 2.0 productGUID, then remove
the
InstanceComponentSet.x
For example, HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL
Server\Component
SetInstanceComponentSet.x
-- For example, InstanceComponentSet.1 the has value matching the
productGUID of
sqlrun01.msi.
-- Refers to SOX020218700073
5)Remove :
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\Uninstall\Produ
ctGUID
-- the Product GUID which refers to your MSDE 2.0 instance.
6)Remove the Sql server service key:
For MSDE 2.0 default instance, remove
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\MSSQLServer
For MSDE 2.0 named instance, remove
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\MSSQL$Your_Instance_Nam
e
7)Remove the Sql server agent service key:
For MSDE 2.0 default instance, remove
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\SQLServerAgent
For MSDE 2.0 named instance, remove
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\SQLAgent$Your_Instance_
Name
B)Remove the MSDE 2.0 instance data and program install directory:
For example, G:\Program Files\Microsoft SQL
Server\MSSQL$Your_instanceName\data
For example, G:\Program Files\Microsoft SQL
Server\MSSQL$Your_instanceName\binn
...
</MANUALLY REMOVE MSDE>
You can also try to out the following command to prevent rollback of the
installation.
setup SAPWD="AStrongSAPassword" /L*v C:/MSDELog.log
INSTANCENAME="InstanceName" DISABLENETWORKPROTOCOLS=0 disablerollback=1
Look into the cnfgsvr.out file for details about why the setup is failing
at the configuration stage. Send me the cnfgsvr.out and the msdelog.log
file for analysis at girishs@.microsoft.com for further analysis.
This posting is provided "AS IS" with no warranties, and confers no rights.
Please send me your feedback at girishs@.microsoft.com
-------

Cannot Get exclusive access to Database

Hi
My database is warm standby state (loading). Prior to this I truncated the
log file. I need to restore the log file but I cannot get exclusive access.
I tried RESTORE DATABASE abcd WITH RECOVERY and I get error 3101 (cant get
exclusive access) followed by error 3013.
Please assist.
Mmany thanks for your time and efforts
JMRun sp_who to see who is connected. Use KILL to throw out the users. Make su
re you are in the master
database when you execute the RESTORE command.
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
Blog: http://solidqualitylearning.com/blogs/tibor/
"JM" <JM@.nowhere.com> wrote in message news:11l7sokg3i94ra9@.corp.supernews.com...reen">
> Hi
> My database is warm standby state (loading). Prior to this I truncated the
log file. I need to
> restore the log file but I cannot get exclusive access.
> I tried RESTORE DATABASE abcd WITH RECOVERY and I get error 3101 (cant get
exclusive access)
> followed by error 3013.
> Please assist.
> Mmany thanks for your time and efforts
> JM
>

Cannot Get exclusive access to Database

Hi
My database is warm standby state (loading). Prior to this I truncated the
log file. I need to restore the log file but I cannot get exclusive access.
I tried RESTORE DATABASE abcd WITH RECOVERY and I get error 3101 (cant get
exclusive access) followed by error 3013.
Please assist.
Mmany thanks for your time and efforts
JMRun sp_who to see who is connected. Use KILL to throw out the users. Make sure you are in the master
database when you execute the RESTORE command.
--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
Blog: http://solidqualitylearning.com/blogs/tibor/
"JM" <JM@.nowhere.com> wrote in message news:11l7sokg3i94ra9@.corp.supernews.com...
> Hi
> My database is warm standby state (loading). Prior to this I truncated the log file. I need to
> restore the log file but I cannot get exclusive access.
> I tried RESTORE DATABASE abcd WITH RECOVERY and I get error 3101 (cant get exclusive access)
> followed by error 3013.
> Please assist.
> Mmany thanks for your time and efforts
> JM
>

Cannot Get exclusive access to Database

Hi
My database is warm standby state (loading). Prior to this I truncated the
log file. I need to restore the log file but I cannot get exclusive access.
I tried RESTORE DATABASE abcd WITH RECOVERY and I get error 3101 (cant get
exclusive access) followed by error 3013.
Please assist.
Mmany thanks for your time and efforts
JM
Run sp_who to see who is connected. Use KILL to throw out the users. Make sure you are in the master
database when you execute the RESTORE command.
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
Blog: http://solidqualitylearning.com/blogs/tibor/
"JM" <JM@.nowhere.com> wrote in message news:11l7sokg3i94ra9@.corp.supernews.com...
> Hi
> My database is warm standby state (loading). Prior to this I truncated the log file. I need to
> restore the log file but I cannot get exclusive access.
> I tried RESTORE DATABASE abcd WITH RECOVERY and I get error 3101 (cant get exclusive access)
> followed by error 3013.
> Please assist.
> Mmany thanks for your time and efforts
> JM
>

Cannot get AD groups to work in SQL 2k5

I'm trying to get Active Directory groups to work in SQL Server 2k5 so my
users can log in with windows authentication. So I've set up the group in
AD, added the domain users to it, added the group to MS SQL security users,
and assigned a default database to the group. For some odd reason my users
are not able to log in though; I can quickly check this by trying to set up
a
ODBC connection System DSN.
The odd part about this is that if I add a domain user to MS SQL, they have
no problem logging into the database. Understandably I want to avoid adding
each and every user to my database, therefore the use of AD groups that is i
f
they would work.I would expect users to be able to connect via group membership. Do you see
the group members listed when you execute xp_logininfo? Does the group show
as the permission path for a specific user?
EXEC xp_logininfo
@.acctname = 'MyDomain\MyGroup',
@.option = 'members'
EXEC xp_logininfo
@.acctname = 'MyDomain\MyGroupMember'
Hope this helps.
Dan Guzman
SQL Server MVP
"Chandler Chao" <ChandlerChao@.discussions.microsoft.com> wrote in message
news:A2720F69-543C-4DF4-8079-56ACA8776D51@.microsoft.com...
> I'm trying to get Active Directory groups to work in SQL Server 2k5 so my
> users can log in with windows authentication. So I've set up the group in
> AD, added the domain users to it, added the group to MS SQL security
> users,
> and assigned a default database to the group. For some odd reason my
> users
> are not able to log in though; I can quickly check this by trying to set
> up a
> ODBC connection System DSN.
> The odd part about this is that if I add a domain user to MS SQL, they
> have
> no problem logging into the database. Understandably I want to avoid
> adding
> each and every user to my database, therefore the use of AD groups that is
> if
> they would work.|||I was just able to get this working with a some help from this NG.
My SQL Server is configured for Mixed authentication.
I set up my AD groups and added users.
I added logins for each AD group in SQL Server.
I added database users for each AD group and assigned permissions to
objects.
Hope this helps..
Michael
"Chandler Chao" <ChandlerChao@.discussions.microsoft.com> wrote in message
news:A2720F69-543C-4DF4-8079-56ACA8776D51@.microsoft.com...
> I'm trying to get Active Directory groups to work in SQL Server 2k5 so my
> users can log in with windows authentication. So I've set up the group in
> AD, added the domain users to it, added the group to MS SQL security
> users,
> and assigned a default database to the group. For some odd reason my
> users
> are not able to log in though; I can quickly check this by trying to set
> up a
> ODBC connection System DSN.
> The odd part about this is that if I add a domain user to MS SQL, they
> have
> no problem logging into the database. Understandably I want to avoid
> adding
> each and every user to my database, therefore the use of AD groups that is
> if
> they would work.

Friday, February 10, 2012

cannot find info on 'event id 17052' in Microsoft Knowledge base

I have a repeatitive error of event id 17052 in my App log. It fills up the
log in about 4 hours. The description is error 99001, severity 10, state 1.
Can someone help me with this. I can't find anything in the Knowledge Base
or anywhere else. Thank you.
Event ID 17052 is a generic event recorded for various
issues. Error numbers over 50000 are user defined messages.
On the server where you are seeing this, you can create the
same entry in the app log yourself by executing the
following in Query analyzer:
raiserror(99001, 10, 1)
So you probably have a stored procedure or an application
raising this error.
-Sue
On Fri, 11 Mar 2005 16:11:03 -0800, Jeff Delk <Jeff
Delk@.discussions.microsoft.com> wrote:

>I have a repeatitive error of event id 17052 in my App log. It fills up the
>log in about 4 hours. The description is error 99001, severity 10, state 1.
>Can someone help me with this. I can't find anything in the Knowledge Base
>or anywhere else. Thank you.

cannot find info on 'event id 17052' in Microsoft Knowledge base

I have a repeatitive error of event id 17052 in my App log. It fills up the
log in about 4 hours. The description is error 99001, severity 10, state 1.
Can someone help me with this. I can't find anything in the Knowledge Base
or anywhere else. Thank you.Event ID 17052 is a generic event recorded for various
issues. Error numbers over 50000 are user defined messages.
On the server where you are seeing this, you can create the
same entry in the app log yourself by executing the
following in Query analyzer:
raiserror(99001, 10, 1)
So you probably have a stored procedure or an application
raising this error.
-Sue
On Fri, 11 Mar 2005 16:11:03 -0800, Jeff Delk <Jeff
Delk@.discussions.microsoft.com> wrote:

>I have a repeatitive error of event id 17052 in my App log. It fills up th
e
>log in about 4 hours. The description is error 99001, severity 10, state 1
.
>Can someone help me with this. I can't find anything in the Knowledge Base
>or anywhere else. Thank you.

cannot find info on 'event id 17052' in Microsoft Knowledge base

I have a repeatitive error of event id 17052 in my App log. It fills up the
log in about 4 hours. The description is error 99001, severity 10, state 1.
Can someone help me with this. I can't find anything in the Knowledge Base
or anywhere else. Thank you.Event ID 17052 is a generic event recorded for various
issues. Error numbers over 50000 are user defined messages.
On the server where you are seeing this, you can create the
same entry in the app log yourself by executing the
following in Query analyzer:
raiserror(99001, 10, 1)
So you probably have a stored procedure or an application
raising this error.
-Sue
On Fri, 11 Mar 2005 16:11:03 -0800, Jeff Delk <Jeff
Delk@.discussions.microsoft.com> wrote:
>I have a repeatitive error of event id 17052 in my App log. It fills up the
>log in about 4 hours. The description is error 99001, severity 10, state 1.
>Can someone help me with this. I can't find anything in the Knowledge Base
>or anywhere else. Thank you.