 |
|
|
|
I went through the documentation and set up this module. All seemed OK.
I'm trying to add an event and the error message I receive is:
An error has occurred. Unhandled error loading module.
I am doing this using an administrator account to assure the highest level for my testing. |
|
|
|
 |  |
|
|
| Re: Support (United Kingdom) |
|
|
Hi Paul
Right - is there any more of an error message (ie. if you go to Log Viewer?)
When does that error occur - when you click on Create an Event?
And I presume the module installed with no error messages?
Thanks
Rodney
See our modules in action on PokerDIY, a social network for home poker players
 |
|
|
|
 |  |
|
|
| Re: Support (United States) |
|
|
Strange...I removed and added the module back to the page and now I get a full error.
Unhandled error loading module. DotNetNuke.Services.Exceptions.ModuleLoadException: Parser Error: 'EventInviteType' is not a valid value for attribute 'ComboType'. It must be of enum type 'SmartThinker.DNN.Modules.ModuleFramework.Business.Enumerators.ListType'. ---> System.Web.HttpParseException: Parser Error: 'EventInviteType' is not a valid value for attribute 'ComboType'. It must be of enum type 'SmartThinker.DNN.Modules.ModuleFramework.Business.Enumerators.ListType'. ---> System.Web.HttpException: 'EventInviteType' is not a valid value for attribute 'ComboType'. It must be of enum type 'SmartThinker.DNN.Modules.ModuleFramework.Business.Enumerators.ListType'. at System.Web.UI.PropertySetter.AddPropertyInternal(String name, String value, ControlBuilder builder, Boolean fItemProp) at System.Web.UI.ControlBuilder.PreprocessAttribute(String attribname, String attribvalue) at System.Web.UI.ControlBuilder.PreprocessAttributes(IDictionary attribs) at System.Web.UI.ControlBuilder.Init(TemplateParser parser, ControlBuilder parentBuilder, Type type, String tagName, String id, IDictionary attribs) at System.Web.UI.ControlBuilder.CreateBuilderFromType(TemplateParser parser, ControlBuilder parentBuilder, Type type, String tagName, String id, IDictionary attribs, Int32 line, String sourceFileName) at System.Web.UI.ControlBuilder.CreateChildBuilder(String tagName, IDictionary attribs, TemplateParser parser, ControlBuilder parentBuilder, String id, Int32 line, String sourceFileName, Type& childType) at System.Web.UI.TemplateParser.ProcessBeginTag(Match match, String inputText) at System.Web.UI.TemplateParser.ParseStringInternal(String text) at System.Web.UI.TemplateParser.ParseString(String text, String virtualPath, String basePhysicalDir) --- End of inner exception stack trace --- at System.Web.UI.TemplateParser.ParseString(String text, String virtualPath, String basePhysicalDir) at System.Web.UI.TemplateParser.ParseFile(String filename, String virtualPath) at System.Web.UI.TemplateParser.Parse() at System.Web.UI.TemplateParser.GetParserCacheItemThroughCompilation() at System.Web.UI.TemplateParser.GetParserCacheItemInternal(Boolean fCreateIfNotFound) at System.Web.UI.TemplateParser.GetParserCacheItemWithNewConfigPath() at System.Web.UI.TemplateParser.GetParserCacheItem() at System.Web.UI.TemplateControlParser.CompileAndGetParserCacheItem(String virtualPath, String inputFile, HttpContext context) at System.Web.UI.TemplateControlParser.GetCompiledType(String virtualPath, String inputFile, HttpContext context) at System.Web.UI.UserControlParser.GetCompiledUserControlType(String virtualPath, String inputFile, HttpContext context) 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 --- |
|
|
|
 |  |
