Error 2 Returned By Function Mapiresolvename
(עברית)المملكة العربية السعودية (العربية)ไทย (ไทย)대한민국 (한국어)中华人民共和国 (中文)台灣 (中文)日本 (日本語) Home20132010Other VersionsLibraryForumsGallery Ask a question Quick access Forums home Browse forums users FAQ Search related threads Remove From My Forums Asked by: Sending email using MAPI causes error on 'ResolveName' function in Window7 Windows 7 IT Pro > Windows 7 Application Compatibility General discussion 0 Sign in to vote Hi Guys,In Windows XP as well as in Vista, it was possible to compose and send out an email using MAPI with the default email application MS Outlook, Outlook Express or anyother. But in Windows7, it is not possible to send out mails using MAPI. The ResolveName function call prompts an error. I found that ResolveName function is deplicated. Is there anything else can fix this problem?Following is a sample of the codeKKMapiSession = CREATEOBJECT('MSMAPI.MAPISession')KKMapiMessage = CREATEOBJECT('MSMAPI.MAPIMessages')KKMapiSession.SignON()KKMapiSession.DownloadMail = .False.KKMapiMessage.SessionID = KKMapiSession.SessionIDKKMapiMessage.Compose()KKMapiMessage.RecipIndex = 0KKMapiMessage.RecipDisplayName = 'MyName'KKMapiMessage.RecipAddress = 'MyName@hotmail.com'KKMapiMessage.MsgSubject = 'Subject'KKMapiMessage.MsgNoteText = 'Message Body'KKMapiMessage.AddressResolveUI = .False.KKMapiMessage.RecipType = 1 *> MapToListKKMapiMessage.AttachmentIndex = 0KKMapiMessage.AttachmentName = 'Detailed AP Activity.pdf'KKMapiMessage.AttachmentPathName = 'C:\Detailed AP Activity.pdf'KKMapiMessage.ResolveName()KKMapiMessage.Send(.false.)KKMapiSession.signoff()Any idea how to resolve "ResolveName" issue in Window7 Changed type Robinson Zhang Tuesday, September 01, 2009 1:24 AM Tuesday, August 25, 2009 2:56 PM Reply | Quote All replies 0 Sign in to vote Spelling Mistake "deplicated" should be as Deprecated Tuesday, August 25, 2009 3:13 PM Reply | Quote 0 Sign in to vote I'm also having trouble with MAPI on Win 7.This code (SendMail function) gives me an MAPI_E_FAILURE on Win 7, but not on XP with Outlook where it has worked for years.I am using Windows Live Mail: If I require a password, then I am prompted for the email password, but no message is created with the text that I sent in emailtext. If I save the password, then I see nothing before the API call returns an error.I don't see how to remove the password I saved, so I am stuck with saved passwords.I did uncheck the "Warn if other applications try to send emails as you" checkbox, but
Tips/Tricks Top Articles Beginner Articles Technical Blogs Posting/Update Guidelines Article Help Forum Article Competition Submit an article or tip Post your Blog quick answersQ&A Ask a Question View Unanswered Questions View All Questions... C# questions Linux questions ASP.NET questions SQL questions VB.NET questions discussionsforums All Message Boards... Application Lifecycle> Running a Business Sales / Marketing Collaboration / Beta Testing Work Issues Design and Architecture ASP.NET JavaScript C / C++ / MFC> ATL / WTL / STL Managed C++/CLI C# Free Tools Objective-C and https://social.technet.microsoft.com/Forums/office/en-US/557206c3-1664-4566-8ec5-db6b7da72e24/sending-email-using-mapi-causes-error-on-resolvename-function-in-window7?forum=w7itproappcompat Swift Database Hardware & Devices> System Admin Hosting and Servers Java .NET Framework Android iOS Mobile SharePoint Silverlight / WPF Visual Basic Web Development Site Bugs / Suggestions Spam and Abuse Watch features Competitions News The Insider Newsletter The Daily Build Newsletter Newsletter archive Surveys Product Showcase Research Library CodeProject Stuff communitylounge Who's Who Most Valuable Professionals The Lounge http://www.codeproject.com/Questions/56536/MAPIResolveName-returning-Error-using-W The Insider News The Weird & The Wonderful The Soapbox Press Releases Non-English Language > General Indian Topics General Chinese Topics help What is 'CodeProject'? General FAQ Ask a Question Bugs and Suggestions Article Help Forum Site Map Advertise with us About our Advertising Employment Opportunities About Us Ask a Question All Questions All Unanswered FAQ MAPIResolveName returning Error 2147500037 using Windows 7 Rate this: Please Sign up or sign in to vote. See more: Windows Office Win7 I am having an issue with Windows 7 / Outlook 2007 using Simple MAPI from Crystal Reports, export Report feature... I tried using different mail clients as my default client, but keep on getting the same error... how do I fix this? Accpac requires the use of MAPI to send out emails to clients and I've been getting the vibe that Outlook 2007 / Windows 7 does not support this? Does anyone have a solution yet? Posted 4-Feb-10 2:19am Neville Wagner619 Updated 19-May-10 4:23am Deeksha Shenoy121.4K v5 Add a Solution Page 1 of 3 Fi
Analytics Conference: Oct 18, Mastering SAP BI, Melbourne: Oct 23. Crystal Report using BO Universe - Prompt doesn't show LOVs Search this topic...|Search Crystal Reports...|Search Box Select a search Explain These Choices... --------------------Recent Topics http://www.forumtopics.com/busobj/viewtopic.php?t=83315&view=previous&sid=4dd574707eea2026277cd019529c2934 (All Forums) Unanswered Posts Register or Login to Post Forum Index -> Building Reports http://crm.ittoolbox.com/groups/technical-functional/saleslogix-l/slx-lan-722-windows-7-error-when-exporting-pdf-to-mapi-3688201 -> Crystal Reports Author Message MontiSenior MemberJoined: 29 Jul 2003Posts: 70 Posted: Mon Apr 23, 2007 10:58 amPost subject: Crystal Report using BO Universe - Prompt doesn't show LOVs Hi All I tried to search Crystal XI forum but couldnt find solution so creating new topic. I am creating Crystal Reports using Business Objects Universe. While using error 2 BOBJ Universe object as prompt or condition in the Crystal Reports, it doesn't display list of values (LOVs) or refresh. Did anyone face similar issue? It looks like there is a bug in the Crystal Reports. Thank you. Back to top Farhan JafferyForum EnthusiastJoined: 27 Aug 2005Posts: 1014Location: Houston, TX Posted: Mon Apr 23, 2007 11:10 amPost subject: Re: Crystal Report using BO Universe - Prompt doesn't show L If you are not error 2 returned seeing LOV for prompts, more than likely, you have a database connection issue._________________Farhan Jaffery SAP Certified - BOE 3.x J.P. Morgan Chase Houston, Texas Back to top MontiSenior MemberJoined: 29 Jul 2003Posts: 70 Posted: Mon Apr 23, 2007 12:57 pmPost subject: Re: Crystal Report using BO Universe - Prompt doesn't show L Hi Farhan - Thanks for the reply. My database connectivity is fine because I can refresh my report data without any problem. Also if I manually add filter to the SQL query the data will refresh fine. The issue is to display the List of Values in the report prompt. Thanks. Back to top JasmineMelodySenior MemberJoined: 03 Nov 2005Posts: 36 Posted: Wed Apr 25, 2007 5:53 amPost subject: Re: Crystal Report using BO Universe - Prompt doesn't show L Hi, I also faced this problem before. my case is because of BO is XI version 2 and Crystal report is version XI-1. so i created using CRXI-2, i can see the LOV. you could check your version and test. Hope it works!_________________Jasmine Back to top MontiSenior MemberJoined: 29 Jul 2003Posts: 70 Posted: Wed Apr 25, 2007 9:17 amPost subject: Re: Crystal Report using BO Universe - Prompt doesn't show L Hello Jasmine - Great! Thanks for your reply.... You are correct. It's because of the Crystal
Technology and Trends Enterprise Architecture and EAI ERP Hardware IT Management and Strategy Java Knowledge Management Linux Networking Oracle PeopleSoft Project and Portfolio Management SAP SCM Security Siebel Storage UNIX Visual Basic Web Design and Development Windows < Back CHOOSE A DISCUSSION GROUP Research Directory TOPICS Database Hardware Networking SAP Security Web Design MEMBERS Paul_Pedant DACREE MarkDeVries Inside-ERP MacProTX VoIP_News Inside-CRM maxwellarnold I_am_the_dragon PCMag Michael Meyers-Jouan TerryCurran Chris_Day Andrew.S.Baker JoeTorre bracke Locutus Ramnath.Awate Craig Borysowich Dennis Stevenson DukeGanote Richard mircea_luca Nikki Klein AbhaiTripathi knowscognosdoi Clinton Jones blrvenkat Iqbalyk bluesguyAZ59 COMPANIES Hewlett Packard Hitachi America, LTD Compuware Fiberlink Communications View All Topics View All Members View All Companies Toolbox for IT Topics CRM Groups Ask a New Question SalesLogix For discussion on SalesLogix , please visit the CRM – General Discussions group. More CRM Groups Your account is ready. You're now being signed in. Solve problems - It's Free Create your account in seconds E-mail address is taken If this is your account,sign in here Email address Username Between 5 and 30 characters. No spaces please The Profile Name is already in use Password Notify me of new activity in this group: Real Time Daily Never Keep me informed of the latest: White Papers Newsletter Jobs By clicking "Join Now", you agree to Toolbox for Technology terms of use, and have read and understand our privacy policy. SLX LAN 7.2.2 | Windows 7 | Error when exporting PDF to MAPI Jim Fanning asked Aug 10, 2010 | Replies (3) Receiving the following error message when trying to export PDF Crystal Report to MAPI. Error 2147500037 returned by function