Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8494207
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T23:14:11+00:00 2026-06-10T23:14:11+00:00

consider 2 instances I1 (running under user U1) and I2 (running under user U2)

  • 0

consider 2 instances I1 (running under user U1) and I2 (running under user U2) of sql server 11.0.2100
I detach DB from I1.
I give full rights to mdf and ldf files to U2
I try to attach DB to I2.

I connect to I2 with SSMS and integrated authentification (domain\U3) => attaching fails with error 5123 : can’t access to mdf file.

I connect to I2 with SSMS and sql authentication (using sa sysadmin) => attaching succesfull

My question is: why the attaching fails with the integrated authentification ? by the way U3 is administrator of the machine running the two instances.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T23:14:13+00:00Added an answer on June 10, 2026 at 11:14 pm

    I know it is kind of improper to just paste content from another source, but this pretty much explains your problem. The “domain\U3” apparent may not have access to the database files.

    Securing Data and Log Files.

    Detaching and Attaching a Database

    When you are detaching or attaching a database, the Database Engine tries to impersonate the Windows account of the connection performing the operation to guarantee that the account has permission to access the database and log files. For mixed security accounts that use SQL Server logins, the impersonation might fail.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Quoted from http://blogs.msdn.com : User Instances (also known as RANU) available with SQL Server
Consider a few web server instances running in parallel. Each server holds a reference
In .NET, how can I prevent multiple instances of an app from running at
Is there a multiple instances pattern in F# somewhere? Consider that I'm working on
Consider an application with two components, possibly running on separate machines: Producer - Inserts
I can't seem to destroy instances of CKEdit per the documentation. Consider the following:
Could you clarify some ideas behind Python classes and class instances? Consider this: class
I have a method which should consider a collection of instances of a class
Consider that I have 100 instances of a squeaker class. Each squeaker object is
I've been running into a problem where using objects from two datacontexts that are

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.