When i am tring to run DNN using VS2005 i am getting the following error can anyone please help me.
"
Object reference not set to an instance of an object.
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.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. |
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.] DotNetNuke.Common.Utilities.Config.GetConnectionString(String name) +80 DotNetNuke.Common.Utilities.Config.GetConnectionString() +70 DotNetNuke.Data.SqlDataProvider..ctor() +125
[TargetInvocationException: Exception has been thrown by the target of an invocation.] System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck) +0 System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache) +103 System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache) +261 System.Activator.CreateInstance(Type type, Boolean nonPublic) +66 System.Activator.CreateInstance(Type type) +6 DotNetNuke.Framework.Reflection.CreateObject(String TypeName, String CacheKey, Boolean UseCache) +51 DotNetNuke.Framework.Reflection.CreateObject(String ObjectProviderType, String ObjectProviderName, String ObjectNamespace, String ObjectAssemblyName, Boolean UseCache) +803 DotNetNuke.Framework.Reflection.CreateObject(String ObjectProviderType, String ObjectNamespace, String ObjectAssemblyName) +46 DotNetNuke.Data.DataProvider.CreateProvider() +53 DotNetNuke.Data.DataProvider..cctor() +27
[TypeInitializationException: The type initializer for 'DotNetNuke.Data.DataProvider' threw an exception.] DotNetNuke.Data.DataProvider.Instance() +0 DotNetNuke.Entities.Portals.PortalSettings.GetProviderPath() +26 DotNetNuke.Common.Globals.GetUpgradeStatus() +132 DotNetNuke.Common.Initialize.CheckVersion(HttpApplication app) +186 DotNetNuke.Common.Initialize.InitializeApp(HttpApplication app) +477 DotNetNuke.Common.Initialize.Init(HttpApplication app) +166 DotNetNuke.HttpModules.RequestFilter.RequestFilterModule.FilterRequest(Object sender, EventArgs e) +263 System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +167 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +117
|