i m new to dotnetnuke .
i create a module using http://adefwebserver.com/DotNetNukeHELP/DNN_Things4Sale/ThingsForSale4.htm tutorial
but when loading the module in dotnet nuke i got the follwing error:
Error: ThingsForSale is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: C:\dotnetnuke\Website\DesktopModules\YourCompany.Modules.ThingsForSale\ViewThingsForSale.ascx.vb(9): error ASPNET: Make sure that the class defined in this code file matches the 'inherits' attribute, and that it extends the correct base class (e.g. Page or UserControl). ---> System.Web.HttpCompileException: C:\dotnetnuke\Website\DesktopModules\YourCompany.Modules.ThingsForSale\ViewThingsForSale.ascx.vb(9): error ASPNET: Make sure that the class defined in this code file matches the 'inherits' attribute, and that it extends the correct base class (e.g. Page or UserControl). 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 ---
Then i check the userControl code using DNNdebug.aspx i got this type of Error:
Parser Error Message: The element 'codeSubDirectories' cannot be defined below the application level.
Line 107:<add assembly="System.Runtime.Serialization.Formatters.Soap, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/></assemblies>
Line 108: <!-- register your app_code subfolders to generate granular assemblies during compilation-->
Line 109: <codeSubDirectories>
Line 110: <add directoryName="HTML"/>
Line 111: <add directoryName="Reports"/>
and when i debug my project solution using the option 'start without debug' i got the following error:
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.IO.FileLoadException: Cannot create/shadow copy 'DotNetNuke.Caching.FileBasedCachingProvider' when that file already exists.
Server Error in '/DotNetNuke_2' Application. Cannot create/shadow copy 'DotNetNuke.Caching.FileBasedCachingProvider' when that file already exists.
whts the problem ? pls help me