- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- Server Management - Systems Insight Manager
- >
- problem connecting to msde db for backup
Server Management - Systems Insight Manager
1753296
Members
6807
Online
108792
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-28-2006 09:57 AM
тАО11-28-2006 09:57 AM
problem connecting to msde db for backup
I'm not sure if this should go in the scripts forum or not. I am trying to backup the msde database. I'm using the sample that is in the backup/restore manual (http://h20000.www2.hp.com/bc/docs/support/SupportManual/c00740865/c00740865.pdf)
I created the script, but when I run:
OSQL -S SIMServername -U !mdpz -i mybackup.sql -n
all I get is: Login failed for user '!mdpz'. Reason: Not associated with a trusted SQL Server Connection.
Now, I installed the MSDE and SIM using that ID so I know its the one. When I check ODBC, there is a SQL Server DSN named "Insight_v50_0" that uses !mdpz as its connection and it successfully connects..
So I don't know what I am doing wrong. Can anyone point me to where I could learn more about all of this?
I created the script, but when I run:
OSQL -S SIMServername -U !mdpz -i mybackup.sql -n
all I get is: Login failed for user '!mdpz'. Reason: Not associated with a trusted SQL Server Connection.
Now, I installed the MSDE and SIM using that ID so I know its the one. When I check ODBC, there is a SQL Server DSN named "Insight_v50_0" that uses !mdpz as its connection and it successfully connects..
So I don't know what I am doing wrong. Can anyone point me to where I could learn more about all of this?
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-28-2006 10:56 AM
тАО11-28-2006 10:56 AM
Re: problem connecting to msde db for backup
More info.. the problem seems to be something in the way I log in, I tried using the sqlmaint program and got the same problem but if I defaulted the login, it worked..
C:\Program Files\Microsoft SQL Server\MSSQL\Binn>sqlmaint -S SIMServer -U domain\!mdpz -D Insight_v50_0_9947637 -CkDB
Microsoft (R) SQLMaint Utility (Unicode), Version 8.00.760 Copyright (C) Microsoft Corporation, 1995 - 1998
[Microsoft SQL-DMO (ODBC SQLState: 28000)] Error 18452: [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'domain\!mdpz'. Reason: Not associated with a trusted SQL Server connection.
C:\Program Files\Microsoft SQL Server\MSSQL\Binn>sqlmaint -D Insight_v50_0_9947637 -CkDB
Microsoft (R) SQLMaint Utility (Unicode), Version 8.00.760 Copyright (C) Microsoft Corporation, 1995 - 1998
Logged on to SQL Server 'SIMServer' as 'domain\!mdpz' (trusted)
Starting maintenance of database 'Insight_v50_0_9947637' on 11/28/2006 3:45:58 PM
[1] Database Insight_v50_0_9947637: Check Data and Index Linkage...
** Execution Time: 0 hrs, 0 mins, 31 secs **
End of maintenance for database 'Insight_v50_0_9947637' on 11/28/2006 3:46:29 PM
SQLMAINT.EXE Process Exit Code: 0 (Success)
C:\Program Files\Microsoft SQL Server\MSSQL\Binn>sqlmaint -S SIMServer -U domain\!mdpz -D Insight_v50_0_9947637 -CkDB
Microsoft (R) SQLMaint Utility (Unicode), Version 8.00.760 Copyright (C) Microsoft Corporation, 1995 - 1998
[Microsoft SQL-DMO (ODBC SQLState: 28000)] Error 18452: [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'domain\!mdpz'. Reason: Not associated with a trusted SQL Server connection.
C:\Program Files\Microsoft SQL Server\MSSQL\Binn>sqlmaint -D Insight_v50_0_9947637 -CkDB
Microsoft (R) SQLMaint Utility (Unicode), Version 8.00.760 Copyright (C) Microsoft Corporation, 1995 - 1998
Logged on to SQL Server 'SIMServer' as 'domain\!mdpz' (trusted)
Starting maintenance of database 'Insight_v50_0_9947637' on 11/28/2006 3:45:58 PM
[1] Database Insight_v50_0_9947637: Check Data and Index Linkage...
** Execution Time: 0 hrs, 0 mins, 31 secs **
End of maintenance for database 'Insight_v50_0_9947637' on 11/28/2006 3:46:29 PM
SQLMAINT.EXE Process Exit Code: 0 (Success)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-28-2006 12:00 PM
тАО11-28-2006 12:00 PM
Re: problem connecting to msde db for backup
well, I still don't really know why it does it, but the problem is solved by using -E which uses the trusted authentication for login.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP