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

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsSurveySurveyError with DNN 4.3.3 after installing Survey 4.00.20Error with DNN 4.3.3 after installing Survey 4.00.20
Previous
 
Next
New Post
11/20/2006 4:34 AM
 

Hi, I hit this error with my DNN 4.3.3 home page after installing Survey 4.00.20. Could you advise please... I'm desperate...

Server Error in '/DotNetNuke_2' 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: BC30560: 'DataProvider' is ambiguous in the namespace 'DotNetNuke.Modules.Survey'.

Source Error:

Line 27: 
Line 28:         ' singleton reference to the instantiated object 
Line 29:         Private Shared objProvider As DataProvider = Nothing
Line 30: 
Line 31:         ' constructor

Source File: D:\Inetpub\wwwroot\Dotnetnuke_2\website\App_Code\Survey\DataProvider.vb    Line: 29



 


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.Survey
Line 25:   
Line 26:       Public MustInherit Class DataProvider
Line 27:   
Line 28:           ' singleton reference to the instantiated object 
Line 29:           Private Shared objProvider As DataProvider = Nothing
Line 30:   
Line 31:           ' constructor
Line 32:           Shared Sub New()
Line 33:               CreateProvider()
Line 34:           End Sub
Line 35:   
Line 36:           ' dynamically create provider
Line 37:           Private Shared Sub CreateProvider()
Line 38:               objProvider = CType(Framework.Reflection.CreateObject("data", "DotNetNuke.Modules.Survey", ""), DataProvider)
Line 39:           End Sub
Line 40:   
Line 41:           ' return the provider
Line 42:           Public Shared Shadows Function Instance() As DataProvider
Line 43:               Return objProvider
Line 44:           End Function
Line 45:   
Line 46:           ' all core methods defined below
Line 47:   
Line 48:           Public MustOverride Function GetSurveys(ByVal ModuleId As Integer) As IDataReader
Line 49:           Public MustOverride Function GetSurvey(ByVal SurveyID As Integer, ByVal ModuleId As Integer) As IDataReader
Line 50:           Public MustOverride Function AddSurvey(ByVal ModuleId As Integer, ByVal Question As String, ByVal ViewOrder As Integer, ByVal OptionType As String, ByVal UserId As Integer) As Integer
Line 51:           Public MustOverride Sub UpdateSurvey(ByVal SurveyId As Integer, ByVal Question As String, ByVal ViewOrder As Integer, ByVal OptionType As String, ByVal UserId As Integer, ByVal ModuleId As Integer)
Line 52:           Public MustOverride Sub DeleteSurvey(ByVal SurveyID As Integer, ByVal ModuleId As Integer)
Line 53:           Public MustOverride Function GetSurveyOptions(ByVal SurveyId As Integer) As IDataReader
Line 54:           Public MustOverride Function AddSurveyOption(ByVal SurveyId As Integer, ByVal OptionName As String, ByVal ViewOrder As Integer, ByVal IsCorrect As Boolean) As Integer
Line 55:           Public MustOverride Sub UpdateSurveyOption(ByVal SurveyOptionId As Integer, ByVal OptionName As String, ByVal ViewOrder As Integer, ByVal IsCorrect As Boolean)
Line 56:           Public MustOverride Sub DeleteSurveyOption(ByVal SurveyOptionID As Integer)
Line 57:           Public MustOverride Sub AddSurveyResult(ByVal SurveyOptionId As Integer, ByVal UserId As Integer)
Line 58:   
Line 59:       End Class
Line 60:   
Line 61:   End Namespace
Line 62:   
 
New Post
11/20/2006 8:07 AM
 

In your /bin directory remove these two files:

bin\DotNetNuke.Modules.Survey.dll
bin\DotNetNuke.Modules.Survey.SqlDataProvider.dll



Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsSurveySurveyError with DNN 4.3.3 after installing Survey 4.00.20Error with DNN 4.3.3 after installing Survey 4.00.20


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