Click here to Skip to main content
15,895,084 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
This error message occurs when i perform any execute alter or insert statement in sql server.
After restarting the sql server services it is working fine,but often getting this issue.
Suggest me permanent solution.

Actually i installed Sql server 2012 management studio in my system and i am using 2008 R2 as server as this error comes after changing the Management studio.

How to recover from this issue.provide me permanent solution...
Posted
Comments
Prakash S 21-Jul-14 2:41am    
After checking DBCC checkdb('') .the below error comes

Msg 1823, Level 16, State 2, Line 1
A database snapshot cannot be created because it failed to start.
Msg 7928, Level 16, State 1, Line 1
The database snapshot for online checks could not be created. Either the reason
is given in a previous error or one of the underlying volumes does not
support sparse files or alternate streams. Attempting to get exclusive access to run checks offline.

1 solution

1. Detach database files
2. Attach database files
3. Run DBCC checkdb for errors...
 
Share this answer
 
Comments
Prakash S 21-Jul-14 2:02am    
i have checked with your solution it shows no error messages.Now the same problem leads to other database's which i have been using in the same sever..
Kornfeld Eliyahu Peter 21-Jul-14 2:05am    
If you got the error on different DBs you should check your hardware...
Prakash S 22-Jul-14 7:38am    
After checking DBCC checkdb('') .the below error comes

Msg 1823, Level 16, State 2, Line 1
A database snapshot cannot be created because it failed to start.
Msg 7928, Level 16, State 1, Line 1
The database snapshot for online checks could not be created. Either the reason
is given in a previous error or one of the underlying volumes does not
support sparse files or alternate streams. Attempting to get exclusive access to run checks offline.
Kornfeld Eliyahu Peter 22-Jul-14 7:51am    
According to Microsoft one of the main reasons is "The database contains at least one file group that is marked as read-only." - check it...
Also read this: http://sqlservermct.wordpress.com/2012/02/01/error-message-a-database-snapshot-cannot-be-created-because-it-failed-to-start-when-running-dbcc/

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900