Tuesday, April 3, 2012

System.Exception: Action Microsoft.Crm.Setup.Server.InstallDatabaseAction failed. ---> System.IO.IOException: The network path was not found. Erro while installing MS CRM 4.0 or 2011

While installing MS CRM, i faced the error, even if i has passes  the environments properly.
below os the screen shot and the log for the same...
Updating registry keys...
17:58:24| Info| Executing Install action: Microsoft.Crm.Setup.Server.InstallDatabaseAction
17:58:24| Error| System.Exception: Action Microsoft.Crm.Setup.Server.InstallDatabaseAction failed. ---> System.IO.IOException: The network path was not found.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite)
at System.IO.File.Copy(String sourceFileName, String destFileName, Boolean overwrite)
at Microsoft.Crm.Setup.Database.DatabaseInstaller.CopyDbFiles(String sourcePath, String sourceFileName, String destFilePath, String destFileName, String& copyDestinationPath)
at Microsoft.Crm.Setup.Database.DatabaseInstaller.AttachDB(Release r)
at Microsoft.Crm.Setup.Database.DatabaseInstaller.installInternal()
at Microsoft.Crm.Setup.Database.DatabaseInstaller.Install(Int32 languageCode, String configurationFilePath, Boolean upgradeDatabase)
at Microsoft.Crm.Setup.Server.InstallDatabaseAction.Do(IDictionary parameters)
at Microsoft.Crm.Setup.Common.Action.ExecuteAction(Action action, IDictionary parameters, Boolean undo)
--- End of inner exception stack trace ---, Error, RetryCancel, Option1

Solution
this error is very rare as oer MIcrosoft and its not publicly available.

1. use a local microsoft sql server instead of a remote SQL server (mostly people will not prefer this as they want multi server installation)
2.Temporarily share the Volume of the drive in SQL server to the server u r installing
so make it D$ instead of D:.
3. also check if the ports 445(TCP,UDP), 139(TCP), 135(TCP) and 137/138(UDP) are opened.

I did the 2nd one and it resolves my problem.
After installing it yu can remove the sharing.

by the above i also resolved one more issue with error :
"Error | Installer complete: OrganizationCreator - Error encountered
Error | Exception occured during Microsoft.CRM.Tools.Admin.OrganizationCreator : Action microsoft.crm.tools.admin.createdatabaseaction Failed."

thanks,
yes.sudhanshu

No comments:

Post a Comment