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 StartedNew to DNN Plat...New to DNN Plat...A critical error has occurred. Object reference not set to an instance of an objectA critical error has occurred. Object reference not set to an instance of an object
Previous
 
Next
New Post
4/25/2011 1:38 PM
 
Hi,

I Install DotNetNuke 5.6.1 and when trying to log on as host or admin get the following error:

A critical error has occurred.
Object reference not set to an instance of an object


The Error Logs are as follows according to the table EventLog:


AssemblyVersion 5.6.1 PortalID 0 PortalName Comercio Exterior: Directorio Empresas, Arancel del Ecuador, Glosario Aduanero, Importaciones, Exportaciones UserID -1 UserName ActiveTabID 41 ActiveTabName Home RawURL /web/install/Home/tabid/41/ctl/Login/language/en-US/Default.aspx?returnurl=%2fweb%2finstall%2fHome%2ftabid%2f41%2flanguage%2fen-US%2fDefault.aspx%3ferror%3dObject%2520reference%2520not%2520set%2520to%2520an%2520instance%2520of%2520an%2520object. AbsoluteURL /web/Default.aspx AbsoluteURLReferrer http://www.todocomercioexterior.com.ec/web/install/Home/tabid/41/ctl/Login/language/en-US/Default.aspx?returnurl=%2fweb%2finstall%2fHome%2ftabid%2f41%2flanguage%2fen-US%2fDefault.aspx%3ferror%3dObject%2520reference%2520not%2520set%2520to%2520an%2520instance%2520of%2520an%2520object. UserAgent Mozilla/5.0 (Windows NT 5.2) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.0 Safari/534.30 DefaultDataProvider DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider ExceptionGUID e263d2e6-9ad5-4a46-bafe-c282282e8a1a InnerException Object reference not set to an instance of an object. FileName FileLineNumber 0 FileColumnNumber 0 Method DotNetNuke.Security.Membership.AspNetMembershipProvider.UserLogin StackTrace Message DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Security.Membership.AspNetMembershipProvider.UserLogin(Int32 portalId, String username, String password, String authType, String verificationCode, UserLoginStatus& loginStatus) at DotNetNuke.Entities.Users.UserController.ValidateUser(Int32 portalId, String Username, String Password, String authType, String VerificationCode, String PortalName, String IP, UserLoginStatus& loginStatus) at DotNetNuke.Modules.Admin.Authentication.Login.cmdLogin_Click(Object sender, EventArgs e) at System.Web.UI.WebControls.Button.OnClick(EventArgs e) at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace --- Source


AssemblyVersion 5.6.1 PortalID 0 PortalName Comercio Exterior: Directorio Empresas, Arancel del Ecuador, Glosario Aduanero, Importaciones, Exportaciones UserID -1 UserName ActiveTabID 41 ActiveTabName Home RawURL /web/install/Home/tabid/41/ctl/Login/language/en-US/Default.aspx?returnurl=%2fweb%2finstall%2fHome%2ftabid%2f41%2flanguage%2fen-US%2fDefault.aspx%3ferror%3dObject%2520reference%2520not%2520set%2520to%2520an%2520instance%2520of%2520an%2520object. AbsoluteURL /web/Default.aspx AbsoluteURLReferrer http://www.todocomercioexterior.com.ec/web/install/Home/tabid/41/ctl/Login/language/en-US/Default.aspx?returnurl=%2fweb%2finstall%2fHome%2ftabid%2f41%2flanguage%2fen-US%2fDefault.aspx%3ferror%3dObject%2520reference%2520not%2520set%2520to%2520an%2520instance%2520of%2520an%2520object. UserAgent Mozilla/5.0 (Windows NT 5.2) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.0 Safari/534.30 DefaultDataProvider DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider ExceptionGUID 7834d23c-23c9-4791-a77a-c37b6cba35ba InnerException e:\web\todocomerci\htdocs\web.config(68): error CS0234: The type or namespace name 'Mvc' does not exist in the namespace 'System.Web' (are you missing an assembly reference?) FileName FileLineNumber 0 FileColumnNumber 0 Method System.Web.Compilation.AssemblyBuilder.Compile StackTrace Message System.Web.HttpCompileException (0x80004005): e:\web\todocomerci\htdocs\web.config(68): error CS0234: The type or namespace name 'Mvc' does not exist in the namespace 'System.Web' (are you missing an assembly reference?) at System.Web.Compilation.AssemblyBuilder.Compile() at System.Web.Compilation.BuildProvidersCompiler.PerformBuild() at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) at System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean ensureIsUpToDate) at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) at DotNetNuke.Modules.Admin.Authentication.Login.BindLogin() Source


