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 ...Try to set SSL - locks up loginTry to set SSL - locks up login
Previous
 
Next
New Post
4/11/2012 9:35 AM
 

My ability to login to my DNN site locked up and gives the error below.  This happened just after I set the SSL for the site and for the home page.  My server provider tech help tells me the issue is in my SiteUrls.config file.   All I know is that I set the SSL at the site level and the homepage level and now I can't login to the site from any page without getting the error below and can't access the home page at all.


Here is the error when trying to login to the site.....


***************


Server Error in '/HisHandsReader' Application. 
--------------------------------------------------------------------------------


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.Entities.Portals.PortalSettings..ctor(Int32 tabID, PortalAliasInfo objPortalAliasInfo) +47
   DotNetNuke.HttpModules.UrlRewriteModule.OnBeginRequest(Object s, EventArgs e) +2969
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +68
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75
 




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.3625; ASP.NET Version:2.0.50727.3634 


***************


Here is what the SiteUrls.config file looks like.....


***************
 
This is what is written in that 'HisHandsReader\SiteUrls.config' file...
 


<RewriterConfig>
    <Rules>
        <RewriterRule>
            <LookFor>.*DesktopDefault.aspx(.*)</LookFor>
            <SendTo>~/Default.aspx$1</SendTo>
        </RewriterRule>
        <RewriterRule>
            <LookFor>.*EditModule.aspx(.*)</LookFor>
            <SendTo>~/Default.aspx$1</SendTo>
        </RewriterRule>
        <RewriterRule>
            <LookFor>.*/TabId/(\d+)(.*)/Logoff.aspx</LookFor>
            <SendTo>~/Admin/Security/Logoff.aspx?tabid=$1</SendTo>
        </RewriterRule>
        <RewriterRule>
            <LookFor>.*/TabId/(\d+)(.*)/rss.aspx</LookFor>
            <SendTo>~/rss.aspx?TabId=$1</SendTo>
        </RewriterRule>
        <RewriterRule>
            <LookFor>.*Telerik.RadUploadProgressHandler.ashx(.*)</LookFor>
            <SendTo>~/Telerik.RadUploadProgressHandler.ashx$1</SendTo>
        </RewriterRule>
        <RewriterRule>
            <LookFor>[^?]*/TabId/(\d+)(.*)</LookFor>
            <SendTo>~/Default.aspx?TabId=$1</SendTo>
        </RewriterRule>
        <RewriterRule>
            <LookFor>.*BannerClickThrough.aspx(.*)</LookFor>
            <SendTo>~/DesktopModules/Admin/Banners/BannerClickThrough.aspx$1</SendTo>
        </RewriterRule>
    </Rules>
</RewriterConfig>


***************




 
New Post
4/12/2012 4:24 AM
 
Does Your SSL certficiat has been installed on IIS web server ?
The SSL certificat must be installed before enabling SSL. If not, you'll have to go to DB and revert the changes you've done by the Site Setting and PageSetting.
Changes to table dbo.Tabs would re give you acces to your page.
So connect to your db with SQL Server Manager, go to table dbo.Tabs, right clic, modify lignes, find the record that correspond to your mis-secured page(tab) and set IsSecure to False.
If needed, go to Table PortalSettings, find the SettingName SSL Enable, set his SettingValue to False
HTH

Julien Girerd
DevPCI - DotNetNuke Experts France Communauté des utilisateurs francophone de DotNetNuke DNN-Connect
 
New Post
4/12/2012 5:32 AM
 
Thanks Julien!

That solves my locked out login problem. :)

The server folks say that they tested the ssl was indeed working by uploading a file to the domain using ssl FTP. Hmmm??

My other problem was that setting the ssl on the homepage made it so that I could not even access the homepage. The error was saying that it had too many redirects?? Do you think the login lock out on from other pages on the site was/is related to the too many redirects error in not being able to access the home page?

I am able to log in again and access the home page again after updating the DB to back out the ssl site and page settings... but I still need to some how solve the problem such that I can once again add ssl. I need it so I can add a FaceBook register module which requires ssl.
 
New Post
4/12/2012 6:00 AM
 
Happy to heard you solving your login problem.

To enable SSL, it could depend on your hosting plan, Windows Server Version and his IIS related version.
If Windows Server 2K3 and IIS 6, have you a dedicated IP adresse for your domain ?
Have you a dedicated or shared server ?
What type of SSL certificat have you for your domain ?
What DNN Version are you using ?

Without reconfiguring SSL in DNN Site Setting and page setting, are you able to browse your site with https://  ?

feel free to contact me at contact at devpci dot com if you prefer not expose publicly too many informations

Julien Girerd
DevPCI - DotNetNuke Experts France Communauté des utilisateurs francophone de DotNetNuke DNN-Connect
 
New Post
4/16/2012 4:50 PM
 
1. You have a static SSL IP address: 66.96.155.115 for your domain 'www.hishandsreader.org'.
2. Hosting Platform: Windows 2K3 and IIS6 Shared hosting.
3. SSL Type: Quick SSL
4. DNN Version: 5.2.2

Someone recommended
Check the “SSL Enforced” check box

Maybe you have some suggestions. Thank you very much!
Bob
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Try to set SSL - locks up loginTry to set SSL - locks up login


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