Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0BC30456: BC30456: 'IsClientScriptBlockRegistered'
Previous
 
Next
New Post
4/24/2008 2:10 PM
 

The following error appeared seemingly without cause.  Now I cannot call any pages on the site.

Server Error in '/dotNetNuke_2/Website' 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: BC30456: 'IsClientScriptBlockRegistered' is not a member of 'DotNetNuke.UI.Utilities.ClientAPI'.

Source Error:

 

Line 46:
Line 47:
Line 48:             If Not ClientAPI.IsClientScriptBlockRegistered(page, "dnn.reports.js") Then
Line 49:                 Dim strScript As String = "<script src=""" & DotNetNuke.Common.Globals.ResolveUrl(ReportsScript) & """></script>"
Line 50:                 ClientAPI.RegisterClientScriptBlock(page, "dnn.reports.js", strScript)
 

Source File: C:\Inetpub\wwwroot\dotNetNuke_2\Website\App_Code\Reports\ReportsClientAPI.vb    Line: 48

 

Compiler Warning Messages:
Warning: BC42022: Property without an 'As' clause; type of Object assumed.
Source Error:

C:\Inetpub\wwwroot\dotNetNuke_2\Website\App_Code\Reports\ReportsControlBase.vb 

Line 80:         End Property
Line 81:
Line 82:         Protected MustOverride ReadOnly Property ASCXFileName()
Line 83:
Line 84:         Private Sub FindParentModule()
 

Warning: BC42020: Variable declaration without an 'As' clause; type of Object assumed.
Source Error:

C:\Inetpub\wwwroot\dotNetNuke_2\Website\App_Code\Reports\ReportsController.vb 

Line 182:
Line 183:                ' Build the visualizer prefix: dnn_ReportsVis_[VisualizerName]_
Line 184:                Dim strVisPrefix = String.Format("{0}{1}_", PREFIX_Visualizer, objReport.Visualizer)
Line 185:
Line 186:                ' Read the tab module settings
 

Warning: BC42020: Variable declaration without an 'As' clause; type of Object assumed.
Source Error:

C:\Inetpub\wwwroot\dotNetNuke_2\Website\App_Code\Reports\ReportsController.vb 

Line 453:
Line 454:                ' Build the visualizer setting prefix (see GetReport)
Line 455:                Dim strVisPrefix = String.Format("{0}{1}_", PREFIX_Visualizer, objReport.Visualizer)
Line 456:
Line 457:                ' For each visualizer setting
 

Warning: BC40000: 'Public ReadOnly Property CacheKey() As String' is obsolete: 'This property is deprecated. Plaese use ModuleController.CacheKey(TabModuleID)'
Source Error:

C:\Inetpub\wwwroot\dotNetNuke_2\Website\App_Code\Reports\VisualizerControlBase.vb 

Line 91:         Public Sub ExecuteReport(ByVal ThrowOnError As Boolean, ByVal ShowErrorMessage As Boolean)
Line 92:             Try
Line 93:                 ReportResults = ReportsController.ExecuteReport(Report, Me.ParentModule.CacheKey, False, ReportsController.BuildParameters(Me.ParentModule))
Line 94:             Catch sqlExc As SqlException
Line 95:                 If ShowErrorMessage Then
 

 


Show Detailed Compiler Output:


C:\WINDOWS\system32> "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\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\895c7474\6e283dd0_4688c801\DotNetNuke.DNNTreeNavigationProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\d5ac7ab6\300d0e51_5388c801\DotNetNuke.Events.WebControls.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\eddabe0a\90ee22d0_4688c801\DotNetNuke.SolpartMenuNavigationProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\29fab281\5cc0b6d0_4688c801\DotNetNuke.Caching.FileBasedCachingProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\bfa737cf\00dada08_4b1ec801\System.Web.Extensions.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\94d8e4c7\a2598f30_5c88c801\DotNetNuke.Modules.Store.Catalog.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\cd381ed6\2aa35d58_5388c801\DotNetNuke.Modules.Repository.SqlDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\13d62451\70fef74e_5388c801\DotNetNuke.Modules.Announcements.SqlDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\a557db5e\d2698c51_5388c801\DotNetNuke.Modules.Feedback.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\431ab487\a2598f30_5c88c801\DotNetNuke.Modules.Store.Cart.SqlDataProvider.DLL" /R:"C:\WINDOWS\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\ac8ae677\ab26b3c1_7570c701\DotNetNuke.WebUtility.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\3d9e2ed0\263fa4c2_4688c801\DotNetNuke.Provider.AspNetProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\ce1fc735\4c2eeb4f_5388c801\DotNetNuke.Modules.Documents.SqlDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\160c547d\d0405b58_5388c801\DotNetNuke.Modules.Repository.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\03d88a45\28f3985b_5388c801\DotNetNuke.Modules.UsersOnline.SqlDataProvider.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Runtime.Serialization\3.0.0.0__b77a5c561934e089\System.Runtime.Serialization.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\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\4dcaf9fa\0ae39830_5c88c801\DotNetNuke.Modules.Store.WebControls.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\d06ae1f7\76d76cd0_4688c801\DotNetNuke.DNNDropDownNavigationProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\f6cbcd33\00dada08_4b1ec801\DotNetNuke.FckHtmlEditorProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\74ede867\300d0e51_5388c801\DotNetNuke.Events.ScheduleControl.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\be1ba79b\0ae39830_5c88c801\DotNetNuke.Modules.Store.Providers.Tax.DefaultTaxProvider.SqlDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\68c93190\ccf8efd0_4688c801\DotNetNuke.Search.Index.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\ac803bd6\a49ee4c2_4688c801\DotNetNuke.Search.DataStore.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\9d85af91\b0809630_5c88c801\DotNetNuke.Modules.Store.Providers.Shipping.DefaultShippingProvider.SqlDataProvider.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\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\1d4c60b4\b0809630_5c88c801\DotNetNuke.Modules.Store.Providers.Tax.DefaultTaxProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\4a05ebfd\742e945b_5388c801\DotNetNuke.Modules.UsersOnline.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\594c504f\fcbb9130_5c88c801\DotNetNuke.Modules.Store.Components.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\380f35b5\faae84d0_4688c801\DotNetNuke.XMLLoggingProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\5a430ce1\00282e52_511ec801\DotNetNuke.Services.Syndication.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.ServiceModel\3.0.0.0__b77a5c561934e089\System.ServiceModel.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.WorkflowServices\3.5.0.0__31bf3856ad364e35\System.WorkflowServices.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\0469a8d2\86e25556_5388c801\DotNetNuke.Modules.Media.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\316b378f\e097ced0_4688c801\DotNetNuke.Caching.BroadcastPollingCachingProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\889121d1\fcbb9130_5c88c801\DotNetNuke.Modules.Store.Customer.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\8e9279df\96f4795b_5388c801\DotNetNuke.Modules.UserDefinedTable.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\aca7f2e0\f0758655_5388c801\DotNetNuke.Modules.Help.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\35da1dce\6c02c8c2_4688c801\DotNetNuke.SqlDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\870f869b\2ccc8e51_5388c801\DotNetNuke.Modules.Feedback.SqlDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\85724811\a8df63c2_4688c801\DotNetNuke.Provider.DNNProvider.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\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\e19bbef9\9869e64f_5388c801\DotNetNuke.Modules.Documents.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\c6a1d134\009417e5_4a1ec801\Microsoft.ApplicationBlocks.Data.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\8ad80ce3\48f78c30_5c88c801\DotNetNuke.Modules.Store.Cart.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\c7b4d08b\777276d2_ba8ac801\wrallp.printRequest.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.DirectoryServices\2.0.0.0__b03f5f7f11d50a3a\System.DirectoryServices.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\6da9517e\3643a1c0_4688c801\DotNetNuke.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\2bc5df9f\48f78c30_5c88c801\DotNetNuke.Modules.Store.Cart.PayPalProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\31726971\561e9430_5c88c801\DotNetNuke.Modules.Store.Customer.SqlDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\19b826de\fcbb9130_5c88c801\DotNetNuke.Modules.Store.Catalog.SqlDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\5a7c59b2\0c170bd0_4688c801\DotNetNuke.DNNScheduler.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Management\2.0.0.0__b03f5f7f11d50a3a\System.Management.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\890ce55e\d0e6f855_5388c801\DotNetNuke.Modules.Links.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\277755b1\4ab97e5b_5388c801\DotNetNuke.Modules.UserDefinedTable.SqlDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\f39c78b3\561e9430_5c88c801\DotNetNuke.Modules.Store.Providers.Address.DefaultAddressProvider.SqlDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\4c18bff0\0018159c_9f80c401\safileup.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\8da0d64d\561e9430_5c88c801\DotNetNuke.Modules.Store.Providers.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\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\1ea9e84b\bc39f34e_5388c801\DotNetNuke.Modules.Announcements.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\a280ad70\e4c3cd1c_2ea6c801\dnnDbReporter.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\92a0f620\a2306456_5388c801\DotNetNuke.Modules.News.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\67bdc03c\48f78c30_5c88c801\DotNetNuke.Modules.Store.Cart.AuthorizeNetProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\e00511d0\3ee8d955_5388c801\DotNetNuke.Modules.IFrame.SqlDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\d994ccc5\ee948a30_5c88c801\DotNetNuke.Modules.Store.Admin.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\App_SubCode_HTML.ona36ok1.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\24af9c67\e0445856_5388c801\DotNetNuke.Modules.Media.SqlDataProvider.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Design\2.0.0.0__b03f5f7f11d50a3a\System.Design.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\2206542c\4c6257d0_4688c801\DotNetNuke.DNNMenuNavigationProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\dfb6c4bc\d0c7ee5b_5388c801\DotNetNuke.Modules.Wiki.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\79d021bb\561e9430_5c88c801\DotNetNuke.Modules.Store.Providers.Address.DefaultAddressProvider.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\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\4ffa7b6c\76bb1ec2_4688c801\DotNetNuke.Membership.Dataprovider.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\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\5eec3982\b563c120_f194c801\printRequest.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\1760bd81\c3890835_e994c801\wrallp.printRequest.SqlDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\c626a3e4\e485d755_5388c801\DotNetNuke.Modules.IFrame.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\4b79de34\fe2f44e1_2a8cc701\CountryListBox.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\4243f60d\dde533c2_7570c701\DotNetNuke.WebControls.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\Microsoft.ReportViewer.WebForms\9.0.0.0__b03f5f7f11d50a3a\Microsoft.ReportViewer.WebForms.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\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\383d27d6\c0a7a34f_5388c801\DotNetNuke.Modules.Blog.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\b53fee66\84abfd55_5388c801\DotNetNuke.Modules.Links.SqlDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\4577d044\007d57fa_6d24c501\SolpartWebControls.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\f4d96505\fc653555_5388c801\DotNetNuke.Modules.Forum.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\25d992c1\c0a7a34f_5388c801\DotNetNuke.Modules.Blog.SqlDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\713d3c6d\16e144c2_4688c801\DotNetNuke.HttpModules.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.ServiceModel.Web\3.5.0.0__31bf3856ad364e35\System.ServiceModel.Web.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\d36a8db0\00aa88fb_6d24c501\MemberRole.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\fca9672b\d6aa0b51_5388c801\DotNetNuke.Modules.Events.SqlDataProvider.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.IdentityModel\3.0.0.0__b77a5c561934e089\System.IdentityModel.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\80a87e0e\a2598f30_5c88c801\DotNetNuke.Modules.Store.Cart.EmailProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\8c86a272\84f73851_5388c801\DotNetNuke.Modules.FAQs.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\4758bd13\004da8b5_c4ccc601\SharpZipLib.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\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\d942f899\d6aa0b51_5388c801\DotNetNuke.Modules.Events.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\0ae60efd\8cada3d0_4688c801\DotNetNuke.Provider.DBLoggingProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\5e6d2332\2cb77bc2_4688c801\DotNetNuke.ASP2MenuNavigationProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\5c046849\b0809630_5c88c801\DotNetNuke.Modules.Store.Providers.Shipping.DefaultShippingProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\15c29a3f\ee948a30_5c88c801\DotNetNuke.Modules.Store.Admin.SqlDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\assembly\dl3\58dbc16d\de593b51_5388c801\DotNetNuke.Modules.FAQs.SqlDataProvider.DLL" /out:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\App_SubCode_Reports.o-31nrip.dll" /D:DEBUG=1 /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,System.ComponentModel,System.Data,System.Data.SqlClient,System.Drawing,Microsoft.VisualBasic,System.Globalization,DotNetNuke.Services.Localization,DotNetNuke.Entities.Users,DotNetNuke,DotNetNuke.Common,DotNetNuke.Data,DotNetNuke.Framework,DotNetNuke.Modules,DotNetNuke.Security,DotNetNuke.Services,DotNetNuke.UI,DotNetNuke.Entities.Portals,DotNetNuke.Common.Utilities,DotNetNuke.Services.Exceptions,DotNetNuke.Entities.Tabs  "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\App_SubCode_Reports.o-31nrip.6.vb" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\App_SubCode_Reports.o-31nrip.8.vb" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\App_SubCode_Reports.o-31nrip.10.vb" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\App_SubCode_Reports.o-31nrip.7.vb" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\App_SubCode_Reports.o-31nrip.4.vb" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\App_SubCode_Reports.o-31nrip.2.vb" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\App_SubCode_Reports.o-31nrip.3.vb" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\App_SubCode_Reports.o-31nrip.0.vb" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\App_SubCode_Reports.o-31nrip.5.vb" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\App_SubCode_Reports.o-31nrip.1.vb" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\App_SubCode_Reports.o-31nrip.11.vb" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2_website\f558dfb7\36ad56d2\App_SubCode_Reports.o-31nrip.9.vb"


Microsoft (R) Visual Basic Compiler version 8.0.50727.1433
for Microsoft (R) .NET Framework version 2.0.50727.1433
Copyright (c) Microsoft Corporation.  All rights reserved.

C:\Inetpub\wwwroot\dotNetNuke_2\Website\App_Code\Reports\ReportsClientAPI.vb(48) : error BC30456: 'IsClientScriptBlockRegistered' is not a member of 'DotNetNuke.UI.Utilities.ClientAPI'.

            If Not ClientAPI.IsClientScriptBlockRegistered(page, "dnn.reports.js") Then
                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                            
C:\Inetpub\wwwroot\dotNetNuke_2\Website\App_Code\Reports\ReportsClientAPI.vb(50) : error BC30456: 'RegisterClientScriptBlock' is not a member of 'DotNetNuke.UI.Utilities.ClientAPI'.

                ClientAPI.RegisterClientScriptBlock(page, "dnn.reports.js", strScript)
                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  
C:\Inetpub\wwwroot\dotNetNuke_2\Website\App_Code\Reports\ReportsControlBase.vb(82) : warning BC42022: Property without an 'As' clause; type of Object assumed.

        Protected MustOverride ReadOnly Property ASCXFileName()
                                                 ~~~~~~~~~~~~ 
C:\Inetpub\wwwroot\dotNetNuke_2\Website\App_Code\Reports\ReportsController.vb(184) : warning BC42020: Variable declaration without an 'As' clause; type of Object assumed.

                Dim strVisPrefix = String.Format("{0}{1}_", PREFIX_Visualizer, objReport.Visualizer)
                    ~~~~~~~~~~~~                                                                   
C:\Inetpub\wwwroot\dotNetNuke_2\Website\App_Code\Reports\ReportsController.vb(455) : warning BC42020: Variable declaration without an 'As' clause; type of Object assumed.

                Dim strVisPrefix = String.Format("{0}{1}_", PREFIX_Visualizer, objReport.Visualizer)
                    ~~~~~~~~~~~~                                                                   
C:\Inetpub\wwwroot\dotNetNuke_2\Website\App_Code\Reports\VisualizerControlBase.vb(93) : warning BC40000: 'Public ReadOnly Property CacheKey() As String' is obsolete: 'This property is deprecated.  Plaese use ModuleController.CacheKey(TabModuleID)'

                ReportResults = ReportsController.ExecuteReport(Report, Me.ParentModule.CacheKey, False, ReportsController.BuildParameters(Me.ParentModule))
                                                                        ~~~~~~~~~~~~~~~~~~~~~~~~                                                           

 

 

Show Complete Compilation Source:


Line 1:    '
Line 2:    ' DotNetNuke® - http://www.dotnetnuke.com
Line 3:    ' Copyright (c) 2002-2006
Line 4:    ' by Perpetual Motion Interactive Systems Inc. ( http://www.perpetualmotion.ca )
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:  
Line 21:   Imports System
Line 22:   Imports System.Configuration
Line 23:   Imports System.Data
Line 24:  
Line 25:   Imports DotNetNuke.UI.Utilities
Line 26:  
Line 27:   Namespace DotNetNuke.Modules.Reports
Line 28:  
Line 29:       ''' -----------------------------------------------------------------------------
Line 30:       ''' <summary>
Line 31:       ''' Manages the reports Client API Calls
Line 32:       ''' </summary>
Line 33:       ''' <remarks>
Line 34:       ''' </remarks>
Line 35:       ''' <history>
Line 36:       '''  [anurse] 08/24/2006 Created
Line 37:       ''' </history>
Line 38:       ''' -----------------------------------------------------------------------------
Line 39:       Public Class ReportsClientAPI
Line 40:  
Line 41:           Public Const ReportsScript As String = "~/DesktopModules/Reports/js/dnn.reports.js"
Line 42:  
Line 43:           Public Shared Sub Import(ByVal page As Page)
Line 44:               ClientAPI.RegisterClientReference(page, UI.Utilities.ClientAPI.ClientNamespaceReferences.dnn)
Line 45:               ClientAPI.RegisterClientReference(page, UI.Utilities.ClientAPI.ClientNamespaceReferences.dnn_dom)
Line 46:  
Line 47:  
Line 48:               If Not ClientAPI.IsClientScriptBlockRegistered(page, "dnn.reports.js") Then
Line 49:                   Dim strScript As String = "<script src=""" & DotNetNuke.Common.Globals.ResolveUrl(ReportsScript) & """></script>"
Line 50:                   ClientAPI.RegisterClientScriptBlock(page, "dnn.reports.js", strScript)
Line 51:               End If
Line 52:           End Sub
Line 53:  
Line 54:           Public Shared Sub ShowHideByCheckBox(ByVal checkBox As IAttributeAccessor, ByVal target As Control)
Line 55:               Dim chkControl As Control = TryCast(checkBox, Control)
Line 56:               If chkControl Is Nothing Then Throw New ArgumentException("checkBox Parameter must be derived from Control", "checkBox")
Line 57:  
Line 58:               ApplyScript(checkBox, "onclick", String.Format("dnn.reports.showHideByCheckbox('{0}', '{1}')", _
Line 59:                   chkControl.ClientID, target.ClientID))
Line 60:           End Sub
Line 61:  
Line 62:           Public Shared Sub RegisterBarColorModeSwitching(ByVal radOneColor As RadioButton, ByVal radColorPerBar As RadioButton, ByVal rowOneColor As HtmlTableRow, ByVal rowColorPerBar As HtmlTableRow)
Line 63:               Dim updateScript As String = String.Format("dnn.reports.updateBarColorMode('{0}', '{1}', '{2}', '{3}');", radOneColor.ClientID, _
Line 64:                   radColorPerBar.ClientID, rowOneColor.ClientID, rowColorPerBar.ClientID)
Line 65:               ApplyScript(radOneColor, "onclick", updateScript)
Line 66:               ApplyScript(radColorPerBar, "onclick", updateScript)
Line 67:           End Sub
Line 68:  
Line 69:           Public Shared Sub RegisterColorPreview(ByVal txtColor As Control, ByVal colorPreview As Control)
Line 70:               ApplyScript(txtColor, "onchange", String.Format("dnn.reports.updateColorPreview('{0}', '{1}')", txtColor.ClientID, colorPreview.ClientID))
Line 71:           End Sub
Line 72:  
Line 73:           Public Shared Sub RegisterReportingServicesModeUpdate(ByVal radLocal As RadioButton, ByVal radServer As RadioButton, ByVal rowFile As Control, _
Line 74:           ByVal rowDataSource As Control, ByVal rowServerUrl As Control, ByVal rowServerReportPath As Control)
Line 75:  
Line 76:               Dim sScript As String = String.Format("dnn.reports.updateRSMode('{0}', '{1}', '{2}', '{3}', '{4}', '{5}')", radLocal.ClientID, _
Line 77:                   radServer.ClientID, rowFile.ClientID, rowDataSource.ClientID, rowServerUrl.ClientID, rowServerReportPath.ClientID)
Line 78:               ApplyScript(radLocal, "onclick", sScript)
Line 79:               ApplyScript(radServer, "onclick", sScript)
Line 80:           End Sub
Line 81:  
Line 82:           Public Shared Sub ApplyScript(ByVal control As IAttributeAccessor, ByVal attr As String, ByVal script As String)
Line 83:               Dim sCurValue As String = control.GetAttribute(attr)
Line 84:               Dim sNewValue As String = String.Empty
Line 85:               If Not String.IsNullOrEmpty(sCurValue) Then
Line 86:                   If Not sCurValue.EndsWith(";") Then
Line 87:                       sNewValue = String.Format("{0}; {1}", sCurValue, script)
Line 88:                   Else
Line 89:                       sNewValue = String.Concat(sCurValue, script)
Line 90:                   End If
Line 91:               Else
Line 92:                   sNewValue = script
Line 93:               End If
Line 94:               control.SetAttribute(attr, sNewValue)
Line 95:           End Sub
Line 96:  
Line 97:       End Class
Line 98:  
Line 99:   End Namespace
Line 100: 
 

 


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0BC30456: BC30456: 'IsClientScriptBlockRegistered'


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out