I installed DNN 04.09.01 on VWD2008 using Vista Ultimate and got a number of warning messages.
Are they a problem, the web site seems to work at least locally for now? I’ve only just got started, can’t seem to find any references for this. I’m not sure if I should go in and fix them.
Warning 1 Property without an 'As' clause; type of Object assumed. C:\Users\NJZ\Documents\Visual Studio 2008\WebSites\DotNetNuke mysite\admin\Users\EditProfileDefinition.ascx.vb 60
Warning 2 Variable declaration without an 'As' clause; type of Object assumed. C:\Users\NJZ\Documents\Visual Studio 2008\WebSites\DotNetNuke mysite\admin\Users\EditProfileDefinition.ascx.vb 64
Warning 3 Function without an 'As' clause; return type of Object assumed. C:\Users\NJZ\Documents\Visual Studio 2008\WebSites\DotNetNuke mysite\admin\Users\EditProfileDefinition.ascx.vb 186
Warning 4 Function without an 'As' clause; return type of Object assumed. C:\Users\NJZ\Documents\Visual Studio 2008\WebSites\DotNetNuke mysite\admin\Users\EditProfileDefinition.ascx.vb 204
Warning 5 Function without an 'As' clause; return type of Object assumed. C:\Users\NJZ\Documents\Visual Studio 2008\WebSites\DotNetNuke mysite\admin\Users\MemberServices.ascx.vb 200
Warning 6 Function without an 'As' clause; return type of Object assumed. C:\Users\NJZ\Documents\Visual Studio 2008\WebSites\DotNetNuke mysite\admin\Users\MemberServices.ascx.vb 229
Warning 7 Access of shared member, constant member, enum member or nested type through an instance; qualifying expression will not be evaluated. C:\Users\NJZ\Documents\Visual Studio 2008\WebSites\DotNetNuke mysite\admin\Security\EditGroups.ascx.vb 145
Warning 8 'Public Function GetFolder(PortalID As Integer, FolderPath As String) As Services.FileSystem.FolderInfo' is obsolete: 'This method is obsolete. It has been replaced by GetFolderInfo(ByVal PortalID As Integer, ByVal FolderID As Integer, ByVal ignoreCache As Boolean) '. C:\Users\NJZ\Documents\Visual Studio 2008\WebSites\DotNetNuke mysite\admin\Files\FileManager.ascx.vb 1166
Warning 9 'Public Function GetFolder(PortalID As Integer, FolderPath As String) As Services.FileSystem.FolderInfo' is obsolete: 'This method is obsolete. It has been replaced by GetFolderInfo(ByVal PortalID As Integer, ByVal FolderID As Integer, ByVal ignoreCache As Boolean) '. C:\Users\NJZ\Documents\Visual Studio 2008\WebSites\DotNetNuke mysite\admin\Files\FileManager.ascx.vb 1171
Warning 10 Operands of type Object used in expressions for 'Select', 'Case' statements; runtime errors could occur. C:\Users\NJZ\Documents\Visual Studio 2008\WebSites\DotNetNuke mysite\admin\Localization\LanguagePack.ascx.vb 51
Warning 11 Operands of type Object used in expressions for 'Select', 'Case' statements; runtime errors could occur. C:\Users\NJZ\Documents\Visual Studio 2008\WebSites\DotNetNuke mysite\admin\Localization\LanguagePack.ascx.vb 51
Warning 12 Operands of type Object used in expressions for 'Select', 'Case' statements; runtime errors could occur. C:\Users\NJZ\Documents\Visual Studio 2008\WebSites\DotNetNuke mysite\admin\Localization\LanguagePack.ascx.vb 51
Warning 13 Operands of type Object used in expressions for 'Select', 'Case' statements; runtime errors could occur. C:\Users\NJZ\Documents\Visual Studio 2008\WebSites\DotNetNuke mysite\admin\Localization\LanguagePack.ascx.vb 51
Warning 14 Access of shared member, constant member, enum member or nested type through an instance; qualifying expression will not be evaluated. C:\Users\NJZ\Documents\Visual Studio 2008\WebSites\DotNetNuke mysite\admin\ModuleDefinitions\EditModuleDefinition.ascx.vb 140
Warning 15 Access of shared member, constant member, enum member or nested type through an instance; qualifying expression will not be evaluated. C:\Users\NJZ\Documents\Visual Studio 2008\WebSites\DotNetNuke mysite\admin\ModuleDefinitions\EditModuleDefinition.ascx.vb 870
Warning 16 Function without an 'As' clause; return type of Object assumed. C:\Users\NJZ\Documents\Visual Studio 2008\WebSites\DotNetNuke mysite\admin\Packages\Install.ascx.vb 273
Warning 17 Access of shared member, constant member, enum member or nested type through an instance; qualifying expression will not be evaluated. C:\Users\NJZ\Documents\Visual Studio 2008\WebSites\DotNetNuke mysite\admin\Portal\SiteWizard.ascx.vb 133
Warning 18 Access of shared member, constant member, enum member or nested type through an instance; qualifying expression will not be evaluated. C:\Users\NJZ\Documents\Visual Studio 2008\WebSites\DotNetNuke mysite\admin\Portal\SiteWizard.ascx.vb 167
Warning 19 'Public Function GetFolder(PortalID As Integer, FolderPath As String) As Services.FileSystem.FolderInfo' is obsolete: 'This method is obsolete. It has been replaced by GetFolderInfo(ByVal PortalID As Integer, ByVal FolderID As Integer, ByVal ignoreCache As Boolean) '. C:\Users\NJZ\Documents\Visual Studio 2008\WebSites\DotNetNuke mysite\admin\Portal\Template.ascx.vb 128
Warning 20 'Public Function GetFoldersByPortal(PortalID As Integer) As System.Collections.ArrayList' is obsolete: 'This method is obsolete. It has been replaced by GetFolders(ByVal PortalID As Integer) '. C:\Users\NJZ\Documents\Visual Studio 2008\WebSites\DotNetNuke mysite\admin\Portal\Template.ascx.vb 180
Warning 21 'Public Function GetFolderPermissionsByFolder(PortalID As Integer, Folder As String) As System.Collections.ArrayList' is obsolete: 'This method has been deprecated. Please use GetFolderPermissionsCollectionByFolderPath(PortalId, Folder)'. C:\Users\NJZ\Documents\Visual Studio 2008\WebSites\DotNetNuke mysite\admin\Portal\Template.ascx.vb 228
Warning 22 'Public Function GetListEntryInfo(ListName As String, Value As String, ParentKey As String) As Common.Lists.ListEntryInfo' is obsolete: 'This method has been deprecated. PLease use GetListEntryInfo(ByVal ListName As String, ByVal Value As String)'. C:\Users\NJZ\Documents\Visual Studio 2008\WebSites\DotNetNuke mysite\admin\Sales\PayPalSubscription.aspx.vb 135
Warning 23 Variable 'str' is used before it has been assigned a value. A null reference exception could result at runtime. C:\Users\NJZ\Documents\Visual Studio 2008\WebSites\DotNetNuke mysite\admin\Scheduling\ViewSchedule.ascx.vb 90
Warning 24 Access of shared member, constant member, enum member or nested type through an instance; qualifying expression will not be evaluated. C:\Users\NJZ\Documents\Visual Studio 2008\WebSites\DotNetNuke mysite\admin\Scheduling\ViewScheduleStatus.ascx.vb 141
Warning 25 'DotNetNuke.Skin' is obsolete: 'This class is obsolete. Please use DotNetNuke.UI.Skins.Skin.'. C:\Users\NJZ\Documents\Visual Studio 2008\WebSites\DotNetNuke mysite\admin\Tabs\ManageTabs.ascx.vb 283
Warning 26 Function 'DisplayDate' doesn't return a value on all code paths. A null reference exception could occur at run time when the result is used. C:\Users\NJZ\Documents\Visual Studio 2008\WebSites\DotNetNuke mysite\admin\Vendors\Affiliates.ascx.vb 108
Warning 27 Function 'DisplayAddress' doesn't return a value on all code paths. A null reference exception could occur at run time when the result is used. C:\Users\NJZ\Documents\Visual Studio 2008\WebSites\DotNetNuke mysite\admin\Vendors\Vendors.ascx.vb 169
Warning 28 Function 'DisplayEmail' doesn't return a value on all code paths. A null reference exception could occur at run time when the result is used. C:\Users\NJZ\Documents\Visual Studio 2008\WebSites\DotNetNuke mysite\admin\Vendors\Vendors.ascx.vb 189
Warning 29 Function 'formatURL' doesn't return a value on all code paths. A null reference exception could occur at run time when the result is used. C:\Users\NJZ\Documents\Visual Studio 2008\WebSites\DotNetNuke mysite\admin\Vendors\Vendors.ascx.vb 212
Warning 30 Function 'FilterURL' doesn't return a value on all code paths. A null reference exception could occur at run time when the result is used. C:\Users\NJZ\Documents\Visual Studio 2008\WebSites\DotNetNuke mysite\admin\Vendors\Vendors.ascx.vb 244
Warning 31 Variable 'DomainName' is used before it has been assigned a value. A null reference exception could result at runtime. C:\Users\NJZ\Documents\Visual Studio 2008\WebSites\DotNetNuke mysite\Portals\_default\subhost.aspx 22
Warning 32 WithEvents variable 'form' conflicts with property 'form' in the base class 'Page' and should be declared 'Shadows'. C:\Users\NJZ\Documents\Visual Studio 2008\WebSites\DotNetNuke mysite\Default.aspx 23
Warning 33 WithEvents variable 'form' conflicts with property 'form' in the base class 'Page' and should be declared 'Shadows'. C:\Users\NJZ\Documents\Visual Studio 2008\WebSites\DotNetNuke mysite\ErrorPage.aspx 10
Warning 34 WithEvents variable 'form' conflicts with property 'form' in the base class 'Page' and should be declared 'Shadows'. C:\Users\NJZ\Documents\Visual Studio 2008\WebSites\DotNetNuke mysite\Default.aspx 1 1 C:\...\DotNetNuke mysite\
Warning 35 Errors occurred while compiling the Xml schemas in the project. Because of this, Xml intellisense is not available. C:\Users\NJZ\Documents\Visual Studio 2008\WebSites\DotNetNuke mysite\admin\Portal\portal.template.xsd C:\...\DotNetNuke mysite\
Warning 36 Errors occurred while compiling the Xml schemas in the project. Because of this, Xml intellisense is not available. C:\Users\NJZ\Documents\Visual Studio 2008\WebSites\DotNetNuke mysite\admin\Portal\portal.template.xsd C:\...\DotNetNuke mysite\
Warning 37 'Public Function GetFolder(PortalID As Integer, FolderPath As String) As Services.FileSystem.FolderInfo' is obsolete: 'This method is obsolete. It has been replaced by GetFolderInfo(ByVal PortalID As Integer, ByVal FolderID As Integer, ByVal ignoreCache As Boolean) '. C:\Users\NJZ\Documents\Visual Studio 2008\WebSites\DotNetNuke mysite\admin\Files\FileManager.ascx.vb 1166 47 C:\...\DotNetNuke mysite\
Warning 38 'Public Function GetFolder(PortalID As Integer, FolderPath As String) As Services.FileSystem.FolderInfo' is obsolete: 'This method is obsolete. It has been replaced by GetFolderInfo(ByVal PortalID As Integer, ByVal FolderID As Integer, ByVal ignoreCache As Boolean) '. C:\Users\NJZ\Documents\Visual Studio 2008\WebSites\DotNetNuke mysite\admin\Files\FileManager.ascx.vb 1171 33 C:\...\DotNetNuke mysite\
Warning 39 Errors occurred while compiling the Xml schemas in the project. Because of this, Xml intellisense is not available. C:\Users\NJZ\Documents\Visual Studio 2008\WebSites\DotNetNuke mysite\admin\Portal\portal.template.xsd C:\...\DotNetNuke mysite\
Warning 40 Errors occurred while compiling the Xml schemas in the project. Because of this, Xml intellisense is not available. C:\Users\NJZ\Documents\Visual Studio 2008\WebSites\DotNetNuke mysite\admin\Portal\portal.template.xsd C:\...\DotNetNuke mysite\
Warning 11 Operands of type Object used in expressions for 'Select', 'Case' statements; runtime errors could occur. C:\Users\NJZ\Documents\Visual Studio 2008\WebSites\DotNetNuke mysite\admin\Localization\LanguagePack.ascx.vb 51