p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Professional DotNetNuke Module Programming ISBN: 978-0-470-17116-5 (http://p2p.wrox.com/forumdisplay.php?f=486)
-   -   Error: Guestbook VB is currently unavailable. (http://p2p.wrox.com/showthread.php?t=74734)

p805 June 10th, 2009 02:57 PM

Error: Guestbook VB is currently unavailable.
 
When I added the module to a content pane i got the following error for the Guestbook VB

Error: Guestbook VB is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException : Could not load type 'WroxModules.GuestbookVB.ViewGuestbookVB'. ---> System.Web.HttpParseException: Could not load type 'WroxModules.GuestbookVB.ViewGuestbookVB'. ---> System.Web.HttpParseException: Could not load type 'WroxModules.GuestbookVB.ViewGuestbookVB'. ---> System.Web.HttpException: Could not load type 'WroxModules.GuestbookVB.ViewGuestbookVB'. at System.Web.UI.TemplateParser.GetType(String typeName, Boolean ignoreCase, Boolean throwOnError) at System.Web.UI.TemplateParser.ProcessInheritsAttrib ute(String baseTypeName, String codeFileBaseTypeName, String src, Assembly assembly) at System.Web.UI.TemplateParser.PostProcessMainDirect iveAttributes(IDictionary parseData) --- End of inner exception stack trace --- at System.Web.UI.TemplateParser.ProcessException(Exce ption ex) at System.Web.UI.TemplateParser.ParseStringInternal(S tring 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.ParseReader(StreamRea der reader, VirtualPath virtualPath) 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.UI.TemplateParser.Parse(ICollection referencedAssemblies, VirtualPath virtualPath) at System.Web.Compilation.BaseTemplateBuildProvider.g et_CodeCompilerType() at System.Web.Compilation.BuildProvider.GetCompilerTy peFromBuildProvider(BuildProvider buildProvider) at System.Web.Compilation.BuildProvidersCompiler.Proc essBuildProviders() at System.Web.Compilation.BuildProvidersCompiler.Perf ormBuild() at System.Web.Compilation.BuildManager.CompileWebFile (VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetVPathBuildR esultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVPathBuildR esultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVPathBuildR esult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.UI.TemplateControl.LoadControl(VirtualP ath virtualPath) at System.Web.UI.TemplateControl.LoadControl(String virtualPath) at DotNetNuke.UI.ControlUtilites.LoadControl[T](TemplateControl containerControl, String ControlSrc) at DotNetNuke.UI.Modules.ModuleHost.LoadModuleControl () --- End of inner exception stack trace ---


And for the Sign Guestbook VB


Error: Sign Guestbook VB is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException : Could not load type 'WroxModules.GuestbookVB.SignGuestbook'. ---> System.Web.HttpParseException: Could not load type 'WroxModules.GuestbookVB.SignGuestbook'. ---> System.Web.HttpParseException: Could not load type 'WroxModules.GuestbookVB.SignGuestbook'. ---> System.Web.HttpException: Could not load type 'WroxModules.GuestbookVB.SignGuestbook'. at System.Web.UI.TemplateParser.GetType(String typeName, Boolean ignoreCase, Boolean throwOnError) at System.Web.UI.TemplateParser.ProcessInheritsAttrib ute(String baseTypeName, String codeFileBaseTypeName, String src, Assembly assembly) at System.Web.UI.TemplateParser.PostProcessMainDirect iveAttributes(IDictionary parseData) --- End of inner exception stack trace --- at System.Web.UI.TemplateParser.ProcessException(Exce ption ex) at System.Web.UI.TemplateParser.ParseStringInternal(S tring 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.ParseReader(StreamRea der reader, VirtualPath virtualPath) 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.UI.TemplateParser.Parse(ICollection referencedAssemblies, VirtualPath virtualPath) at System.Web.Compilation.BaseTemplateBuildProvider.g et_CodeCompilerType() at System.Web.Compilation.BuildProvider.GetCompilerTy peFromBuildProvider(BuildProvider buildProvider) at System.Web.Compilation.BuildProvidersCompiler.Proc essBuildProviders() at System.Web.Compilation.BuildProvidersCompiler.Perf ormBuild() at System.Web.Compilation.BuildManager.CompileWebFile (VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetVPathBuildR esultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVPathBuildR esultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVPathBuildR esult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.UI.TemplateControl.LoadControl(VirtualP ath virtualPath) at System.Web.UI.TemplateControl.LoadControl(String virtualPath) at DotNetNuke.UI.ControlUtilites.LoadControl[T](TemplateControl containerControl, String ControlSrc) at DotNetNuke.UI.Modules.ModuleHost.LoadModuleControl () --- End of inner exception stack trace ---


I don't understand where I went wrong ???

Pascal

msellers June 11th, 2009 06:03 PM

From the looks of it, the .dll file was not created. Did you build and install the module?

p805 June 11th, 2009 08:15 PM

Oh well I build it again and it seemed to have fixed the problem. Stupid of me to have bother you guys I should of tried again. Anyways Thanks.

Have a good one

Pascal

sridharm1968 July 23rd, 2009 03:28 AM

Module error in DotnetNuke 5.1 Community Edition....
 
I have created a module in Vb.net 2005 and followed the following steps.

1. Created a module name' ProductCategory' [ it stores the entire module in the desktopmodule\productcategory folder]
2. it created the .dll file and stored in the 'bin' folder of the website folder.
3. After successfully created module and installed the module definition [.dnn] thru the Host--> module definition menu.
4. It successfully installed the module
5. Created one empty web page and placed the module under the page
it throws me the error.

I do not understand where went wrong. Please help me to sort out the problem

The error is as follows :

PCS Error: PCS is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException : Could not load type 'ADS.Modules.ProductCategory.ViewProductCategory'. ---> System.Web.HttpParseException: Could not load type 'ADS.Modules.ProductCategory.ViewProductCategory'. ---> System.Web.HttpParseException: Could not load type 'ADS.Modules.ProductCategory.ViewProductCategory'. ---> System.Web.HttpException: Could not load type 'ADS.Modules.ProductCategory.ViewProductCategory'. at System.Web.UI.TemplateParser.GetType(String typeName, Boolean ignoreCase, Boolean throwOnError) at System.Web.UI.TemplateParser.ProcessInheritsAttrib ute(String baseTypeName, String codeFileBaseTypeName, String src, Assembly assembly) at System.Web.UI.TemplateParser.PostProcessMainDirect iveAttributes(IDictionary parseData) --- End of inner exception stack trace --- at System.Web.UI.TemplateParser.ProcessException(Exce ption ex) at System.Web.UI.TemplateParser.ParseStringInternal(S tring 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.ParseReader(StreamRea der reader, VirtualPath virtualPath) 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.UI.TemplateParser.Parse(ICollection referencedAssemblies, VirtualPath virtualPath) at System.Web.Compilation.BaseTemplateBuildProvider.g et_CodeCompilerType() at System.Web.Compilation.BuildProvider.GetCompilerTy peFromBuildProvider(BuildProvider buildProvider) at System.Web.Compilation.BuildProvidersCompiler.Proc essBuildProviders() at System.Web.Compilation.BuildProvidersCompiler.Perf ormBuild() at System.Web.Compilation.BuildManager.CompileWebFile (VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetVPathBuildR esultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVPathBuildR esultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVPathBuildR esult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.UI.TemplateControl.LoadControl(VirtualP ath virtualPath) at System.Web.UI.TemplateControl.LoadControl(String virtualPath) at DotNetNuke.UI.ControlUtilites.LoadControl[T](TemplateControl containerControl, String ControlSrc) in D:\DNN\CE_5.1_Source\Library\UI\ControlUtilites.vb :line 59 at DotNetNuke.UI.Modules.ModuleHost.LoadModuleControl () in D:\DNN\CE_5.1_Source\Library\UI\Modules\ModuleHost .vb:line 248 --- End of inner exception stack trace ---


All times are GMT -4. The time now is 07:47 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.