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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...DNN5.5 Compile ErrorDNN5.5 Compile Error
Previous
 
Next
New Post
8/26/2010 10:11 AM
 
I just downloaded source code for community edition 5.5. Loaded the VS2010 and tried to compile the web site. I got whole bunch of errors related to some methods etc. that need to be defined in Library project under global namespace. What am I missing when doing a compile in VS2010?

error BC30451: 'IsAdminControl' is not declared. It may be inaccessible due to its protection level.
'ProcessModuleLoadException' is not declared. It may be inaccessible due to its protection level.
'SecurityAccessLevel' is not declared. It may be inaccessible due to its protection level.
'Null' is not declared. 'Null' constant is no longer supported; use 'System.DBNull' instead.
 
New Post
11/7/2010 8:00 AM
 
Picking up on this thread which seem to be unanswered, I have the exat same problems. The DNN 5.5.1 source package will not compile even when fresh from the extracted ZIP package (unchanged). This is true both for Visual Studio 2008 and 2010. This has me a bit worried about the quality of the release, when you can't even build the unmodified release. Any ideas?
 
New Post
11/7/2010 8:51 AM
 
We've now gone through the 5.5.1 source release and added at least 10 missing "Import" statements and we are now able to build without errors, but this has me really worried about quality with current release (Source), if it can't even be built, what kind of testing has been made on it really?
 
New Post
11/7/2010 9:56 AM
 
There seem to be more strange things going on with the code. We have made a customer MembershipProvider, based on the AspNetMembershipProvider in 4.6.2. When looking at the latest version of the AspNetMembershipProvider.vb, it claims to be unmodified in most parts according the the comments, but further inspection proves this isn't true. This has us furhter worried that source control might not be all it should be?

An example, if you look at the history for these 2 functions, they should be the same, but when you look into them, you notice they are not.

From 4.6.2:

''' -----------------------------------------------------------------------------
        '''
        ''' DeleteUser deletes a single User from the Data Store
        '''

        '''
        '''

        ''' The user to delete from the Data Store.
        ''' A Boolean indicating success or failure.
        '''
        '''     [cnurse]   12/13/2005   created
        '''

        ''' -----------------------------------------------------------------------------
        Public Overrides Function DeleteUser(ByVal user As UserInfo) As Boolean

            Dim retValue As Boolean = True
            Dim dr As IDataReader

            Try
                dr = dataProvider.GetRolesByUser(user.UserID, user.PortalID)
                While dr.Read
                    dataProvider.DeleteUserRole(user.UserID, Convert.ToInt32(dr("RoleId")))
                End While
                dr.Close()

                'check if user exists in any other portal
                dr = dataProvider.GetUserByUsername(-1, user.Username)
                dr.Read()

                If Not dr.Read Then
                    dataProvider.DeleteUser(user.UserID)

                    'Delete AspNet MemrshipUser
                    retValue = DeleteMembershipUser(user)

                Else
                    dataProvider.DeleteUserPortal(user.UserID, user.PortalID)
                End If
                dr.Close()
            Catch ex As Exception
                retValue = False
            End Try

            Return retValue

        End Function


From 5.5.1

''' -----------------------------------------------------------------------------
        '''
        ''' DeleteUser deletes a single User from the Data Store
        '''

        '''
        '''

        ''' The user to delete from the Data Store.
        ''' A Boolean indicating success or failure.
        '''
        '''     [cnurse]   12/13/2005   created
        '''

        ''' -----------------------------------------------------------------------------
        Public Overrides Function DeleteUser(ByVal user As UserInfo) As Boolean
            Dim retValue As Boolean = True
            Dim dr As IDataReader = Nothing

            Try
                dr = dataProvider.GetRolesByUser(user.UserID, user.PortalID)
                While dr.Read
                    dataProvider.DeleteUserRole(user.UserID, Convert.ToInt32(dr("RoleId")))
                End While

                dataProvider.DeleteUserPortal(user.UserID, user.PortalID)
            Catch ex As Exception
                LogException(ex)
                retValue = False
            Finally
                CBO.CloseDataReader(dr, True)
            End Try

            Return retValue
        End Function
 
New Post
11/7/2010 10:19 AM
 
Could someone please point us to the source control system of the DNN files if that is available to the public so that we can tracke changes ourselves?
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...DNN5.5 Compile ErrorDNN5.5 Compile Error


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