Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...DotNetNuke_Community_06.02_Source VS2010 ErrorDotNetNuke_Community_06.02_Source VS2010 Error
Previous
 
Next
New Post
7/10/2012 4:58 AM
 

I am trying to install a version of DNN 6.2.0 Source under VS2010 on a Windows 7 Platform. I have edited and save Web. config (from Release.config) and given it the SQL 2008 database connection strings. I have tried 6.0.2 and 6.0.3 and they all fail in the same place so I presume that I am making a very fundamental mistake. But after a couple of days I am now losing the will to live.The VS2010 starts OK by compiling and building the application but when it starts it comes up with the following error:-

 

Server Error in '/MYTESTAPP_620' Application.

Objectreference not set to an instance of an object.

Description: An unhandled exception occurred during the execution of the current webrequest. Please review the stack trace for more information about the error andwhere it originated in the code.

Exception Details: System.NullReferenceException:Object reference not set to an instance of an object.

Source Error:

 

Line 561:                    //first call GetProviderPath - this insures that the Database is Initialised correctly

Line 562:                    //and also generates the appropriate error message if it cannot be initialised correctly

Line 563:                    string strMessage = DataProvider.Instance().GetProviderPath();

Line 564:                    //get current database version from DB

Line 565:                    if (!strMessage.StartsWith("ERROR:"))

Source File: C:\ITP\MYTESTAPP_620\Library\Common\Globals.cs Line: 563

Stack Trace:

 

 

[NullReferenceException: Object reference not set to an instance of an object.]

   DotNetNuke.Common.Globals.get_Status() in C:\ITP\MYTESTAPP_620\Library\Common\Globals.cs:563

   DotNetNuke.Services.Log.EventLog.LogController.AddLog(LogInfo logInfo) in C:\ITP\MYTESTAPP_620\Library\Services\Log\EventLog\LogController.cs:176

   DotNetNuke.Services.Log.EventLog.ExceptionLogController.AddLog(Exception objException, ExceptionLogType LogType) in C:\ITP\MYTESTAPP_620\Library\Services\Log\EventLog\ExceptionLogController.cs:137

   DotNetNuke.Services.Exceptions.Exceptions.LogException(Exception exc) in C:\ITP\MYTESTAPP_620\Library\Services\Exceptions\Exceptions.cs:463

   DotNetNuke.ComponentModel.ProviderInstaller.InstallProvider(IContainer container, Provider provider) in C:\ITP\MYTESTAPP_620\Library\ComponentModel\ProviderInstaller.cs:89

   DotNetNuke.ComponentModel.ProviderInstaller.InstallComponents(IContainer container) in C:\ITP\MYTESTAPP_620\Library\ComponentModel\ProviderInstaller.cs:65

   DotNetNuke.ComponentModel.ComponentFactory.InstallComponents(IComponentInstaller[] installers) in C:\ITP\MYTESTAPP_620\Library\ComponentModel\ComponentFactory.cs:48

   DotNetNuke.Web.Common.Internal.DotNetNukeHttpApplication.Application_Start(Object Sender, EventArgs E) in C:\ITP\MYTESTAPP_620\DotNetNuke.Web\Common\DotNetNukeHttpApplication.cs:85

 


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NETVersion:4.0.30319.272

 

 
New Post
7/10/2012 5:44 PM
 
A couple of questions.

1) Do you need the source package? Typically the INSTALL package is more than enough for people

2) Before you extracted the SOURCE package did you unblock the ZIP file?

Chris Hammond
Former DNN Corp Employee, MVP, Core Team Member, Trustee
Christoc.com Software Solutions DotNetNuke Module Development, Upgrades and consulting.
dnnCHAT.com a chat room for DotNetNuke discussions
 
New Post
7/11/2012 3:50 AM
 

HI Chris - Many thanks for replying.

Yes I need the source version as I am a developer and have a very large DNN project and many modules to produce. I also performed the UNBLOCK on the zip file properties.

I tried with an earlier version and it returned the equivalent same error:-

Server Error in '/DNNTest_05.06.01' Application.

Could not load provider DotNetNuke.HtmlEditor.TelerikEditorProvider.EditorProvider, DotNetNuke.HtmlEditor.TelerikEditorProvider

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Configuration.Configurati sException: Could not load provider DotNetNuke.HtmlEditor.TelerikEditorProvider.EditorProvider, DotNetNuke.HtmlEditor.TelerikEditorProvider

Source Error:

Line 69: Dim type As Type = System.Web.Compilation.BuildManager.GetType(provider.Type, False, True)Line 70: If type Is Nothing ThenLine 71: Throw New Configurati sException(String.Format("Could not load provider {0}", provider.Type))Line 72: End IfLine 73: 

Source File: C:\DotNetNuke\DotNetNuke Versions\05.06.01\Library\ComponentModel\ProviderInstaller.vb Line: 71

 

 
New Post
7/11/2012 8:23 PM
 

FWIW - there is simply no need to use the SOURCE package for developing modules.

The only time you need the source code is if you want to ALTER the DNN core - which is a really bad idea - or if you want to look around under the hood to see whats happening in a code library.

For any other development - all you need  is a running DNN install.

Westa

 
New Post
7/12/2012 2:18 AM
 

Hi Wes

When I first started with DNN, many moons ago, there was no issue with using the Source. When you say that there is "no need to use the Source" are you in fact saying that it is impossible to use the Source under VS2010? I think if I want to use the Source then that is my decision and mine alone and I don't want to go into the reasons on this forum for that decision.

All I am asking, in fact, is how is the DNN Source is incorporated under VS2010 - what are the steps? If it is impossible then fine.

 

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...DotNetNuke_Community_06.02_Source VS2010 ErrorDotNetNuke_Community_06.02_Source VS2010 Error


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

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.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out