From: Ryan Migita Ryan on
I've been trying to use the SBS 2008 Console to move the SharePoint databases
using the wizard and as soon I finish the wizard instructing where to move
the data, the wizard crashes. See below logs:

[8648] 091204.191848.5192: Storage: Initializing...C:\Program Files\Windows
Small Business Server\Bin\MoveData.exe
[8648] 091204.191848.6596: Storage: Data Store to be moved: Sharepoint
[8648] 091204.191848.6908: TaskScheduler: Exception
System.IO.FileNotFoundException:

[8648] 091204.191848.6908: Exception:
---------------------------------------
An exception of type 'Type: System.IO.FileNotFoundException, mscorlib,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' has
occurred.
Timestamp: 12/04/2009 19:18:48
Message: The system cannot find the file specified. (Exception from HRESULT:
0x80070002)
Stack: at TaskScheduler.TaskSchedulerClass.GetFolder(String Path)
at
Microsoft.WindowsServerSolutions.Common.WindowsTaskScheduler..ctor(String
taskPath, String taskName)

[8648] 091204.191848.6908: Storage: Exception
Microsoft.WindowsServerSolutions.Common.WindowsTaskSchedulerException:

[8648] 091204.191848.6908: Exception:
---------------------------------------
An exception of type 'Type:
Microsoft.WindowsServerSolutions.Common.WindowsTaskSchedulerException,
Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
has occurred.
Timestamp: 12/04/2009 19:18:48
Message: Failed to find the task path
Stack: at
Microsoft.WindowsServerSolutions.Common.WindowsTaskScheduler..ctor(String
taskPath, String taskName)
at
Microsoft.WindowsServerSolutions.Storage.Common.ServerBackupUtility.GetServerBackupTaskStatus()
---------------------------------------
An exception of type 'Type: System.IO.FileNotFoundException, mscorlib,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' has
occurred.
Timestamp: 12/04/2009 19:18:48
Message: The system cannot find the file specified. (Exception from HRESULT:
0x80070002)
Stack: at TaskScheduler.TaskSchedulerClass.GetFolder(String Path)
at
Microsoft.WindowsServerSolutions.Common.WindowsTaskScheduler..ctor(String
taskPath, String taskName)

