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 ...Trying To Force DNN 6.2.x to FORCE SSL page to "SECURE"Trying To Force DNN 6.2.x to FORCE SSL page to "SECURE"
Previous
 
Next
New Post
8/5/2014 12:07 PM
 

Ah that makes sense, I think we're almost there I've run SQL scripts before... just needed the correct syntax for DNN.  
But before I backup my site and try this, My Question is, because our sites are only a single DNN Portal installs (Not Multiple Portals) would it be safe to assume that the trailing "0" would be the same portal ID for me in my version of DNN 6.2.X ?

Forgive me if this is obvious but, Basically, How would i locate my current Portal ID ?

Please advise how to locate portal ID.

Eagerly await a reply.... we are close to resolving thanks to the help of the forum.

 
New Post
8/5/2014 1:09 PM
 
Ok, I confirmed that my Portal ID was "0" by directly checking the Portal in the SQL DB...

However when I ran the following: Host > SQL to enable SSL for all pages of a website

with the following run as script: UPDATE {databaseOwner}[{objectQualifier}Tabs] SET IsSecure = True WHERE PortalID = 0

This ERROR was returned from DNN about the Entry Field:

System.Data.SqlClient.SqlException (0x80131904): Invalid column name 'True'. at System.Data.SqlClient.SqlConnection. (SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning() at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String connectionString, String script) UPDATE dbo.[Tabs] SET IsSecure = True WHERE PortalID = 0

Again, please advise.

 
New Post
8/5/2014 3:00 PM
 
sorry, you may use:
UPDATE {databaseOwner}[{objectQualifier}Tabs] SET IsSecure = 1 WHERE PortalID = 0

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
8/11/2014 2:45 PM
 

The above solutions from the Forum seems to work... Wanted to say thank you to all the DNN forum developers.
I also found the following to work well if you have direct access to the DB

SELECT * from Tabs

UPDATE Tabs SET IsSecure = 1

 

The only catch is... which ever way you decided to force your entire DNN Site behind SSL, Make sure you disable SSL Required in IIS settings. Our findings In IIS as we found that forcing SSL as "Is Scure" on the DNN pages and iis's "SSL Required" in IIS will give you a page not found error. Removing the "SSL Required" from IIS seems to keep the two from conflicting... and all the pages successfully force to https without the need of SSL Required from IIS .... DNN seems to control that. This seems to resolve the issue in our case... may differ for others... but just something to watch for if you are having to use dnn 6.2.x.

 

Was curious if this is as complicated in DNN 7. x ? Is it more automated?

 

Again, thanks for the answers from the forum it seems to have helped me resolve this issue for now.

 Kind Regards,


 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Trying To Force DNN 6.2.x to FORCE SSL page to "SECURE"Trying To Force DNN 6.2.x to FORCE SSL page to "SECURE"


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