i developed a custom login module for my dnn site, i could install custom login in my local host installed dnn version 05.06.01 (238), but when i tried to install it in my Live site installed same dnn version, it failed to install and shows the Error as follows
Package Installation Report
See below for the results of the package installation
Error loading files from temporary folder - see below
StartJob Starting Installation
Info Starting Installation - DNN_CustomLoginAuthentication
Info Starting Installation - AuthenticationSystem
Info Authentication registered successfully - CustomLogin
Info Component installed successfully - AuthenticationSystem
Info Starting Installation - Assembly
Info Assembly registered - bin\Providers\DotNetNuke.Authentication.CustomLogin.dll
Info Created - bin\Providers\DotNetNuke.Authentication.CustomLogin.dll
Info Component installed successfully - Assembly
Info Starting Installation - File
Info Folder Created -
C:\inetpub\vhosts\CITYBROKERS.GR\httpdocs\DesktopModules\AuthenticationServices\CustomLogin\App_LocalResources
Info Created - App_LocalResources\Login.ascx.resx
Info Created - App_LocalResources\Settings.ascx.resx
Info Created - Login.ascx
Info Created - Settings.ascx
Info Created - license.txt
Info Created - CustomLogin_05.00.01_ReleaseNotes.txt
Info Created - trusterror.htm
Info Created - install.css
Info Created - logo.gif
Info Component installed successfully - File
Info Starting Installation - ResourceFile
Info Component installed successfully - ResourceFile
Info Starting Installation - Cleanup
Info Component installed successfully - Cleanup
Info Starting Installation - Config
Info Creating backup of previous version - web.config
Failure ExceptionSystem.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Services.Installer.XmlMerge.UpdateNode(XmlNode rootNode, XmlNode actionNode) at DotNetNuke.Services.Installer.XmlMerge.ProcessNode(XmlNode node) at DotNetNuke.Services.Installer.XmlMerge.ProcessNodes(XmlNodeList nodes, Boolean saveConfig) at DotNetNuke.Services.Installer.XmlMerge.UpdateConfig(XmlDocument target) at DotNetNuke.Services.Installer.Installers.ConfigInstaller.Install()
Failure Installation Failed - Config
Info Rolling back component install - AuthenticationSystem
Info Authentication unregistered successfully - CustomLogin
Info Component rolled back successfully - AuthenticationSystem
Info Rolling back component install - Assembly
Info Assembly unregistered - bin\Providers\DotNetNuke.Authentication.CustomLogin.dll
Info Component rolled back successfully - Assembly
Info Rolling back component install - File
Info Component rolled back successfully - File
Info Rolling back component install - ResourceFile
Info Component rolled back successfully - ResourceFile
Info Rolling back component install - Cleanup
Info Component rolled back successfully - Cleanup
Info Installation Failed - DNN_CustomLoginAuthentication
Info Deleted temporary install folder
EndJob Installation Failed
Info Component rolled back successfully - AuthenticationSystem
It failed update the web.config. Check the config section in the provider's manifest, and see if it's referencing nodes that don't exist. Install the Symbols package onto your live site to get a line number for the exception that occurs (or, even better, get a local copy of your live site and walk through the installation in the debugger).
Check your permissions on the installs folder make sure NETWORK SERVICE/S (cant remember if it has an s) has read/write permissions
Related
I have a Symfony project that uses composer and react. I am trying to download the symfony/ux-react package with composer following this link: https://symfony.com/bundles/ux-react/current/index.html
However, when I run composer require symfony/ux-react I get the following error:
- Downloading symfony/webpack-encore-pack (v1.0.2)
0/1 [>---------------------------] 0% Failed to download symfony/webpack-encore-pack from dist: The "https://api.github.com/repos/symfony/webpack-encore-pack/zipball/f9f4e91659e5f55de370d6aebe77e64bce35e4d3" file could not be downloaded (HTTP/2 404 ):
{"message":"Not Found","documentation_url":"https://docs.github.com/rest/reference/repos#download-a-repository-archive"}
Now trying to download from source
- Syncing symfony/webpack-encore-pack (v1.0.2) into cache
Cloning failed using an ssh key for authentication, enter your GitHub credentials to access private repos
When working with _public_ GitHub repositories only, head to https://github.com/settings/tokens/new?scopes=&description=Composer+on+lex-Blade-15-Mid-2019-Base+2023-01-27+1205 to retrieve a token.
This token will have read-only permission for public information only.
When you need to access _private_ GitHub repositories as well, go to https://github.com/settings/tokens/new?scopes=repo&description=Composer+on+lex-Blade-15-Mid-2019-Base+2023-01-27+1205
Note that such tokens have broad read/write permissions on your behalf, even if not needed by Composer.
Tokens will be stored in plain text in "/home/lex/.config/composer/auth.json" for future use by Composer.
For additional information, check https://getcomposer.org/doc/articles/authentication-for-private-packages.md#github-oauth
Token (hidden):
I then create a token. Upon copy pasting it into the terminal:
Token stored successfully.
1/1 [============================] 100%
In Git.php line 471:
Failed to execute git clone --mirror -- 'https://ghp...PNs:x-oauth-basic#github.com/symfony/webpack-encore-pack.git' '/home/lex/.cache/composer/vcs/https---github.com-symfony-webpack-encore-p
ack.git/'
Cloning into bare repository '/home/lex/.cache/composer/vcs/https---github.com-symfony-webpack-encore-pack.git'...
remote: Repository not found.
fatal: repository 'https://github.com/symfony/webpack-encore-pack.git/' not found
Anyone know a fix for this? It appears that webpack-encore-pack is depreciated.
Spoke too soon. Found this link: https://github.com/symfony/symfony/discussions/42700
By uninstalling webpack encore with composer remove symfony/webpack-encore-pack and then trying composer require symfony/ux-react, no error occurred.
I'm running DNN 9.6.2 in Azure as an App Service app. I have 2SXC content 11.03 installed and running well, but wished to upgrade to 11.04. When attempting to install via Settings-->Extensions-->Install Extension, the installation proceeds but eventually errors out (install log attached). The site using the 2SXC content is no longer viable (the modules no longer display - they are absent from the pages) and the site must be restored from backup to be operational again. After the failed installation, the "installed extensions" page shows 2SXC Content 11.4 installed, while 2SCX App is still at 11.3.
StartJob Starting InstallationInfo Starting Installation - 2SexyContentInfo Starting Installation - ScriptInfo Begin Sql executionInfo Creating backup of previous version - SqlDataProvider\Uninstall.SqlDataProviderInfo Created - SqlDataProvider\Uninstall.SqlDataProviderInfo Finished Sql executionInfo Component installed successfully - ScriptInfo Starting Installation - CleanupInfo Processing Cleanup File - 11.4.0Info Completed Processing of Cleanup File - 11.4.0Info Component installed successfully - CleanupInfo Starting Installation - ModuleInfo Module registered successfully - 2sxcInfo Component installed successfully - ModuleInfo Starting Installation - AssemblyInfo Assembly updated - bin\ImageResizer.dllInfo Creating backup of previous version - bin\ImageResizer.dllInfo Created - bin\ImageResizer.dllInfo Assembly in use by another package - bin\ImageResizer.dllInfo Component installed successfully - AssemblyInfo Starting Installation - AssemblyInfo Assembly already registered - bin\ToSic.SexyContent.dllInfo Creating backup of previous version - bin\ToSic.SexyContent.dllInfo Created - bin\ToSic.SexyContent.dllInfo Assembly already registered - bin\ToSic.Sxc.dllInfo Creating backup of previous version - bin\ToSic.Sxc.dllInfo Created - bin\ToSic.Sxc.dllInfo Assembly already registered - bin\ToSic.Sxc.Dnn.dllInfo Creating backup of previous version - bin\ToSic.Sxc.Dnn.dllInfo Created - bin\ToSic.Sxc.Dnn.dllInfo Assembly already registered - bin\ToSic.SexyContent.Razor.dllInfo Creating backup of previous version - bin\ToSic.SexyContent.Razor.dllInfo Created - bin\ToSic.SexyContent.Razor.dllInfo Assembly already registered - bin\ToSic.SexyContent.WebApi.dllInfo Creating backup of previous version - bin\ToSic.SexyContent.WebApi.dllInfo Created - bin\ToSic.SexyContent.WebApi.dllInfo Assembly already registered - bin\ToSic.Eav.dllInfo Creating backup of previous version - bin\ToSic.Eav.dllInfo Created - bin\ToSic.Eav.dllInfo Assembly already registered - bin\ToSic.Eav.Apps.dllInfo Creating backup of previous version - bin\ToSic.Eav.Apps.dllInfo Created - bin\ToSic.Eav.Apps.dllInfo Assembly already registered - bin\ToSic.Eav.Core.dllInfo Creating backup of previous version - bin\ToSic.Eav.Core.dllInfo Created - bin\ToSic.Eav.Core.dllInfo Assembly already registered - bin\ToSic.Eav.DataSources.dllInfo Creating backup of previous version - bin\ToSic.Eav.DataSources.dllInfo Created - bin\ToSic.Eav.DataSources.dllInfo Assembly already registered - bin\ToSic.Eav.ImportExport.dllInfo Creating backup of previous version - bin\ToSic.Eav.ImportExport.dllInfo Created - bin\ToSic.Eav.ImportExport.dllInfo Assembly already registered - bin\ToSic.Eav.Persistence.Efc.dllInfo Creating backup of previous version - bin\ToSic.Eav.Persistence.Efc.dllInfo Created - bin\ToSic.Eav.Persistence.Efc.dllInfo Assembly already registered - bin\ToSic.Eav.Repository.Efc.dllInfo Creating backup of previous version - bin\ToSic.Eav.Repository.Efc.dllInfo Created - bin\ToSic.Eav.Repository.Efc.dllInfo Assembly already registered - bin\ToSic.Eav.Tokens.dllInfo Creating backup of previous version - bin\ToSic.Eav.Tokens.dllInfo Created - bin\ToSic.Eav.Tokens.dllInfo Assembly already registered - bin\ToSic.Eav.WebApi.dllInfo Creating backup of previous version - bin\ToSic.Eav.WebApi.dllInfo Created - bin\ToSic.Eav.WebApi.dllInfo Assembly already registered - bin\CsvHelper.dllInfo Creating backup of previous version - bin\CsvHelper.dllInfo Created - bin\CsvHelper.dllInfo Binding redirect added for assembly - bin\CsvHelper.dllInfo Assembly already registered - bin\2sxc\Microsoft.EntityFrameworkCore.dllInfo Creating backup of previous version - bin\2sxc\Microsoft.EntityFrameworkCore.dllInfo Created - bin\2sxc\Microsoft.EntityFrameworkCore.dllInfo Binding redirect added for assembly - bin\2sxc\Microsoft.EntityFrameworkCore.dllInfo Assembly already registered - bin\2sxc\Microsoft.EntityFrameworkCore.Relational.dllInfo Creating backup of previous version - bin\2sxc\Microsoft.EntityFrameworkCore.Relational.dllInfo Created - bin\2sxc\Microsoft.EntityFrameworkCore.Relational.dllInfo Binding redirect added for assembly - bin\2sxc\Microsoft.EntityFrameworkCore.Relational.dllInfo Assembly already registered - bin\2sxc\Microsoft.EntityFrameworkCore.SqlServer.dllInfo Creating backup of previous version - bin\2sxc\Microsoft.EntityFrameworkCore.SqlServer.dllInfo Created - bin\2sxc\Microsoft.EntityFrameworkCore.SqlServer.dllInfo Binding redirect added for assembly - bin\2sxc\Microsoft.EntityFrameworkCore.SqlServer.dllInfo Assembly already registered - bin\2sxc\Microsoft.Extensions.Caching.Abstractions.dllInfo Creating backup of previous version - bin\2sxc\Microsoft.Extensions.Caching.Abstractions.dllInfo Created - bin\2sxc\Microsoft.Extensions.Caching.Abstractions.dllInfo Binding redirect added for assembly - bin\2sxc\Microsoft.Extensions.Caching.Abstractions.dllInfo Assembly already registered - bin\2sxc\Microsoft.Extensions.Caching.Memory.dllInfo Creating backup of previous version - bin\2sxc\Microsoft.Extensions.Caching.Memory.dllInfo Created - bin\2sxc\Microsoft.Extensions.Caching.Memory.dllInfo Binding redirect added for assembly - bin\2sxc\Microsoft.Extensions.Caching.Memory.dllInfo Assembly already registered - bin\2sxc\Microsoft.Extensions.DependencyInjection.Abstractions.dllInfo Creating backup of previous version - bin\2sxc\Microsoft.Extensions.DependencyInjection.Abstractions.dllInfo Created - bin\2sxc\Microsoft.Extensions.DependencyInjection.Abstractions.dllInfo Binding redirect added for assembly - bin\2sxc\Microsoft.Extensions.DependencyInjection.Abstractions.dllInfo Assembly already registered - bin\2sxc\Microsoft.Extensions.DependencyInjection.dllInfo Creating backup of previous version - bin\2sxc\Microsoft.Extensions.DependencyInjection.dllInfo Created - bin\2sxc\Microsoft.Extensions.DependencyInjection.dllInfo Binding redirect added for assembly - bin\2sxc\Microsoft.Extensions.DependencyInjection.dllInfo Assembly already registered - bin\2sxc\Microsoft.Extensions.Logging.Abstractions.dllInfo Creating backup of previous version - bin\2sxc\Microsoft.Extensions.Logging.Abstractions.dllInfo Created - bin\2sxc\Microsoft.Extensions.Logging.Abstractions.dllInfo Binding redirect added for assembly - bin\2sxc\Microsoft.Extensions.Logging.Abstractions.dllInfo Assembly already registered - bin\2sxc\Microsoft.Extensions.Logging.dllInfo Creating backup of previous version - bin\2sxc\Microsoft.Extensions.Logging.dllInfo Created - bin\2sxc\Microsoft.Extensions.Logging.dllInfo Binding redirect added for assembly - bin\2sxc\Microsoft.Extensions.Logging.dllInfo Assembly already registered - bin\2sxc\Microsoft.Extensions.Options.dllInfo Creating backup of previous version - bin\2sxc\Microsoft.Extensions.Options.dllInfo Created - bin\2sxc\Microsoft.Extensions.Options.dllInfo Binding redirect added for assembly - bin\2sxc\Microsoft.Extensions.Options.dllInfo Assembly already registered - bin\2sxc\Microsoft.Extensions.Primitives.dllInfo Creating backup of previous version - bin\2sxc\Microsoft.Extensions.Primitives.dllInfo Created - bin\2sxc\Microsoft.Extensions.Primitives.dllInfo Binding redirect added for assembly - bin\2sxc\Microsoft.Extensions.Primitives.dllInfo Assembly already registered - bin\2sxc\Remotion.Linq.dllInfo Creating backup of previous version - bin\2sxc\Remotion.Linq.dllInfo Created - bin\2sxc\Remotion.Linq.dllInfo Binding redirect added for assembly - bin\2sxc\Remotion.Linq.dllInfo Assembly already registered - bin\2sxc\System.Collections.Immutable.dllInfo Creating backup of previous version - bin\2sxc\System.Collections.Immutable.dllInfo Created - bin\2sxc\System.Collections.Immutable.dllInfo Binding redirect added for assembly - bin\2sxc\System.Collections.Immutable.dllInfo Assembly already registered - bin\2sxc\System.Diagnostics.DiagnosticSource.dllInfo Creating backup of previous version - bin\2sxc\System.Diagnostics.DiagnosticSource.dllInfo Created - bin\2sxc\System.Diagnostics.DiagnosticSource.dllInfo Binding redirect added for assembly - bin\2sxc\System.Diagnostics.DiagnosticSource.dllInfo Assembly already registered - bin\2sxc\System.Interactive.Async.dllInfo Creating backup of previous version - bin\2sxc\System.Interactive.Async.dllInfo Created - bin\2sxc\System.Interactive.Async.dllInfo Binding redirect added for assembly - bin\2sxc\System.Interactive.Async.dllInfo Component installed successfully - AssemblyInfo Starting Installation - FileInfo Creating backup of previous version - icon.pngInfo Created - icon.pngInfo Creating backup of previous version - License.txtInfo Created - License.txtInfo Creating backup of previous version - ReleaseNotes.txtInfo Created - ReleaseNotes.txtInfo Component installed successfully - FileInfo Starting Installation - ResourceFileInfo Expanding Resource fileFailure Installation Failed - ResourceFileInfo Rolling back component install - ScriptInfo Restored backup of previous version - SqlDataProvider\Uninstall.SqlDataProviderInfo Component rolled back successfully - ScriptInfo Rolling back component install - CleanupInfo Component rolled back successfully - CleanupInfo Rolling back component install - ModuleInfo Component rolled back successfully - ModuleInfo Rolling back component install - AssemblyInfo Restored backup of previous version - bin\ImageResizer.dllInfo Restored backup of previous version - bin\ImageResizer.dllInfo Component rolled back successfully - AssemblyInfo Rolling back component install - AssemblyInfo Restored backup of previous version - bin\ToSic.SexyContent.dllInfo Restored backup of previous version - bin\ToSic.Sxc.dllInfo Restored backup of previous version - bin\ToSic.Sxc.Dnn.dllInfo Restored backup of previous version - bin\ToSic.SexyContent.Razor.dllInfo Restored backup of previous version - bin\ToSic.SexyContent.WebApi.dllInfo Restored backup of previous version - bin\ToSic.Eav.dllInfo Restored backup of previous version - bin\ToSic.Eav.Apps.dllInfo Restored backup of previous version - bin\ToSic.Eav.Core.dllInfo Restored backup of previous version - bin\ToSic.Eav.DataSources.dllInfo Restored backup of previous version - bin\ToSic.Eav.ImportExport.dllInfo Restored backup of previous version - bin\ToSic.Eav.Persistence.Efc.dllInfo Restored backup of previous version - bin\ToSic.Eav.Repository.Efc.dllInfo Restored backup of previous version - bin\ToSic.Eav.Tokens.dllInfo Restored backup of previous version - bin\ToSic.Eav.WebApi.dllInfo Restored backup of previous version - bin\CsvHelper.dllInfo Restored backup of previous version - bin\2sxc\Microsoft.EntityFrameworkCore.dllInfo Restored backup of previous version - bin\2sxc\Microsoft.EntityFrameworkCore.Relational.dllInfo Restored backup of previous version - bin\2sxc\Microsoft.EntityFrameworkCore.SqlServer.dllInfo Restored backup of previous version - bin\2sxc\Microsoft.Extensions.Caching.Abstractions.dllInfo Restored backup of previous version - bin\2sxc\Microsoft.Extensions.Caching.Memory.dllInfo Restored backup of previous version - bin\2sxc\Microsoft.Extensions.DependencyInjection.Abstractions.dllInfo Restored backup of previous version - bin\2sxc\Microsoft.Extensions.DependencyInjection.dllInfo Restored backup of previous version - bin\2sxc\Microsoft.Extensions.Logging.Abstractions.dllInfo Restored backup of previous version - bin\2sxc\Microsoft.Extensions.Logging.dllInfo Restored backup of previous version - bin\2sxc\Microsoft.Extensions.Options.dllInfo Restored backup of previous version - bin\2sxc\Microsoft.Extensions.Primitives.dllInfo Restored backup of previous version - bin\2sxc\Remotion.Linq.dllInfo Restored backup of previous version - bin\2sxc\System.Collections.Immutable.dllInfo Restored backup of previous version - bin\2sxc\System.Diagnostics.DiagnosticSource.dllInfo Restored backup of previous version - bin\2sxc\System.Interactive.Async.dllInfo Component rolled back successfully - AssemblyInfo Rolling back component install - FileInfo Restored backup of previous version - icon.pngInfo Restored backup of previous version - License.txtInfo Restored backup of previous version - ReleaseNotes.txtInfo Component rolled back successfully - FileInfo Installation Failed - 2SexyContentInfo Starting Installation - 2SexyContent-AppInfo Starting Installation - ScriptInfo Begin Sql executionInfo Creating backup of previous version - SqlDataProvider\require-2sxc-9.SqlDataProviderInfo Created - SqlDataProvider\require-2sxc-9.SqlDataProviderInfo Executing require-2sxc-9.SqlDataProviderInfo Start Sql execution: require-2sxc-9.SqlDataProvider fileInfo End Sql execution: require-2sxc-9.SqlDataProvider fileInfo Finished Sql executionInfo Component installed successfully - ScriptInfo Starting Installation - ModuleInfo Module registered successfully - 2sxc-appInfo Component installed successfully - ModuleInfo Starting Installation - FileInfo Creating backup of previous version - icon-app.pngInfo Created - icon-app.pngInfo Component installed successfully - FileInfo Starting Installation - ConfigInfo Creating backup of previous version - web.configInfo Config file updated - web.configInfo Component installed successfully - ConfigInfo Config file changes committed - web.configFailure Package Installation abortedInfo Installation Failed - 2SexyContent-AppInfo Starting Installation - 2sic_Imazen_ImageResizerProInfo Starting Installation - ResourceFileInfo Expanding Resource fileInfo Creating backup of previous version - imageresizer_400_00aec4.pngInfo Created - imageresizer_400_00aec4.pngInfo Resource Files createdInfo Component installed successfully - ResourceFileInfo Starting Installation - AssemblyInfo Assembly already registered - bin\ImageResizer.dllInfo Creating backup of previous version - bin\ImageResizer.dllInfo Created - bin\ImageResizer.dllInfo Assembly already registered - bin\ImageResizer.Plugins.DiskCache.dllInfo Creating backup of previous version - bin\ImageResizer.Plugins.DiskCache.dllInfo Created - bin\ImageResizer.Plugins.DiskCache.dllInfo Assembly already registered - bin\ImageResizer.Plugins.WebP.dllInfo Creating backup of previous version - bin\ImageResizer.Plugins.WebP.dllInfo Created - bin\ImageResizer.Plugins.WebP.dllInfo Assembly already registered - bin\Imazen.WebP.dllInfo Creating backup of previous version - bin\Imazen.WebP.dllInfo Created - bin\Imazen.WebP.dllInfo Component installed successfully - AssemblyInfo Starting Installation - ConfigInfo Creating backup of previous version - web.configInfo Config file updated - web.configInfo Component installed successfully - ConfigInfo Config file changes committed - web.configFailure Package Installation abortedInfo Installation Failed - 2sic_Imazen_ImageResizerProInfo Starting Installation - Connect.Dnn.KoiInfo Starting Installation - ResourceFileInfo Expanding Resource fileInfo Creating backup of previous version - icon.pngInfo Created - icon.pngInfo Creating backup of previous version - License.txtInfo Created - License.txtInfo Creating backup of previous version - ReleaseNotes.txtInfo Created - ReleaseNotes.txtInfo Resource Files createdInfo Component installed successfully - ResourceFileInfo Starting Installation - AssemblyInfo Assembly already registered - bin\Connect.Dnn.Koi.dllInfo Creating backup of previous version - bin\Connect.Dnn.Koi.dllInfo Created - bin\Connect.Dnn.Koi.dllInfo Assembly already registered - bin\Connect.Koi.dllInfo Creating backup of previous version - bin\Connect.Koi.dllInfo Created - bin\Connect.Koi.dllInfo Component installed successfully - AssemblyFailure Package Installation abortedInfo Installation Failed - Connect.Dnn.KoiInfo Starting Installation - ToSic.RazorBladeInfo Starting Installation - ResourceFileInfo Expanding Resource fileInfo Creating backup of previous version - icon.pngInfo Created - icon.pngInfo Creating backup of previous version - License.txtInfo Created - License.txtInfo Creating backup of previous version - ReleaseNotes.txtInfo Created - ReleaseNotes.txtInfo Resource Files createdInfo Component installed successfully - ResourceFileInfo Starting Installation - AssemblyInfo Assembly already registered - bin\ToSic.Razor.dllInfo Creating backup of previous version - bin\ToSic.Razor.dllInfo Created - bin\ToSic.Razor.dllInfo Assembly already registered - bin\ToSic.Razor.Dnn.dllInfo Creating backup of previous version - bin\ToSic.Razor.Dnn.dllInfo Created - bin\ToSic.Razor.Dnn.dllInfo Component installed successfully - AssemblyFailure Package Installation abortedInfo Installation Failed - ToSic.RazorBladeInfo Starting Installation - Connect.RazorInfo Starting Installation - ResourceFileInfo Expanding Resource fileInfo Creating backup of previous version - icon.pngInfo Created - icon.pngInfo Creating backup of previous version - License.txtInfo Created - License.txtInfo Creating backup of previous version - ReleaseNotes.txtInfo Created - ReleaseNotes.txtInfo Resource Files createdInfo Component installed successfully - ResourceFileInfo Starting Installation - AssemblyInfo Assembly already registered - bin\Connect.Razor.dllInfo Creating backup of previous version - bin\Connect.Razor.dllInfo Created - bin\Connect.Razor.dllInfo Assembly already registered - bin\Connect.Razor.Dnn.dllInfo Creating backup of previous version - bin\Connect.Razor.Dnn.dllInfo Created - bin\Connect.Razor.Dnn.dllInfo Component installed successfully - AssemblyFailure Package Installation abortedInfo Installation Failed - Connect.RazorInfo Deleted temporary install folderEndJob Installation Failed
I've attempted to "repair" the installation via Settings-->Extensions-->Install Extension with the same results/errors in the install log.
I don't know if this is a bug in 2SXC, or something in particular about my installation. Similar reports of install issues related to unpacking Resources have led me to verify file/folder permissions on the site, but those seem ok.
welcome to StackOverflow :)
This is not a known issue. It seems to fail installing the resources - which is usually normal files in the DesktopModules folder or possibly .pdb files (debug files) in the bin folder.
My guess is that you may have changed security settings like file permissions on the server, which seems to block changes.
For anything else I would need more to go on.
The problem
I am trying to install a .net core 3.1 wpf app onto a windows 2019 server using msix as the method of deployment. The windows server is up to date and should support msix, but will not install any msix package I create using the powershell command Add-AppPackage.
The packages will install on windows 10 machines if you click on the .appinstaller file and use the gui, but they will not install on the same machine if you use powershell.
What I have tried
I've went through this troubleshooting page to no avail.
I have tried different msix packages
I have tried using a local file directory
I have tried running as administrator
Code
This is an example of what I am trying to install:
Running the .appinstaller file will correctly install this uwp app.
However, this will not work:
Add-AppPackage .\TestUwp.appinstaller
Error Message
This is the error message the powershell script outputs:
Add-AppPackage : Deployment failed with HRESULT: 0x80073CF0, Package could not be opened.
error 0x8007000D: Opening the package from location TestUwp.appinstaller failed.
NOTE: For additional information, look for [ActivityId] 742e8080-11e2-0000-5f0b-3374e211d601 in the
Event Log or use the command line Get-AppPackageLog -ActivityID 742e8080-11e2-0000-5f0b-3374e211d601
At line:1 char:1
+ Add-AppPackage .\TestUwp.appinstaller
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OpenError: (W:\...\.appinstaller:String) [Add-AppxPackage],
FileNotFoundException
+ FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPac
kageCommand
PS W:\[file location here]> Get-AppPackageLog -ActivityID 742e8080-11e2-0000-5f0b-3374e211d601
Time ID Message
---- -- -------
4/14/2020 9:17:50 AM 603 Started deployment Add operation on a package with main
parameter TestUwp.appinstaller and Options 0 and 0. See
http://go.microsoft.com/fwlink/?LinkId=235160 for help
diagnosing app deployment issues.
4/14/2020 9:17:50 AM 465 error 0x8007000D: Opening the package from location
TestUwp.appinstaller failed.
4/14/2020 9:17:50 AM 403 error 0x8007000D: Failure to get staging session for:
file:///W:/[file location here]/TestUwp.appinstaller.
4/14/2020 9:17:50 AM 404 AppX Deployment operation failed for package with error
0x80073CF0. The specific error text for this failure is: error
0x8007000D: Opening the package from location
TestUwp.appinstaller failed.
When you use:
Add-AppxPackage .\TestUwp.appinstaller
The path will be mapped to the positional parameter -Path. This parameter is designed to specify the path to the app package. But you are not installing the app directly. You are using an app installer file. To install from that, use:
Add-AppxPackage -AppInstallerFile .\TestUwp.appinstaller
With this command, I was able to install your package successfully.
Trying to deploy an ASP.NET Core Web Application + ReactJS to Azure and the Publish step in my pipeline always ends in error – “Error: The process 'C:\Program Files\dotnet\dotnet.exe' failed with exit code 1”
My pipeline is composed of:
Prepare job
Initialize job
Checkout
Restore
npm install (step added by me after some errors)
npm audit fix (step added by me after some errors)
npm run build (step added by me after some errors)
Build
Test
Publish <- Error!
Publish Artifact
Post-job: Checkout
Finalize Job
The error I get in the Pusblish step is:
===
Webpack compilation mode: production ===
(…)
Hash: c2e1b3f9437a24e5157e
Time: 108142ms
Built at: 05/09/2019 1:13:13 PM
Asset Size
Chunks Chunk Names
main-server.js 3.58 MiB
0 [emitted] main-server
Entrypoint main-server = main-server.js
C:\Program Files\dotnet\sdk\2.2.105\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Publish.targets(141,5):
error MSB3030: Could not copy the file
"D:\a\1\s\wwwroot\dist\main-client.js.map" because it was not found.
[D:\a\1\s\nextvision.csproj]
C:\Program Files\dotnet\sdk\2.2.105\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Publish.targets(141,5):
error MSB3030: Could not copy the file
"D:\a\1\s\wwwroot\dist\vendor.css.map" because it was not found.
[D:\a\1\s\nextvision.csproj]
C:\Program Files\dotnet\sdk\2.2.105\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Publish.targets(141,5):
error MSB3030: Could not copy the file
"D:\a\1\s\wwwroot\dist\vendor.js.map" because it was not found.
[D:\a\1\s\nextvision.csproj]
##[error]Error:
The process 'C:\Program Files\dotnet\dotnet.exe' failed with exit code 1
##[error]Dotnet
command failed with non-zero exit code on the following projects :
D:\a\1\s\nextvision.csproj
##[section]Finishing:
Publish
Using “npm run build:prod” I thought the *.map files were not even necessary, but that is the only error I see on the Publish step.
Any help would be appreciated.
Thanks,
Pedro Cabral
Remove npm publish step and try again. The npm publish step might be failing because the private property in package.json is set to true.
Try the Publish artifacts step and give the generated artifacts path ( drop or build folder) to the publish path step.
DNN 7.4.2
Over a year ago, we upgraded from 2SXC 8.8.0 to 9.2.0. The upgrade took a really long time because have a pretty big DNN instance with many portals. We only use 2SXC on a couple of portals, though. Once the upgrade completed, App was still stuck on 8.8.0 while Content was fine at 9.2.0. At that time, we just left it as it was because we don't use App.
We're looking to upgrade 2SXC to the latest version (at the time of writing this, that version is 9.33.0) but if I try to repair the 9.2.0 or upgrade to 9.33.0, I get an error. See below.
StartJob Starting Installation
Info Starting Installation - 2SexyContent
Info Starting Installation - Script
Info Begin Sql execution
Info Creating backup of previous version - SqlDataProvider\Uninstall.SqlDataProvider
Failure ExceptionSystem.UnauthorizedAccessException: Access to the path 'M:\inetpub\myspecialwebsite\DesktopModules\ToSIC_SexyContent\SqlDataProvider\Uninstall.SqlDataProvider' is denied. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.File.SetAttributes(String path, FileAttributes fileAttributes) at DotNetNuke.Common.Utilities.FileSystemUtils.CopyFile(String sourceFileName, String destFileName) at DotNetNuke.Common.Utilities.Internal.RetryableAction.TryIt() at DotNetNuke.Services.Installer.Util.CopyFile(InstallFile installFile, String basePath, Logger log) at DotNetNuke.Services.Installer.Installers.FileInstaller.InstallFile(InstallFile insFile)
Info Finished Sql execution
Failure Installation Failed - Script
Info Installation Failed - 2SexyContent
Info Starting Installation - 2SexyContent-App
Info Starting Installation - Module
Info Module registered successfully - 2sxc-app
Info Component installed successfully - Module
Info Starting Installation - File
Info Creating backup of previous version - icon-app.png
Failure ExceptionSystem.UnauthorizedAccessException: Access to the path 'M:\inetpub\myspecialwebsite\DesktopModules\ToSIC_SexyContent\icon-app.png' is denied. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.File.SetAttributes(String path, FileAttributes fileAttributes) at DotNetNuke.Common.Utilities.FileSystemUtils.CopyFile(String sourceFileName, String destFileName) at DotNetNuke.Common.Utilities.Internal.RetryableAction.TryIt() at DotNetNuke.Services.Installer.Util.CopyFile(InstallFile installFile, String basePath, Logger log) at DotNetNuke.Services.Installer.Installers.FileInstaller.InstallFile(InstallFile insFile)
Failure Installation Failed - File
Info Rolling back component install - Module
Info Component rolled back successfully - Module
Info Installation Failed - 2SexyContent-App
Info Starting Installation - 2sic_Imazen_ImageResizerPro
Info Starting Installation - Script
Info Begin Sql execution
Info Finished Sql execution
Info Component installed successfully - Script
Info Starting Installation - Assembly
Info Assembly already registered - bin\ImageResizer.dll
Info Assembly registered - bin\ImageResizer.Plugins.DiskCache.dll
Info Creating backup of previous version - bin\ImageResizer.Plugins.DiskCache.dll
Failure ExceptionSystem.UnauthorizedAccessException: Access to the path 'M:\inetpub\myspecialwebsite\bin\ImageResizer.Plugins.DiskCache.dll' is denied. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.File.SetAttributes(String path, FileAttributes fileAttributes) at DotNetNuke.Common.Utilities.FileSystemUtils.CopyFile(String sourceFileName, String destFileName) at DotNetNuke.Common.Utilities.Internal.RetryableAction.TryIt() at DotNetNuke.Services.Installer.Util.CopyFile(InstallFile installFile, String basePath, Logger log) at DotNetNuke.Services.Installer.Installers.FileInstaller.InstallFile(InstallFile insFile)
Failure Installation Failed - Assembly
Info Rolling back component install - Script
Info Component rolled back successfully - Script
Info Installation Failed - 2sic_Imazen_ImageResizerPro
Info Deleted temporary install folder
EndJob Installation Failed
It was missing IIS_IUSRS (default IIS user) in the folder so my colleague added it and it resolved the issue.