Hello,
I am very new to DNN, and I am having some problems just getting a bare module to install. I get 23 warnings when I build module?
These warnings are as follows:
Rebuild All started: Project: MyThirdModule, Configuration: Debug Any CPU ------
C:\Inetpub\wwwroot\DotNetNuke\DesktopModules\MyThirdModule\Components\DataProvider.cs(76,37): warning CS1591: Missing XML comment for publicly visible type or member 'YourCompany.Modules.MyThirdModule.DataProvider.GetMyThirdModules(int)'
C:\Inetpub\wwwroot\DotNetNuke\DesktopModules\MyThirdModule\Components\DataProvider.cs(77,37): warning CS1591: Missing XML comment for publicly visible type or member 'YourCompany.Modules.MyThirdModule.DataProvider.GetMyThirdModule(int, int)'
C:\Inetpub\wwwroot\DotNetNuke\DesktopModules\MyThirdModule\Components\DataProvider.cs(78,30): warning CS1591: Missing XML comment for publicly visible type or member 'YourCompany.Modules.MyThirdModule.DataProvider.AddMyThirdModule(int, string, int)'
C:\Inetpub\wwwroot\DotNetNuke\DesktopModules\MyThirdModule\Components\DataProvider.cs(79,30): warning CS1591: Missing XML comment for publicly visible type or member 'YourCompany.Modules.MyThirdModule.DataProvider.UpdateMyThirdModule(int, int, string, int)'
C:\Inetpub\wwwroot\DotNetNuke\DesktopModules\MyThirdModule\Components\DataProvider.cs(80,30): warning CS1591: Missing XML comment for publicly visible type or member 'YourCompany.Modules.MyThirdModule.DataProvider.DeleteMyThirdModule(int, int)'
C:\Inetpub\wwwroot\DotNetNuke\DesktopModules\MyThirdModule\Components\MyThirdModuleInfo.cs(48,16): warning CS1591: Missing XML comment for publicly visible type or member 'YourCompany.Modules.MyThirdModule.MyThirdModuleInfo.MyThirdModuleInfo()'
C:\Inetpub\wwwroot\DotNetNuke\DesktopModules\MyThirdModule\Components\MyThirdModuleInfo.cs(53,20): warning CS1591: Missing XML comment for publicly visible type or member 'YourCompany.Modules.MyThirdModule.MyThirdModuleInfo.ModuleId'
C:\Inetpub\wwwroot\DotNetNuke\DesktopModules\MyThirdModule\Components\MyThirdModuleInfo.cs(59,20): warning CS1591: Missing XML comment for publicly visible type or member 'YourCompany.Modules.MyThirdModule.MyThirdModuleInfo.ItemId'
C:\Inetpub\wwwroot\DotNetNuke\DesktopModules\MyThirdModule\Components\MyThirdModuleInfo.cs(65,23): warning CS1591: Missing XML comment for publicly visible type or member 'YourCompany.Modules.MyThirdModule.MyThirdModuleInfo.Content'
C:\Inetpub\wwwroot\DotNetNuke\DesktopModules\MyThirdModule\Components\MyThirdModuleInfo.cs(71,20): warning CS1591: Missing XML comment for publicly visible type or member 'YourCompany.Modules.MyThirdModule.MyThirdModuleInfo.CreatedByUser'
C:\Inetpub\wwwroot\DotNetNuke\DesktopModules\MyThirdModule\Components\MyThirdModuleInfo.cs(77,25): warning CS1591: Missing XML comment for publicly visible type or member 'YourCompany.Modules.MyThirdModule.MyThirdModuleInfo.CreatedDate'
C:\Inetpub\wwwroot\DotNetNuke\DesktopModules\MyThirdModule\Components\MyThirdModuleInfo.cs(83,23): warning CS1591: Missing XML comment for publicly visible type or member 'YourCompany.Modules.MyThirdModule.MyThirdModuleInfo.CreatedByUserName'
C:\Inetpub\wwwroot\DotNetNuke\DesktopModules\MyThirdModule\ViewMyThirdModule.ascx.cs(107,43): warning CS0618: 'DotNetNuke.Common.Utilities.CBO.GetPropertyInfo(System.Type)' is obsolete: 'Obsolete in DotNetNuke 5.0. Replaced by GetProperties(Of TObject)() '
C:\Inetpub\wwwroot\DotNetNuke\DesktopModules\MyThirdModule\Components\SqlDataProvider.cs(60,16): warning CS1591: Missing XML comment for publicly visible type or member 'YourCompany.Modules.MyThirdModule.SqlDataProvider.SqlDataProvider()'
C:\Inetpub\wwwroot\DotNetNuke\DesktopModules\MyThirdModule\Components\SqlDataProvider.cs(135,37): warning CS1591: Missing XML comment for publicly visible type or member 'YourCompany.Modules.MyThirdModule.SqlDataProvider.GetMyThirdModules(int)'
C:\Inetpub\wwwroot\DotNetNuke\DesktopModules\MyThirdModule\Components\SqlDataProvider.cs(140,37): warning CS1591: Missing XML comment for publicly visible type or member 'YourCompany.Modules.MyThirdModule.SqlDataProvider.GetMyThirdModule(int, int)'
C:\Inetpub\wwwroot\DotNetNuke\DesktopModules\MyThirdModule\Components\SqlDataProvider.cs(145,30): warning CS1591: Missing XML comment for publicly visible type or member 'YourCompany.Modules.MyThirdModule.SqlDataProvider.AddMyThirdModule(int, string, int)'
C:\Inetpub\wwwroot\DotNetNuke\DesktopModules\MyThirdModule\Components\SqlDataProvider.cs(150,30): warning CS1591: Missing XML comment for publicly visible type or member 'YourCompany.Modules.MyThirdModule.SqlDataProvider.UpdateMyThirdModule(int, int, string, int)'
C:\Inetpub\wwwroot\DotNetNuke\DesktopModules\MyThirdModule\Components\SqlDataProvider.cs(155,30): warning CS1591: Missing XML comment for publicly visible type or member 'YourCompany.Modules.MyThirdModule.SqlDataProvider.DeleteMyThirdModule(int, int)'
C:\Inetpub\wwwroot\DotNetNuke\DesktopModules\MyThirdModule\Components\SqlDataProvider.cs(97,23): warning CS1591: Missing XML comment for publicly visible type or member 'YourCompany.Modules.MyThirdModule.SqlDataProvider.ConnectionString'
C:\Inetpub\wwwroot\DotNetNuke\DesktopModules\MyThirdModule\Components\SqlDataProvider.cs(102,23): warning CS1591: Missing XML comment for publicly visible type or member 'YourCompany.Modules.MyThirdModule.SqlDataProvider.ProviderPath'
C:\Inetpub\wwwroot\DotNetNuke\DesktopModules\MyThirdModule\Components\SqlDataProvider.cs(107,23): warning CS1591: Missing XML comment for publicly visible type or member 'YourCompany.Modules.MyThirdModule.SqlDataProvider.ObjectQualifier'
C:\Inetpub\wwwroot\DotNetNuke\DesktopModules\MyThirdModule\Components\SqlDataProvider.cs(112,23): warning CS1591: Missing XML comment for publicly visible type or member 'YourCompany.Modules.MyThirdModule.SqlDataProvider.DatabaseOwner'
Compile complete -- 0 errors, 23 warnings
MyThirdModule -> C:\Inetpub\wwwroot\DotNetNuke\bin\MyThirdModule.dll
========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========
If I ignore these warnings and try to install into DNN Community edition 6:
Error: MyModule is currently unavailable. DotNetNuke.Services.Exceptions.ModuleLoadException: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. (C:\Inetpub\wwwroot\DotNetNuke\desktopmodules\mythirdmodule\web.config line 13) ---> System.Configuration.Configurati sException: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. (C:\Inetpub\wwwroot\DotNetNuke\desktopmodules\mythirdmodule\web.config line 13) at System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal) at System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(ConfigurationSchemaErrors schemaErrors) at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject) at System.Configuration.BaseConfigurationRecord.GetSection(String configKey) at System.Web.Configuration.RuntimeConfig.GetSectionObject(String sectionName) at System.Web.Configuration.RuntimeConfig.GetSection(String sectionName, Type type, ResultsIndex index) at System.Web.Configuration.RuntimeConfig.get_Compilation() at MTConfigUtil.GetCompilationConfig(VirtualPath vpath) at System.Web.Compilation.BuildProvidersCompiler..ctor(VirtualPath configPath, Boolean supportLocalization, String outputAssemblyName) at System.Web.Compilation.CodeDirectoryCompiler.GetCodeDirectoryAssembly(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories, Boolean isDirectoryAllowed) at System.Web.Compilation.BuildManager.CompileCodeDirectory(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories) at System.Web.Compilation.BuildManager.EnsureFirstTimeDirectoryInit(VirtualPath virtualDir) at System.Web.Compilation.BuildManager.GetBuildResultFromCacheInternal(String cacheKey, Boolean keyFromVPP, VirtualPath virtualPath, Int64 hashCode, Boolean ensureIsUpToDate) at System.Web.Compilation.BuildManager.GetVPathBuildResultFromCacheInternal(VirtualPath virtualPath, Boolean ensureIsUpToDate) at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) at System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean ensureIsUpToDate) at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) at DotNetNuke.UI.ControlUtilities.LoadControl[T](TemplateControl containerControl, String ControlSrc) at DotNetNuke.UI.Modules.WebFormsModuleControlFactory.CreateModuleControl(TemplateControl containerControl, ModuleInfo moduleConfiguration) at DotNetNuke.UI.Modules.ModuleControlFactory.LoadModuleControl(TemplateControl containerControl, ModuleInfo moduleConfiguration) at DotNetNuke.UI.Modules.ModuleHost.LoadModuleControl() --- End of inner exception stack trace ---
Man it looks so easy when Chris Hammond does his video - lol?
Any Ideas ?