|
|
|
|
 |
| You are not authorized to post a reply.
|
|
| Author |
Messages |
|
TillmanZ Posts:4
 |
| 4/22/2007 12:49 PM |
Alert
|
Hi there, we have just purchased the source to be able to localize the module. However I am a little disappointed that the project is still based on VS2003 (it's april 2007 by now...*g). I have tried to create a WAP and have added the files to the project. Unfortunately I have no luck at all compiling it. First of all I am missing the following definition s: Newsletter_UserController Newsletter_NewsletterController Utilities.GetGridSortExpr (not a member of Utilities) Utilities.TogglePanels (not a member of Utilities) Obviously the best solution would be if you were providing a proper VS2005 WAP but if that's "out of scope" then I would appreciate it if you were helping me out with these build issues. Best regards, Tillman |
|
|
|
|
TillmanZ Posts:4
 |
| 4/22/2007 1:15 PM |
Alert
|
Ouch - I was too blind to see. Too bad that I cannot edit my post anymore - now it's really looking quite embarrasing. :-) So in other words I have found the NewsLetterDB.vp file in the components dir and now alle the newsletter_x classes are properly defined. Also the Utilities class is there and thus I don't have any problems with those methods anymore either. So now it seems as everything compiles just fine. I am gonna test the dll now and will get back to this thread. Cheers, Tillman |
|
|
|
|
TillmanZ Posts:4
 |
| 4/22/2007 9:30 PM |
Alert
|
Well, unfortunately I am getting an exception when DNN tries to load the module. Here's the stack trace: Error: Orizonti.Newsletter is currently unavailable. DotNetNuke.Services.Exceptions.ModuleLoadException: Could not load type 'Orizonti.Newsletter.viewNewsletter'. ---> System.Web.HttpParseException: Could not load type 'Orizonti.Newsletter.viewNewsletter'. ---> System.Exception: Could not load type 'Orizonti.Newsletter.viewNewsletter'. ---> System.Exception: Could not load type 'Orizonti.Newsletter.viewNewsletter'. ---> System.Web.HttpException: Could not load type 'Orizonti.Newsletter.viewNewsletter'. at System.Web.UI.TemplateParser.GetType(String typeName, Boolean ignoreCase, Boolean throwOnError) at System.Web.UI.TemplateParser.ProcessInheritsAttribute(String baseTypeName, String codeFileBaseTypeName, String src, Assembly assembly) at System.Web.UI.TemplateParser.PostProcessMainDirectiveAttributes(IDictionary parseData) --- End of inner exception stack trace --- at System.Web.UI.TemplateParser.ProcessException(Exception ex) at System.Web.UI.TemplateParser.PostProcessMainDirectiveAttributes(IDictionary parseData) at System.Web.UI.TemplateParser.ProcessMainDirective(IDictionary mainDirective) at System.Web.UI.TemplateControlParser.ProcessMainDirective(IDictionary mainDirective) at System.Web.UI.TemplateParser.ProcessDirective(String directiveName, IDictionary directive) at System.Web.UI.BaseTemplateParser.ProcessDirective(String directiveName, IDictionary directive) at System.Web.UI.TemplateControlParser.ProcessDirective(String directiveName, IDictionary directive) at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding) --- End of inner exception stack trace --- at System.Web.UI.TemplateParser.ProcessException(Exception ex) at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding) at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding) --- End of inner exception stack trace --- at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding) at System.Web.UI.TemplateParser.ParseFile(String physicalPath, VirtualPath virtualPath) at System.Web.UI.TemplateParser.ParseInternal() at System.Web.UI.TemplateParser.Parse() at System.Web.Compilation.BaseTemplateBuildProvider.get_CodeCompilerType() at System.Web.Compilation.BuildProvider.GetCompilerTypeFromBuildProvider(BuildProvider buildProvider) at System.Web.Compilation.BuildProvidersCompiler.ProcessBuildProviders() at System.Web.Compilation.BuildProvidersCompiler.PerformBuild() 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 --- Any ideas what might be causing this? By the way - is the SQL script for creating the tables and stored procedures somewhere included in the source (too blind yet again?) Thanks for your support! Tillman |
|
|
|
|
TillmanZ Posts:4
 |
| 4/22/2007 10:06 PM |
Alert
|
Here is the event log: ModuleId: 375 ModuleDefId: 98 FriendlyName: Orizonti.Newsletter ModuleControlSource: DesktopModules/Orizonti.Newsletter/viewNewsletter.ascx AssemblyVersion: 04.05.00 PortalID: 0 PortalName: My Website UserID: 1 UserName: host ActiveTabID: 53 ActiveTabName: Test RawURL: /testsite/Test/tabid/53/Default.aspx AbsoluteURL: /TestSite/Default.aspx AbsoluteURLReferrer: UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.0.04506; InfoPath.2; .NET CLR 1.1.4322) DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider ExceptionGUID: 07399118-377f-4459-8bf9-ee72fad6efd4 InnerException: Could not load type 'Orizonti.Newsletter.viewNewsletter'. FileName: FileLineNumber: 0 FileColumnNumber: 0 Method: System.Web.UI.TemplateParser.GetType StackTrace: Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Could not load type 'Orizonti.Newsletter.viewNewsletter'. ---> System.Web.HttpParseException: Could not load type 'Orizonti.Newsletter.viewNewsletter'. ---> System.Exception: Could not load type 'Orizonti.Newsletter.viewNewsletter'. ---> System.Exception: Could not load type 'Orizonti.Newsletter.viewNewsletter'. ---> System.Web.HttpException: Could not load type 'Orizonti.Newsletter.viewNewsletter'. at System.Web.UI.TemplateParser.GetType(String typeName, Boolean ignoreCase, Boolean throwOnError) at System.Web.UI.TemplateParser.ProcessInheritsAttribute(String baseTypeName, String codeFileBaseTypeName, String src, Assembly assembly) at System.Web.UI.TemplateParser.PostProcessMainDirectiveAttributes(IDictionary parseData) --- End of inner exception stack trace --- at System.Web.UI.TemplateParser.ProcessException(Exception ex) at System.Web.UI.TemplateParser.PostProcessMainDirectiveAttributes(IDictionary parseData) at System.Web.UI.TemplateParser.ProcessMainDirective(IDictionary mainDirective) at System.Web.UI.TemplateControlParser.ProcessMainDirective(IDictionary mainDirective) at System.Web.UI.TemplateParser.ProcessDirective(String directiveName, IDictionary directive) at System.Web.UI.BaseTemplateParser.ProcessDirective(String directiveName, IDictionary directive) at System.Web.UI.TemplateControlParser.ProcessDirective(String directiveName, IDictionary directive) at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding) --- End of inner exception stack trace --- at System.Web.UI.TemplateParser.ProcessException(Exception ex) at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding) at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding) --- End of inner exception stack trace --- at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding) at System.Web.UI.TemplateParser.ParseFile(String physicalPath, VirtualPath virtualPath) at System.Web.UI.TemplateParser.ParseInternal() at System.Web.UI.TemplateParser.Parse() at System.Web.Compilation.BaseTemplateBuildProvider.get_CodeCompilerType() at System.Web.Compilation.BuildProvider.GetCompilerTypeFromBuildProvider(BuildProvider buildProvider) at System.Web.Compilation.BuildProvidersCompiler.ProcessBuildProviders() at System.Web.Compilation.BuildProvidersCompiler.PerformBuild() 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 --- Source: Server Name: X4800 |
|
|
|
|
rstieb Posts:709
 |
| 4/26/2007 9:24 AM |
Alert
|
Sorry about the VS2003. Just haven't gotten around to converting it yet... On the errors, my guess is to check your "inherits" attribute on the ascx page... Make sure you have the full namespace listed there... This is typicall a namespace issue. Also, if you left the namespace in the code behind, make sure you remove the Root Namespace from your project configuration... Thanks, Russel |
|
|
|
|
|
| You are not authorized to post a reply. |
|
|
|
ActiveForums 3.6
|
|
 |
|
|
|
|
|
|
|