Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2004

    Unanswered: Maintenance Plan Fails

    I created a maintenance plan to back up a database. It fails and I get the follow error in the log file.

    Microsoft (R) SQLMaint Utility (Unicode), Version [Microsoft SQL-DMO (ODBC SQLState: 42000)] Error 4064: [Microsoft][ODBC SQL Server Driver][SQL Server]Cannot open user default database. Login failed.

    What user is it referring to? What user does a Maintenance plan use to login as? SA on the server has full access to all databases. SA’s default database is master and I can read and write to it with the enterprise manager and query analyzer.

    All replies appreciated

  2. #2
    Join Date
    Nov 2002
    What's your security model?

    Are you logged on and manually running it, or is it failing during a scheduled run?

    That doesn't sound like a maint plan error though...

    It's a Great Day for America everybody!

    dbforums Yak CorralRadio 'Rita
    dbForums Member List
    I'm Good Once as I ever was

    The physical order of data in a database has no meaning.

  3. #3
    Join Date
    Feb 2004
    It fails during a scheduled run.

    In the Enterprise Manager if I right click on the database > All Tasks > Backup Database it works fine.

    In the Enterprise Manager if I go into Management > New Maintenance Plans, schedule it. It fails.

    The SQL Server use allows Windows Authentication or SQL Server Authentication. The server in question was registered in the Enterprise Manager with SQL Server Authentication. I don't know if that has any bearing on how Maintanence Plans are queued or what login is used when a plan executes.

    Maybe I'm looking at a ODBC Driver problem. I just don't know how to get the details on which driver is being so I can compare it to my other servers where all Plans work fine.

    Thanks for the reply.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts