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 ForumsEventsEventsProblem with Problem with 'DotNetNuke.Modules.Events.EventSignupsController'
Previous
 
Next
New Post
10/21/2009 1:28 AM
 

Hello,

I am using DNN 4.09.02, Visual Studio 2008 and DotNetFramework 2.0 for my development.

Recently i downloaded the DNN Events Module 5.02.02 (Source Code) and tried  using it in my

web portal. It worked fine.

Now i want to edit the source code and include the functionality to select the attendies

from the list at the time of creation of event.
When i try to compile the code i get the following error.

'DotNetNuke.Modules.Events.EventSignupsController' is not accessible in this context because it is 'Friend'. 

Request you to please guide me to the solution as this is very critical for me.

Thank you
Jai

 
New Post
3/22/2010 2:52 AM
 
only you should use visual studio 2005(according to me: bellow DNN verson 5). If you use multiple framework like visual studio 2005 and 2008 it will error. bcz if we use multiple framework in same machine the IIS will confuse, due to CLR Conflict.
 
New Post
6/14/2010 5:46 AM
 
I have same issue. When I tried to extend the functinalities of Event module I got this error "DotNetNuke.Modules.Events.EventSignupsController' is not accessible in this context because it is 'Friend'. ". I got this error after changing the CodeBehind ="EditEvents.ascx.vb" to CodeFile ="EditEvents.ascx.vb" . Thanks
 
New Post
6/14/2010 12:00 PM
 
You haven't stated which version of the source you are using. I think we had a similar problem when moving the code up to VS2008. I think a couple of methods needed to be marked as Public instead of Private (or something like that). Y

Cheers
Roger

DNN MVP
Events - Get the latest version - Upgrade now!!
Feedback 6.4.2 - Now available - Give it a go!
Find us on Codeplex - DNN Events, DNN Feedback
Requirements/Bugs - Please submit them on Codeplex
 
New Post
4/6/2011 5:49 PM
 
I am having the same problem. Trying to modify the EditEvents.ascx

<%@ Control Language="vb" AutoEventWireup="false" CodeFile="EditEvents.ascx.vb" Inherits="Events.EditEvents" %>

and EditEvent.ascx.vb

Imports DotNetNuke.Security.Permissions
Imports DotNetNuke.Security.Roles
Imports DotNetNuke.Services.FileSystem
Imports System.Globalization
Imports System.Collections
Imports DotNetNuke.Security
Imports DotNetNuke.Modules.Events

Namespace Events
_
Partial Class EditEvents
Inherits EventBase
#Region "Private Area"
Private ItemID As Integer = -1
Private EditRecur As Boolean = True
Private objCtlEvent As New EventController
Private objCtlEventRecurMaster As New EventRecurMasterController
Private objEvent As New EventInfo
Private objEventSignups As New EventSignupsInfo
Private objCtlEventSignups As New EventSignupsController
Private objUserController As New UserController
Private lstEvents As New ArrayList
Private lstOwnerUsers As New ArrayList
Private lstRegUsers As New ArrayList
Private culture As CultureInfo = System.Threading.Thread.CurrentThread.CurrentCulture

#End Region


We are using verion 5.1.5 already. Please help.....

Marcelo
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsEventsEventsProblem with Problem with 'DotNetNuke.Modules.Events.EventSignupsController'


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