|
|
| Re: Support (United States) |
|
|
Also, there appears to be an error when I loaded the module, but I could swear it did not present itself when I loaded the module......could be wrong I guess. Here it is:
ModuleId: -1 ModuleDefId: -1 FriendlyName: ModuleControlSource: AssemblyVersion: 03.00.12 Method: System.Web.UI.PropertySetter.AddPropertyInternal FileName: FileLineNumber: 0 FileColumnNumber: 0 PortalID: 9 PortalName: Houston Mini Motoring Society UserID: 1 UserName: host ActiveTabID: 202 ActiveTabName: Home AbsoluteURL: /Default.aspx AbsoluteURLReferrer: http://www.advologix.com/hmms/Home/tabid/202/Default.aspx ExceptionGUID: 82cb7478-9b38-49a6-8044-7177abd616e0 DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider InnerException: Parser Error: 'EventInviteType' is not a valid value for attribute 'ComboType'. It must be of enum type 'SmartThinker.DNN.Modules.ModuleFramework.Business.Enumerators.ListType'. Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Parser Error: 'EventInviteType' is not a valid value for attribute 'ComboType'. It must be of enum type 'SmartThinker.DNN.Modules.ModuleFramework.Business.Enumerators.ListType'. ---> System.Web.HttpParseException: Parser Error: 'EventInviteType' is not a valid value for attribute 'ComboType'. It must be of enum type 'SmartThinker.DNN.Modules.ModuleFramework.Business.Enumerators.ListType'. ---> System.Web.HttpException: 'EventInviteType' is not a valid value for attribute 'ComboType'. It must be of enum type 'SmartThinker.DNN.Modules.ModuleFramework.Business.Enumerators.ListType'. at System.Web.UI.PropertySetter.AddPropertyInternal(String name, String value, ControlBuilder builder, Boolean fItemProp) at System.Web.UI.ControlBuilder.PreprocessAttribute(String attribname, String attribvalue) at System.Web.UI.ControlBuilder.PreprocessAttributes(IDictionary attribs) at System.Web.UI.ControlBuilder.Init(TemplateParser parser, ControlBuilder parentBuilder, Type type, String tagName, String id, IDictionary attribs) at System.Web.UI.ControlBuilder.CreateBuilderFromType(TemplateParser parser, ControlBuilder parentBuilder, Type type, String tagName, String id, IDictionary attribs, Int32 line, String sourceFileName) at System.Web.UI.ControlBuilder.CreateChildBuilder(String tagName, IDictionary attribs, TemplateParser parser, ControlBuilder parentBuilder, String id, Int32 line, String sourceFileName, Type& childType) at System.Web.UI.TemplateParser.ProcessBeginTag(Match match, String inputText) at System.Web.UI.TemplateParser.ParseStringInternal(String text) at System.Web.UI.TemplateParser.ParseString(String text, String virtualPath, String basePhysicalDir) --- End of inner exception stack trace --- at System.Web.UI.TemplateParser.ParseString(String text, String virtualPath, String basePhysicalDir) at System.Web.UI.TemplateParser.ParseFile(String filename, String virtualPath) at System.Web.UI.TemplateParser.Parse() at System.Web.UI.TemplateParser.GetParserCacheItemThroughCompilation() at System.Web.UI.TemplateParser.GetParserCacheItemInternal(Boolean fCreateIfNotFound) at System.Web.UI.TemplateParser.GetParserCacheItemWithNewConfigPath() at System.Web.UI.TemplateParser.GetParserCacheItem() at System.Web.UI.TemplateControlParser.CompileAndGetParserCacheItem(String virtualPath, String inputFile, HttpContext context) at System.Web.UI.TemplateControlParser.GetCompiledType(String virtualPath, String inputFile, HttpContext context) at System.Web.UI.UserControlParser.GetCompiledUserControlType(String virtualPath, String inputFile, HttpContext context) 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 --- StackTrace: Source: Server Name: WEB117
|
|
|
|
 |  |
|
|
| Re: Support (United Kingdom) |
|
|
Thank for that Paul - Basically in the 1.0.1 version there is this new
type - I just don't understand why no-one else has had this problem -
give me a day or so to investigate please - I'm sure if I do some
debugging I can find the issue!
Thanks
Rodney
See our modules in action on PokerDIY, a social network for home poker players
 |
|
|
|
 |  |
|
|
| Re: Support (United States) |
|
|
The only thing different that I did in my configuration(3.0.12) is put the prefix on the DNN table names. Don't know if that's an issue here but just as an FYI.....
Thanks |
|
|
|
 |  |
|
|
| Re: Support (United Kingdom) |
|
|
Hi Paul
Are you still getting this error? I think it may be something to do
with caching, as those are new types in the latest version. If you are,
could you try saving your web.config again (to force a reload) and see
if the problem still occurs.
The DNN table prefix should have no effect on this.
Thanks
Rodney
See our modules in action on PokerDIY, a social network for home poker players
 |
|
|
|
 |  |
