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

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Compilation error when upgrading to 4.5.1Compilation error when upgrading to 4.5.1
Previous
 
Next
New Post
4/17/2007 4:23 AM
 

 

Hello, I've tried to upgrade to 4.5.1 but I receive this error what I can do?
Many thanks
Massimo

------------------------

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: BC30560: 'DataProvider' is ambiguous in the namespace 'DotNetNuke.Modules.HTML'.

Source Error:

 
Line 40: 
Line 41:         ' singleton reference to the instantiated object 
Line 42:         Private Shared objProvider As DataProvider = Nothing
Line 43: 
Line 44:         ' constructor

Source File: E:\path\DotNetNuke\App_Code\HTML\DataProvider.vb    Line: 42

 
New Post
4/17/2007 6:37 AM
 

delete dotnetnuke.modules.html.dataprovider.dll from bin folder.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
4/17/2007 6:55 AM
 

Many thanks.

Now work

Massimo

 
New Post
4/18/2007 7:30 AM
 

Did'nt work for me. 
Looked at the code and found the HTMLModule.ascx.vb an error in line 208:

If
Entities.Portals.PortalSettings.GetSiteSetting(PortalId, "InlineEditorEnabled") = "False" then

Problem is that GetSiteSetting is not a member of Dotnetnuke.Entities.PortalSettings but Entities.Portals.PortalSettings.GetSiteSettings are.

I dont know how to fix the problem, but if I uncomment the entire IF-statement then I can have my portal back up and running again.

 
New Post
4/18/2007 9:08 AM
 

I have the same problem, but I haven't got a dotnetnuke.modules.html.dataprovider.dll in the bin folder. Only dotnetnuke.modules.html.dll and dotnetnuke.modules.html.sqldataprovider.dll.

This is the screen that I get just after upgrading the text/html module to 4.05.00. I really have no clue what went wrong. Could you please help me?

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: BC30560: 'DataProvider' is ambiguous in the namespace 'DotNetNuke.Modules.HTML'.

Source Error:

 
Line 40: 
Line 41: ' singleton reference to the instantiated object
Line 42: Private Shared objProvider As DataProvider = Nothing
Line 43:
Line 44: ' constructor

Source File: C:\web\intranet\App_Code\HTML\DataProvider.vb    Line: 42



C:\Program Files\Microsoft Visual Studio 8\Common7\IDE> "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\intranet\bc0ac415\676bf4c7\assembly\dl3\2c252880\00c10c1d_21ccc601\FreeTextBox.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\intranet\bc0ac415\676bf4c7\assembly\dl3\17005855\2880df6b_dc72c701\DotNetNuke.Modules.Blog.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\intranet\bc0ac415\676bf4c7\assembly\dl3\690a4cc0\000c4c2f_ee3ec701\DotNetNuke.HttpModules.Authentication.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\intranet\bc0ac415\676bf4c7\assembly\dl3\9982de4d\00fe2428_ee3ec701\DotNetNuke.Authentication.ADSI.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\intranet\bc0ac415\676bf4c7\assembly\dl3\407180f3\2d63548c_9b81c701\DotNetNuke.Modules.Announcements.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\intranet\bc0ac415\676bf4c7\assembly\dl3\455a35dd\ea1cb6b9_2d7cc701\DotNetNuke.Modules.Documents.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\intranet\bc0ac415\676bf4c7\assembly\dl3\58e45a2c\009b8e62_ee3ec701\DotNetNuke.HttpModules.Compression.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\intranet\bc0ac415\676bf4c7\assembly\dl3\5fc4d107\00412c60_ee3ec701\DotNetNuke.HttpModules.DNNMembership.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\intranet\bc0ac415\676bf4c7\assembly\dl3\1d3ef847\009e4a4e_ee3ec701\DotNetNuke.SqlDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\intranet\bc0ac415\676bf4c7\assembly\dl3\301f2384\82a22cef_b281c701\DotNetNuke.Modules.FAQs.SqlDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\intranet\bc0ac415\676bf4c7\assembly\dl3\ced9afb5\00f0fd20_ee3ec701\DotNetNuke.HttpModules.UrlRewrite.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\intranet\bc0ac415\676bf4c7\assembly\dl3\4825e8dc\b370b69b_b381c701\DotNetNuke.Modules.Links.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\intranet\bc0ac415\676bf4c7\assembly\dl3\bc53afb0\00d9a256_ee3ec701\DotNetNuke.HttpModules.UsersOnline.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\intranet\bc0ac415\676bf4c7\assembly\dl3\d11ab3b2\431cdd6b_dc72c701\DotNetNuke.Modules.Blog.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\intranet\bc0ac415\676bf4c7\assembly\dl3\0394ce0c\84b620ef_b281c701\DotNetNuke.Modules.FAQs.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\intranet\bc0ac415\676bf4c7\assembly\dl3\36e3fa6d\0058872a_ee3ec701\DotNetNuke.DNNScheduler.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\intranet\bc0ac415\676bf4c7\assembly\dl3\941024bf\003c391c_ee3ec701\DotNetNuke.WebUtility.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\intranet\bc0ac415\676bf4c7\assembly\dl3\0ff0ac9d\00902347_ee3ec701\DotNetNuke.Provider.DBLoggingProvider.SqlDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\intranet\bc0ac415\676bf4c7\assembly\dl3\084abfb5\a44e608c_9b81c701\DotNetNuke.Modules.Announcements.SqlDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\intranet\bc0ac415\676bf4c7\assembly\dl3\b3879db4\e065f557_da72c701\DotNetNuke.Modules.Html.SqlDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\intranet\bc0ac415\676bf4c7\assembly\dl3\09f419d4\001a7336_ee3ec701\DotNetNuke.DNNScheduler.SqlDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\intranet\bc0ac415\676bf4c7\assembly\dl3\de0f88fb\000f081b_ee3ec701\CountryListBox.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\intranet\bc0ac415\676bf4c7\assembly\dl3\23099d2d\008d675b_ee3ec701\DotNetNuke.HttpModules.Personalization.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\intranet\bc0ac415\676bf4c7\assembly\dl3\00a79006\7ac9688c_b281c701\DotNetNuke.Modules.WhatsNew.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\intranet\bc0ac415\676bf4c7\assembly\dl3\c083cd19\9ee1bab9_2d7cc701\DotNetNuke.Modules.Documents.SqlDataProvider.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\intranet\bc0ac415\676bf4c7\assembly\dl3\02cf7ea4\5473077e_397cc701\DotNetNuke.Modules.Help.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\intranet\bc0ac415\676bf4c7\assembly\dl3\014b74eb\00289a3d_ee3ec701\DotNetNuke.Provider.Membership.SqlDataProvider.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\intranet\bc0ac415\676bf4c7\assembly\dl3\95259211\00e7c95d_ee3ec701\DotNetNuke.HttpModules.Exception.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\intranet\bc0ac415\676bf4c7\assembly\dl3\5c4d4590\0044e84b_ee3ec701\DotNetNuke.Ftb3HtmlEditorProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\intranet\bc0ac415\676bf4c7\assembly\dl3\ac5cd0c4\007f4054_ee3ec701\DotNetNuke.SolpartMenuNavigationProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\intranet\bc0ac415\676bf4c7\assembly\dl3\713c4bc2\49e2842b_b381c701\DotNetNuke.Modules.IFrame.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\intranet\bc0ac415\676bf4c7\assembly\dl3\cca68c09\00c01034_ee3ec701\DotNetNuke.Search.Index.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\intranet\bc0ac415\676bf4c7\assembly\dl3\5441e8d6\00cb7b4f_ee3ec701\DotNetNuke.Caching.FileBasedCachingProvider.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\intranet\bc0ac415\676bf4c7\assembly\dl3\afb4b748\fc38ee57_da72c701\DotNetNuke.Modules.Html.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\intranet\bc0ac415\676bf4c7\assembly\dl3\c912ea8c\72098c2b_b381c701\DotNetNuke.Modules.IFrame.SqlDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\intranet\bc0ac415\676bf4c7\assembly\dl3\60435f40\006d71d2_ac01c701\DotNetNuke.WebControls.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\intranet\bc0ac415\676bf4c7\assembly\dl3\95cb4afc\0048a020_21ccc601\SharpZipLib.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\intranet\bc0ac415\676bf4c7\assembly\dl3\bcd905a7\00969b1e_ee3ec701\DotNetNuke.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\intranet\bc0ac415\676bf4c7\assembly\dl3\70188cde\00330559_ee3ec701\DotNetNuke.Provider.DNNProvider.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\intranet\bc0ac415\676bf4c7\assembly\dl3\6f4f6125\0045ed21_9c14c701\SolpartWebControls.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.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\intranet\bc0ac415\676bf4c7\assembly\dl3\b413e7d8\0066ae31_ee3ec701\DotNetNuke.Search.DataStore.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\intranet\bc0ac415\676bf4c7\assembly\dl3\d2000582\004a6023_ee3ec701\DotNetNuke.Provider.DBLoggingProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\intranet\bc0ac415\676bf4c7\assembly\dl3\78b26a3b\a25cc29b_b381c701\DotNetNuke.Modules.Links.SqlDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\intranet\bc0ac415\676bf4c7\assembly\dl3\ea4d219b\00ce373b_ee3ec701\DotNetNuke.Provider.AspNetProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\intranet\bc0ac415\676bf4c7\assembly\dl3\a9f25a62\00ee3d1e_21ccc601\Microsoft.ApplicationBlocks.Data.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\intranet\bc0ac415\676bf4c7\assembly\dl3\ffc69912\0074d538_ee3ec701\DotNetNuke.Authentication.ADSIProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\intranet\bc0ac415\676bf4c7\assembly\dl3\8f57acc6\00b2e92c_ee3ec701\DotNetNuke.Membership.Dataprovider.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Management\2.0.0.0__b03f5f7f11d50a3a\System.Management.dll" /out:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\intranet\bc0ac415\676bf4c7\App_SubCode_HTML.gj_wr_b8.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\intranet\bc0ac415\676bf4c7\App_SubCode_HTML.gj_wr_b8.0.vb" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\intranet\bc0ac415\676bf4c7\App_SubCode_HTML.gj_wr_b8.1.vb" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\intranet\bc0ac415\676bf4c7\App_SubCode_HTML.gj_wr_b8.2.vb" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\intranet\bc0ac415\676bf4c7\App_SubCode_HTML.gj_wr_b8.3.vb" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\intranet\bc0ac415\676bf4c7\App_SubCode_HTML.gj_wr_b8.4.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:\web\intranet\App_Code\HTML\DataProvider.vb(42) : error BC30560: 'DataProvider' is ambiguous in the namespace 'DotNetNuke.Modules.HTML'.

Private Shared objProvider As DataProvider = Nothing
~~~~~~~~~~~~
C:\web\intranet\App_Code\HTML\DataProvider.vb(51) : error BC30560: 'DataProvider' is ambiguous in the namespace 'DotNetNuke.Modules.HTML'.

objProvider = CType(Framework.Reflection.CreateObject("data", "DotNetNuke.Modules.Html", ""), DataProvider)
~~~~~~~~~~~~
C:\web\intranet\App_Code\HTML\DataProvider.vb(55) : error BC30560: 'DataProvider' is ambiguous in the namespace 'DotNetNuke.Modules.HTML'.

Public Shared Shadows Function Instance() As DataProvider
~~~~~~~~~~~~
C:\web\intranet\App_Code\HTML\HtmlTextController.vb(66) : error BC30560: 'HtmlTextInfo' is ambiguous in the namespace 'DotNetNuke.Modules.HTML'.

Public Sub AddHtmlText(ByVal objText As HtmlTextInfo)
~~~~~~~~~~~~
C:\web\intranet\App_Code\HTML\HtmlTextController.vb(68) : error BC30560: 'DataProvider' is ambiguous in the namespace 'DotNetNuke.Modules.HTML'.

DataProvider.Instance().AddHtmlText(objText.ModuleId, objText.DeskTopHTML, objText.DesktopSummary, objText.CreatedByUser)
~~~~~~~~~~~~
C:\web\intranet\App_Code\HTML\HtmlTextController.vb(83) : error BC30560: 'HtmlTextInfo' is ambiguous in the namespace 'DotNetNuke.Modules.HTML'.

