Results 1 to 2 of 2

Thread: Cannot connect to .mdf file (Lack of permissions)

  1. #1

    Thread Starter
    New Member
    Join Date
    Dec 2010
    Location
    United Kingdom
    Posts
    1

    Cannot connect to .mdf file (Lack of permissions)

    Hey,

    Just tried to create a new Data Source in VB 2010, apparently I don't have permission to connect to the 'Login.mdf' file I recently created in SQL 2008. Does anyone here have any knowledge of how to surpass this problem? I'm the Administrator of my PC and have full permissions and UAC is turned off so that shouldn't be the problem either.

    Any help would be greatly appreciated...
    Thanks,

    Spec

    PS - Here's a picture to show you the associated error message.


  2. #2
    King of sapila
    Join Date
    Oct 2006
    Location
    Greece
    Posts
    6,763

    Re: Cannot connect to .mdf file (Lack of permissions)

    Open the sql server and have a look at the owner and the permissions of the database.
    ἄνδρα μοι ἔννεπε, μοῦσα, πολύτροπον, ὃς μάλα πολλὰ
    πλάγχθη, ἐπεὶ Τροίης ἱερὸν πτολίεθρον ἔπερσεν·

Posting Permissions

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



Click Here to Expand Forum to Full Width