Portal Engine Questions on portal engine and web parts.
Version 4.x > Portal Engine > Community User Profiles View modes: 
User avatar
Member
Member
rdiepenbrock - 4/8/2009 11:56:18 AM
   
Community User Profiles
I am in the process of setting up a community section on my web site, but am having issues with the custom registration form not creating a user profile page when a user registers and submits their information.

Has anyone else experienced this issue? Also, is there any documentation specifically for the new community features?

Thanks,
Richard

User avatar
Kentico Developer
Kentico Developer
kentico_helenag - 4/9/2009 7:48:54 AM
   
RE:Community User Profiles
Hello,

it is strange. Do you have any error messages on live site regarding this issue?
Are there any event logs related this issue in CMSSiteManager -> Administration -> Event log?

The user is created by the code in:
~/CMSWebParts/Membership/CustomRegistrationForm.ascx.cs

lines about 484.

Unfortunately, there is not any special documentation for Community features – the web parts are described here: http://devnet.kentico.com/downloads/KenticoCMS_WebParts.pdf
and the new modules and functions are explained in Developer’s Guide: http://devnet.kentico.com/downloads/kenticocms_devguide.zip

Best regards,
Helena Grulichova

User avatar
Member
Member
rdiepenbrock - 4/9/2009 8:48:20 AM
   
RE:Community User Profiles
Error Message:
Server Error in '/' Application
The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.

The user account is being created, but not the profile page (the same goes for the group pages).

Here is the first log message:
EXCEPTION MESSAGE: Exception of type 'System.Web.HttpUnhandledException' was thrown.; STACK TRACE: at System.Web.UI.Page.HandleError(Exception e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at ASP.cmspages_getfile_aspx.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

This is the second log message:
EXCEPTION MESSAGE: The file '/Community/Members/janedoe.aspx' does not exist.; STACK TRACE: at System.Web.UI.Util.CheckVirtualFileExists(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.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
at System.Web.UI.PageHandlerFactory.GetHandler(HttpContext context, String requestType, String virtualPath, String path)
at System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

User avatar
Member
Member
rdiepenbrock - 4/13/2009 11:03:49 AM
   
RE:Community User Profiles
The solution I found was to move the pages directly under root. I had created them in a sub-document, which resided under root.

Is it the code in the ascx files that need to be changed to make my originally method workable?

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 4/16/2009 7:57:55 AM
   
RE:Community User Profiles
Hi,

After you have moved the documents, have you modified the wild card URLs? If you have changed the location but not the URL, it is still looking into some folder structure.

Best Regards,
Juraj Ondrus