Public Function GetHtmlText(ByVal moduleId As Integer) As HtmlTextInfo
~~~~~~~~~~~~
C:\web\intranet\App_Code\HTML\HtmlTextController.vb(85) : error BC30560: 'DataProvider' is ambiguous in the namespace 'DotNetNuke.Modules.HTML'.

Return CType(CBO.FillObject(DataProvider.Instance().GetHtmlText(moduleId), GetType(HtmlTextInfo)), HtmlTextInfo)
~~~~~~~~~~~~
C:\web\intranet\App_Code\HTML\HtmlTextController.vb(85) : error BC30560: 'HtmlTextInfo' is ambiguous in the namespace 'DotNetNuke.Modules.HTML'.

Return CType(CBO.FillObject(DataProvider.Instance().GetHtmlText(moduleId), GetType(HtmlTextInfo)), HtmlTextInfo)
~~~~~~~~~~~~
C:\web\intranet\App_Code\HTML\HtmlTextController.vb(85) : error BC30560: 'HtmlTextInfo' is ambiguous in the namespace 'DotNetNuke.Modules.HTML'.

Return CType(CBO.FillObject(DataProvider.Instance().GetHtmlText(moduleId), GetType(HtmlTextInfo)), HtmlTextInfo)
~~~~~~~~~~~~
C:\web\intranet\App_Code\HTML\HtmlTextController.vb(100) : error BC30560: 'HtmlTextInfo' is ambiguous in the namespace 'DotNetNuke.Modules.HTML'.

Public Sub UpdateHtmlText(ByVal objText As HtmlTextInfo)
~~~~~~~~~~~~
C:\web\intranet\App_Code\HTML\HtmlTextController.vb(102) : error BC30560: 'DataProvider' is ambiguous in the namespace 'DotNetNuke.Modules.HTML'.

DataProvider.Instance().UpdateHtmlText(objText.ModuleId, objText.DeskTopHTML, objText.DesktopSummary, objText.CreatedByUser)
~~~~~~~~~~~~
C:\web\intranet\App_Code\HTML\HtmlTextController.vb(126) : error BC30560: 'HtmlTextInfo' is ambiguous in the namespace 'DotNetNuke.Modules.HTML'.

Dim HtmlText As HtmlTextInfo = GetHtmlText(ModInfo.ModuleID)
~~~~~~~~~~~~
C:\web\intranet\App_Code\HTML\HtmlTextController.vb(157) : error BC30560: 'HtmlTextInfo' is ambiguous in the namespace 'DotNetNuke.Modules.HTML'.

Dim objHtmlText As HtmlTextInfo = GetHtmlText(ModuleID)
~~~~~~~~~~~~
C:\web\intranet\App_Code\HTML\HtmlTextController.vb(184) : error BC30560: 'HtmlTextInfo' is ambiguous in the namespace 'DotNetNuke.Modules.HTML'.

Dim objText As HtmlTextInfo = New HtmlTextInfo
~~~~~~~~~~~~
C:\web\intranet\App_Code\HTML\HtmlTextController.vb(190) : error BC30560: 'HtmlTextInfo' is ambiguous in the namespace 'DotNetNuke.Modules.HTML'.

