I get the following error when using the ADD ROLE on submission.
Any help or ideas would be appreciated.
----
Server Error in '/' Application.
Unable to cast object of type 'System.Collections.Generic.List`1[DotNetNuke.Entities.Users.UserRoleInfo]' to type 'System.String[]'.
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.InvalidCastException: Unable to cast object of type 'System.Collections.Generic.List`1[DotNetNuke.Entities.Users.UserRoleInfo]' to type 'System.String[]'.
Source Error:
[No relevant source lines]
Source File: c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\6ebbfec5\cc0135ac\App_Web_oeqf1z4t.0.cs Line: 0
Stack Trace:
[InvalidCastException: Unable to cast object of type 'System.Collections.Generic.List`1[DotNetNuke.Entities.Users.UserRoleInfo]' to type 'System.String[]'.]
DataSprings.Modules.DynamicRegistration.DynamicRegistration.ProcessEvents(Int32 MyUserID, Boolean blnCancel, Boolean blnRedirectOnly, Boolean blnPaymentGateway, String strPaymentStatus, String strResponseID, Int32 intPaymentUserID) +60231
DataSprings.Modules.DynamicRegistration.DynamicRegistration.ExecuteRegistration(Boolean ProcessPaymentNotification, String strResponseID) +6752
DataSprings.Modules.DynamicRegistration.DynamicRegistration.lnkRegister_Click(Object sender, EventArgs e) +13
System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e) +121
System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) +108
System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +12
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +15
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +9856488
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1696
[PageLoadException: Unable to cast object of type 'System.Collections.Generic.List`1[DotNetNuke.Entities.Users.UserRoleInfo]' to type 'System.String[]'.]
DotNetNuke.Services.Exceptions.Exceptions.ProcessPageLoadException(Exception exc, String URL) +451
DotNetNuke.Framework.PageBase. (EventArgs e) +471
System.Web.UI.Page.HandleError(Exception e) +86
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +6787
System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +250
System.Web.UI.Page.ProcessRequest() +76
System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +24
System.Web.UI.Page.ProcessRequest(HttpContext context) +62
ASP.default_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\6ebbfec5\cc0135ac\App_Web_oeqf1z4t.0.cs:0
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +195
System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +50
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +73
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4210.0
|