Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jan 08, 2013 05:48 AM by wmec
Dec 31, 2012 03:03 PM|LINK
This is mahesh, i am using Windows 7, Visual Studio 2010 and SQL Server 2008. i have installed V.S.2010 and SQL Server 2008 and i have connected the SQL but i cant create the database. In SQL Server Properties and in L.H.S Security tag it is showing this
below error when i connect with SQL & Windows authentication mode.
Please do the needful.
Awaiting for the response.
Thanks and Regards,
Alter failed for server Admin-PC\SQLEXPRESS(Microsoft.sqlServer.Smo)
Additional Information :
An exception occurred whule executing a Transact-SQL statement or batch.
Xp_regread() returned error 5, ;Access is denied’
Xp_regread() returned error 5, ;Access is denied’(Microsoft SQL Server, Error:22001)
Jan 04, 2013 05:55 AM|LINK
According to your description, it seems like a permission issue. In order to resolve your issue, you can try to login as an
In addition, you can right click the folder where you want to create the database and choose properties at first. Then check the security tab and make sure that you have the write permission to this folder.
If it doesn't work, please try to share more information about your issue.
Jan 04, 2013 06:37 AM|LINK
Were you ever able to login the DB? It seems the setup has problems.
Jan 05, 2013 01:21 AM|LINK
I can able to Login With ADMIN-PC\SQLEXPRESS with Windows Authentication it gets connected and when i try to create the DB it shows the error and i ttried in sa login property it shows this error
Enable Login Failed for Login sa (Microsoft.SqlServer.Smo)
An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)
Cannot alter the login ‘sa’ because it does notexist or you do not have permission (Microsoft SQL Server, Error :15151.
please do the needful.
Jan 05, 2013 01:24 AM|LINK
I can able to Login With ADMIN-PC\SQLEXPRESS with Windows Authentication it gets connected and when i try to create the DB it shows the error and i ttried in sa login property it shows this error i login as administrator
please provide me the link to solve this issue my mail id is : email@example.com
when u will be available so that i can shows this error to you thr teamware i am staying in India
Jan 05, 2013 03:36 AM|LINK
Please follow the steps below
to enable SA login.
Jan 06, 2013 04:11 AM|LINK
Thanks for the reply and i followed the link but when i change from Windows Authentication Mode to SQL Server and Windows Authentication Mode it shows the below error.shown in the link instead it shows the below error
It does not show the screen as
Please do the needful
Jan 06, 2013 08:37 AM|LINK
Have you done all of the steps from the link above?
Jan 07, 2013 03:04 AM|LINK
Yes i have followed all the steps but i cant change the windows authentication mode to SQL Server and Windows Authentication mode when i click the radio button it shows the above error
pls do the needful
Jan 07, 2013 05:45 AM|LINK
Make sure your current login is with Administrator privileges to the machine.