Dim objTextOld As HtmlTextInfo = Me.GetHtmlText(ModuleID)
~~~~~~~~~~~~
C:\web\intranet\App_Code\HTML\Providers\DataProviders\SQLDataProvider\SqlDataProvider.vb(41) : error BC30560: 'DataProvider' is ambiguous in the namespace 'DotNetNuke.Modules.HTML'.

Inherits DataProvider
~~~~~~~~~~~~
C:\web\intranet\App_Code\HTML\Providers\DataProviders\SQLDataProvider\SqlDataProvider.vb(115) : error BC30284: sub 'AddHtmlText' cannot be declared 'Overrides' because it does not override a sub in a base class.

Public Overrides Sub AddHtmlText(ByVal moduleId As Integer, ByVal desktopHtml As String, ByVal desktopSummary As String, ByVal userID As Integer)
~~~~~~~~~~~
C:\web\intranet\App_Code\HTML\Providers\DataProviders\SQLDataProvider\SqlDataProvider.vb(119) : error BC30284: function 'GetHtmlText' cannot be declared 'Overrides' because it does not override a function in a base class.

Public Overrides Function GetHtmlText(ByVal moduleId As Integer) As IDataReader
~~~~~~~~~~~
C:\web\intranet\App_Code\HTML\Providers\DataProviders\SQLDataProvider\SqlDataProvider.vb(123) : error BC30284: sub 'UpdateHtmlText' cannot be declared 'Overrides' because it does not override a sub in a base class.

Public Overrides Sub UpdateHtmlText(ByVal moduleId As Integer, ByVal desktopHtml As String, ByVal desktopSummary As String, ByVal userID As Integer)
~~~~~~~~~~~~~~



Line 1:    '
Line 2: ' DotNetNuke - http://www.dotnetnuke.com
Line 3: ' Copyright (c) 2002-2005
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 DotNetNuke
Line 23:
Line 24: Namespace DotNetNuke.Modules.HTML
Line 25:
Line 26: ''' -----------------------------------------------------------------------------
Line 27: ''' <summary>
Line 28: ''' The DataProvider Class Is an abstract class that provides the DataLayer
Line 29: ''' for the Html Module.
Line 30: ''' </summary>
Line 31: ''' <remarks>
Line 32: ''' </remarks>
Line 33: ''' <history>
Line 34: ''' [cnurse] 9/23/2004 Moved Html to a separate Project
Line 35: ''' </history>
Line 36: ''' -----------------------------------------------------------------------------
Line 37: Public MustInherit Class DataProvider
Line 38:
Line 39: #Region "Shared/Static Methods"
Line 40:
Line 41: ' singleton reference to the instantiated object
Line 42: Private Shared objProvider As DataProvider = Nothing
Line 43:
Line 44: ' constructor
Line 45: Shared Sub New()
Line 46: CreateProvider()
Line 47: End Sub
Line 48:
Line 49: ' dynamically create provider
Line 50: Private Shared Sub CreateProvider()
Line 51: objProvider = CType(Framework.Reflection.CreateObject("data", "DotNetNuke.Modules.Html", ""), DataProvider)
Line 52: End Sub
Line 53:
Line 54: ' return the provider
Line 55: Public Shared Shadows Function Instance() As DataProvider
Line 56: Return objProvider
Line 57: End Function
Line 58:
Line 59: #End Region
Line 60:
Line 61: #Region "Abstract methods"
Line 62:
Line 63: Public MustOverride Sub AddHtmlText(ByVal moduleId As Integer, ByVal desktopHtml As String, ByVal desktopSummary As String, ByVal UserID As Integer)
Line 64: Public MustOverride Function GetHtmlText(ByVal moduleId As Integer) As IDataReader
Line 65: Public MustOverride Sub UpdateHtmlText(ByVal moduleId As Integer, ByVal desktopHtml As String, ByVal desktopSummary As String, ByVal UserID As Integer)
Line 66:
Line 67: #End Region
Line 68:
Line 69: End Class
Line 70:
Line 71: End Namespace
Line 72:




Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42


 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Compilation error when upgrading to 4.5.1Compilation error when upgrading to 4.5.1


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