Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

telerik -- supercharge your DNN websites
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
 


  Sponsors  

Meet Our Sponsors

MaximumASP
SourceGear - Tools for Developers
.: CounterSoft :.
telerik
ExactTarget email software solutions
Merak Mail Server
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Chat About It!  Login problems - Critical error, Object reference not set...
Previous Previous
 
Next Next
New Post 2/11/2008 11:05 AM
Unresolved
User is offline Emil Atanasov
10 posts
www.cci-leadershipstrategies.com
10th Ranked


Login problems - Critical error, Object reference not set... 

Hi everyone,

I'm working on a website for my company and everything was fine until I went to login this morning. Clicking on the Login link now just takes me back to the Home page and a message appears:

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

I've tried changing web.config and default.aspx to cause the server app to recycle. That didn't help.
I've also tried going to the Login page directly via http://www.cci-leadershipstrategies.com/default.aspx?ctl=login as well as http://www.cci-leadershipstrategies.com/Home/tabid/36/ctl/Login/Default.aspx but neither of them works - the result is the same.

The oddest thing about it is that the last time I worked on the site everything was fine, and noone else has logged since then. Then all of a sudden today I get this.

The only thing I can think of is that the News module might be causing this, as it's the only thing that has changed. I had one test news item that was set to expire on the day after I logged in for the last time.

Any help/suggestion would be greatly appreciated.

Thanks,

Emil

 
New Post 2/11/2008 12:42 PM
User is offline Emil Atanasov
10 posts
www.cci-leadershipstrategies.com
10th Ranked


Re: Login problems - Critical error, Object reference not set... 

More info about the above problem that I neglected to mention:

I have verified (in the DB) that the Login page has not been modified from the default, i.e. in dbo.Portals table the LoginTabId is set to NULL.

Since I was in the DB anyway I just pulled out the log entry from the Event Viewer. Here's the exception stack trace:

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 System.Net.WebPermission.FromXml(SecurityElement securityElement)
   at System.Security.PermissionSet.CreatePerm(Object obj, Boolean ignoreTypeLoadFailures)
   at System.Security.PermissionSet.CreatePerm(Object obj, Boolean ignoreTypeLoadFailures)
   at System.Security.PermissionSet.CreatePermission(Object obj, Int32 index)
   at System.Security.PermissionSetEnumeratorInternal.MoveNext()
   at System.Security.PermissionSet.ToXml(String permName)
   at System.Security.PermissionSet.ToXml()
   at System.Security.SecurityException..ctor(String message, AssemblyName assemblyName, PermissionSet grant, PermissionSet refused, MethodInfo method, SecurityAction action, Object demanded, IPermission permThatFailed, Evidence evidence)
   at System.Security.SecurityException.MakeSecurityException(AssemblyName asmName, Evidence asmEvidence, PermissionSet granted, PermissionSet refused, RuntimeMethodHandle rmh, SecurityAction action, Object demand, IPermission permThatFailed)
   at System.Security.CodeAccessSecurityEngine.ThrowSecurityException(Assembly asm, PermissionSet granted, PermissionSet refused, RuntimeMethodHandle rmh, SecurityAction action, Object demand, IPermission permThatFailed)
   at System.Security.CodeAccessSecurityEngine.ThrowSecurityException(Object assemblyOrString, PermissionSet granted, PermissionSet refused, RuntimeMethodHandle rmh, SecurityAction action, Object demand, IPermission permThatFailed)
   at System.Security.CodeAccessSecurityEngine.CheckHelper(PermissionSet grantedSet, PermissionSet refusedSet, CodeAccessPermission demand, PermissionToken permToken, RuntimeMethodHandle rmh, Object assemblyOrString, SecurityAction action, Boolean throwException)
   at System.Security.CodeAccessSecurityEngine.CheckHelper(CompressedStack cs, PermissionSet grantedSet, PermissionSet refusedSet, CodeAccessPermission demand, PermissionToken permToken, RuntimeMethodHandle rmh, Assembly asm, SecurityAction action)
   at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet)
   at System.Security.CodeAccessPermission.Demand()
   at DotNetNuke.Authentication.OpenID.Login.get_Enabled()
   at DotNetNuke.Modules.Admin.Authentication.Login.BindLogin()
   at DotNetNuke.Modules.Admin.Authentication.Login.ShowPanel()
   at DotNetNuke.Modules.Admin.Authentication.Login.Page_Load(Object sender, EventArgs e)
   at System.Web.UI.Control.OnLoad(EventArgs e)
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

 
New Post 2/11/2008 4:43 PM
User is offline Jeremy Nichols
11 posts
www.qboyz.org
10th Ranked


Re: Login problems - Critical error, Object reference not set... 

I am seeing this to.  the last change I made was an SMTP change and I went through the database and removed it and still I don't get a to login.

 
New Post 2/12/2008 5:04 AM
User is offline Emil Atanasov
10 posts
www.cci-leadershipstrategies.com
10th Ranked


Re: Login problems - Critical error, Object reference not set... 

Still no success in resolving this and it's happened to a DNN installation that's only 1 week old.

I'm very surprised by the lack of responses. Does noone really know anything about how to fix this? Come on guys, help!  I'm not the only one experiencing this problem.

Thanks!

 
New Post 2/12/2008 6:29 AM
User is offline Emil Atanasov
10 posts
www.cci-leadershipstrategies.com
10th Ranked


Re: Login problems - Critical error, Object reference not set... 

Jeremy, your problem is the same as mine. Can you tell me which company you are hosting the website with? I'm with Network Solutions. Just trying to see if there's a pattern here.

 Jeremy Nichols wrote

I am seeing this to.  the last change I made was an SMTP change and I went through the database and removed it and still I don't get a to login.

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Chat About It!  Login problems - Critical error, Object reference not set...
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Windsor Management Group
Fund Accounting Software for K12 Education.
Infinitevisions.com
Convert Visitors to Customers
In order to bring value to your users, we must first understand them. VIVIDSITES will help you build a custom web application and interactive marketing tools that your users will thank you for. We marry high-end creative with head banging technology to entertain and convert visitors into paying customers. Call 314.514.0505 or visit us at http://www.vividsites.com to find out how.
- V I V I D S I T E S -
Gearworx Web Hosting
As a premier provider of Web Hosting, Private/White Label hosting, Server Colocation, Dedicated Server, and other Managed Services, Gearworx offers an array of services designed to more effectively manage strategies driving businesses on the Web. Headquartered in Fremont, California our state of the art tier one data centers and distributed managed services environment enables Gearworx to offer your business enterprise level solutions through simplified processes.
Gearworx Web Hosting

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP