Welcome Guest Search | Active Topics | Members | Log In | Register

right click in CVP to create new entry fails Watch Topic   
kenwiens
Posted: Thursday, March 04, 2010 5:11:00 PM
Rank: Member
Groups: Member

Joined: 3/4/2010
Posts: 15
Points: 24
Location: Calgary
In any calendar view (daily, weekly or monthly), if I right click in any location and then select "new" and then select any of the choices (eg meeting, vacation, other, todo etc) - nothing happens. Any one have any suggestions as to why this is? I am using CVP build 3.0.4.2 for Act 12.0.409.0 (2010).
George Duthie
Posted: Thursday, March 04, 2010 8:43:28 PM
Rank: Administration
Groups: Administration , Member

Joined: 2/4/2009
Posts: 58
Points: 96
Try turning on the diagnostics, there could be an error that is being suppressed.
To do this
1. Close Act
2. Go to the Act plugin folder usually located here C:\Program Files\ACT\Act for Windows\Plugins
3. Run the file Durkin.Common.Diagnostics.exe and set it to level 3
4. Restart Act
5. Try to create a new activity with right click.

If you get an error please post it here

George
kenwiens
Posted: Thursday, March 04, 2010 9:44:58 PM
Rank: Member
Groups: Member

Joined: 3/4/2010
Posts: 15
Points: 24
Location: Calgary
Here is the error I received:

ROUTINE: ScheduleActivity
TARGET: GetContactAsContactList
TYPE: System.ArgumentException
MESSAGE: Value does not fall within the expected range.
SOURCE : Act.Framework
PLUGIN: Durkin.Common.Classes
VERSION: 3.0.4.0
ACT: 12.0.409.0
SOURCE: Act.Framework
VERSION: 12.0.409.0
STACK: at Act.Framework.Contacts.ContactManager.GetContactAsContactList(Contact contact)
at Durkin.Common.Views.UsrViewCalendar.ScheduleActivity(Object sender, CommandEventArgs e)

TIME: 2010-03-04 2:43:17 PM
ACT NAME: ActSage, Version=12.0.409.0, Culture=neutral, PublicKeyToken=ebf6b2ff4d0a08aa
MACHINE KGW-OFFICE3
IP 192.168.1.55
USER KGWCNSL\ken

%0A
---- Stack Trace ----%0A
%0A Stack:0: Durkin.Common.Utilities.DisplayError.EnhancedStackTrace()
ActSage.exe: N 00057
%0A Stack:1: Durkin.Common.Utilities.DisplayError.Write(myException As Exception, sRoutine As String, sPluginName As String, sPluginVersion As String, sEmailFromAddress As String, sFromFullName As String)
ActSage.exe: N 08285
%0A Stack:2: Durkin.Common.Classes.LogError.Write(myException As Exception, sDescription As String)
ActSage.exe: N 00361
%0A Stack:3: Durkin.Common.Views.UsrViewCalendar.ScheduleActivity(sender As Object, e As CommandEventArgs)
ActSage.exe: N 01095
%0A Stack:4: Durkin.Common.Views.UsrViewCalendar.UiCommandManager1_CommandClick(sender As Object, e As CommandEventArgs)
ActSage.exe: N 12776
%0A Stack:5: Janus.Windows.UI.CommandBars.UICommandManager.OnCommandClick(e As CommandEventArgs)
ActSage.exe: N 00066
%0A Stack:6: Janus.Windows.UI.CommandBars.UICommandManager.Janus.Windows.UI.CommandBars.ICommandOwner.OnCommandClicked(e As CommandEventArgs)
ActSage.exe: N 00056
%0A Stack:7: Janus.Windows.UI.CommandBars.UICommandCollection.c( As Object, As CommandEventArgs)
ActSage.exe: N 00023
%0A Stack:8: Janus.Windows.UI.CommandBars.UICommand.OnClick(e As CommandEventArgs)
ActSage.exe: N 00066
%0A Stack:9: Janus.Windows.UI.CommandBars.UICommand.ar()
ActSage.exe: N 00305
%0A Stack:10: Janus.Windows.UI.Internal.JNSCZ.OnMouseUp(e As MouseEventArgs)
ActSage.exe: N 00236
%0A Stack:11: System.Windows.Forms.Control.WmMouseUp(m As Message&, button As MouseButtons, clicks As Int32)
ActSage.exe: N 00655
%0A Stack:12: System.Windows.Forms.Control.WndProc(m As Message&)
ActSage.exe: N 02181
%0A Stack:13: Janus.Windows.UI.Internal.JNSCZ.WndProc(m As Message&)
ActSage.exe: N 00087
%0A Stack:14: System.Windows.Forms.ControlNativeWindow.OnMessage(m As Message&)
ActSage.exe: N 00016
%0A Stack:15: System.Windows.Forms.ControlNativeWindow.WndProc(m As Message&)
ActSage.exe: N 00049
%0A Stack:16: System.Windows.Forms.NativeWindow.Callback(hWnd As IntPtr, msg As Int32, wparam As IntPtr, lparam As IntPtr)
ActSage.exe: N 00090
%0A Stack:17: Janus.Windows.UI.JNSBI.b( As b&)
ActSage.exe: N 00000
%0A Stack:18: Janus.Windows.UI.Internal.JNSCZ.k()
ActSage.exe: N 05324
%0A Stack:19: Janus.Windows.UI.Internal.JNSCZ.b( As Point)
ActSage.exe: N 02813
%0A Stack:20: Janus.Windows.UI.Internal.JNSCZ.a( As JNSE, As Boolean)
ActSage.exe: N 00299
%0A Stack:21: Janus.Windows.UI.Internal.JNSCZ.g( As Object, As EventArgs)
ActSage.exe: N 00089
%0A Stack:22: System.Windows.Forms.Timer.OnTick(e As EventArgs)
ActSage.exe: N 00023
%0A Stack:23: System.Windows.Forms.TimerNativeWindow.WndProc(m As Message&)
ActSage.exe: N 00052
%0A Stack:24: System.Windows.Forms.NativeWindow.Callback(hWnd As IntPtr, msg As Int32, wparam As IntPtr, lparam As IntPtr)
ActSage.exe: N 00090
%0A Stack:25: Janus.Windows.UI.JNSBI.b( As b&)
ActSage.exe: N 00000
%0A Stack:26: Janus.Windows.UI.Internal.JNSCZ.k()
ActSage.exe: N 05324
%0A Stack:27: Janus.Windows.UI.Internal.JNSCZ.b( As Point)
ActSage.exe: N 02813
%0A Stack:28: Janus.Windows.UI.CommandBars.UIContextMenu.a( As Control, As Point, As Int32)
ActSage.exe: N 00483
%0A Stack:29: Janus.Windows.UI.CommandBars.UIContextMenu.Show(control As Control)
ActSage.exe: N 00046
%0A Stack:30: Durkin.Common.Views.UsrViewCalendar.Schedule1_MouseDown(sender As Object, e As MouseEventArgs)
ActSage.exe: N 01319
%0A Stack:31: System.Windows.Forms.Control.OnMouseDown(e As MouseEventArgs)
ActSage.exe: N 00109
%0A Stack:32: Janus.Windows.Schedule.Schedule.OnMouseDown(e As MouseEventArgs)
ActSage.exe: N 00077
%0A Stack:33: System.Windows.Forms.Control.WmMouseDown(m As Message&, button As MouseButtons, clicks As Int32)
ActSage.exe: N 00207
%0A Stack:34: System.Windows.Forms.Control.WndProc(m As Message&)
ActSage.exe: N 02562
%0A Stack:35: Janus.Windows.Schedule.Schedule.WndProc(m As Message&)
ActSage.exe: N 00031
%0A Stack:36: System.Windows.Forms.ControlNativeWindow.OnMessage(m As Message&)
ActSage.exe: N 00016
%0A Stack:37: System.Windows.Forms.ControlNativeWindow.WndProc(m As Message&)
ActSage.exe: N 00049
%0A Stack:38: System.Windows.Forms.NativeWindow.Callback(hWnd As IntPtr, msg As Int32, wparam As IntPtr, lparam As IntPtr)
ActSage.exe: N 00090
%0A Stack:39: System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(msg As MSG&)
ActSage.exe: N 00000
%0A Stack:40: System.Windows.Forms.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(dwComponentID As Int32, reason As Int32, pvLoopData As Int32)
ActSage.exe: N 00590
%0A Stack:41: System.Windows.Forms.ThreadContext.RunMessageLoopInner(reason As Int32, context As ApplicationContext)
ActSage.exe: N 00375
%0A Stack:42: System.Windows.Forms.ThreadContext.RunMessageLoop(reason As Int32, context As ApplicationContext)
ActSage.exe: N 00097
%0A Stack:43: System.Windows.Forms.Application.Run(mainForm As Form)
ActSage.exe: N 00049
%0A Stack:44: Act.Application.SingletonApp.Run(startupForm As Form)
ActSage.exe: N 00062
%0A Stack:45: Act.Application.Act.Main(args As String[])
ActSage.exe: N 01997

%0A

ExceptionToString:Exception Source: Act.Framework
Exception Type: System.ArgumentException
Exception Message: Value does not fall within the expected range.
Exception Target Site: GetContactAsContactList

---- Stack Trace ----%0A
%0A Stack:0: Act.Framework.Contacts.ContactManager.GetContactAsContactList(contact As Contact)
ActSage.exe: N 3419550
%0A Stack:1: Durkin.Common.Views.UsrViewCalendar.ScheduleActivity(sender As Object, e As CommandEventArgs)
ActSage.exe: N 00967

%0A

George Duthie
Posted: Thursday, March 04, 2010 10:14:43 PM
Rank: Administration
Groups: Administration , Member

Joined: 2/4/2009
Posts: 58
Points: 96
There is a newer build of Calendar View Plus you can download it here http://durkincomputing.com/actaddonsdownloads/CVP_3042_setup.exe, try installing this build and right clicking to create a new activity.

George
kenwiens
Posted: Thursday, March 04, 2010 10:21:27 PM
Rank: Member
Groups: Member

Joined: 3/4/2010
Posts: 15
Points: 24
Location: Calgary
I'm downloading now to try it out. It appears to be the same file I downloaded and used before though (3042) - even though the diagnostics say 3040
kenwiens
Posted: Friday, March 05, 2010 12:15:24 AM
Rank: Member
Groups: Member

Joined: 3/4/2010
Posts: 15
Points: 24
Location: Calgary
Installed from 3042 (same as original installation). Still running 3042 (diagnostics still report it as 3040). Same error as before:

ROUTINE: ScheduleActivity
TARGET: GetContactAsContactList
TYPE: System.ArgumentException
MESSAGE: Value does not fall within the expected range.
SOURCE : Act.Framework
PLUGIN: Durkin.Common.Classes
VERSION: 3.0.4.0
ACT: 12.0.409.0
SOURCE: Act.Framework
VERSION: 12.0.409.0
STACK: at Act.Framework.Contacts.ContactManager.GetContactAsContactList(Contact contact)
at Durkin.Common.Views.UsrViewCalendar.ScheduleActivity(Object sender, CommandEventArgs e)

TIME: 2010-03-04 5:13:57 PM
ACT NAME: ActSage, Version=12.0.409.0, Culture=neutral, PublicKeyToken=ebf6b2ff4d0a08aa
MACHINE KGW-OFFICE3
IP 192.168.1.55
USER KGWCNSL\ken

%0A
---- Stack Trace ----%0A
%0A Stack:0: Durkin.Common.Utilities.DisplayError.EnhancedStackTrace()
ActSage.exe: N 00057
%0A Stack:1: Durkin.Common.Utilities.DisplayError.Write(myException As Exception, sRoutine As String, sPluginName As String, sPluginVersion As String, sEmailFromAddress As String, sFromFullName As String)
ActSage.exe: N 08285
%0A Stack:2: Durkin.Common.Classes.LogError.Write(myException As Exception, sDescription As String)
ActSage.exe: N 00361
%0A Stack:3: Durkin.Common.Views.UsrViewCalendar.ScheduleActivity(sender As Object, e As CommandEventArgs)
ActSage.exe: N 01095
%0A Stack:4: Durkin.Common.Views.UsrViewCalendar.UiCommandManager1_CommandClick(sender As Object, e As CommandEventArgs)
ActSage.exe: N 12776
%0A Stack:5: Janus.Windows.UI.CommandBars.UICommandManager.OnCommandClick(e As CommandEventArgs)
ActSage.exe: N 00066
%0A Stack:6: Janus.Windows.UI.CommandBars.UICommandManager.Janus.Windows.UI.CommandBars.ICommandOwner.OnCommandClicked(e As CommandEventArgs)
ActSage.exe: N 00056
%0A Stack:7: Janus.Windows.UI.CommandBars.UICommandCollection.c( As Object, As CommandEventArgs)
ActSage.exe: N 00023
%0A Stack:8: Janus.Windows.UI.CommandBars.UICommand.OnClick(e As CommandEventArgs)
ActSage.exe: N 00066
%0A Stack:9: Janus.Windows.UI.CommandBars.UICommand.ar()
ActSage.exe: N 00305
%0A Stack:10: Janus.Windows.UI.Internal.JNSCZ.OnMouseUp(e As MouseEventArgs)
ActSage.exe: N 00236
%0A Stack:11: System.Windows.Forms.Control.WmMouseUp(m As Message&, button As MouseButtons, clicks As Int32)
ActSage.exe: N 00655
%0A Stack:12: System.Windows.Forms.Control.WndProc(m As Message&)
ActSage.exe: N 02181
%0A Stack:13: Janus.Windows.UI.Internal.JNSCZ.WndProc(m As Message&)
ActSage.exe: N 00087
%0A Stack:14: System.Windows.Forms.ControlNativeWindow.OnMessage(m As Message&)
ActSage.exe: N 00016
%0A Stack:15: System.Windows.Forms.ControlNativeWindow.WndProc(m As Message&)
ActSage.exe: N 00049
%0A Stack:16: System.Windows.Forms.NativeWindow.Callback(hWnd As IntPtr, msg As Int32, wparam As IntPtr, lparam As IntPtr)
ActSage.exe: N 00090
%0A Stack:17: Janus.Windows.UI.JNSBI.b( As b&)
ActSage.exe: N 00000
%0A Stack:18: Janus.Windows.UI.Internal.JNSCZ.k()
ActSage.exe: N 05324
%0A Stack:19: Janus.Windows.UI.Internal.JNSCZ.b( As Point)
ActSage.exe: N 02813
%0A Stack:20: Janus.Windows.UI.Internal.JNSCZ.a( As JNSE, As Boolean)
ActSage.exe: N 00299
%0A Stack:21: Janus.Windows.UI.Internal.JNSCZ.g( As Object, As EventArgs)
ActSage.exe: N 00089
%0A Stack:22: System.Windows.Forms.Timer.OnTick(e As EventArgs)
ActSage.exe: N 00023
%0A Stack:23: System.Windows.Forms.TimerNativeWindow.WndProc(m As Message&)
ActSage.exe: N 00052
%0A Stack:24: System.Windows.Forms.NativeWindow.Callback(hWnd As IntPtr, msg As Int32, wparam As IntPtr, lparam As IntPtr)
ActSage.exe: N 00090
%0A Stack:25: Janus.Windows.UI.JNSBI.b( As b&)
ActSage.exe: N 00000
%0A Stack:26: Janus.Windows.UI.Internal.JNSCZ.k()
ActSage.exe: N 05324
%0A Stack:27: Janus.Windows.UI.Internal.JNSCZ.b( As Point)
ActSage.exe: N 02813
%0A Stack:28: Janus.Windows.UI.CommandBars.UIContextMenu.a( As Control, As Point, As Int32)
ActSage.exe: N 00483
%0A Stack:29: Janus.Windows.UI.CommandBars.UIContextMenu.Show(control As Control)
ActSage.exe: N 00046
%0A Stack:30: Durkin.Common.Views.UsrViewCalendar.Schedule1_MouseDown(sender As Object, e As MouseEventArgs)
ActSage.exe: N 01319
%0A Stack:31: System.Windows.Forms.Control.OnMouseDown(e As MouseEventArgs)
ActSage.exe: N 00109
%0A Stack:32: Janus.Windows.Schedule.Schedule.OnMouseDown(e As MouseEventArgs)
ActSage.exe: N 00077
%0A Stack:33: System.Windows.Forms.Control.WmMouseDown(m As Message&, button As MouseButtons, clicks As Int32)
ActSage.exe: N 00207
%0A Stack:34: System.Windows.Forms.Control.WndProc(m As Message&)
ActSage.exe: N 02562
%0A Stack:35: Janus.Windows.Schedule.Schedule.WndProc(m As Message&)
ActSage.exe: N 00031
%0A Stack:36: System.Windows.Forms.ControlNativeWindow.OnMessage(m As Message&)
ActSage.exe: N 00016
%0A Stack:37: System.Windows.Forms.ControlNativeWindow.WndProc(m As Message&)
ActSage.exe: N 00049
%0A Stack:38: System.Windows.Forms.NativeWindow.Callback(hWnd As IntPtr, msg As Int32, wparam As IntPtr, lparam As IntPtr)
ActSage.exe: N 00090
%0A Stack:39: System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(msg As MSG&)
ActSage.exe: N 00000
%0A Stack:40: System.Windows.Forms.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(dwComponentID As Int32, reason As Int32, pvLoopData As Int32)
ActSage.exe: N 00590
%0A Stack:41: System.Windows.Forms.ThreadContext.RunMessageLoopInner(reason As Int32, context As ApplicationContext)
ActSage.exe: N 00375
%0A Stack:42: System.Windows.Forms.ThreadContext.RunMessageLoop(reason As Int32, context As ApplicationContext)
ActSage.exe: N 00097
%0A Stack:43: System.Windows.Forms.Application.Run(mainForm As Form)
ActSage.exe: N 00049
%0A Stack:44: Act.Application.SingletonApp.Run(startupForm As Form)
ActSage.exe: N 00062
%0A Stack:45: Act.Application.Act.Main(args As String[])
ActSage.exe: N 01997

%0A

ExceptionToString:Exception Source: Act.Framework
Exception Type: System.ArgumentException
Exception Message: Value does not fall within the expected range.
Exception Target Site: GetContactAsContactList

---- Stack Trace ----%0A
%0A Stack:0: Act.Framework.Contacts.ContactManager.GetContactAsContactList(contact As Contact)
ActSage.exe: N 3419550
%0A Stack:1: Durkin.Common.Views.UsrViewCalendar.ScheduleActivity(sender As Object, e As CommandEventArgs)
ActSage.exe: N 00967

%0A

jim durkin
Posted: Friday, March 05, 2010 12:19:12 PM

Rank: Advanced Member
Groups: Administration , Moderator

Joined: 2/8/2008
Posts: 433
Points: 364
Location: Denville NJ USA
Could be happening if ACT! does not have a "Current Contact" loaded. What is your startup view in ACT!? Try setting it to contact details then restart ACT!

The code that is failing is:
ACTFramework.Contacts.GetContactAsContactList(ACTApplication.ApplicationState.CurrentContact)

CVP is asking the ACT return the current contact as a contact list so we can pass that contact list to the ACT SDK to schedule a new activity.

Try going to the Contact Details view first then back to the calendar.
Do you still get the error message?

-- Jim Durkin

kenwiens
Posted: Friday, March 05, 2010 5:32:31 PM
Rank: Member
Groups: Member

Joined: 3/4/2010
Posts: 15
Points: 24
Location: Calgary
This seems to be it. If I go into the details of a contact and then back to the calendar (click new etc) it works.

I was hoping that I could start at the calendar, click "new, meeting", bring up a blank meeting template and then pick the attendees to be added to it

Or -I want to do a "new, Personal Activity" - what if I don't want one of my contacts involved in my 'personal activity' :-)


Thanks for explaining how it works!
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

YAFVision Theme Created by Jaben Cargman (Tiny Gecko)
Powered by Yet Another Forum.net version 1.9.1.6 (NET v2.0) - 11/14/2007
Copyright © 2003-2006 Yet Another Forum.net. All rights reserved.
This page was generated in 0.134 seconds.
15 queries (0.017 seconds, 12.69%).

yaf_pageload: 0.005
yaf_topic_info: 0.000
yaf_forum_list: 0.000
yaf_forum_listpath: 0.000
yaf_forum_listpath: 0.000
yaf_post_list: 0.001
yaf_usergroup_list: 0.000
yaf_usergroup_list: 0.000
yaf_usergroup_list: 0.000
yaf_usergroup_list: 0.000
yaf_usergroup_list: 0.000
yaf_usergroup_list: 0.000
yaf_usergroup_list: 0.000
yaf_usergroup_list: 0.000
yaf_active_listtopic: 0.011