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 StartedInstalling DNN ...Installing DNN ...DNN v4.01.01: Error Creating Portal DNN v4.01.01: Error Creating Portal
Previous
 
Next
New Post
2/21/2007 6:27 AM
 

Hi All,

Need help, urgently!
For some reasons, I seem to be unable to create new portals.
I debugged the signup.ascx.vb file located under the admin\portal folder.
And it seems to go wrong on line 251, when trying to run the objSecurity.Encrypt function.
Code Snippet >>

'Attempt to create the portal

Try

intPortalId = objPortalController.CreatePortal(txtTitle.Text, txtFirstName.Text, txtLastName.Text, txtUsername.Text, objSecurity.Encrypt(Convert.ToString(Common.Globals.HostSettings("EncryptionKey")), txtPassword.Text), txtEmail.Text, txtDescription.Text, txtKeyWords.Text, Common.Globals.HostMapPath, strTemplateFile, HomeDir, strPortalAlias, strServerPath, strChildPath, blnChild)

Catch

intPortalId = Null.NullInteger
strMessage = ex.Message & "</br>Title: " & txtTitle.Text _
& "</br>FirstName: " & txtFirstName.Text _
& "</br>txtLastName: " & txtLastName.Text _
& "</br>txtUsername: " & txtUsername.Text _
& "</br>txtEmail: " & txtEmail.Text _
& "</br>Common.Globals.HostSettings: " & Convert.ToString(Common.Globals.HostSettings("EncryptionKey"))

For some reason it can´t retrieve an encryption Key?

Are there others who encountered this and know the solution to theis problem? The weirdest things is this error/bug only occurs in my production environment.

  • Prod: SQL2000
  • Dev: SQL 2005 Expres

Any help would be appreciated.

 

Best Regards,

 

Jerry Tjon


Regards,

Jerry Tjon
IT Consultant
Amsterdam,
the Netherlands
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...DNN v4.01.01: Error Creating Portal DNN v4.01.01: Error Creating Portal


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