Rahul
Posts 1
|
when execute
protected void Page_Load(object sender, EventArgs e) { aGLiveService oAglive = new aGLiveService(); stNewEventDetails oEventDetails = new stNewEventDetails();
oEventDetails.EventName = "TestNewSchedule_1234"; oEventDetails.DateTime = DateTime.Now.AddDays(1).ToString(); //"02/28/2010 01:00:00 AM"; //DateTime.Now.ToString(); oEventDetails.Duration = 60; oEventDetails.Description = "test desc"; oEventDetails.UserCode = "007"; oEventDetails.IsExtendableByMins = false; oEventDetails.ExtendedMins = 0; oEventDetails.MaxUsers = 5; oEventDetails.VideoSize = enmSize.Large; oEventDetails.ShowTimer = true; oEventDetails.RecodingReplay = true; oEventDetails.TimerType = true; oEventDetails.AttendeeTimeZone = Convert.ToByte(33); oEventDetails.PresenterTimeZone = Convert.ToByte(33); oEventDetails.TimeZone = Convert.ToByte(33); oEventDetails.AudioQuality = Convert.ToInt32(3); oEventDetails.PingTime = Convert.ToInt32(1); oEventDetails.CompanyName = "Your Company"; oEventDetails.PresenterName = "John"; oEventDetails.PresenterLabel = "Teacher"; oEventDetails.CategoryNumber = Convert.ToInt32(4); oEventDetails.PresenterFeedbackURL = "http://authorlive.com/aliveext/LoginToSession.aspx?SessionCode=izAJaqSU9CinShelXzwGXw%3d%3d"; oEventDetails.AttendeeFeedbackURL = "http://authorlive.com/aliveext/LoginToSession.aspx?SessionCode=7LjVDoKFbCUDvTCfI1qQLg%3d%3d"; oEventDetails.UserName = "singhrk15"; oEventDetails.Password = "123456"; oEventDetails.MathToolBar = enmAGLIVEbool.enTrue; oEventDetails.AttendeeList = new string[] {"ATND1", "ATND2"}; oEventDetails.BrowserCloseMsg = enmAGLIVEbool.enTrue; oEventDetails.ChatAlertSound = true; oEventDetails.DefaultTab = 'p'; oEventDetails.DisplayAttendeeLoginLogout = enmDisplayLoginLogoutType.enDisplayWithSound; oEventDetails.EndSessionRequired = enmEndSession.enTrue; oEventDetails.SupportURL = "support.com"; oEventDetails.AttendeeContent = enmAGLIVEbool.enTrue; oEventDetails.EnablePrivateChat="no"; oEventDetails.CompanyURL ="Company Url"; oEventDetails.VideoSharing="false"; oEventDetails.PrintRequired="false"; oEventDetails.SmileysRequired="false"; oEventDetails.ShowConnStatus="false"; oEventDetails.ShowDisableChatButton="false"; oEventDetails.SecureLogin="true"; oEventDetails.StatusUrl="status url"; oEventDetails.ShowWiZiQLogo="false"; oEventDetails.BlockAttendee="true"; oEventDetails.PresenterEntryBeforeTime="true"; oEventDetails.WebSharing="false"; oEventDetails.ServerVersion="2"; oEventDetails.RecordingVersion="4"; oEventDetails.RecordClass = "1";
stEventInfo oEventInfo = oAglive.ScheduleNewEvent(oEventDetails); string attendeeUrls = oEventInfo.AttendeeUrls;
}
it gives error like,
System.Web.Services.Protocols.SoapException: You are not permitted to enter the class before its start time. at aGLive.aGLiveService.ScheduleNewEvent(stNewEventDetails EventDetails) in c:\www\aGLiveDemo\aGLiveFX\App_Code\aGLive.asmx.cs:line 1923
why so?
|