|
|
| Re: Support (United States) |
|
|
Rod;
I've done the exact same thing configured the modules and pages as described in the supported help file. I am also getting the same exact error message and behavior. here is the stack trace:
ModuleId: -1 ModuleDefId: -1 FriendlyName: ModuleControlSource: AssemblyVersion: 03.00.13 Method: System.Web.UI.PropertySetter.AddPropertyInternal FileName: FileLineNumber: 0 FileColumnNumber: 0 PortalID: 0 PortalName: Katolight Corporation UserID: 1 UserName: host ActiveTabID: 89 ActiveTabName: Service AbsoluteURL: /Default.aspx AbsoluteURLReferrer: http://pilot.katolight.com/Support/Service/tabid/89/Default.aspx ExceptionGUID: 36217927-9e49-461a-a311-91c110badfaf DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider InnerException: Parser Error: 'EventInviteType' is not a valid value for attribute 'ComboType'. It must be of enum type 'SmartThinker.DNN.Modules.ModuleFramework.Business.Enumerators.ListType'. Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Parser Error: 'EventInviteType' is not a valid value for attribute 'ComboType'. It must be of enum type 'SmartThinker.DNN.Modules.ModuleFramework.Business.Enumerators.ListType'. ---> System.Web.HttpParseException: Parser Error: 'EventInviteType' is not a valid value for attribute 'ComboType'. It must be of enum type 'SmartThinker.DNN.Modules.ModuleFramework.Business.Enumerators.ListType'. ---> System.Web.HttpException: 'EventInviteType' is not a valid value for attribute 'ComboType'. It must be of enum type 'SmartThinker.DNN.Modules.ModuleFramework.Business.Enumerators.ListType'. at System.Web.UI.PropertySetter.AddPropertyInternal(String name, String value, ControlBuilder builder, Boolean fItemProp) at System.Web.UI.ControlBuilder.PreprocessAttribute(String attribname, String attribvalue) at System.Web.UI.ControlBuilder.PreprocessAttributes(IDictionary attribs) at System.Web.UI.ControlBuilder.Init(TemplateParser parser, ControlBuilder parentBuilder, Type type, String tagName, String id, IDictionary attribs) at System.Web.UI.ControlBuilder.CreateBuilderFromType(TemplateParser parser, ControlBuilder parentBuilder, Type type, String tagName, String id, IDictionary attribs, Int32 line, String sourceFileName) at System.Web.UI.ControlBuilder.CreateChildBuilder(String tagName, IDictionary attribs, TemplateParser parser, ControlBuilder parentBuilder, String id, Int32 line, String sourceFileName, Type& childType) at System.Web.UI.TemplateParser.ProcessBeginTag(Match match, String inputText) at System.Web.UI.TemplateParser.ParseStringInternal(String text) at System.Web.UI.TemplateParser.ParseString(String text, String virtualPath, String basePhysicalDir) --- End of inner exception stack trace --- at System.Web.UI.TemplateParser.ParseString(String text, String virtualPath, String basePhysicalDir) at System.Web.UI.TemplateParser.ParseFile(String filename, String virtualPath) at System.Web.UI.TemplateParser.Parse() at System.Web.UI.TemplateParser.GetParserCacheItemThroughCompilation() at System.Web.UI.TemplateParser.GetParserCacheItemInternal(Boolean fCreateIfNotFound) at System.Web.UI.TemplateParser.GetParserCacheItemWithNewConfigPath() at System.Web.UI.TemplateParser.GetParserCacheItem() at System.Web.UI.TemplateControlParser.CompileAndGetParserCacheItem(String virtualPath, String inputFile, HttpContext context) at System.Web.UI.TemplateControlParser.GetCompiledType(String virtualPath, String inputFile, HttpContext context) at System.Web.UI.UserControlParser.GetCompiledUserControlType(String virtualPath, String inputFile, HttpContext context) 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 --- StackTrace: Source: Server Name: KLWEB
|
|
|
|
 |  |
|
|
| Re: Support (United Kingdom) |
|
|
Hello
Just a quick update on this bug for those of you who are still getting
it: I have set aside some time on Saturday morning (GMT) to fix this
problem, so I should be able to do a point release tomorrow morning to
fix this.
Thanks for your patience!
Thanks
Rodney
See our modules in action on PokerDIY, a social network for home poker players
 |
|
|
|
 |  |
|
|
| Re: Support (United Kingdom) |
|
|
Hi Jim
Quick question - do you have any other Smart-Thinker modules installed
on this particular portal? If not, it will rule out a lot of
possiblities and make it easier to find!
Thanks
Thanks
Rodney
See our modules in action on PokerDIY, a social network for home poker players
 |
|
|
|
 |  |
|
|
| Re: Support (United Kingdom) |
|
|
Hello All
The problem has now been identified: Basically it occurs if an older module is installed AFTER the latest Events module was installed (and hence why it appeared to happen randomly and intermittently). This is because I use a common project for all common functionality and controls. I am trying to come up with a good long-term solution for this, but in the meantime, the fix is to extract the SmartThinker.DNN.Modules.ModuleFramework.dll from the latest Events PA.zip file (1.0.1) and copy it to your \bin\ directory of your DNN installation.
Let me know if you need help in doing this. You can read more about it here: http://www.smart-thinker.com/Forums/tabid/111/forumid/16/threadid/121/threadpage/1/scope/posts/Default.aspx
If you install an older module (like Webcam or UP 1.0.0) then this will need to be done again. Let me know if you are still having problems! The next releases will address this problem.
Thanks
Rodney
See our modules in action on PokerDIY, a social network for home poker players
 |
|
|
|
 |  |
|
|
| Re: Support (United States) |
|
|
|
That did the the trick! Thanks a bunch.
Suppose you'll have to impliment some sort of Version Control within your modules which will check for the latest Framework .dll. Just keep in mind that when you add to or remove functionality from your Framework to make it backwards compatible with you're older componets. This will keep you from forcing everyone to update all of their modules because the framework changed.
Cheers! |
|
|
|
|  |