Registered users    
MembershipMembership:
Latest New UserLatest:Taganova Ronya
New TodayNew Today:12
New YesterdayNew Yesterday:9
User CountOverall:23415

Private messaging    
You must be logged in to use this module.
Top 10 posters    
NamePosts
Mariette Knap12968
Marina Roos12627
Eriq Neale2117
Stan Guinn1917
Michael Patrick1914
Robert Pearman1791
Nick Pieters1425
william warren650
Stewart Brown620
Kevin D.579
Welcome unauthorized visitor    
If you want to join us in the discussions on this forum you need to register first. Registration is free! If you are already a registered user please login to join the forum.
Small Business Server Support Forum    
Subject: SQL DB Maintenance Plan Error
Prev Next
You are not authorized to post a reply.

Author Messages
Greg Siwicki User is Offline
United States
Member since
1/16/2006

Registered Users
Posts: 1

3/21/2006 08:33 PM  
First off I am a true novice to using SQL. I used the wizard in SBS 2003 to set up the Maintenance plan for the SQL server and every night I get an Error report with this error

The following errors were found:

[Microsoft][ODBC SQL Server Driver][SQL Server]Repair statement not processed. Database needs to be in single user mode.
** Execution Time: 0 hrs, 0 mins, 1 secs **

Any help in resolving this would be greatly appreciated
Mariette Knap User is Offline
The Netherlands
Member since
3/24/2005

Forum Admins
Posts: 12968

3/21/2006 09:23 PM  
If you look in the jobs in SQL you will have one listed with a name like 'Integrity Checks'. When you ran that wizard you must have choosen the 'with the repair' option. You can only do that if the database is in single user mode. Open the job and check the tab 'Steps' -> Choose edit. The line you will see will look like this:
 
EXECUTE master.dbo.xp_sqlmaint N'-PlanID GUID -Rpt "d:\Program Files\Microsoft SQL Server\MSSQL$DOTNETNUKE\LOG\Dotnetnuke Maintenance2.txt"  -CkDB  '
 
But after -CkDB you will have something with 'repair'. Is that correct? Remove the repair option and all will be fine. You don't want any database to be in single user mode.

Mariëtte Knap Smallbizserver.Net AdministratorMission accomplished. We have joined the branch office to our SBS 2003 Headquarters and have the same user experience on the branch office as we have on our local  network at the Headquarters. Want to know how? Signup up for a subscription and get instant access to the article series 'How to add an additional Domain Controller from a remote office to the SBS domain'
You are not authorized to post a reply.



ActiveForums 3.7
Forum policy    
These Discussion Forums are dedicated to the discussion of the Small Business Server and related server and client software. For the benefit of the community please observe the following posting guidelines:
  1. No Advertising. This includes promotion of commercial products and non-commercial products which are not directly related to Small Business Server and related server and client software.
  2. No Flaming or Trolling.
  3. No Profanity, Racism, or Prejudice.
  4. Site Moderators have the final word on approving/removing a thread or post or comment.