RE: sp_attach_db on Vista causes read only problems



Hello Tony,

My understanding of the issue is: You attach databases to SQL Express in
Vista, but you cannot run any SP to add login etc because they are "read
only". If it's not correct, please let me know.

Based on my experience, this issue could occur if the SQL Server service
startup account does not have the proper permission on the folder hosting
the MDF/LDF files. You may try to use "local system" account as startup
account to see if the issue persists.

If it helps, you may want to change back to the original account and grant
full control permission to the folder to test. Please see following link
for more related information:

Setting Up Windows Service Accounts
http://msdn2.microsoft.com/en-us/library/ms143504(SQL.90).aspx

Also, please make sure the mdf/ldf files in the folder is not marked as
"read-only".

If you have further questions or any updates, please feel free to let's
know. Thank you.

Best Regards,

Peter Yang
MCSE2000/2003, MCSA, MCDBA
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications
<http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx>.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
<http://msdn.microsoft.com/subscriptions/support/default.aspx>.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

.



Relevant Pages

  • Re: SQL Set to System Account - Sharepoint Question
    ... > Administration", not System Account) account. ... > after the installation there isn't normally any reason to ... > SQL, don't use an instance being used for anything else. ... > the App Support people why SA is required. ...
    (microsoft.public.windows.server.sbs)
  • RE: SQLCMD fails with login timeout expired.
    ... I understand tht you could connect to SQL Express properly by 2005 ... management tool but you cannot connect it via sqlcmd. ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.sqlserver.tools)
  • Re: Can SSAS 2005 work in Novell network?
    ... windows account which was used to log on to the local machine. ... the server to the relevant OLAP roles you should be good to go. ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.sqlserver.olap)
  • Re: Passing parameters to stored procedure in ole db source
    ... I ended up putting the whole sql ... OK so this is SSIS. ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.sqlserver.dts)
  • RE: Random NT Authority/Anonymous Login Errors - REALLY NEED HELP.
    ... and these ASP.NE application will use delegate to access the backend SQL ... you can check the eventlog on both the ASP.NET server and SQL ... Microsoft MSDN Online Support Lead ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.framework.aspnet)