I have a Sitecore 9
instance that I'd like to deploy on Azure PaaS
. I'm following the instructions here:
I've been trying to package the solution with the Sitecore Azure Toolkit
, and I'm currently stuck trying to run Start-SitecoreAzurePackaging
. I'm getting the error pasted below.
I've tried the solutions from the following pages with no success:
New-SCWebDeployPackage is not recognized
https://kb.sitecore.net/articles/019579
Any thoughts on what the issue might be?
Thanks!
PS C:\sat> Start-SitecoreAzurePackaging
cmdlet Start-SitecoreAzurePackaging at command pipeline position 1 Supply values for the following parameters: SitecorePath: C:\inetpub\wwwroot\myTest DestinationFolderPath: C:\sat\wem CargoPayloadFolderPath: C:\sat\resources\9.0.0\CargoPayloads CommonConfigPath: C:\sat\resources\9.0.0\Configs\Common.Packaging.config.json SkuConfigPath: C:\sat\resources\9.0.0\Configs\XPSingle.Packaging.config.json ParameterXmlPath: C:\sat\resources\9.0.0\MsDeployXmls Connecting to database 'myTest_Core' on server '.'. Extracting schema Extracting schema from database
**New-SCWebDeployPackage : Connecting to database 'myTest_Core' on server '.'. Extracting schema Extracting schema from database At C:\sat\tools\Sitecore.Cloud.Cmdlets.psm1:190 char:45
+ ... ckagePath = New-SCWebDeployPackage -Path $SitecorePath -Destination $ ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (Connecting to d...a from database:String) [New-SCWebDeployPackage], Excep tion
+ FullyQualifiedErrorId : Microsoft.Extensions.Logging.EventId,Sitecore.Cloud.Cmdlets.Packaging.NewSCWebDeployPackage**
System.IO.FileNotFoundException: Could not find file 'C:\Users\avi\AppData\Local\Temp\tempDacPacs0a610797-07eb-441a
-b4be-a53164a522d1\Sitecore.core.dacpac'. File name: 'C:\Users\avi\AppData\Local\Temp\tempDacPacs0a610797-07eb-441a-b4be-a53164a522d1\Sitecore.core.dacpac' at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShar e share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolea n useLongPath, Boolean checkHost) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileO ptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.File.InternalReadAllBytes(String path, Boolean checkHost) at Sitecore.Cloud.Package.Common.FileSystemProvider.ReadFile(String fileName) at Sitecore.Cloud.Packaging.WebDeployPackages.DatabasePackager.PackageDatabases(XDocument connStringFile) at Sitecore.Cloud.Packaging.WebDeployPackages.WebDeployPackageBuilder.Build(SitecoreInstallationFolderTree scInstFold Tree, DirPath outputDir, String targetFileName, Boolean force, String version) at Sitecore.Cloud.Cmdlets.Packaging.NewSCWebDeployPackage.ProcessRecord()
**New-SCWebDeployPackage : System.IO.FileNotFoundException: Could not find file 'C:\Users\avi\AppData\Local\Temp\tempDacPacs0a610797-07eb-441a-b4be-a53164a522d1\Sitecore.core.dacpac'. File name: 'C:\Users\avi\AppData\Local\Temp\tempDacPacs0a610797-07eb-441a-b4be-a53164a522d1\Sitecore.core.dacpac' at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.File.InternalReadAllBytes(String path, Boolean checkHost) at Sitecore.Cloud.Package.Common.FileSystemProvider.ReadFile(String fileName) at Sitecore.Cloud.Packaging.WebDeployPackages.DatabasePackager.PackageDatabases(XDocument connStringFile) at Sitecore.Cloud.Packaging.WebDeployPackages.WebDeployPackageBuilder.Build(SitecoreInstallationFolderTree scInstFoldTree, DirPath outputDir, String targetFileName, Boolean force, String version) at Sitecore.Cloud.Cmdlets.Packaging.NewSCWebDeployPackage.ProcessRecord() At C:\sat\tools\Sitecore.Cloud.Cmdlets.psm1:190 char:45
+ ... ckagePath = New-SCWebDeployPackage -Path $SitecorePath -Destination $ ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (System.IO.FileN...ProcessRecord():String) [New-SCWebDeployPackage], Excep tion
+ FullyQualifiedErrorId : Microsoft.Extensions.Logging.EventId,Sitecore.Cloud.Cmdlets.Packaging.NewSCWebDeployPackage**
Could not find file 'C:\Users\avi\AppData\Local\Temp\tempDacPacs0a610797-07eb-441a-b4be-a53164a522d1\Sitecore.core. dacpac'.