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 ...Error creating Portal (ver. 4.3.0)Error creating Portal (ver. 4.3.0)
Previous
 
Next
New Post
8/16/2006 11:17 AM
 

I am not so sure, as all my existing portals are fine and I am able to access them

Can you suggest what I could look at in the database that might confirm/not confirm that the "fix" script has updated the database successfully?

 
New Post
10/18/2006 1:30 PM
 

Hi,

I had the exact same problem. Guess what? I've done the upgrade from 4.3.4 to 4.3.5 using the upgrade package and the problem is gone.

-- Manuel Costa
http://www.factordigital.com

 
New Post
2/12/2007 7:56 AM
 

Hi All,

I have the same problem, but with a different version, Error creating Portal (ver. 4.4.1)

Strange thing is it works fine in my development environment but not in production.

Prod uses SQL2000

Dev uses SQL 2005 express.

Anybody else out there who has this problem?

Replacing the StoredProc as mentiond with older versions of DNN does not work for me....

Best regards,

 

Jerry Tjon

 

 


Regards,

Jerry Tjon
IT Consultant
Amsterdam,
the Netherlands
 
New Post
2/19/2007 12:04 PM
 

Hi All,

Just was investigating the error and noticed that the message is generated at the following line in signup.ascx.vb file, at line 251

While trying to execute the function:

objSecurity.Encrypt()

Also see the following code:

'-------------------------------------------------------------------------
'Create Portal
'-------------------------------------------------------------------------
If strMessage = "" Then
    Dim strTemplateFile As String = cboTemplate.SelectedItem.Text & ".template"

    '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 ex As Exception
        intPortalId = Null.NullInteger
        'strMessage = ex.Message & 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 & " Exit Here"
'This is what I added to the code

        strMessage = ex.Message & " " & objSecurity.Encrypt(Convert.ToString(Common.Globals.HostSettings("EncryptionKey"))
        'strMessage = ex.Message & " & Exit"
    End Try

The error message which I receive after running the code is after trying to catch every variable in the catch clause is:

Unhandled error loading module.
DotNetNuke.Services.Exceptions.ModuleLoadException: Unhandled Error Adding Module to ContentPane ---> DotNetNuke.Services.Exceptions.ModuleLoadException: Error: Signup is currently unavailable. ---> System.Web.HttpCompileException: D:\Webmaster\DNN4\Admin\Portal\Signup.ascx.vb(256): error BC30455: Argument not specified for parameter 'strData' of 'Public Function Encrypt(strKey As String, strData As String) As String'. at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) at System.Web.UI.TemplateControl.LoadControl(String virtualPath) at DotNetNuke.UI.Skins.Skin.InjectModule(Control objPane, ModuleInfo objModule, PortalSettings PortalSettings) --- End of inner exception stack trace --- at DotNetNuke.Services.Exceptions.Exceptions.ProcessModuleLoadException(String FriendlyMessage, PortalModuleBase ctrlModule, Exception exc, Boolean DisplayErrorMessage) at DotNetNuke.Services.Exceptions.Exceptions.ProcessModuleLoadException(PortalModuleBase ctrlModule, Exception exc) at DotNetNuke.UI.Skins.Skin.InjectModule(Control objPane, ModuleInfo objModule, PortalSettings PortalSettings) --- End of inner exception stack trace ---

So I figured that for some reason It cannot load the machine key from the web.config file to create the encryption key. So I checked a few versions back if I copied the machine key correctly when upgrading but that turned out to be ok.

So right now realy don't know where to look within DNN.

Well hope someone could shed some light on my problem!

Best regards,

Jerry Tjon
IT Consultant
Amsterdam,
The Netherlands


Regards,

Jerry Tjon
IT Consultant
Amsterdam,
the Netherlands
 
New Post
2/19/2007 12:15 PM
 

Hi All,

Just was investigating the error and noticed that the message is generated at the following line in signup.ascx.vb file, at line 251

While trying to execute the function:

objSecurity.Encrypt()

Also see the following code:

'-------------------------------------------------------------------------
'Create Portal
'-------------------------------------------------------------------------
If strMessage = "" Then
    Dim strTemplateFile As String = cboTemplate.SelectedItem.Text & ".template"

    '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 ex As Exception
        intPortalId = Null.NullInteger
        'strMessage = ex.Message & 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 & " Exit Here"
'This is what I added to the code

        strMessage = ex.Message & " " & objSecurity.Encrypt(Convert.ToString(Common.Globals.HostSettings("EncryptionKey"))
        'strMessage = ex.Message & " & Exit"
    End Try

The error message which I receive after running the code is after trying to catch every variable in the catch clause is:

Unhandled error loading module.
DotNetNuke.Services.Exceptions.ModuleLoadException: Unhandled Error Adding Module to ContentPane ---> DotNetNuke.Services.Exceptions.ModuleLoadException: Error: Signup is currently unavailable. ---> System.Web.HttpCompileException: D:\Webmaster\DNN4\Admin\Portal\Signup.ascx.vb(256): error BC30455: Argument not specified for parameter 'strData' of 'Public Function Encrypt(strKey As String, strData As String) As String'. at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) at System.Web.UI.TemplateControl.LoadControl(String virtualPath) at DotNetNuke.UI.Skins.Skin.InjectModule(Control objPane, ModuleInfo objModule, PortalSettings PortalSettings) --- End of inner exception stack trace --- at DotNetNuke.Services.Exceptions.Exceptions.ProcessModuleLoadException(String FriendlyMessage, PortalModuleBase ctrlModule, Exception exc, Boolean DisplayErrorMessage) at DotNetNuke.Services.Exceptions.Exceptions.ProcessModuleLoadException(PortalModuleBase ctrlModule, Exception exc) at DotNetNuke.UI.Skins.Skin.InjectModule(Control objPane, ModuleInfo objModule, PortalSettings PortalSettings) --- End of inner exception stack trace ---

So I figured that for some reason It cannot load the machine key from the web.config file to create the encryption key. So I checked a few versions back if I copied the machine key correctly when upgrading but that turned out to be ok.

So right now realy don't know where to look within DNN.

Well hope someone could shed some light on my problem!

Best regards,

Jerry Tjon
IT Consultant
Amsterdam,
The Netherlands


Regards,

Jerry Tjon
IT Consultant
Amsterdam,
the Netherlands
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Error creating Portal (ver. 4.3.0)Error creating Portal (ver. 4.3.0)


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