[8648] 091204.191848.6908: Storage: Error Retrieving Server Backup Task
Status: ErrorCode:0
BaseException:
Microsoft.WindowsServerSolutions.Storage.Common.StorageException:
GetServerBackupTaskStatus: fail to find the task ---> ErrorCode:0
BaseException:
Microsoft.WindowsServerSolutions.Common.WindowsTaskSchedulerException: Failed
to find the task path ---> System.IO.FileNotFoundException: The system cannot
find the file specified. (Exception from HRESULT: 0x80070002)
at TaskScheduler.TaskSchedulerClass.GetFolder(String Path)
at
Microsoft.WindowsServerSolutions.Common.WindowsTaskScheduler..ctor(String
taskPath, String taskName)
--- End of inner exception stack trace ---
at
Microsoft.WindowsServerSolutions.Common.WindowsTaskScheduler..ctor(String
taskPath, String taskName)
at
Microsoft.WindowsServerSolutions.Storage.Common.ServerBackupUtility.GetServerBackupTaskStatus()
--- End of inner exception stack trace ---
at
Microsoft.WindowsServerSolutions.Storage.Common.ServerBackupUtility.GetServerBackupTaskStatus()
at
Microsoft.WindowsServerSolutions.Storage.MoveData.Helper.get_ServerBackupTaskState()
[8648] 091204.191848.9872: Storage: Backup Task State: Unknown
[8648] 091204.191849.0964: Storage: Launching the Move Data Wizard!
[8648] 091204.191849.0964: Wizard: Admin:QueryNextPage(null) =
Storage.MoveDataWizard.GettingStartedPage
[8648] 091204.191849.0964: Wizard: TOC
Storage.MoveDataWizard.GettingStartedPage is on ExpectedPath
[8648] 091204.191849.1120: Wizard: Storage.MoveDataWizard.GettingStartedPage
entered
[8648] 091204.191849.1276: Wizard:
Admin:QueryNextPage(Storage.MoveDataWizard.GettingStartedPage) =
Storage.MoveDataWizard.DiagnoseDataStorePage
[8648] 091204.191849.1276: Wizard: TOC
Storage.MoveDataWizard.DiagnoseDataStorePage is on ExpectedPath
[8648] 091204.191849.1276: Wizard:
Admin:QueryNextPage(Storage.MoveDataWizard.DiagnoseDataStorePage) =
Storage.MoveDataWizard.NewDataStoreLocationPage
[8648] 091204.191849.1276: Wizard: TOC
Storage.MoveDataWizard.NewDataStoreLocationPage is on ExpectedPath
[8648] 091204.191849.1276: Wizard:
Admin:QueryNextPage(Storage.MoveDataWizard.NewDataStoreLocationPage) = null
[8648] 091204.191849.1276: Wizard: ----------------------------------
[8648] 091204.191849.1276: Wizard: The pages visted:
[8648] 091204.191849.1276: Wizard: Current Page := [TOC
Storage.MoveDataWizard.GettingStartedPage]
[8648] 091204.191849.1276: Wizard: [TOC] : TOC
Storage.MoveDataWizard.DiagnoseDataStorePage
[8648] 091204.191849.1276: Wizard: [TOC] : TOC
Storage.MoveDataWizard.NewDataStoreLocationPage
[8648] 091204.191849.1276: Wizard: Step 1 of 3
[8648] 091204.191850.7500: Wizard:
Admin:QueryNextPage(Storage.MoveDataWizard.GettingStartedPage) =
Storage.MoveDataWizard.DiagnoseDataStorePage
[8648] 091204.191850.7500: Wizard: Storage.MoveDataWizard.GettingStartedPage
exited with the button: Next
[8648] 091204.191850.7500: WizardChainEngine Next Clicked: Going to page
{0}.: Storage.MoveDataWizard.DiagnoseDataStorePage
[8648] 091204.191850.7500: Wizard:
Storage.MoveDataWizard.DiagnoseDataStorePage entered
[8648] 091204.191850.7656: Wizard:
Admin:QueryNextPage(Storage.MoveDataWizard.DiagnoseDataStorePage) =
Storage.MoveDataWizard.NewDataStoreLocationPage
[8648] 091204.191850.7656: Wizard:
Admin:QueryNextPage(Storage.MoveDataWizard.NewDataStoreLocationPage) = null
[8648] 091204.191850.7656: Wizard: ----------------------------------
[8648] 091204.191850.7656: Wizard: The pages visted:
[8648] 091204.191850.7656: Wizard: [TOC] visited: TOC
Storage.MoveDataWizard.GettingStartedPage
[8648] 091204.191850.7656: Wizard: Current Page := [TOC
Storage.MoveDataWizard.DiagnoseDataStorePage]
[8648] 091204.191850.7656: Wizard: [TOC] : TOC
Storage.MoveDataWizard.NewDataStoreLocationPage
[8648] 091204.191850.7656: Wizard: Step 2 of 3
[10052] 091204.191850.7656: Storage: Starting System Diagnosis
[10052] 091204.191850.7656: Storage: Getting Data Store Information
[10052] 091204.191851.2492: Storage: Data Store Drive/s
Details:Name=C:\,Size=109969408
[10052] 091204.191851.2492: Storage: Data Store Size Details: Current Total
Size=109969408 Required Size=109969408
[10052] 091204.191851.2492: Storage: MoveData Task can move the Data
Store=True
[10052] 091204.191851.3896: Storage: Getting Backup Configuration
[10052] 091204.191858.0820: Storage: Found valid target disk: DiskName=WD My
Book 1111 USB Device, DiskId=00195e8e-0000-0000-0000-000000000000
[10052] 091204.191858.1132: Storage: Found valid source volume:
VolumeLabel=RECOVERY, MountPath=E:
[10052] 091204.191858.1132: Storage: Found valid source volume:
VolumeLabel=OS, MountPath=C:
[10052] 091204.191858.1132: Storage: Found valid source volume:
VolumeLabel=Data, MountPath=D:
[10052] 091204.191858.1132: Storage: Found valid source volume:
VolumeLabel=Backup 1, MountPath=G:
[10052] 091204.191858.1132: Storage: ResultCountException in GetPolicy:
Microsoft.WindowsServerSolutions.PowerShell.ResultCountException: Exception
of type 'Microsoft.WindowsServerSolutions.PowerShell.ResultCountException'
was thrown.
at
Microsoft.WindowsServerSolutions.PowerShell.PSRuntime.ExecuteCommandSingleResult[T](String command, PSParameterList parameterList)
at
Microsoft.WindowsServerSolutions.Storage.Common.LHSBPSRuntime.GetPolicy(Boolean edit)
[10052] 091204.191858.1132: Storage: No current policy found
[10052] 091204.191858.1132: Storage: No Backup policy has been configured
[10052] 091204.191858.1132: Storage: System Diagnosis Completed
[8648] 091204.191858.1132: Wizard:
Admin:QueryNextPage(Storage.MoveDataWizard.DiagnoseDataStorePage) =
Storage.MoveDataWizard.NewDataStoreLocationPage
[8648] 091204.191858.1132: Wizard:
Storage.MoveDataWizard.DiagnoseDataStorePage exited with the button: Next
[8648] 091204.191858.1132: WizardChainEngine Next Clicked: Going to page
{0}.: Storage.MoveDataWizard.NewDataStoreLocationPage
[8648] 091204.191900.6405: Wizard:
Admin:QueryNextPage(Storage.MoveDataWizard.NewDataStoreLocationPage) = null
[8648] 091204.191900.6405: Wizard: ----------------------------------
[8648] 091204.191900.6405: Wizard: The pages visted:
[8648] 091204.191900.6405: Wizard: [TOC] visited: TOC
Storage.MoveDataWizard.GettingStartedPage
[8648] 091204.191900.6405: Wizard: [TOC] visited: TOC
Storage.MoveDataWizard.DiagnoseDataStorePage
[8648] 091204.191900.6405: Wizard: Current Page := [TOC
Storage.MoveDataWizard.NewDataStoreLocationPage]
[8648] 091204.191900.6405: Wizard: Step 2 of 2
[8648] 091204.191901.6389: Wizard:
Admin:QueryNextPage(Storage.MoveDataWizard.NewDataStoreLocationPage) = null
[8648] 091204.191901.6389: Wizard: WizardChainEngine Next Clicked: Last
page, so the wizard isdone, closing wizard frame and returning
[8648] 091204.191901.6389: Wizard:
Storage.MoveDataWizard.NewDataStoreLocationPage exited with the button: Next
[8648] 091204.191901.6545: Storage: User made it through the Wizard.
[8648] 091204.191901.7793: AdminTME: Committer: RunAsync
IWorker.MoveSharePointContent
[10052] 091204.191901.8105: AdminTME: AdminDataLink Running Task:
CommitterSequenceTask
[10052] 091204.191901.8261: Storage: Get target drive
[10052] 091204.191901.8261: Storage: Target DB file is
D:\Windows\SYSMSI\SSEE\MSSQL.2005\MSSQL\DATA\SharePoint_Config_29c26fca-17b8-48c1-9704-b869932abcb6.mdf
[10052] 091204.191901.8261: Storage: Target DB file is
D:\Windows\SYSMSI\SSEE\MSSQL.2005\MSSQL\DATA\SharePoint_Config_29c26fca-17b8-48c1-9704-b869932abcb6.mdf
[10052] 091204.191901.8261: Storage: Target DB file is
D:\Windows\SYSMSI\SSEE\MSSQL.2005\MSSQL\DATA\SharePoint_AdminContent_d4e397f2-a27a-48a0-a628-d25db6672bab.mdf
[10052] 091204.191901.8261: Storage: Target DB file is
D:\Windows\SYSMSI\SSEE\MSSQL.2005\MSSQL\DATA\SharePoint_AdminContent_d4e397f2-a27a-48a0-a628-d25db6672bab.mdf
[10052] 091204.191901.8261: Storage: Target DB file is
D:\Windows\SYSMSI\SSEE\MSSQL.2005\MSSQL\DATA\ShareWebDb.mdf
[10052] 091204.191901.8261: Storage: Target DB file is
D:\Windows\SYSMSI\SSEE\MSSQL.2005\MSSQL\DATA\ShareWebDb.mdf
[10052] 091204.191901.8261: Storage: Target DB file is
D:\Windows\SYSMSI\SSEE\MSSQL.2005\MSSQL\DATA\WSS_Search_WIN-EUGSO7LO7PY.mdf
[10052] 091204.191901.8261: Storage: Target DB file is
D:\Windows\SYSMSI\SSEE\MSSQL.2005\MSSQL\DATA\WSS_Search_WIN-EUGSO7LO7PY.mdf
[10052] 091204.191901.8261: AdminTME: UpdateProgress(), Task =
CommitterSequenceTask, Percentage = 5
[10052] 091204.191901.8417: Storage: SharePoint site is: http://companyweb/
[10052] 091204.191901.8417: Storage: Making SharePoint ReadOnly,
WriteLocked, and ReadLocked
[10052] 091204.191901.9041: Storage: Reverting locks on SharePoint.
[8648] 091204.191901.9041: AdminTME: Committer: Completed called
[8648] 091204.191901.9041: Exception:
---------------------------------------
An exception of type 'Type: System.IO.FileNotFoundException, mscorlib,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' has
occurred.
Timestamp: 12/04/2009 19:19:01
Message: The Web application at http://companyweb/ could not be found.
Verify that you have typed the URL correctly. If the URL should be serving
existing content, the system administrator may need to add a new request URL
mapping to the intended application.
Stack: at Microsoft.SharePoint.SPSite..ctor(SPFarm farm, Uri requestUri,
Boolean contextSite, SPUserToken userToken)
at Microsoft.SharePoint.SPSite..ctor(String requestUrl)
at
Microsoft.WindowsServerSolutions.IWorker.Tasks.MoveSharePoint.MoveSharePointDbTask.ConfigureSharePointReadWriteStatus(Boolean readOnly, Uri sharePointSite)
at
Microsoft.WindowsServerSolutions.IWorker.Tasks.MoveSharePoint.MoveSharePointDbTask.Run(ITaskDataLink dataLink)
at
Microsoft.WindowsServerSolutions.TaskManagement.Admin.LightweightDataLink.Run(TaskId taskId, IAssemblyTask task, CompositeTask parentTask)
at
Microsoft.WindowsServerSolutions.TaskManagement.Admin.SequentialTask.Run(ITaskDataLink dataLink)
at
Microsoft.WindowsServerSolutions.TaskManagement.Admin.AdminDataLink.Run(TaskId taskId, IAssemblyTask task)
at
Microsoft.WindowsServerSolutions.TaskManagement.Admin.Committer.DoWork(Object
sender, DoWorkEventArgs e)
at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object
argument)

