DNN Forums

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

VS Build error after upgrading to 9.5

Sort:
You are not authorized to post a reply.





New Around Here





    Since upgrading to 9.5 from 9.0 I get these 4 errors and my project will no longer build. Any ideas?

    Error        Unknown server tag 'dnn:Label'.       \webupload.ascx   <-- This error 3 times!
    Error        Unknown server tag 'dnn:DnnScriptBlock'.      \filepickeruploader.ascx    32    

     






    Veteran Member





      Jamie,

      did you upgrade directly from 9.0 to 9.5? According to the DNN Platform Suggested Upgrade Path there should be at least one step (9.3.2), maybe two (9.1.1 and 9.3.2) in between.

      Otherwise: .Net Framework 4.7.2 (or higher) is required, did you check that?

      I have these errors in the VS markup (not in the code behind, there is no problem) for a long time, and also IntelliSense does not work for these controls, but the project(s) always compile and run fine. Have not found a way to get rid of this.

      Happy DNNing!
      Michael

      Michael Tobisch
      DNN★MVP

      dnnWerk Austria
      DNN Connect





      New Around Here





        Thanks Michael,
        Edited this post as I managed to get rid of some of the errors, I am however still getting this and not sure what I need to update:

        I am now on 9.2.0, just working my way through the updates attempting to get them to build.

        Could not load type 'DotNetNuke.Admin.Modules.ModuleLocalization'.        admin\Modules\ModuleLocalization.ascx 
         

         






        Veteran Member





          Jamie,

          a common reason for errors like this is that the ZIP file was not unblocked before applying the update to the site. Have you done this?

          Happy DNNing!
          Michael

          Michael Tobisch
          DNN★MVP

          dnnWerk Austria
          DNN Connect
          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