View Single Post
  #4 (permalink)  
Old July 23rd, 2009, 03:28 AM
sridharm1968 sridharm1968 is offline
Registered User
 
Join Date: Jul 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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 ---