• Login
  • Register

DNN Forums

A community discussion page. We're starting from scratch, so...let's get the party started!

Azure Install Woes

You are not authorized to post a reply.
Sort:


New Member


Posts:4
New Member

    G'day everyone, I am relatively new to DNN dev.

    I've had a rather fustrating time attempting to migrate DNN 9.4.4 to an Azure App service.
    I installed successfully on my development machine, applied skins and modules from EasyDNN, created content and went to deploy.

    Created the App service, uploaded the DNN site and created Azure database without issue.  
    Configure domain & SSL certs, -- success

    Then:
    - script the database.... error
    - bacpac the database with install via SSMS - error
    - migrate via the Database Migration Assistant - errors... but completes.

    Configure sql server firewall to allow azure traffic - success

    Browse to the site - internal 500 error, when I check the logs - database connectivitiy issue. I can access the database via my local dev site without issue but not the azure app serivce instance. I add the connection string to the app service config for ships and giggles... somewhere along the way of bashing away on my keyboard the error changes... now its a resource not found....

    I'm pretty close to walking away, I have never had this much issue deploying a website.

    The doco is all over the shop, I really need a hand here.

     

    Cheers



    New Member


    Posts:4
    New Member

      Current Error: The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.
       

      Detailed Error Information:

      Module    UrlRewrite
      Notification    BeginRequest
      Handler    ExtensionlessUrl-Integrated-4.0
      Error Code    0x00000000
      Requested URL    http://allectum:80/
      Physical Path    D:\home\site\wwwroot
      Logon Method    Anonymous
      Logon User    Anonymous

      Log information
      2020-03-16 13:59:51.974+00:00 [RD0003FF6FE88F][D:9][T:9][ERROR] DotNetNuke.Services.Exceptions.BasePortalException - System.NullReferenceException: Object reference not set to an instance of an object.
         at DotNetNuke.Services.Exceptions.BasePortalException.InitializePrivateVariables()
      2020-03-16 13:59:51.994+00:00 [RD0003FF6FE88F][D:9][T:9][ERROR] DotNetNuke.Services.Exceptions.Exceptions - System.NullReferenceException: Object reference not set to an instance of an object.
         at DotNetNuke.Common.Utilities.Config.GetDefaultProvider(String type)
         at DotNetNuke.Common.Utilities.Config.GetConnectionString()
         at DotNetNuke.Data.DataProvider.get_ConnectionString()
         at DotNetNuke.Data.SqlDataProvider.ExecuteReader(String procedureName, Object[] commandParameters)
         at DotNetNuke.Data.DataProvider.GetLogTypeInfo()
         at DotNetNuke.Services.Log.EventLog.DBLoggingProvider.<>c.b__25_0(CacheItemArgs c)
         at DotNetNuke.Common.Utilities.DataCache.GetCachedDataFromRuntimeCache(CacheItemArgs cacheItemArgs, CacheItemExpiredCallback cacheItemExpired)
      2020-03-16 13:59:52.005+00:00 [RD0003FF6FE88F][D:9][T:9][ERROR] DotNetNuke.Services.Exceptions.BasePortalException - System.NullReferenceException: Object reference not set to an instance of an object.
         at DotNetNuke.Services.Exceptions.BasePortalException.InitializePrivateVariables()
      2020-03-16 13:59:52.037+00:00 [RD0003FF6FE88F][D:9][T:9][ERROR] DotNetNuke.Services.Exceptions.Exceptions - System.NullReferenceException: Object reference not set to an instance of an object.
         at DotNetNuke.Common.Utilities.Config.GetDefaultProvider(String type)
         at DotNetNuke.Common.Utilities.Config.GetConnectionString()
         at DotNetNuke.Data.DataProvider.get_ConnectionString()
         at DotNetNuke.Data.SqlDataProvider.ExecuteReader(String procedureName, Object[] commandParameters)
         at DotNetNuke.Data.DataProvider.GetLogTypeInfo()
         at DotNetNuke.Services.Log.EventLog.DBLoggingProvider.<>c.b__25_0(CacheItemArgs c)
         at DotNetNuke.Common.Utilities.DataCache.GetCachedDataFromRuntimeCache(CacheItemArgs cacheItemArgs, CacheItemExpiredCallback cacheItemExpired)
      2020-03-16 13:59:52.054+00:00 [RD0003FF6FE88F][D:9][T:9][ERROR] DotNetNuke.Services.Exceptions.BasePortalException - System.NullReferenceException: Object reference not set to an instance of an object.
         at DotNetNuke.Services.Exceptions.BasePortalException.InitializePrivateVariables()
      2020-03-16 13:59:52.068+00:00 [RD0003FF6FE88F][D:9][T:9][ERROR] DotNetNuke.Services.Exceptions.Exceptions - System.NullReferenceException: Object reference not set to an instance of an object.
         at DotNetNuke.Common.Utilities.Config.GetDefaultProvider(String type)
         at DotNetNuke.Common.Utilities.Config.GetConnectionString()
         at DotNetNuke.Data.DataProvider.get_ConnectionString()
         at DotNetNuke.Data.SqlDataProvider.ExecuteReader(String procedureName, Object[] commandParameters)
         at DotNetNuke.Data.DataProvider.GetLogTypeInfo()
         at DotNetNuke.Services.Log.EventLog.DBLoggingProvider.<>c.b__25_0(CacheItemArgs c)
         at DotNetNuke.Common.Utilities.DataCache.GetCachedDataFromRuntimeCache(CacheItemArgs cacheItemArgs, CacheItemExpiredCallback cacheItemExpired)



      New Member


      Posts:4
      New Member

        Peeps would love someone in the community letting me know what direction to look, I've been through all the logs, setup request tracing..... I cant get a hint of what is wrong?

        PS: If I connect to my production DB from my local dev environment the site runs without issue, I have deleted and uploaded the files a few times, I have no idea if there are specific file permissions... I cant find any doco on this.

        Please help.



        New Member


        Posts:4
        New Member

          So the first " internal 500 error" was due to the SQL Azure database not being accessible to the App Service, changed the firewall on the DB.

          The second error "resource not found", this appears to be an application configuration error and nothing to do with Azure.
          I deleted everything, installed DNN through the public website, the first time it installed it crashed on the DB install, when I attempted to run it again it gave the same error.

          deleted everything again, reinstalled, seemed to fail at the DB install again (despite watching the objects install in SSMS). Luckily I had to duck out and the install actually completed (with errors). I've logged in and it seems to be working but now requires me to manually add skins, modules/extensions and content.

          For a .Net website I would STRONGLY recommend a relevant Azure install guide for a fresh install as well as migration from dev to prod.

          Errors:



          1309
          2
          0
          Keywords

          264545203
          Application
          RD0003FFC31098



          3005
          An unhandled exception has occurred.
          3/23/2020 3:49:00 AM
          3/23/2020 3:49:00 AM
          5c59f79ef00b47fa804afca76792c32c
          9
          1
          0
          /LM/W3SVC/1820843158/ROOT-8-132294089237456648
          Full
          /
          D:\home\site\wwwroot\
          RD0003FFC31098

          4484
          w3wp.exe
          IIS APPPOOL\allectum
          NullReferenceException

          Object reference not set to an instance of an object.
          at DotNetNuke.HttpModules.OutputCaching.OutputCacheModule.OnResolveRequestCache(Object sender, EventArgs e)
          at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
          at System.Web.HttpApplication.<>c__DisplayClass285_0.b__0()
          at System.Web.HttpApplication.StepInvoker.Invoke(Action executionStep)
          at System.Web.HttpApplication.StepInvoker.<>c__DisplayClass4_0.b__0()
          at Microsoft.AspNet.TelemetryCorrelation.TelemetryCorrelationHttpModule.OnExecuteRequestStep(HttpContextBase context, Action step)
          at System.Web.HttpApplication.<>c__DisplayClass284_0.b__0(Action nextStepAction)
          at System.Web.HttpApplication.StepInvoker.Invoke(Action executionStep)
          at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
          at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)


          http://www.allectum.com.au/default.aspx
          /default.aspx
          ::1

          False

          IIS APPPOOL\allectum
          8
          IIS APPPOOL\allectum
          False

          at DotNetNuke.HttpModules.OutputCaching.OutputCacheModule.OnResolveRequestCache(Object sender, EventArgs e)
          at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
          at System.Web.HttpApplication.<>c__DisplayClass285_0.b__0()
          at System.Web.HttpApplication.StepInvoker.Invoke(Action executionStep)
          at System.Web.HttpApplication.StepInvoker.<>c__DisplayClass4_0.b__0()
          at Microsoft.AspNet.TelemetryCorrelation.TelemetryCorrelationHttpModule.OnExecuteRequestStep(HttpContextBase context, Action step)
          at System.Web.HttpApplication.<>c__DisplayClass284_0.b__0(Action nextStepAction)
          at System.Web.HttpApplication.StepInvoker.Invoke(Action executionStep)
          at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
          at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)




          I have also been disappointed with this community, is DNN being supported or are people moving to a new platform?

          Hopefully my experience helps someone else.
          You are not authorized to post a reply.

          These Forums are dedicated to 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. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
          2. 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.
          3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
          4. No Flaming or Trolling.
          5. No Profanity, Racism, or Prejudice.
          6. Site Moderators have the final word on approving / removing a thread or post or comment.
          7. 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