Thanks Paul, their IT people are trying something right now. If they fail I'll try this one.
Frank. Frank Cazabon On 24/07/2012 09:34 AM, Paul Hill wrote: > Hi Frank, > > It's possible that the server authentication has changed from 'SQL & > Windows authentication' to just 'Windows Authentication'. But if > you're locked out you can't check this. > > You can easily add a Windows user to a database by following the steps here: > > http://blogs.msdn.com/b/raulga/archive/2007/07/12/disaster-recovery-what-to-do-when-the-sa-account-password-is-lost-in-sql-server-2005.aspx > > Basically you need to take the database off-line, start in single-user > mode, add a user and return back to multi-user. > > Regards, > Paul > > On 24 July 2012 14:12, Frank Cazabon <[email protected]> wrote: >> Hi Stephen, >> >> that's what I am logged on as :( and exactly what I have tried >> >> Frank. >> >> Frank Cazabon >> >> On 24/07/2012 09:09 AM, Stephen Russell wrote: >>> On Tue, Jul 24, 2012 at 7:24 AM, Frank Cazabon <[email protected]> >>> wrote: >>>> Hi, >>>> >>>> I have a client who has SQL Server express 2008 R2 installed. We created >>>> a database on it and our software runs against this database fine. I >>>> need to do some maintenance to it now but cannot get access to the >>>> database. The Object Explorer connects fine, but I get messages like: >>>> >>>> "The database is not accessible. (ObjectExplorer)" >>>> >>>> They don't know the sa password. >>>> >>>> One thing I've noticed is that they apparently have SQL Server 2012 >>>> installed (which wasn't there last time). >>> -------------------- >>> >>> Log on that machine as Administrator either via remote or on it. >>> >>> start SSMS and use Windows authentication to log into SS. >>> >>> You should be there. >>> >>> Create another user with sysadmin rights. Keep that password for the >>> future. :) _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[email protected] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