AssemblyVersion 5.6.1 PortalID 0 PortalName Comercio Exterior: Directorio Empresas, Arancel del Ecuador, Glosario Aduanero, Importaciones, Exportaciones UserID -1 UserName ActiveTabID 41 ActiveTabName Home RawURL /web/install/Home/tabid/41/ctl/Login/language/en-US/Default.aspx?returnurl=%2fweb%2finstall%2fHome%2ftabid%2f41%2flanguage%2fen-US%2fDefault.aspx%3ferror%3dObject%2520reference%2520not%2520set%2520to%2520an%2520instance%2520of%2520an%2520object. AbsoluteURL /web/Default.aspx AbsoluteURLReferrer http://www.todocomercioexterior.com.ec/web/install/Home/tabid/41/ctl/Login/language/en-US/Default.aspx?returnurl=%2fweb%2finstall%2fHome%2ftabid%2f41%2flanguage%2fen-US%2fDefault.aspx%3ferror%3dObject%2520reference%2520not%2520set%2520to%2520an%2520instance%2520of%2520an%2520object. UserAgent Mozilla/5.0 (Windows NT 5.2) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.0 Safari/534.30 DefaultDataProvider DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider ExceptionGUID a672be70-bf23-48a6-a7f3-62bf8b5bb284 InnerException e:\web\todocomerci\htdocs\web.config(67): error CS0234: The type or namespace name 'Mvc' does not exist in the namespace 'System.Web' (are you missing an assembly reference?) FileName FileLineNumber 0 FileColumnNumber 0 Method System.Web.Compilation.AssemblyBuilder.Compile StackTrace Message System.Web.HttpCompileException (0x80004005): e:\web\todocomerci\htdocs\web.config(67): error CS0234: The type or namespace name 'Mvc' does not exist in the namespace 'System.Web' (are you missing an assembly reference?) at System.Web.Compilation.AssemblyBuilder.Compile() at System.Web.Compilation.BuildProvidersCompiler.PerformBuild() at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) at System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean ensureIsUpToDate) at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) at DotNetNuke.Modules.Admin.Authentication.Login.BindLogin() Source


AssemblyVersion 5.6.1 PortalID 0 PortalName Comercio Exterior: Directorio Empresas, Arancel del Ecuador, Glosario Aduanero, Importaciones, Exportaciones UserID -1 UserName ActiveTabID 41 ActiveTabName Home RawURL /web/install/Home/tabid/41/ctl/Login/language/en-US/Default.aspx?returnurl=%2fweb%2finstall%2fHome%2ftabid%2f41%2flanguage%2fen-US%2fDefault.aspx%3ferror%3dObject%2520reference%2520not%2520set%2520to%2520an%2520instance%2520of%2520an%2520object. AbsoluteURL /web/Default.aspx AbsoluteURLReferrer http://www.todocomercioexterior.com.ec/web/install/Home/tabid/41/language/en-US/Default.aspx?error=Object%20reference%20not%20set%20to%20an%20instance%20of%20an%20object. UserAgent Mozilla/5.0 (Windows NT 5.2) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.0 Safari/534.30 DefaultDataProvider DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider ExceptionGUID 62b328d9-9e49-4e7e-9511-bec4394d3bbd InnerException e:\web\todocomerci\htdocs\web.config(68): error CS0234: The type or namespace name 'Mvc' does not exist in the namespace 'System.Web' (are you missing an assembly reference?) FileName FileLineNumber 0 FileColumnNumber 0 Method System.Web.Compilation.AssemblyBuilder.Compile StackTrace Message System.Web.HttpCompileException (0x80004005): e:\web\todocomerci\htdocs\web.config(68): error CS0234: The type or namespace name 'Mvc' does not exist in the namespace 'System.Web' (are you missing an assembly reference?) at System.Web.Compilation.AssemblyBuilder.Compile() at System.Web.Compilation.BuildProvidersCompiler.PerformBuild() at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) at System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean ensureIsUpToDate) at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) at DotNetNuke.Modules.Admin.Authentication.Login.BindLogin() Source


AssemblyVersion 5.6.1 PortalID 0 PortalName Comercio Exterior: Directorio Empresas, Arancel del Ecuador, Glosario Aduanero, Importaciones, Exportaciones UserID -1 UserName ActiveTabID 41 ActiveTabName Home RawURL /web/install/Home/tabid/41/ctl/Login/language/en-US/Default.aspx?returnurl=%2fweb%2finstall%2fHome%2ftabid%2f41%2flanguage%2fen-US%2fDefault.aspx%3ferror%3dObject%2520reference%2520not%2520set%2520to%2520an%2520instance%2520of%2520an%2520object. AbsoluteURL /web/Default.aspx AbsoluteURLReferrer http://www.todocomercioexterior.com.ec/web/install/Home/tabid/41/language/en-US/Default.aspx?error=Object%20reference%20not%20set%20to%20an%20instance%20of%20an%20object. UserAgent Mozilla/5.0 (Windows NT 5.2) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.0 Safari/534.30 DefaultDataProvider DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider ExceptionGUID e445575b-145f-41d2-b640-7adce1dc05b2 InnerException e:\web\todocomerci\htdocs\web.config(67): error CS0234: The type or namespace name 'Mvc' does not exist in the namespace 'System.Web' (are you missing an assembly reference?) FileName FileLineNumber 0 FileColumnNumber 0 Method System.Web.Compilation.AssemblyBuilder.Compile StackTrace Message System.Web.HttpCompileException (0x80004005): e:\web\todocomerci\htdocs\web.config(67): error CS0234: The type or namespace name 'Mvc' does not exist in the namespace 'System.Web' (are you missing an assembly reference?) at System.Web.Compilation.AssemblyBuilder.Compile() at System.Web.Compilation.BuildProvidersCompiler.PerformBuild() at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) at System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean ensureIsUpToDate) at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) at DotNetNuke.Modules.Admin.Authentication.Login.BindLogin() Source


 
New Post
4/26/2011 10:58 AM
 
I doubt if there was any change in the connection string format when you were trying to edit it ? may be an extra space or some string was removed ?

can you double check your web.config and also see that web.config is placed in the root .

Kranthi
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...A critical error has occurred. Object reference not set to an instance of an objectA critical error has occurred. Object reference not set to an instance of an object


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