|
|
|
Joined: 1/27/2007
Posts: 301
|
|
|
I would like to thank every one for their input on this issue I'm having. Here's the info I received so far. Please let me know if there's a solution for this?
Server Error in '/' Application.
Compilation Error
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: BC30451: Name 'Config' is not declared.
Source Error:
|
Line 66: Line 67: Dim AutoUpgrade As Boolean Line 68: If Config.GetSetting("AutoUpgrade") Is Nothing Then Line 69: AutoUpgrade = True Line 70: Else
|
Source File: C:\DotNetNuke\App_Code\Global.asax.vb Line: 68
Compiler Warning Messages:
Warning: BC42104: Variable 'dr' is used before it has been assigned a value. A null reference exception could result at runtime.
Source Error:
C:\DotNetNuke\App_Code\Survey\SurveyController.vb |
Line 39: Dim SurveyInfolist As List(Of SurveyInfo) = New List(Of SurveyInfo) Line 40: Using dr As IDataReader = DataProvider.Instance().GetSurveys(ModuleId) Line 41: While dr.Read Line 42: Dim SurveyInfo As SurveyInfo = New SurveyInfo Line 43: SurveyInfo.SurveyId = Convert.ToInt32(dr("SurveyId"))
|
Warning: BC42104: Variable 'dr' is used before it has been assigned a value. A null reference exception could result at runtime.
Source Error:
C:\DotNetNuke\App_Code\Survey\SurveyController.vb |
Line 55: Dim SurveyInfo As SurveyInfo = New SurveyInfo Line 56: Using dr As IDataReader = DataProvider.Instance().GetSurvey(SurveyID, ModuleId) Line 57: While dr.Read Line 58: SurveyInfo.SurveyId = Convert.ToInt32(dr("SurveyId")) Line 59: SurveyInfo.ModuleId = Convert.ToInt32(dr("ModuleID"))
|
Warning: BC42104: Variable 'dr' is used before it has been assigned a value. A null reference exception could result at runtime.
Source Error:
C:\DotNetNuke\App_Code\Survey\SurveyOptionController.vb |
Line 30: Dim SurveyOptionInfolist As List(Of SurveyOptionInfo) = New List(Of SurveyOptionInfo) Line 31: Using dr As IDataReader = DataProvider.Instance().GetSurveyOptions(SurveyId) Line 32: While dr.Read Line 33: Dim SurveyOptionInfo As SurveyOptionInfo = New SurveyOptionInfo Line 34: SurveyOptionInfo.SurveyOptionId = Convert.ToInt32(dr("SurveyOptionID"))
|
Show Detailed Compiler Output:
C:\WINDOWS\SysWOW64\inetsrv> "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\vbc.exe" /t:library /utf8output /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\4b0b8cb7\186793a5_6785c701\eeeksoft.web.popupwin.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\03693364\c409d136_cc7bc701\DotNetNuke.Modules.Forum.Integration.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\cc7eb0aa\6acd3f97_8584c701\GhostRiver.PageMaster.Keys.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\c47ab046\186793a5_6785c701\DnnForge.PrivateMessages.SqlDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\2ac950ee\06f6e0a2_7a78c701\DotNetNuke.Modules.Repository.SqlDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\58cba9ab\c409d136_cc7bc701\DotNetNuke.Modules.Forum.Popup.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\fd345f60\e4be0564_d38dc701\UCanUse.Core.Dnn.4.0.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\e88d0d21\00feb784_e714c701\SolpartWebControls.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\c0a1b9d5\4ab409ba_3391c701\BizModules.UltraVideoGallery.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\958aadd9\424a5024_6585c701\DNNFusion.DNN.Modules.MyProfile.SqlDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\50b778cb\4ab409ba_3391c701\AjaxPro.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\d140d6f3\5a1269ba_3391c701\Flatburger.Utils1.1(163).DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\38560345\e4be0564_d38dc701\UCanUse.Core.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\2a516551\c409d136_cc7bc701\DotNetNuke.Modules.Forum.SQLDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\855644a9\a430ea9d_7a78c701\DotNetNuke.Modules.Blog.SqlDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\fae1aa0f\104eac0f_a17bc701\dnnforge.newsarticles.sqldataprovider.DLL" /R:"C:\WINDOWS\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\ed2ad8f8\a430ea9d_7a78c701\DotNetNuke.Modules.Blog.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\22214c21\00e4208c_393fc701\DotNetNuke.HttpModules.UrlRewrite.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\6d610eb8\2226fcfc_8484c701\DotNetNuke.Modules.UsersOnline.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\eb9277ae\f85de463_d38dc701\UCanUse.UserAttributes.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\edf3775a\d6ea00fd_8484c701\DotNetNuke.Modules.UsersOnline.SqlDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\907af91e\6aa7ce36_cc7bc701\DotNetNuke.Modules.Forum.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\0b7b6dc2\5a1269ba_3391c701\Flatburger.Permutation_7a3cd_1.1(163).DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\207a5ad3\6acd3f97_8584c701\GhostRiver.PageMaster.SqlDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\f54e40fb\6acd3f97_8584c701\Anthem.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\e533ffc0\00e4208c_393fc701\DotNetNuke.Provider.DBLoggingProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\cced4fe3\007ad77f_6cccc601\SharpZipLib.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\b2ea6687\e4be0564_d38dc701\UCanUse.Core.Dnn.3.1.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\d0b9bb13\00fcc61f_f801c701\DotNetNuke.WebControls.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\0fed10da\6a880d24_6585c701\DNNFusion.DNN.Modules.MyProfile.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\5fa013f0\104eac0f_a17bc701\DnnForge.NewsArticles.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\fb6e7064\00b066ba_3391c701\Flatburger.Customization1.1(163).DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\22f1d044\e4be0564_d38dc701\UCanUse.Core.Dnn.3.3.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\f6a43db0\3af71ba1_7a78c701\DotNetNuke.Modules.Media.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\085a6f85\104eac0f_a17bc701\CookComputing.XmlRpc.DLL" /R:"C:\WINDOWS\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\f9242e55\186793a5_6785c701\DnnForge.PrivateMessages.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\26c8786d\00e4208c_393fc701\DotNetNuke.Membership.Dataprovider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\db256169\0ec5a03c_a17bc701\DnnForge.SimpleGallery.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\b54c309e\56452aa1_7a78c701\DotNetNuke.Modules.News.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\a878a6d2\002ae4af_393fc701\DotNetNuke.SqlDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\67376d9f\00e4208c_393fc701\DotNetNuke.Search.DataStore.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\94e41616\f0607b8e_a17bc701\DnnForge.WhereAreThey.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\adaee3f1\00e4208c_393fc701\DotNetNuke.Provider.Membership.SqlDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\03bfb4b9\08b5dc0e_fd77c701\DotNetNuke.Modules.Links.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\1a40d21a\002ae4af_393fc701\DotNetNuke.Provider.DNNProvider.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Mobile\2.0.0.0__b03f5f7f11d50a3a\System.Web.Mobile.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\9c54407c\08b5dc0e_fd77c701\DotNetNuke.Modules.Links.SqlDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\5a9869ef\00e4208c_393fc701\DotNetNuke.WebUtility.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\c6359a27\2280dacd_0a82c701\UCanUse.UserAttributes.Skins.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\b71925e5\009e5d68_393fc701\CountryListBox.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\13383047\5a1269ba_3391c701\Flatburger.Runtime1.1(163).DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\c2d3d296\06f6e0a2_7a78c701\DotNetNuke.Modules.Repository.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\fab2b35a\00e4208c_393fc701\DotNetNuke.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\048d0880\3e1aa10e_fd77c701\DotNetNuke.Modules.Html.DLL" /R:"C:\WINDOWS\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\67f3f72a\7cc5fb9c_7a78c701\DotNetNuke.Modules.Announcements.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\4e3c05b9\406ff3a0_7a78c701\DotNetNuke.Modules.IFrame.SqlDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\dc13975a\007ad77f_6cccc601\FreeTextBox.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\1d5debe3\007ad77f_6cccc601\Microsoft.ApplicationBlocks.Data.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\94b78482\362f099e_7a78c701\DotNetNuke.Modules.FAQs.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\f86af27d\4ab409ba_3391c701\BizModules.UltraVideoGallery.SqlDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\964c49ba\00e4208c_393fc701\DotNetNuke.Search.Index.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\d0bf8e8e\f0607b8e_a17bc701\DnnForge.WhereAreThey.SqlDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\4cc38f55\002ae4af_393fc701\DotNetNuke.SolpartMenuNavigationProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\6a28a8be\00e4208c_393fc701\DotNetNuke.DNNScheduler.SqlDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\d1e9353d\3af71ba1_7a78c701\DotNetNuke.Modules.Media.SqlDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\1f3d5d26\e4be0564_d38dc701\UCanUse.Core.Dnn.4.5.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\a92ddd58\00e4208c_393fc701\DotNetNuke.Authentication.ADSIProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\75b0496b\002ae4af_393fc701\DotNetNuke.Provider.DBLoggingProvider.SqlDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\1452d15e\6acd3f97_8584c701\GhostRiver.Shared.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\f9eef386\002ae4af_393fc701\DotNetNuke.HttpModules.Compression.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\e80f81e0\6acd3f97_8584c701\GhostRiver.PageMaster.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\df7b3e08\002ae4af_393fc701\DotNetNuke.Caching.FileBasedCachingProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\c0d4aade\002ae4af_393fc701\DotNetNuke.Ftb3HtmlEditorProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\c4ccdbf0\e4be0564_d38dc701\UCanUse.Core.Dnn.4.3.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Services\2.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\App_GlobalResources.9xxbce2a.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\167d46e2\22c6ff3d_958ac701\CISS.Tabs.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\ee7976e8\00e4208c_393fc701\DotNetNuke.Provider.AspNetProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\2319d7d3\406ff3a0_7a78c701\DotNetNuke.Modules.IFrame.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\58089d9a\00e4208c_393fc701\DotNetNuke.DNNScheduler.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\b2614fd3\bca45e72_0a82c701\DnnForge.FeedbackCenter.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\d89de0f8\d627fe9c_7a78c701\DotNetNuke.Modules.Announcements.SqlDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\52bd70cd\987ca30e_fd77c701\DotNetNuke.Modules.Html.SqlDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\416af198\002ae4af_393fc701\DotNetNuke.HttpModules.Exception.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\bfa7e35e\4ab409ba_3391c701\BizModules.Decryption.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\51633f56\002ae4af_393fc701\DotNetNuke.HttpModules.Personalization.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\da293c46\362f099e_7a78c701\DotNetNuke.Modules.FAQs.SqlDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\420c13c6\002ae4af_393fc701\DotNetNuke.HttpModules.DNNMembership.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\80d3758d\002ae4af_393fc701\DotNetNuke.HttpModules.UsersOnline.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\95f0a509\00e4208c_393fc701\DotNetNuke.HttpModules.Authentication.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\e7ce26ba\bca45e72_0a82c701\DnnForge.FeedbackCenter.SqlDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\9ed60dd0\00e4208c_393fc701\DotNetNuke.Authentication.ADSI.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\0be178cd\0ec5a03c_a17bc701\DnnForge.SimpleGallery.SqlDataProvider.DLL" /out:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\App_Code.hws17y6d.dll" /debug- /define:_MYTYPE=\"Web\" /imports:Microsoft.VisualBasic,System,System.Collections,System.Collections.Specialized,System.Configuration,System.Text,System.Text.RegularExpressions,System.Web,System.Web.Caching,System.Web.SessionState,System.Web.Security,System.Web.Profile,System.Web.UI,System.Web.UI.WebControls,System.Web.UI.WebControls.WebParts,System.Web.UI.HtmlControls "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\App_Code.hws17y6d.4.vb" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\App_Code.hws17y6d.8.vb" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\App_Code.hws17y6d.6.vb" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\App_Code.hws17y6d.0.vb" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\App_Code.hws17y6d.2.vb" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\App_Code.hws17y6d.5.vb" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\App_Code.hws17y6d.7.vb" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\App_Code.hws17y6d.1.vb" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\App_Code.hws17y6d.3.vb" Microsoft (R) Visual Basic Compiler version 8.0.50727.42 for Microsoft (R) .NET Framework version 2.0.50727.42 Copyright (c) Microsoft Corporation. All rights reserved. C:\DotNetNuke\App_Code\Global.asax.vb(68) : error BC30451: Name 'Config' is not declared. If Config.GetSetting("AutoUpgrade") Is Nothing Then ~~~~~~ C:\DotNetNuke\App_Code\Global.asax.vb(71) : error BC30451: Name 'Config' is not declared. AutoUpgrade = Boolean.Parse(Config.GetSetting("AutoUpgrade")) ~~~~~~ C:\DotNetNuke\App_Code\Global.asax.vb(120) : error BC30451: Name 'LogException' is not declared. LogException(exc) ~~~~~~~~~~~~ C:\DotNetNuke\App_Code\Global.asax.vb(144) : error BC30002: Type 'PortalController' is not defined. Dim objPortalController As New PortalController ~~~~~~~~~~~~~~~~ C:\DotNetNuke\App_Code\Global.asax.vb(148) : error BC30002: Type 'PortalInfo' is not defined. Dim objPortalInfo As PortalInfo = CType(arrPortals(i), PortalInfo) ~~~~~~~~~~ C:\DotNetNuke\App_Code\Global.asax.vb(166) : error BC30451: Name 'Scheduling' is not declared. Scheduling.SchedulingProvider.Instance.Halt("Stopped by Application_End") ~~~~~~~~~~ C:\DotNetNuke\App_Code\Global.asax.vb(204) : error BC30451: Name 'Scheduling' is not declared. If Services.Scheduling.SchedulingProvider.SchedulerMode = Scheduling.SchedulerMode.TIMER_METHOD Then ~~~~~~~~~~ C:\DotNetNuke\App_Code\Global.asax.vb(205) : error BC30002: Type 'Scheduling.SchedulingProvider' is not defined. Dim scheduler As Scheduling.SchedulingProvider = Scheduling.SchedulingProvider.Instance() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C:\DotNetNuke\App_Code\Global.asax.vb(206) : error BC30451: Name 'Scheduling' is not declared. scheduler.RunEventSchedule(Scheduling.EventName.APPLICATION_START) ~~~~~~~~~~ C:\DotNetNuke\App_Code\Global.asax.vb(207) : error BC30451: Name 'Scheduling' is not declared. Dim newThread As New Threading.Thread(AddressOf Scheduling.SchedulingProvider.Instance.Start) ~~~~~~~~~~ C:\DotNetNuke\App_Code\Global.asax.vb(264) : error BC30002: Type 'EventQueue.EventQueueController' is not defined. Dim oEventController As New EventQueue.EventQueueController ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C:\DotNetNuke\App_Code\Global.asax.vb(314) : error BC30451: Name 'Scheduling' is not declared. If Services.Scheduling.SchedulingProvider.SchedulerMode = Scheduling.SchedulerMode.REQUEST_METHOD _ ~~~~~~~~~~ C:\DotNetNuke\App_Code\Global.asax.vb(317) : error BC30002: Type 'Scheduling.SchedulingProvider' is not defined. Dim scheduler As Scheduling.SchedulingProvider = Scheduling.SchedulingProvider.Instance ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C:\DotNetNuke\App_Code\Global.asax.vb(328) : error BC30451: Name 'LogException' is not declared. LogException(exc) ~~~~~~~~~~~~ C:\DotNetNuke\App_Code\Survey\DataProvider.vb(48) : error BC30002: Type 'IDataReader' is not defined. Public MustOverride Function GetSurveys(ByVal ModuleId As Integer) As IDataReader ~~~~~~~~~~~ C:\DotNetNuke\App_Code\Survey\DataProvider.vb(49) : error BC30002: Type 'IDataReader' is not defined. Public MustOverride Function GetSurvey(ByVal SurveyID As Integer, ByVal ModuleId As Integer) As IDataReader ~~~~~~~~~~~ C:\DotNetNuke\App_Code\Survey\DataProvider.vb(53) : error BC30002: Type 'IDataReader' is not defined. Public MustOverride Function GetSurveyOptions(ByVal SurveyId As Integer) As IDataReader ~~~~~~~~~~~ C:\DotNetNuke\App_Code\Survey\Providers\DataProviders\SqlDataProvider\SqlDataProvider.vb(109) : error BC30284: function 'GetSurveys' cannot be declared 'Overrides' because it does not override a function in a base class. Public Overrides Function GetSurveys(ByVal ModuleId As Integer) As IDataReader ~~~~~~~~~~ C:\DotNetNuke\App_Code\Survey\Providers\DataProviders\SqlDataProvider\SqlDataProvider.vb(112) : error BC30284: function 'GetSurvey' cannot be declared 'Overrides' because it does not override a function in a base class. Public Overrides Function GetSurvey(ByVal SurveyID As Integer, ByVal ModuleId As Integer) As IDataReader ~~~~~~~~~ C:\DotNetNuke\App_Code\Survey\Providers\DataProviders\SqlDataProvider\SqlDataProvider.vb(124) : error BC30284: function 'GetSurveyOptions' cannot be declared 'Overrides' because it does not override a function in a base class. Public Overrides Function GetSurveyOptions(ByVal SurveyId As Integer) As IDataReader ~~~~~~~~~~~~~~~~ C:\DotNetNuke\App_Code\Survey\SurveyController.vb(41) : warning BC42104: Variable 'dr' is used before it has been assigned a value. A null reference exception could result at runtime. While dr.Read ~~ C:\DotNetNuke\App_Code\Survey\SurveyController.vb(57) : warning BC42104: Variable 'dr' is used before it has been assigned a value. A null reference exception could result at runtime. While dr.Read ~~ C:\DotNetNuke\App_Code\Survey\SurveyController.vb(149) : error BC30451: Name 'GetContent' is not declared. Dim xmlSurveys As XmlNode = GetContent(Content, "surveys") ~~~~~~~~~~ C:\DotNetNuke\App_Code\Survey\SurveyOptionController.vb(32) : warning BC42104: Variable 'dr' is used before it has been assigned a value. A null reference exception could result at runtime. While dr.Read ~~
|
Show Complete Compilation Source:
Line 1: ' Line 2: ' DotNetNuke® - http://www.dotnetnuke.com Line 3: ' Copyright (c) 2002-2007 Line 4: ' by DotNetNuke Corporation Line 5: ' Line 6: ' Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated Line 7: ' documentation files (the "Software"), to deal in the Software without restriction, including without limitation Line 8: ' the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and Line 9: ' to permit persons to whom the Software is furnished to do so, subject to the following conditions: Line 10: ' Line 11: ' The above copyright notice and this permission notice shall be included in all copies or substantial portions Line 12: ' of the Software. Line 13: ' Line 14: ' THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED Line 15: ' TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL Line 16: ' THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF Line 17: ' CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER Line 18: ' DEALINGS IN THE SOFTWARE. Line 19: ' Line 20: Imports System.Security Line 21: Imports System.Security.Principal Line 22: Imports System.Threading Line 23: Imports System.Web.Security Line 24: Imports System.IO Line 25: Line 26: Imports DotNetNuke.Security.Roles Line 27: Imports DotNetNuke.Services.Log.EventLog Line 28: Imports DotNetNuke.Services.Upgrade Line 29: Line 30: Line 31: Namespace DotNetNuke.Common Line 32: Line 33: ''' ----------------------------------------------------------------------------- Line 34: ''' Project : DotNetNuke Line 35: ''' Class : Global Line 36: ''' Line 37: ''' ----------------------------------------------------------------------------- Line 38: ''' <summary> Line 39: ''' Line 40: ''' </summary> Line 41: ''' <remarks> Line 42: ''' </remarks> Line 43: ''' <history> Line 44: ''' [sun1] 1/18/2004 Created Line 45: ''' </history> Line 46: ''' ----------------------------------------------------------------------------- Line 47: Public Class [Global] Line 48: Inherits System.Web.HttpApplication Line 49: Line 50: #Region "Private Methods" Line 51: Line 52: ''' ----------------------------------------------------------------------------- Line 53: ''' <summary> Line 54: ''' CheckVersion determines whether the App is synchronized with the DB Line 55: ''' </summary> Line 56: ''' <remarks> Line 57: ''' </remarks> Line 58: ''' <history> Line 59: ''' [cnurse] 2/17/2005 created Line 60: ''' </history> Line 61: ''' ----------------------------------------------------------------------------- Line 62: Private Sub CheckVersion() Line 63: Dim Server As HttpServerUtility = HttpContext.Current.Server Line 64: Dim Request As HttpRequest = HttpContext.Current.Request Line 65: Dim Response As HttpResponse = HttpContext.Current.Response Line 66: Line 67: Dim AutoUpgrade As Boolean Line 68: If Config.GetSetting("AutoUpgrade") Is Nothing Then Line 69: AutoUpgrade = True Line 70: Else Line 71: AutoUpgrade = Boolean.Parse(Config.GetSetting("AutoUpgrade")) Line 72: End If Line 73: Line 74: 'Determine the Upgrade status and redirect to Install.aspx Line 75: Select Case GetUpgradeStatus() Line 76: Case Globals.UpgradeStatus.Install, Globals.UpgradeStatus.Upgrade Line 77: If AutoUpgrade Then Line 78: Response.Redirect("~/Install/Install.aspx?mode=Install") Line 79: Else Line 80: CreateUnderConstructionPage() Line 81: Response.Redirect("~/Install/UnderConstruction.htm") Line 82: End If Line 83: Case Globals.UpgradeStatus.Error Line 84: If AutoUpgrade Then Line 85: Response.Redirect("~/Install/Install.aspx?mode=none") Line 86: Else Line 87: CreateUnderConstructionPage() Line 88: Response.Redirect("~/Install/UnderConstruction.htm") Line 89: End If Line 90: End Select Line 91: End Sub Line 92: Line 93: Private Sub CreateUnderConstructionPage() Line 94: ' create an UnderConstruction page if it does not exist already Line 95: If Not File.Exists(System.Web.HttpContext.Current.Server.MapPath("~/Install/UnderConstruction.htm")) Then Line 96: If File.Exists(System.Web.HttpContext.Current.Server.MapPath("~/Install/UnderConstruction.template.htm")) Then Line 97: File.Copy(System.Web.HttpContext.Current.Server.MapPath("~/Install/UnderConstruction.template.htm"), System.Web.HttpContext.Current.Server.MapPath("~/Install/UnderConstruction.htm")) Line 98: End If Line 99: End If Line 100: End Sub Line 101: Line 102: ''' ----------------------------------------------------------------------------- Line 103: ''' <summary> Line 104: ''' LogEnd logs the Application Start Event Line 105: ''' </summary> Line 106: ''' <remarks> Line 107: ''' </remarks> Line 108: ''' <history> Line 109: ''' [cnurse] 1/28/2005 Moved back to App_End from Logging Module Line 110: ''' </history> Line 111: ''' ----------------------------------------------------------------------------- Line 112: Private Sub LogEnd() Line 113: Try Line 114: Dim objEv As New EventLogController Line 115: Dim objEventLogInfo As New LogInfo Line 116: objEventLogInfo.BypassBuffering = True Line 117: objEventLogInfo.LogTypeKey = Services.Log.EventLog.EventLogController.EventLogType.APPLICATION_SHUTTING_DOWN.ToString Line 118: objEv.AddLog(objEventLogInfo) Line 119: Catch exc As Exception Line 120: LogException(exc) Line 121: End Try Line 122: Line 123: ' purge log buffer Line 124: LoggingProvider.Instance.PurgeLogBuffer() Line 125: End Sub Line 126: Line 127: ''' ----------------------------------------------------------------------------- Line 128: ''' <summary> Line 129: ''' CacheMappedDirectory caches the Portal Mapped Directory(s) Line 130: ''' </summary> Line 131: ''' <remarks> Line 132: ''' </remarks> Line 133: ''' <history> Line 134: ''' [cnurse] 1/27/2005 Moved back to App_Start from Caching Module Line 135: ''' </history> Line 136: ''' ----------------------------------------------------------------------------- Line 137: Private Sub CacheMappedDirectory() Line 138: 'Cache the mapped physical home directory for each portal Line 139: 'so the mapped directories are available outside Line 140: 'of httpcontext. This is especially necessary Line 141: 'when the /Portals or portal home directory has been Line 142: 'mapped in IIS to another directory or server. Line 143: Dim objFolderController As New Services.FileSystem.FolderController Line 144: Dim objPortalController As New PortalController Line 145: Dim arrPortals As ArrayList = objPortalController.GetPortals() Line 146: Dim i As Integer Line 147: For i = 0 To arrPortals.Count - 1 Line 148: Dim objPortalInfo As PortalInfo = CType(arrPortals(i), PortalInfo) Line 149: objFolderController.SetMappedDirectory(objPortalInfo, HttpContext.Current) Line 150: Next Line 151: Line 152: End Sub Line 153: Line 154: ''' ----------------------------------------------------------------------------- Line 155: ''' <summary> Line 156: ''' StopScheduler stops the Scheduler Line 157: ''' </summary> Line 158: ''' <remarks> Line 159: ''' </remarks> Line 160: ''' <history> Line 161: ''' [cnurse] 1/28/2005 Moved back to App_End from Scheduling Module Line 162: ''' </history> Line 163: ''' ----------------------------------------------------------------------------- Line 164: Private Sub StopScheduler() Line 165: ' stop scheduled jobs Line 166: Scheduling.SchedulingProvider.Instance.Halt("Stopped by Application_End") Line 167: End Sub Line 168: Line 169: #End Region Line 170: Line 171: #Region "Public Methods" Line 172: Line 173: ''' ----------------------------------------------------------------------------- Line 174: ''' <summary> Line 175: ''' LogStart logs the Application Start Event Line 176: ''' </summary> Line 177: ''' <remarks> Line 178: ''' </remarks> Line 179: ''' <history> Line 180: ''' [cnurse] 1/27/2005 Moved back to App_Start from Logging Module Line 181: ''' </history> Line 182: ''' ----------------------------------------------------------------------------- Line 183: Public Shared Sub LogStart() Line 184: Dim objEv As New EventLogController Line 185: Dim objEventLogInfo As New LogInfo Line 186: objEventLogInfo.BypassBuffering = True Line 187: objEventLogInfo.LogTypeKey = Services.Log.EventLog.EventLogController.EventLogType.APPLICATION_START.ToString Line 188: objEv.AddLog(objEventLogInfo) Line 189: Line 190: End Sub Line 191: Line 192: ''' ----------------------------------------------------------------------------- Line 193: ''' <summary> Line 194: ''' StartScheduler starts the Scheduler Line 195: ''' </summary> Line 196: ''' <remarks> Line 197: ''' </remarks> Line 198: ''' <history> Line 199: ''' [cnurse] 1/27/2005 Moved back to App_Start from Scheduling Module Line 200: ''' </history> Line 201: ''' ----------------------------------------------------------------------------- Line 202: Public Shared Sub StartScheduler() Line 203: ' instantiate APPLICATION_START scheduled jobs Line 204: If Services.Scheduling.SchedulingProvider.SchedulerMode = Scheduling.SchedulerMode.TIMER_METHOD Then Line 205: Dim scheduler As Scheduling.SchedulingProvider = Scheduling.SchedulingProvider.Instance() Line 206: scheduler.RunEventSchedule(Scheduling.EventName.APPLICATION_START) Line 207: Dim newThread As New Threading.Thread(AddressOf Scheduling.SchedulingProvider.Instance.Start) Line 208: newThread.IsBackground = True Line 209: newThread.Start() Line 210: End If Line 211: End Sub Line 212: Line 213: #End Region Line 214: Line 215: #Region "Application Event Handlers" Line 216: Line 217: ''' ----------------------------------------------------------------------------- Line 218: ''' <summary> Line 219: ''' Application_Start Line 220: ''' Executes on the first web request into the portal application, Line 221: ''' when a new DLL is deployed, or when web.config is modified. Line 222: ''' </summary> Line 223: ''' <param name="Sender"></param> Line 224: ''' <param name="E"></param> Line 225: ''' <remarks> Line 226: ''' - global variable initialization Line 227: ''' </remarks> Line 228: ''' <history> Line 229: ''' </history> Line 230: ''' ----------------------------------------------------------------------------- Line 231: Private Sub Application_Start(ByVal Sender As Object, ByVal E As EventArgs) Line 232: Line 233: Dim Server As HttpServerUtility = HttpContext.Current.Server Line 234: Line 235: 'global variable initialization Line 236: ServerName = Server.MachineName Line 237: Line 238: If HttpContext.Current.Request.ApplicationPath = "/" Then Line 239: ApplicationPath = "" Line 240: Else Line 241: ApplicationPath = HttpContext.Current.Request.ApplicationPath Line 242: End If Line 243: ApplicationMapPath = System.AppDomain.CurrentDomain.BaseDirectory.Substring(0, System.AppDomain.CurrentDomain.BaseDirectory.Length - 1) Line 244: ApplicationMapPath = ApplicationMapPath.Replace("/", "\") Line 245: Line 246: HostPath = ApplicationPath & "/Portals/_default/" Line 247: HostMapPath = Server.MapPath(HostPath) Line 248: Line 249: AssemblyPath = ApplicationMapPath & "\bin\dotnetnuke.dll" Line 250: Line 251: 'Check whether the current App Version is the same as the DB Version Line 252: CheckVersion() Line 253: Line 254: 'Cache Mapped Directory(s) Line 255: CacheMappedDirectory() Line 256: Line 257: 'log APPLICATION_START event Line 258: LogStart() Line 259: Line 260: 'Start Scheduler Line 261: StartScheduler() Line 262: Line 263: 'Process any messages in the EventQueue for the Application_Start event Line 264: Dim oEventController As New EventQueue.EventQueueController Line 265: oEventController.ProcessMessages("Application_Start") Line 266: Line 267: Line 268: End Sub Line 269: Line 270: ''' ----------------------------------------------------------------------------- Line 271: ''' <summary> Line 272: ''' Application_End Line 273: ''' Executes when the Application times out Line 274: ''' </summary> Line 275: ''' <param name="Sender"></param> Line 276: ''' <param name="E"></param> Line 277: ''' <remarks> Line 278: ''' </remarks> Line 279: ''' <history> Line 280: ''' </history> Line 281: ''' ----------------------------------------------------------------------------- Line 282: Private Sub Application_End(ByVal Sender As Object, ByVal E As EventArgs) Line 283: Line 284: ' log APPLICATION_END event Line 285: LogEnd() Line 286: Line 287: ' stop scheduled jobs Line 288: StopScheduler() Line 289: Line 290: End Sub Line 291: Line 292: Line 293: ''' ----------------------------------------------------------------------------- Line 294: ''' <summary> Line 295: ''' Application_BeginRequest Line 296: ''' Executes when the request is initiated Line 297: ''' </summary> Line 298: ''' <param name="Sender"></param> Line 299: ''' <param name="E"></param> Line 300: ''' <remarks> Line 301: ''' </remarks> Line 302: ''' <history> Line 303: ''' </history> Line 304: ''' ----------------------------------------------------------------------------- Line 305: Private Sub Application_BeginRequest(ByVal sender As Object, ByVal e As EventArgs) Line 306: Line 307: 'First check if we are upgrading/installing Line 308: If Request.Url.LocalPath.EndsWith("Install.aspx") Then Line 309: Exit Sub Line 310: End If Line 311: Line 312: Try Line 313: Line 314: If Services.Scheduling.SchedulingProvider.SchedulerMode = Scheduling.SchedulerMode.REQUEST_METHOD _ Line 315: AndAlso Services.Scheduling.SchedulingProvider.ReadyForPoll Then Line 316: Line 317: Dim scheduler As Scheduling.SchedulingProvider = Scheduling.SchedulingProvider.Instance Line 318: Dim RequestScheduleThread As Threading.Thread Line 319: RequestScheduleThread = New Threading.Thread(AddressOf scheduler.ExecuteTasks) Line 320: RequestScheduleThread.IsBackground = True Line 321: RequestScheduleThread.Start() Line 322: Line 323: Services.Scheduling.SchedulingProvider.ScheduleLastPolled = Now Line 324: Line 325: End If Line 326: Line 327: Catch exc As Exception Line 328: LogException(exc) Line 329: End Try Line 330: Line 331: End Sub Line 332: Line 333: #End Region Line 334: Line 335: End Class Line 336: Line 337: End Namespace Line 338:
|
|
|
|
|
| |
|
|
Joined: 1/27/2007
Posts: 301
|
|
|
Here's more !
Server Error in '/' Application.
Compilation Error
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: BC30451: Name 'Config' is not declared.
Source Error:
|
Line 66:
Line 67: Dim AutoUpgrade As Boolean
Line 68: If Config.GetSetting("AutoUpgrade") Is Nothing Then
Line 69: AutoUpgrade = True
Line 70: Else
|
Source File: C:\DotNetNuke\App_Code\Global.asax.vb Line: 68
Compiler Warning Messages:
Warning: BC42104: Variable 'dr' is used before it has been assigned a value. A null reference exception could result at runtime.
Source Error:
C:\DotNetNuke\App_Code\Survey\SurveyController.vb
|
Line 39: Dim SurveyInfolist As List(Of SurveyInfo) = New List(Of SurveyInfo) Line 40: Using dr As IDataReader = DataProvider.Instance().GetSurveys(ModuleId) Line 41: While dr.Read Line 42: Dim SurveyInfo As SurveyInfo = New SurveyInfo Line 43: SurveyInfo.SurveyId = Convert.ToInt32(dr("SurveyId"))
|
Warning: BC42104: Variable 'dr' is used before it has been assigned a value. A null reference exception could result at runtime.
Source Error:
C:\DotNetNuke\App_Code\Survey\SurveyController.vb
|
Line 55: Dim SurveyInfo As SurveyInfo = New SurveyInfo Line 56: Using dr As IDataReader = DataProvider.Instance().GetSurvey(SurveyID, ModuleId) Line 57: While dr.Read Line 58: SurveyInfo.SurveyId = Convert.ToInt32(dr("SurveyId")) Line 59: SurveyInfo.ModuleId = Convert.ToInt32(dr("ModuleID"))
|
Warning: BC42104: Variable 'dr' is used before it has been assigned a value. A null reference exception could result at runtime.
Source Error:
C:\DotNetNuke\App_Code\Survey\SurveyOptionController.vb
|
Line 30: Dim SurveyOptionInfolist As List(Of SurveyOptionInfo) = New List(Of SurveyOptionInfo) Line 31: Using dr As IDataReader = DataProvider.Instance().GetSurveyOptions(SurveyId) Line 32: While dr.Read Line 33: Dim SurveyOptionInfo As SurveyOptionInfo = New SurveyOptionInfo Line 34: SurveyOptionInfo.SurveyOptionId = Convert.ToInt32(dr("SurveyOptionID"))
|
|
|
|
|
| |
|
|
Joined: 1/27/2007
Posts: 301
|
|
|
Here's even more. This is put here for the sake of all the other DNN people. I have no idea what this jibberish means. But, maybe it will help you.
James
Show Detailed Compiler Output:
C:\WINDOWS\SysWOW64\inetsrv> "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\vbc.exe" /t:library /utf8output /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\4b0b8cb7\186793a5_6785c701\eeeksoft.web.popupwin.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\03693364\c409d136_cc7bc701\DotNetNuke.Modules.Forum.Integration.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\cc7eb0aa\6acd3f97_8584c701\GhostRiver.PageMaster.Keys.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\c47ab046\186793a5_6785c701\DnnForge.PrivateMessages.SqlDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\2ac950ee\06f6e0a2_7a78c701\DotNetNuke.Modules.Repository.SqlDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\58cba9ab\c409d136_cc7bc701\DotNetNuke.Modules.Forum.Popup.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\fd345f60\e4be0564_d38dc701\UCanUse.Core.Dnn.4.0.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\e88d0d21\00feb784_e714c701\SolpartWebControls.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\c0a1b9d5\4ab409ba_3391c701\BizModules.UltraVideoGallery.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\958aadd9\424a5024_6585c701\DNNFusion.DNN.Modules.MyProfile.SqlDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\50b778cb\4ab409ba_3391c701\AjaxPro.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\d140d6f3\5a1269ba_3391c701\Flatburger.Utils1.1(163).DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\38560345\e4be0564_d38dc701\UCanUse.Core.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\2a516551\c409d136_cc7bc701\DotNetNuke.Modules.Forum.SQLDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\855644a9\a430ea9d_7a78c701\DotNetNuke.Modules.Blog.SqlDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\fae1aa0f\104eac0f_a17bc701\dnnforge.newsarticles.sqldataprovider.DLL" /R:"C:\WINDOWS\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\ed2ad8f8\a430ea9d_7a78c701\DotNetNuke.Modules.Blog.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\22214c21\00e4208c_393fc701\DotNetNuke.HttpModules.UrlRewrite.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\6d610eb8\2226fcfc_8484c701\DotNetNuke.Modules.UsersOnline.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\eb9277ae\f85de463_d38dc701\UCanUse.UserAttributes.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\edf3775a\d6ea00fd_8484c701\DotNetNuke.Modules.UsersOnline.SqlDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\907af91e\6aa7ce36_cc7bc701\DotNetNuke.Modules.Forum.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\0b7b6dc2\5a1269ba_3391c701\Flatburger.Permutation_7a3cd_1.1(163).DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\207a5ad3\6acd3f97_8584c701\GhostRiver.PageMaster.SqlDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\f54e40fb\6acd3f97_8584c701\Anthem.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\e533ffc0\00e4208c_393fc701\DotNetNuke.Provider.DBLoggingProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\cced4fe3\007ad77f_6cccc601\SharpZipLib.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\b2ea6687\e4be0564_d38dc701\UCanUse.Core.Dnn.3.1.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\d0b9bb13\00fcc61f_f801c701\DotNetNuke.WebControls.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\0fed10da\6a880d24_6585c701\DNNFusion.DNN.Modules.MyProfile.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\5fa013f0\104eac0f_a17bc701\DnnForge.NewsArticles.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\fb6e7064\00b066ba_3391c701\Flatburger.Customization1.1(163).DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\22f1d044\e4be0564_d38dc701\UCanUse.Core.Dnn.3.3.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\f6a43db0\3af71ba1_7a78c701\DotNetNuke.Modules.Media.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\085a6f85\104eac0f_a17bc701\CookComputing.XmlRpc.DLL" /R:"C:\WINDOWS\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\f9242e55\186793a5_6785c701\DnnForge.PrivateMessages.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\26c8786d\00e4208c_393fc701\DotNetNuke.Membership.Dataprovider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\db256169\0ec5a03c_a17bc701\DnnForge.SimpleGallery.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\b54c309e\56452aa1_7a78c701\DotNetNuke.Modules.News.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\a878a6d2\002ae4af_393fc701\DotNetNuke.SqlDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\67376d9f\00e4208c_393fc701\DotNetNuke.Search.DataStore.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\94e41616\f0607b8e_a17bc701\DnnForge.WhereAreThey.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\adaee3f1\00e4208c_393fc701\DotNetNuke.Provider.Membership.SqlDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\03bfb4b9\08b5dc0e_fd77c701\DotNetNuke.Modules.Links.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\1a40d21a\002ae4af_393fc701\DotNetNuke.Provider.DNNProvider.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Mobile\2.0.0.0__b03f5f7f11d50a3a\System.Web.Mobile.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\9c54407c\08b5dc0e_fd77c701\DotNetNuke.Modules.Links.SqlDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\5a9869ef\00e4208c_393fc701\DotNetNuke.WebUtility.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\c6359a27\2280dacd_0a82c701\UCanUse.UserAttributes.Skins.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\b71925e5\009e5d68_393fc701\CountryListBox.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\13383047\5a1269ba_3391c701\Flatburger.Runtime1.1(163).DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\c2d3d296\06f6e0a2_7a78c701\DotNetNuke.Modules.Repository.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\fab2b35a\00e4208c_393fc701\DotNetNuke.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\048d0880\3e1aa10e_fd77c701\DotNetNuke.Modules.Html.DLL" /R:"C:\WINDOWS\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\67f3f72a\7cc5fb9c_7a78c701\DotNetNuke.Modules.Announcements.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\4e3c05b9\406ff3a0_7a78c701\DotNetNuke.Modules.IFrame.SqlDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\dc13975a\007ad77f_6cccc601\FreeTextBox.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\1d5debe3\007ad77f_6cccc601\Microsoft.ApplicationBlocks.Data.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\94b78482\362f099e_7a78c701\DotNetNuke.Modules.FAQs.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\f86af27d\4ab409ba_3391c701\BizModules.UltraVideoGallery.SqlDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\964c49ba\00e4208c_393fc701\DotNetNuke.Search.Index.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\d0bf8e8e\f0607b8e_a17bc701\DnnForge.WhereAreThey.SqlDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\4cc38f55\002ae4af_393fc701\DotNetNuke.SolpartMenuNavigationProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\6a28a8be\00e4208c_393fc701\DotNetNuke.DNNScheduler.SqlDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\d1e9353d\3af71ba1_7a78c701\DotNetNuke.Modules.Media.SqlDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\1f3d5d26\e4be0564_d38dc701\UCanUse.Core.Dnn.4.5.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\a92ddd58\00e4208c_393fc701\DotNetNuke.Authentication.ADSIProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\75b0496b\002ae4af_393fc701\DotNetNuke.Provider.DBLoggingProvider.SqlDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\1452d15e\6acd3f97_8584c701\GhostRiver.Shared.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\f9eef386\002ae4af_393fc701\DotNetNuke.HttpModules.Compression.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\e80f81e0\6acd3f97_8584c701\GhostRiver.PageMaster.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\df7b3e08\002ae4af_393fc701\DotNetNuke.Caching.FileBasedCachingProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\c0d4aade\002ae4af_393fc701\DotNetNuke.Ftb3HtmlEditorProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\c4ccdbf0\e4be0564_d38dc701\UCanUse.Core.Dnn.4.3.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Services\2.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\App_GlobalResources.9xxbce2a.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\167d46e2\22c6ff3d_958ac701\CISS.Tabs.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\ee7976e8\00e4208c_393fc701\DotNetNuke.Provider.AspNetProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\2319d7d3\406ff3a0_7a78c701\DotNetNuke.Modules.IFrame.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\58089d9a\00e4208c_393fc701\DotNetNuke.DNNScheduler.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\b2614fd3\bca45e72_0a82c701\DnnForge.FeedbackCenter.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\d89de0f8\d627fe9c_7a78c701\DotNetNuke.Modules.Announcements.SqlDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\52bd70cd\987ca30e_fd77c701\DotNetNuke.Modules.Html.SqlDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\416af198\002ae4af_393fc701\DotNetNuke.HttpModules.Exception.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\bfa7e35e\4ab409ba_3391c701\BizModules.Decryption.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\51633f56\002ae4af_393fc701\DotNetNuke.HttpModules.Personalization.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\da293c46\362f099e_7a78c701\DotNetNuke.Modules.FAQs.SqlDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\420c13c6\002ae4af_393fc701\DotNetNuke.HttpModules.DNNMembership.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\80d3758d\002ae4af_393fc701\DotNetNuke.HttpModules.UsersOnline.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\95f0a509\00e4208c_393fc701\DotNetNuke.HttpModules.Authentication.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\e7ce26ba\bca45e72_0a82c701\DnnForge.FeedbackCenter.SqlDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\9ed60dd0\00e4208c_393fc701\DotNetNuke.Authentication.ADSI.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\assembly\dl3\0be178cd\0ec5a03c_a17bc701\DnnForge.SimpleGallery.SqlDataProvider.DLL" /out:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\App_Code.hws17y6d.dll" /debug- /define:_MYTYPE=\"Web\" /imports:Microsoft.VisualBasic,System,System.Collections,System.Collections.Specialized,System.Configuration,System.Text,System.Text.RegularExpressions,System.Web,System.Web.Caching,System.Web.SessionState,System.Web.Security,System.Web.Profile,System.Web.UI,System.Web.UI.WebControls,System.Web.UI.WebControls.WebParts,System.Web.UI.HtmlControls "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\App_Code.hws17y6d.4.vb" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\App_Code.hws17y6d.8.vb" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\App_Code.hws17y6d.6.vb" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\App_Code.hws17y6d.0.vb" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\App_Code.hws17y6d.2.vb" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\App_Code.hws17y6d.5.vb" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\App_Code.hws17y6d.7.vb" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\App_Code.hws17y6d.1.vb" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8b56ede9\4e3e8320\App_Code.hws17y6d.3.vb" Microsoft (R) Visual Basic Compiler version 8.0.50727.42 for Microsoft (R) .NET Framework version 2.0.50727.42 Copyright (c) Microsoft Corporation. All rights reserved. C:\DotNetNuke\App_Code\Global.asax.vb(68) : error BC30451: Name 'Config' is not declared. If Config.GetSetting("AutoUpgrade") Is Nothing Then ~~~~~~ C:\DotNetNuke\App_Code\Global.asax.vb(71) : error BC30451: Name 'Config' is not declared. AutoUpgrade = Boolean.Parse(Config.GetSetting("AutoUpgrade")) ~~~~~~ C:\DotNetNuke\App_Code\Global.asax.vb(120) : error BC30451: Name 'LogException' is not declared. LogException(exc) ~~~~~~~~~~~~ C:\DotNetNuke\App_Code\Global.asax.vb(144) : error BC30002: Type 'PortalController' is not defined. Dim objPortalController As New PortalController ~~~~~~~~~~~~~~~~ C:\DotNetNuke\App_Code\Global.asax.vb(148) : error BC30002: Type 'PortalInfo' is not defined. Dim objPortalInfo As PortalInfo = CType(arrPortals(i), PortalInfo) ~~~~~~~~~~ C:\DotNetNuke\App_Code\Global.asax.vb(166) : error BC30451: Name 'Scheduling' is not declared. Scheduling.SchedulingProvider.Instance.Halt("Stopped by Application_End") ~~~~~~~~~~ C:\DotNetNuke\App_Code\Global.asax.vb(204) : error BC30451: Name 'Scheduling' is not declared. If Services.Scheduling.SchedulingProvider.SchedulerMode = Scheduling.SchedulerMode.TIMER_METHOD Then ~~~~~~~~~~ C:\DotNetNuke\App_Code\Global.asax.vb(205) : error BC30002: Type 'Scheduling.SchedulingProvider' is not defined. Dim scheduler As Scheduling.SchedulingProvider = Scheduling.SchedulingProvider.Instance() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C:\DotNetNuke\App_Code\Global.asax.vb(206) : error BC30451: Name 'Scheduling' is not declared. scheduler.RunEventSchedule(Scheduling.EventName.APPLICATION_START) ~~~~~~~~~~ C:\DotNetNuke\App_Code\Global.asax.vb(207) : error BC30451: Name 'Scheduling' is not declared. Dim newThread As New Threading.Thread(AddressOf Scheduling.SchedulingProvider.Instance.Start) ~~~~~~~~~~ C:\DotNetNuke\App_Code\Global.asax.vb(264) : error BC30002: Type 'EventQueue.EventQueueController' is not defined. Dim oEventController As New EventQueue.EventQueueController ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C:\DotNetNuke\App_Code\Global.asax.vb(314) : error BC30451: Name 'Scheduling' is not declared. If Services.Scheduling.SchedulingProvider.SchedulerMode = Scheduling.SchedulerMode.REQUEST_METHOD _ ~~~~~~~~~~ C:\DotNetNuke\App_Code\Global.asax.vb(317) : error BC30002: Type 'Scheduling.SchedulingProvider' is not defined. Dim scheduler As Scheduling.SchedulingProvider = Scheduling.SchedulingProvider.Instance ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C:\DotNetNuke\App_Code\Global.asax.vb(328) : error BC30451: Name 'LogException' is not declared. LogException(exc) ~~~~~~~~~~~~ C:\DotNetNuke\App_Code\Survey\DataProvider.vb(48) : error BC30002: Type 'IDataReader' is not defined. Public MustOverride Function GetSurveys(ByVal ModuleId As Integer) As IDataReader ~~~~~~~~~~~ C:\DotNetNuke\App_Code\Survey\DataProvider.vb(49) : error BC30002: Type 'IDataReader' is not defined. Public MustOverride Function GetSurvey(ByVal SurveyID As Integer, ByVal ModuleId As Integer) As IDataReader ~~~~~~~~~~~ C:\DotNetNuke\App_Code\Survey\DataProvider.vb(53) : error BC30002: Type 'IDataReader' is not defined. Public MustOverride Function GetSurveyOptions(ByVal SurveyId As Integer) As IDataReader ~~~~~~~~~~~ C:\DotNetNuke\App_Code\Survey\Providers\DataProviders\SqlDataProvider\SqlDataProvider.vb(109) : error BC30284: function 'GetSurveys' cannot be declared 'Overrides' because it does not override a function in a base class. Public Overrides Function GetSurveys(ByVal ModuleId As Integer) As IDataReader ~~~~~~~~~~ C:\DotNetNuke\App_Code\Survey\Providers\DataProviders\SqlDataProvider\SqlDataProvider.vb(112) : error BC30284: function 'GetSurvey' cannot be declared 'Overrides' because it does not override a function in a base class. Public Overrides Function GetSurvey(ByVal SurveyID As Integer, ByVal ModuleId As Integer) As IDataReader ~~~~~~~~~ C:\DotNetNuke\App_Code\Survey\Providers\DataProviders\SqlDataProvider\SqlDataProvider.vb(124) : error BC30284: function 'GetSurveyOptions' cannot be declared 'Overrides' because it does not override a function in a base class. Public Overrides Function GetSurveyOptions(ByVal SurveyId As Integer) As IDataReader ~~~~~~~~~~~~~~~~ C:\DotNetNuke\App_Code\Survey\SurveyController.vb(41) : warning BC42104: Variable 'dr' is used before it has been assigned a value. A null reference exception could result at runtime. While dr.Read ~~ C:\DotNetNuke\App_Code\Survey\SurveyController.vb(57) : warning BC42104: Variable 'dr' is used before it has been assigned a value. A null reference exception could result at runtime. While dr.Read ~~ C:\DotNetNuke\App_Code\Survey\SurveyController.vb(149) : error BC30451: Name 'GetContent' is not declared. Dim xmlSurveys As XmlNode = GetContent(Content, "surveys") ~~~~~~~~~~ C:\DotNetNuke\App_Code\Survey\SurveyOptionController.vb(32) : warning BC42104: Variable 'dr' is used before it has been assigned a value. A null reference exception could result at runtime. While dr.Read ~~
|
Show Complete Compilation Source:
Line 1: ' Line 2: ' DotNetNuke® - http://www.dotnetnuke.com Line 3: ' Copyright (c) 2002-2007 Line 4: ' by DotNetNuke Corporation Line 5: ' Line 6: ' Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated Line 7: ' documentation files (the "Software"), to deal in the Software without restriction, including without limitation Line 8: ' the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and Line 9: ' to permit persons to whom the Software is furnished to do so, subject to the following conditions: Line 10: ' Line 11: ' The above copyright notice and this permission notice shall be included in all copies or substantial portions Line 12: ' of the Software. Line 13: ' Line 14: ' THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED Line 15: ' TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL Line 16: ' THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF Line 17: ' CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER Line 18: ' DEALINGS IN THE SOFTWARE. Line 19: ' Line 20: Imports System.Security Line 21: Imports System.Security.Principal Line 22: Imports System.Threading Line 23: Imports System.Web.Security Line 24: Imports System.IO Line 25: Line 26: Imports DotNetNuke.Security.Roles Line 27: Imports DotNetNuke.Services.Log.EventLog Line 28: Imports DotNetNuke.Services.Upgrade Line 29: Line 30: Line 31: Namespace DotNetNuke.Common Line 32: Line 33: ''' ----------------------------------------------------------------------------- Line 34: ''' Project : DotNetNuke Line 35: ''' Class : Global Line 36: ''' Line 37: ''' ----------------------------------------------------------------------------- Line 38: ''' <summary> Line 39: ''' Line 40: ''' </summary> Line 41: ''' <remarks> Line 42: ''' </remarks> Line 43: ''' <history> Line 44: ''' [sun1] 1/18/2004 Created Line 45: ''' </history> Line 46: ''' ----------------------------------------------------------------------------- Line 47: Public Class [Global] Line 48: Inherits System.Web.HttpApplication Line 49: Line 50: #Region "Private Methods" Line 51: Line 52: ''' ----------------------------------------------------------------------------- Line 53: ''' <summary> Line 54: ''' CheckVersion determines whether the App is synchronized with the DB Line 55: ''' </summary> Line 56: ''' <remarks> Line 57: ''' </remarks> Line 58: ''' <history> Line 59: ''' [cnurse] 2/17/2005 created Line 60: ''' </history> Line 61: ''' ----------------------------------------------------------------------------- Line 62: Private Sub CheckVersion() Line 63: Dim Server As HttpServerUtility = HttpContext.Current.Server Line 64: Dim Request As HttpRequest = HttpContext.Current.Request Line 65: Dim Response As HttpResponse = HttpContext.Current.Response Line 66: Line 67: Dim AutoUpgrade As Boolean Line 68: If Config.GetSetting("AutoUpgrade") Is Nothing Then Line 69: AutoUpgrade = True Line 70: Else Line 71: AutoUpgrade = Boolean.Parse(Config.GetSetting("AutoUpgrade")) Line 72: End If Line 73: Line 74: 'Determine the Upgrade status and redirect to Install.aspx Line 75: Select Case GetUpgradeStatus() Line 76: Case Globals.UpgradeStatus.Install, Globals.UpgradeStatus.Upgrade Line 77: If AutoUpgrade Then Line 78: Response.Redirect("~/Install/Install.aspx?mode=Install") Line 79: Else Line 80: CreateUnderConstructionPage() Line 81: Response.Redirect("~/Install/UnderConstruction.htm") Line 82: End If Line 83: Case Globals.UpgradeStatus.Error Line 84: If AutoUpgrade Then Line 85: Response.Redirect("~/Install/Install.aspx?mode=none") Line 86: Else Line 87: CreateUnderConstructionPage() Line 88: Response.Redirect("~/Install/UnderConstruction.htm") Line 89: End If Line 90: End Select Line 91: End Sub Line 92: Line 93: Private Sub CreateUnderConstructionPage() Line 94: ' create an UnderConstruction page if it does not exist already Line 95: If Not File.Exists(System.Web.HttpContext.Current.Server.MapPath("~/Install/UnderConstruction.htm")) Then Line 96: If File.Exists(System.Web.HttpContext.Current.Server.MapPath("~/Install/UnderConstruction.template.htm")) Then Line 97: File.Copy(System.Web.HttpContext.Current.Server.MapPath("~/Install/UnderConstruction.template.htm"), System.Web.HttpContext.Current.Server.MapPath("~/Install/UnderConstruction.htm")) Line 98: End If Line 99: End If Line 100: End Sub Line 101: Line 102: ''' ----------------------------------------------------------------------------- Line 103: ''' <summary> Line 104: ''' LogEnd logs the Application Start Event Line 105: ''' </summary> Line 106: ''' <remarks> Line 107: ''' </remarks> Line 108: ''' <history> Line 109: ''' [cnurse] 1/28/2005 Moved back to App_End from Logging Module Line 110: ''' </history> Line 111: ''' ----------------------------------------------------------------------------- Line 112: Private Sub LogEnd() Line 113: Try Line 114: Dim objEv As New EventLogController Line 115: Dim objEventLogInfo As New LogInfo Line 116: objEventLogInfo.BypassBuffering = True Line 117: objEventLogInfo.LogTypeKey = Services.Log.EventLog.EventLogController.EventLogType.APPLICATION_SHUTTING_DOWN.ToString Line 118: objEv.AddLog(objEventLogInfo) Line 119: Catch exc As Exception Line 120: LogException(exc) Line 121: End Try Line 122: Line 123: ' purge log buffer Line 124: LoggingProvider.Instance.PurgeLogBuffer() Line 125: End Sub Line 126: Line 127: ''' ----------------------------------------------------------------------------- Line 128: ''' <summary> Line 129: ''' CacheMappedDirectory caches the Portal Mapped Directory(s) Line 130: ''' </summary> Line 131: ''' <remarks> Line 132: ''' </remarks> Line 133: ''' <history> Line 134: ''' [cnurse] 1/27/2005 Moved back to App_Start from Caching Module Line 135: ''' </history> Line 136: ''' ----------------------------------------------------------------------------- Line 137: Private Sub CacheMappedDirectory() Line 138: 'Cache the mapped physical home directory for each portal Line 139: 'so the mapped directories are available outside Line 140: 'of httpcontext. This is especially necessary Line 141: 'when the /Portals or portal home directory has been Line 142: 'mapped in IIS to another directory or server. Line 143: Dim objFolderController As New Services.FileSystem.FolderController Line 144: Dim objPortalController As New PortalController Line 145: Dim arrPortals As ArrayList = objPortalController.GetPortals() Line 146: Dim i As Integer Line 147: For i = 0 To arrPortals.Count - 1 Line 148: Dim objPortalInfo As PortalInfo = CType(arrPortals(i), PortalInfo) Line 149: objFolderController.SetMappedDirectory(objPortalInfo, HttpContext.Current) Line 150: Next Line 151: Line 152: End Sub Line 153: Line 154: ''' ----------------------------------------------------------------------------- Line 155: ''' <summary> Line 156: ''' StopScheduler stops the Scheduler Line 157: ''' </summary> Line 158: ''' <remarks> Line 159: ''' </remarks> Line 160: ''' <history> Line 161: ''' [cnurse] 1/28/2005 Moved back to App_End from Scheduling Module Line 162: ''' </history> Line 163: ''' ----------------------------------------------------------------------------- Line 164: Private Sub StopScheduler() Line 165: ' stop scheduled jobs Line 166: Scheduling.SchedulingProvider.Instance.Halt("Stopped by Application_End") Line 167: End Sub Line 168: Line 169: #End Region Line 170: Line 171: #Region "Public Methods" Line 172: Line 173: ''' ----------------------------------------------------------------------------- Line 174: ''' <summary> Line 175: ''' LogStart logs the Application Start Event Line 176: ''' </summary> Line 177: ''' <remarks> Line 178: ''' </remarks> Line 179: ''' <history> Line 180: ''' [cnurse] 1/27/2005 Moved back to App_Start from Logging Module Line 181: ''' </history> Line 182: ''' ----------------------------------------------------------------------------- Line 183: Public Shared Sub LogStart() Line 184: Dim objEv As New EventLogController Line 185: Dim objEventLogInfo As New LogInfo Line 186: objEventLogInfo.BypassBuffering = True Line 187: objEventLogInfo.LogTypeKey = Services.Log.EventLog.EventLogController.EventLogType.APPLICATION_START.ToString Line 188: objEv.AddLog(objEventLogInfo) Line 189: Line 190: End Sub Line 191: Line 192: ''' ----------------------------------------------------------------------------- Line 193: ''' <summary> Line 194: ''' StartScheduler starts the Scheduler Line 195: ''' </summary> Line 196: ''' <remarks> Line 197: ''' </remarks> Line 198: ''' <history> Line 199: ''' [cnurse] 1/27/2005 Moved back to App_Start from Scheduling Module Line 200: ''' </history> Line 201: ''' ----------------------------------------------------------------------------- Line 202: Public Shared Sub StartScheduler() Line 203: ' instantiate APPLICATION_START scheduled jobs Line 204: If Services.Scheduling.SchedulingProvider.SchedulerMode = Scheduling.SchedulerMode.TIMER_METHOD Then Line 205: Dim scheduler As Scheduling.SchedulingProvider = Scheduling.SchedulingProvider.Instance() Line 206: scheduler.RunEventSchedule(Scheduling.EventName.APPLICATION_START) Line 207: Dim newThread As New Threading.Thread(AddressOf Scheduling.SchedulingProvider.Instance.Start) Line 208: newThread.IsBackground = True Line 209: newThread.Start() Line 210: End If Line 211: End Sub Line 212: Line 213: #End Region Line 214: Line 215: #Region "Application Event Handlers" Line 216: Line 217: ''' ----------------------------------------------------------------------------- Line 218: ''' <summary> Line 219: ''' Application_Start Line 220: ''' Executes on the first web request into the portal application, Line 221: ''' when a new DLL is deployed, or when web.config is modified. Line 222: ''' </summary> Line 223: ''' <param name="Sender"></param> Line 224: ''' <param name="E"></param> Line 225: ''' <remarks> Line 226: ''' - global variable initialization Line 227: ''' </remarks> Line 228: ''' <history> Line 229: ''' </history> Line 230: ''' ----------------------------------------------------------------------------- Line 231: Private Sub Application_Start(ByVal Sender As Object, ByVal E As EventArgs) Line 232: Line 233: Dim Server As HttpServerUtility = HttpContext.Current.Server Line 234: Line 235: 'global variable initialization Line 236: ServerName = Server.MachineName Line 237: Line 238: If HttpContext.Current.Request.ApplicationPath = "/" Then Line 239: ApplicationPath = "" Line 240: Else Line 241: ApplicationPath = HttpContext.Current.Request.ApplicationPath Line 242: End If Line 243: ApplicationMapPath = System.AppDomain.CurrentDomain.BaseDirectory.Substring(0, System.AppDomain.CurrentDomain.BaseDirectory.Length - 1) Line 244: ApplicationMapPath = ApplicationMapPath.Replace("/", "\") Line 245: Line 246: HostPath = ApplicationPath & "/Portals/_default/" Line 247: HostMapPath = Server.MapPath(HostPath) Line 248: Line 249: AssemblyPath = ApplicationMapPath & "\bin\dotnetnuke.dll" Line 250: Line 251: 'Check whether the current App Version is the same as the DB Version Line 252: CheckVersion() Line 253: Line 254: 'Cache Mapped Directory(s) Line 255: CacheMappedDirectory() Line 256: Line 257: 'log APPLICATION_START event Line 258: LogStart() Line 259: Line 260: 'Start Scheduler Line 261: StartScheduler() Line 262: Line 263: 'Process any messages in the EventQueue for the Application_Start event Line 264: Dim oEventController As New EventQueue.EventQueueController Line 265: oEventController.ProcessMessages("Application_Start") Line 266: Line 267: Line 268: End Sub Line 269: Line 270: ''' ----------------------------------------------------------------------------- Line 271: ''' <summary> Line 272: ''' Application_End Line 273: ''' Executes when the Application times out Line 274: ''' </summary> Line 275: ''' <param name="Sender"></param> Line 276: ''' <param name="E"></param> Line 277: ''' <remarks> Line 278: ''' </remarks> Line 279: ''' <history> Line 280: ''' </history> Line 281: ''' ----------------------------------------------------------------------------- Line 282: Private Sub Application_End(ByVal Sender As Object, ByVal E As EventArgs) Line 283: Line 284: ' log APPLICATION_END event Line 285: LogEnd() Line 286: Line 287: ' stop scheduled jobs Line 288: StopScheduler() Line 289: Line 290: End Sub Line 291: Line 292: Line 293: ''' ----------------------------------------------------------------------------- Line 294: ''' <summary> Line 295: ''' Application_BeginRequest Line 296: ''' Executes when the request is initiated Line 297: ''' </summary> Line 298: ''' <param name="Sender"></param> Line 299: ''' <param name="E"></param> Line 300: ''' <remarks> Line 301: ''' </remarks> Line 302: ''' <history> Line 303: ''' </history> Line 304: ''' ----------------------------------------------------------------------------- Line 305: Private Sub Application_BeginRequest(ByVal sender As Object, ByVal e As EventArgs) Line 306: Line 307: 'First check if we are upgrading/installing Line 308: If Request.Url.LocalPath.EndsWith("Install.aspx") Then Line 309: Exit Sub Line 310: End If Line 311: Line 312: Try Line 313: Line 314: If Services.Scheduling.SchedulingProvider.SchedulerMode = Scheduling.SchedulerMode.REQUEST_METHOD _ Line 315: AndAlso Services.Scheduling.SchedulingProvider.ReadyForPoll Then Line 316: Line 317: Dim scheduler As Scheduling.SchedulingProvider = Scheduling.SchedulingProvider.Instance Line 318: Dim RequestScheduleThread As Threading.Thread Line 319: RequestScheduleThread = New Threading.Thread(AddressOf scheduler.ExecuteTasks) Line 320: RequestScheduleThread.IsBackground = True Line 321: RequestScheduleThread.Start() Line 322: Line 323: Services.Scheduling.SchedulingProvider.ScheduleLastPolled = Now Line 324: Line 325: End If Line 326: Line 327: Catch exc As Exception Line 328: LogException(exc) Line 329: End Try Line 330: Line 331: End Sub Line 332: Line 333: #End Region Line 334: Line 335: End Class Line 336: Line 337: End Namespace Line 338:
|
|
|
|
|
| |
|
|
|
Joined: 4/10/2006
Posts: 110
|
|
|
Okay, that helps a bit. I think the last stuff is not useful in this problem but I may be mistaken. I have ran into this problem a time or two and have worked around it. Are you upgrading or doing a fresh install?
|
|
|
|
| |
|
|
Joined: 1/27/2007
Posts: 301
|
|
|
DNN 4.5 was installed last night. No upgrade. It's a fresh copy. Hopefully more secure.
|
|
|
|
| |