DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

Modifying Upgrade CSS Files

You are not authorized to post a reply.

New Around Here

    We are going through the process of upgrading to 9.3.1.

    All our sites have modified Persona Bar and Edit Bar CSS files.

    These are being overridden in the upgrade from the following zips in the Install/Module folder:



    We have attempted to take the install files, unzip them, make our custom changes and then zip the package back up again however when we run the upgrade it seems to detect that the files have been modified and errors on the install of the Edit Bar zip package:

    [PathNotFoundException: The system cannot find the file specified.]

       SchwabenCode.QuickIO.Internal.InternalQuickIOCommon.NativeExceptionMapping(String path, Int32 errorCode) +272
       SchwabenCode.QuickIO.QuickIOFile.OpenFileStream(QuickIOPathInfo pathInfo, FileAccess fileAccess, FileMode fileOption, FileShare shareMode, Int32 buffer) +92
       SchwabenCode.QuickIO.QuickIOFile.OpenText(QuickIOPathInfo pathInfo) +34
       DotNetNuke.Common.Utilities.FileSystemUtils.ReadFile(String filePath) +104
       DotNetNuke.Services.Installer.Installers.PackageInstaller.ReadTextFromFile(String source) +72
       DotNetNuke.Services.Installer.Installers.PackageInstaller.ReadManifest(XPathNavigator manifestNav) +3732
       DotNetNuke.Services.Installer.Installers.PackageInstaller..ctor(String packageManifest, InstallerInfo info) +303
       DotNetNuke.Services.Installer.Installer.ProcessPackages(XPathNavigator rootNav) +397
       DotNetNuke.Services.Installer.Installer.ReadManifest(Boolean deleteTemp) +119
       DotNetNuke.Services.Upgrade.Upgrade.InstallPackage(String file, String packageType, Boolean writeFeedback) +564
       DotNetNuke.Services.Install.Install.UpgradeApplication() +1222
       DotNetNuke.Services.Install.Install. (EventArgs e) +509
       System.Web.UI.Control.LoadRecursive() +68
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3785


    Has anyone any ideas how we could overcome this?





      I guess you named your files differently? Or did you remove files?
      In that case you also need to bring the manifest of the installer package in sync.

      Senior Member

        Technically, the persona bar isn't currently an extension point (at least not in the same way the previous control panel was). It should be, and I believe that the current development efforts are getting us there with 9.4 or 10 when they're released. In the meantime, I'd suggest replacing your forked code with the original before upgrade, then reapply your changes after the upgrade.
        You are not authorized to post a reply.

        These Forums are dedicated to the discussion of DNN Platform.

        For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

        1. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
        2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
        3. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
        4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
        5. No Flaming or Trolling.
        6. No Profanity, Racism, or Prejudice.
        7. Site Moderators have the final word on approving / removing a thread or post or comment.
        8. English language posting only, please.

        Would you like to help us?

        Awesome! Simply post in the forums using the link below and we'll get you started.

        Get Involved