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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Deleted Login ModuleDeleted Login Module
Previous
 
Next
New Post
9/22/2010 11:06 AM
 
Here is yet another post about deleting the Login Module. I created a login page and redirected the login link to this page and through sheer stupidity I deleted the login module. I tried John Mitchelles OpenSesame.aspx but it didn't work. After investigating further I see that (correct me if I am wrong) the LoginTabId is now found under vw_Portals. I attempted to updated the database. SQL is not my strong point. When I attempted to update the database I got this error:
ERROR: Cannot update the view or function "database.dbo.vw_Portals" because it contains aggregates or a DISTINCT clause.  After further investigation I guess I need to change "something" so that it does not contain aggregates or a DISTINCT clause. I have no idea how to do that of if that is even what I need to do.
 
New Post
9/22/2010 11:51 AM
 
I was able to set the LoginTabId to NULL with the following SQL
Update dbo.PortalLocalization
Set   LoginTabId=NULL  Where PortalId=0

However when I click login the page still redirects to the login.aspx page that does not contain a login module.
Is there something else I need to do. Recycle the application pool? 

  
 
New Post
9/22/2010 12:13 PM
 

This SQL solved the issue:
Update dbo.PortalLocalization  
Set   LoginTabId=NULL  
Where PortalId=0 

The LoginTabId had been moved to PortalLocalization
http://www.dotnetnuke.com/Community/F...

I recycled the application pool and then used 
the following link trick:
www.mysite.com/default.aspx?ctl=login
adding the ?ctl=login

Fixed!!!

Sorry for the double post I got an error on the first post ...posted again...and noticed later there was a double post.  



 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Deleted Login ModuleDeleted Login Module


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