![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
|
Thread Tools | Search this Thread | Display Modes |
#11
|
|||
|
|||
![]()
Hi,
I tried implementing ur suggestions, but still it is not working. I also found that the profile name that I have selected is not prefixed to any of the other user ids. "SvenC" wrote: Hi Sue, Actually, it should be possible to do that by prefixing the userID with "=" to force an exact match, e.g. "=" & UserId I tested that a while ago and had problems with it. It could be different behaviour for Exchange Server MAPI and Outlook MAPI. IIRC it did not work for Exchange MAPI and ExchangeMAPICDO -- SvenC |
Ads |
#12
|
|||
|
|||
![]()
Profile names and user IDs are two completely different things.
-- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "AVIS" wrote in message ... Hi, I tried implementing ur suggestions, but still it is not working. I also found that the profile name that I have selected is not prefixed to any of the other user ids. "SvenC" wrote: Hi Sue, Actually, it should be possible to do that by prefixing the userID with "=" to force an exact match, e.g. "=" & UserId I tested that a while ago and had problems with it. It could be different behaviour for Exchange Server MAPI and Outlook MAPI. IIRC it did not work for Exchange MAPI and ExchangeMAPICDO -- SvenC |
#13
|
|||
|
|||
![]()
Sorry, what I meant was user IDs and not profile names. Still the problem is
not getting resolved for me and i have tried all the options or help provided, but was not able to proceed on this. "Sue Mosher [MVP-Outlook]" wrote: Profile names and user IDs are two completely different things. -- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "AVIS" wrote in message ... Hi, I tried implementing ur suggestions, but still it is not working. I also found that the profile name that I have selected is not prefixed to any of the other user ids. "SvenC" wrote: Hi Sue, Actually, it should be possible to do that by prefixing the userID with "=" to force an exact match, e.g. "=" & UserId I tested that a while ago and had problems with it. It could be different behaviour for Exchange Server MAPI and Outlook MAPI. IIRC it did not work for Exchange MAPI and ExchangeMAPICDO -- SvenC |
#14
|
|||
|
|||
![]()
If you type that UserID into the To box of a message, does it resolve to an Exchange user?
Have you checked permissions on the mailbox? -- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "AVIS" wrote in message ... Sorry, what I meant was user IDs and not profile names. Still the problem is not getting resolved for me and i have tried all the options or help provided, but was not able to proceed on this. "Sue Mosher [MVP-Outlook]" wrote: Profile names and user IDs are two completely different things. "AVIS" wrote in message ... Hi, I tried implementing ur suggestions, but still it is not working. I also found that the profile name that I have selected is not prefixed to any of the other user ids. "SvenC" wrote: Hi Sue, Actually, it should be possible to do that by prefixing the userID with "=" to force an exact match, e.g. "=" & UserId I tested that a while ago and had problems with it. It could be different behaviour for Exchange Server MAPI and Outlook MAPI. IIRC it did not work for Exchange MAPI and ExchangeMAPICDO -- SvenC |
#15
|
|||
|
|||
![]()
As I informed, the appointments are getting created, if the below statement
is used for the logon Call oSession.Logon(, , True, False) But the issue is, the current profile has to be selected from the list, which cannot be accomodated in the application that has been developed. As far as the resolution of the user ID, it happens correctly and gets resolved as expected. Proper permissions have also been given to user id. "Sue Mosher [MVP-Outlook]" wrote: If you type that UserID into the To box of a message, does it resolve to an Exchange user? Have you checked permissions on the mailbox? -- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "AVIS" wrote in message ... Sorry, what I meant was user IDs and not profile names. Still the problem is not getting resolved for me and i have tried all the options or help provided, but was not able to proceed on this. "Sue Mosher [MVP-Outlook]" wrote: Profile names and user IDs are two completely different things. "AVIS" wrote in message ... Hi, I tried implementing ur suggestions, but still it is not working. I also found that the profile name that I have selected is not prefixed to any of the other user ids. "SvenC" wrote: Hi Sue, Actually, it should be possible to do that by prefixing the userID with "=" to force an exact match, e.g. "=" & UserId I tested that a while ago and had problems with it. It could be different behaviour for Exchange Server MAPI and Outlook MAPI. IIRC it did not work for Exchange MAPI and ExchangeMAPICDO -- SvenC |
#16
|
|||
|
|||
![]()
Any Updates?
"AVIS" wrote: I dont think, there is anything related to the permission of the user. Because, if i set the code, in such a way that the profile name is selectable, then the code works fine, or else it doesnt. This happens only in this system. All other system, the profile name is not selectable, but the code works fine.... "Ken Slovak - [MVP - Outlook]" wrote: Does that user have the same permissions as other users? Are you sure that the user is using the correct alias and that they have permissions for that alias? Did you try the suggestion I made about changing the logon arguments? With a CDO logon it's a matter of permissions and getting your parameters correct. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "AVIS" wrote in message news ![]() For the first question, No, the user specifies the admin details of the exchange server The server details are from the database and the same details are used by other users, where the program is working fine. |
#17
|
|||
|
|||
![]()
Any Updates?
"AVIS" wrote: As I informed, the appointments are getting created, if the below statement is used for the logon Call oSession.Logon(, , True, False) But the issue is, the current profile has to be selected from the list, which cannot be accomodated in the application that has been developed. As far as the resolution of the user ID, it happens correctly and gets resolved as expected. Proper permissions have also been given to user id. "Sue Mosher [MVP-Outlook]" wrote: If you type that UserID into the To box of a message, does it resolve to an Exchange user? Have you checked permissions on the mailbox? -- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "AVIS" wrote in message ... Sorry, what I meant was user IDs and not profile names. Still the problem is not getting resolved for me and i have tried all the options or help provided, but was not able to proceed on this. "Sue Mosher [MVP-Outlook]" wrote: Profile names and user IDs are two completely different things. "AVIS" wrote in message ... Hi, I tried implementing ur suggestions, but still it is not working. I also found that the profile name that I have selected is not prefixed to any of the other user ids. "SvenC" wrote: Hi Sue, Actually, it should be possible to do that by prefixing the userID with "=" to force an exact match, e.g. "=" & UserId I tested that a while ago and had problems with it. It could be different behaviour for Exchange Server MAPI and Outlook MAPI. IIRC it did not work for Exchange MAPI and ExchangeMAPICDO -- SvenC |
#18
|
|||
|
|||
![]()
An alternative would be to provide the name of a profile.
-- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "AVIS" wrote in message ... As I informed, the appointments are getting created, if the below statement is used for the logon Call oSession.Logon(, , True, False) But the issue is, the current profile has to be selected from the list, which cannot be accomodated in the application that has been developed. As far as the resolution of the user ID, it happens correctly and gets resolved as expected. Proper permissions have also been given to user id. "Sue Mosher [MVP-Outlook]" wrote: If you type that UserID into the To box of a message, does it resolve to an Exchange user? Have you checked permissions on the mailbox? "AVIS" wrote in message ... Sorry, what I meant was user IDs and not profile names. Still the problem is not getting resolved for me and i have tried all the options or help provided, but was not able to proceed on this. "Sue Mosher [MVP-Outlook]" wrote: Profile names and user IDs are two completely different things. "AVIS" wrote in message ... Hi, I tried implementing ur suggestions, but still it is not working. I also found that the profile name that I have selected is not prefixed to any of the other user ids. "SvenC" wrote: Hi Sue, Actually, it should be possible to do that by prefixing the userID with "=" to force an exact match, e.g. "=" & UserId I tested that a while ago and had problems with it. It could be different behaviour for Exchange Server MAPI and Outlook MAPI. IIRC it did not work for Exchange MAPI and ExchangeMAPICDO -- SvenC |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
CDO Outlook security prompt hangs, vb script Mapi Session | [email protected] | Outlook and VBA | 2 | April 17th 08 11:03 AM |
OLK2007 : The Oper Failed : Application.CreateObject("MAPI.Session | Bill Billmire | Outlook - Using Forms | 3 | January 7th 07 01:02 AM |
Redemption+CBuilder: RDOSession.Logon MAPILogonEx-Error | [email protected] | Add-ins for Outlook | 2 | September 1st 06 08:32 AM |
MAPI error | jackie | Outlook - Using Forms | 0 | August 18th 06 04:28 PM |
Error creating an MAPI session | Dominique Schroeder | Outlook - Using Forms | 1 | March 7th 06 02:25 PM |