I have finished preparing/testing the plugin and will be releasing the plugin to a person who desires to continue beta testing with Office 2007.
The only issue I have at this point is an error message when attempting to open up the settings. I get the following error message:
(1): System.Xml.XmlDocument.LoadSelection(Microsoft.Office.Interop.Outlook.Explorer) Line 1127.
The Explorer has been closed and cannot be used for further operations. Review your code and restart Outlook.
The Settings Window comes up fine with all of the settings intact.
Have you encountered this during testing? Any ideas?
It has been a while since we have seen this kind of error. We have tried to make the LoadSelection code very flexible given that the data selected can be anything, but we must have missed something. The main selection loop uses a foreach loop of objects:
foreach ( object olItem in olExplorer.Selection )
We probably need to do the same when looping through recipients. If you have the source, you can do this yourself. If not, let us know and we wll create a build for you.
Can you try and duplicate the error and then narrow down the problem to a specific item selected in Outlook? This may help us locate the bug.
It only happens when I have the 'Personal Folders' item selected within the Mail Folders treeview.
The only two menu options that fail are 'Send to Splendid' and the 'Settings' options. I do not know what this issue would have to do with recipients as you theorized in your last post.
I can send you screen shot if you wish. Thanks in advance for your time.
In addition to my previous post for this thread, I would like to add some more comments and other issues I am having with the Beta 2007 Plugin.
Issue #1. I am unable to delete Contact items from Outlook. I get the error message:
Void SyncContacts(Boolean) Line 1555
System.Web.Services.Protocals.SoapException: Server was unable to process request.--> System.Exception: Cannot insert the value NULL into column USER_ID, table DBname.dbo.Contacts_Users. Column does not allow nulls, INSERT Fails.
The statement has been terminated.
at SplendidCRM.SqlProces.spCONTACTS_USERS_Update(Guid gCONTACT_ID, Guid gUSER_ID) in SqlProces .....
at SplendidCRM.soap.SetRelationship(string sMODULE1, string sMODULE1_ID, string sMODULE2, string sMODULE2_ID) in soam.asmx.cs
at SplendidCRM.soap.set_relationships(string session, set_relationship_value[] set_relationship_list) in soap.asmx.cs
I am using VMWare so I loaded a snapshot of an environment that uses O2003 with the old plugin and the delete functionality works fine. I have made slight alterations to the plugin code you provided to me, but none of it should have affected the delete function. I only altered the login procedure.
Issue/Question #2:
I noticed while testing the O2003 Plugin that when a user deletes a contact that he does not own (assigned_user_id) within the CRM, the contact is deleted! Isn't that an issue since multiple people can request to Sync with a contact in the system? Maybe if the user is not the 'owner', only the record within CONTACTS_USERS should be marked as deleted?
I have a couple of users beta testing the plugin with Outlook 2007. Any comments on the two postings before this one? Have you updated the Beta plugin to handle these issues?
Thx in advance.