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
Current Error: The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.
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)
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.
Posted By NathanH on 28 Apr 2020 08:44 AM wiht the lack of community support shown here I am curious if it will be replaced with another OpenSource CMS at some point. I grabbed it because I was time poor and I was aware of it. I'm suspect I would have done a little more research into the available options first.
Hello Nathan!
I came across your post today because it partially matched some terms I was searching for.
Anyhow, I wanted to just let you know that DNN has rarely had times where the outlook looked so great for us. We have a leadership team, thriving community of volunteers, user groups, conferences, and a marketplace. All of these are quite busy. And, let's not forget not only the frequency of releases, but also the number of updates and contributors for each. These numbers have never been higer, I think.
As one of the leaders of this community, I want to welcome you with open arms. I also want to let you know that you're in the right place. Sometimes, a forum post just has bad timing. This is why some folks opt to subscribe to a support plan with one of the many ecosystem vendors. It all depends on your resources and urgency.
Thanks again for documenting your challenges here. Have a great day! :)
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:
Awesome! Simply post in the forums using the link below and we'll get you started.