1
Vote

Compile Error

description

Hi - Just installed this module on my localhost/DNN test site (DNN 5.5.1) and got a compile error. Now can't open site at all. Did I do something wrong or am I missing something? How can I regain access to site?

Richard

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS1502: The best overloaded method match for 'DotNetNuke.Entities.Content.Taxonomy.ITermController.GetTermsByVocabulary(int)' has some invalid arguments

Source Error:

Line 50: var termId = -1;
Line 51: var objTermController = DotNetNuke.Entities.Content.Common.Util.GetTermController();
Line 52: var objTerms = objTermController.GetTermsByVocabulary("Module_Categories");
Line 53: foreach(Term term in objTerms)
Line 54: {

Source File: c:\inetpub\wwwroot\DNN\App_Code\ModuleCreator\ModuleCreator.cs Line: 52

c:\inetpub\wwwroot\DNN\App_Code\ModuleCreator\ModuleCreator.cs(52,28): error CS1502: The best overloaded method match for 'DotNetNuke.Entities.Content.Taxonomy.ITermController.GetTermsByVocabulary(int)' has some invalid arguments
c:\inetpub\wwwroot\DNN\App_Code\ModuleCreator\ModuleCreator.cs(52,67): error CS1503: Argument '1': cannot convert from 'string' to 'int'
c:\inetpub\wwwroot\DNN\App_Code\ModuleCreator\ModuleCreator.cs(77,35): error CS1061: 'DotNetNuke.Services.Installer.Packages.PackageInfo' does not contain a definition for 'IconFile' and no extension method 'IconFile' accepting a first argument of type 'DotNetNuke.Services.Installer.Packages.PackageInfo' could be found (are you missing a using directive or an assembly reference?)
c:\inetpub\wwwroot\DNN\App_Code\ModuleCreator\ModuleCreator.cs(81,94): error CS1061: 'DotNetNuke.Entities.Modules.DesktopModuleInfo' does not contain a definition for 'ContentItemId' and no extension method 'ContentItemId' accepting a first argument of type 'DotNetNuke.Entities.Modules.DesktopModuleInfo' could be found (are you missing a using directive or an assembly reference?)

comments

sbitar wrote Mar 28, 2013 at 10:26 PM

Hi Richard,

Delete modulecreator.cs from modulecreator folder inside app_code, that will give you back your site..

Login as host and uninstall modulecreator from the available Extension...

It seems this module made for DNN 6/7 only I didn't see any version for DNN 5.X

I hope that will help you....

Sam Bitar