[8648] 091204.191901.9197: Storage: An error occured during the execution:
System.Reflection.TargetInvocationException: Exception has been thrown by the
target of an invocation. ---> System.Reflection.TargetInvocationException:
Exception has been thrown by the target of an invocation. --->
System.IO.FileNotFoundException: The Web application at http://companyweb/
could not be found. Verify that you have typed the URL correctly. If the URL
should be serving existing content, the system administrator may need to add
a new request URL mapping to the intended application.
at Microsoft.SharePoint.SPSite..ctor(SPFarm farm, Uri requestUri, Boolean
contextSite, SPUserToken userToken)
at Microsoft.SharePoint.SPSite..ctor(String requestUrl)
at
Microsoft.WindowsServerSolutions.IWorker.Tasks.MoveSharePoint.MoveSharePointDbTask.ConfigureSharePointReadWriteStatus(Boolean readOnly, Uri sharePointSite)
at
Microsoft.WindowsServerSolutions.IWorker.Tasks.MoveSharePoint.MoveSharePointDbTask.Run(ITaskDataLink dataLink)
at
Microsoft.WindowsServerSolutions.TaskManagement.Admin.LightweightDataLink.Run(TaskId taskId, IAssemblyTask task, CompositeTask parentTask)
at
Microsoft.WindowsServerSolutions.TaskManagement.Admin.SequentialTask.Run(ITaskDataLink dataLink)
at
Microsoft.WindowsServerSolutions.TaskManagement.Admin.AdminDataLink.Run(TaskId taskId, IAssemblyTask task)
at
Microsoft.WindowsServerSolutions.TaskManagement.Admin.Committer.DoWork(Object
sender, DoWorkEventArgs e)
at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object
argument)
--- End of inner exception stack trace ---
at
Microsoft.WindowsServerSolutions.TaskManagement.Admin.Committer.HandleException(RunWorkerCompletedEventArgs e)
at
Microsoft.WindowsServerSolutions.TaskManagement.Admin.Committer.RunWorkerCompleted(Object sender, RunWorkerCompletedEventArgs e)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[]
arguments, SignatureStruct& sig, MethodAttributes methodAttributes,
RuntimeTypeHandle typeOwner)
at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[]
arguments, Signature sig, MethodAttributes methodAttributes,
RuntimeTypeHandle typeOwner)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags
invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean
skipVisibilityChecks)
at System.Delegate.DynamicInvokeImpl(Object[] args)
at
System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
at System.Threading.ExecutionContext.runTryCode(Object userData)
at
System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.Run(ExecutionContext
executionContext, ContextCallback callback, Object state)
at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry
tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbacks()
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at
System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32
dwComponentID, Int32 reason, Int32 pvLoopData)
at
System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32
reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32
reason, ApplicationContext context)
at
Microsoft.WindowsServerSolutions.Common.Wizards.Framework.WizardFrameView.Create()
at
Microsoft.WindowsServerSolutions.TaskManagement.Admin.Committer.RunAsync(InfoXml runtimeData, EventHandler`1 handler)
at
Microsoft.WindowsServerSolutions.Storage.MoveData.MainClass.Commit(ICommitterView
view, DataStoreInfo storeInfo, MoveDataTask task, Boolean backupConfigured)
at
Microsoft.WindowsServerSolutions.Storage.MoveData.MainClass.Main(String[]
args)


From: "Robbin Meng [MSFT]" on

Hello Ryan,

Thanks for your post.

Have you applied the latest SharePoint Services Pack 3.0 SP2?

If the issue persist after you installed WSS 3.0 SP2, please try to follow below steps to delete the "Microsoft.SharePoint.Search.Administration.SPSearchService" entry in the
registry to troubleshoot this issue:

1. On the Start menu, click Run. In the Open box, type regedit and then click OK.
2. In the Registry Editor, navigate to the following subkey, and then delete it:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\12.0\WSS\Services\

"Microsoft.SharePoint.Search.Administration.SPSearchService"

Note, please backup/export the registry key/subkey before you perform ANY deletion in this step.

3. Run the Wizard again and see if it changes.

Moreover, I would like you have a look at the below article about how to move SharePoint database in SBS 2003:

Moving Data Folders for Windows Small Business Server 2003(Step 4: Move the Windows SharePoint Services Databases)
http://technet.microsoft.com/en-us/library/cc708031(WS.10).aspx

Hope this helps.



Best regards,
Robbin Meng(MSFT)
Microsoft Online Newsgroup Support

==================================================================
Please post your SBS 2008 related questions to the SBS newsgroup on Connect website:
https://connect.microsoft.com/sbs08/community/discussion/richui/default.aspx

Please post your EBS related questions to the EBS newsgroup on Connect website:
https://connect.microsoft.com/ebs08/community/discussion/richui/default.aspx

If you want to use a newsreader other than a web forum to access these newsgroups,
please refer to the following blog to apply NNTP password and configure a newsreader:
http://msmvps.com/blogs/bradley/archive/2008/11/02/signing-up-for-the-sbs-2008-newsgroups.aspx
==================================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
==================================================================