An Internal Server Error Occurred. The Operation Failed. Ews
(Русский)ישראל (עברית)المملكة العربية السعودية (العربية)ไทย (ไทย)대한민국 (한국어)中华人民共和国 (中文)台灣 (中文)日本 (日本語) HomeLibraryLearnDownloadsForums Ask a question Quick access Forums home Browse forums users FAQ Search related threads Remove From My Forums Asked by: Cannot bind to DiscoveryHolds items in PublicFolders with "An internal server error occurred. The operation failed" Exchange Server > Exchange Server Development Question 0 Sign in to vote Environment: Exchange Server 2016, EWS Managed API 2.2 I'm developing a custom solution that collects emails from system folders of users mailboxes (Versions, DiscoveryHolds, Deletions, Purges) and PublicFolders mailboxes (DUMPSTER_ROOT, DiscoveryHolds) But for some reason I cannot bind to DiscoveryHolds items in PublicFolders mailbox (\NON_IPM_SUBTREE\DiscoveryHolds) with "An internal server error occurred. The operation failed" Here is an example of code and error when executing FindItems: var pfFolder = Folder.Bind(service, WellKnownFolderName.PublicFoldersRoot); var rootFolder = Folder.Bind(service, pffolder.ParentFolderId); // bind to DiscoveryHolds by "rootFolder/NON_IPM_SUBTREE/DiscoveryHolds" path discoveryHolds.FindItems(new ItemView(int.MaxValue) { PropertySet = new PropertySet(BasePropertySet.IdOnly) }; ...2015-12-25 16:22:00,321 DEBUG [RR.UdpTraceReceiver] - Microsoft.Exchange.WebServices.Data.ServiceResponseException: An internal server error occurred. The operation failed. at Microsoft.Exchange.WebServices.Data.ServiceResponse.InternalThrowIfNecessary() at Microsoft.Exchange.WebServices.Data.MultiResponseServiceRequest`1.Execute() at Microsoft.Exchange.WebServices.Data.Folder.FindItems(ItemView view) at ExchangeExplorer.MainForm.tvFolders_AfterSelect(Object sender, TreeViewEventArgs e) Here is an error from EWS logs (c:\Program Files\Microsoft\Exchange Server\V15\Logging\Ews\): ExceptionHandler_Execute=Microsoft.Exchange.Data.Storage.NoReplicaHereException: Cannot query rows in a table. ---> Microsoft.Mapi.MapiException
One games Xbox 360 games PC games Windows games Windows phone games Entertainment All Entertainment Movies & TV Music Business & Education Business Students & educators Developers Sale Sale Find a store Gift cards Products Software & services Windows Office Free downloads & security https://social.msdn.microsoft.com/Forums/silverlight/en-US/06ec6705-bed2-468b-947c-ef348e7c58a4/cannot-bind-to-discoveryholds-items-in-publicfolders-with-an-internal-server-error-occurred-the?forum=exchangesvrdevelopment Internet Explorer Microsoft Edge Skype OneNote OneDrive Microsoft Health MSN Bing Microsoft Groove Microsoft Movies & TV Devices & Xbox All Microsoft devices Microsoft Surface All Windows PCs & tablets PC accessories Xbox & games Microsoft Band Microsoft https://support.microsoft.com/en-us/kb/975165 Lumia All Windows phones Microsoft HoloLens For business Cloud Platform Microsoft Azure Microsoft Dynamics Windows for business Office for business Skype for business Surface for business Enterprise solutions Small business solutions Find a solutions provider Volume Licensing For developers & IT pros Develop Windows apps Microsoft Azure MSDN TechNet Visual Studio For students & educators Office for students OneNote in classroom Shop PCs & tablets perfect for students Microsoft in Education Support Sign in Cart Cart Javascript is disabled Please enable javascript and refresh the page Cookies are disabled Please enable cookies and refresh the page CV: {{ getCv() }} English (United States) Terms of use Privacy & cookies Trademarks © 2016 Microsoft
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss http://stackoverflow.com/questions/5403915/ews-error-accessing-public-folders-exchange-2010-with-replicated-exchange-2003 the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow https://github.com/OfficeDev/ews-java-api/issues/211 Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each an internal other. Join them; it only takes a minute: Sign up EWS Error Accessing Public Folders - Exchange 2010 With Replicated Exchange 2003 Public Folders up vote 0 down vote favorite 1 We currently have the following setup: Single Exchange 2003 Server – Also Running the Exchange 2010 Public Folder Database Single Exchange 2010 Server – Also Running the an internal server Exchange 2010 Public Folder Database & Client Access role (e.g. with EWS, OWA, etc..) We have public folders held on 2010 and public folders held on 2003. We are replicating the public folders both ways between servers (configured through the public folder management console). We have a test account with a mailbox on Exchange 2010 that has the highest level of privileges (domain admin and also “organization management” within Exchange). This user is called “grey”. The user has been granted explicitly full ownership of all public folders in both the 2010 public folder database and the 2003 public folder database. We can confirm that we can access and use the public folders perfectly OK through OWA and also Outlook. The problem we are having is accessing the public folders through Exchange. We can confirm that accessing normal folders within the mailbox itself is not an issue and is working fine. When running the following simple code snippet to loop through the public folders we are hitting an error: public static void P
Support Search GitHub This repository Watch 122 Star 368 Fork 283 OfficeDev/ews-java-api Code Issues 177 Pull requests 13 Projects 0 Wiki Pulse Graphs New issue Bug sending email using Exchange 2007 #211 Open plunchete opened this Issue Feb 11, 2015 · 10 comments Projects None yet Labels bug Milestone No milestone Assignees No one assigned 4 participants plunchete commented Feb 11, 2015 Hi there, I'm using this library in production and we have a bunch of users with Exchange 2007. The problem is that when we try to send an email through their Exchange servers we get the following exception: Caused by: microsoft.exchange.webservices.data.ServiceResponseException: An internal server error occurred. The operation failed. at microsoft.exchange.webservices.data.ServiceResponse.internalThrowIfNecessary(ServiceResponse.java:268) at microsoft.exchange.webservices.data.ServiceResponse.throwIfNecessary(ServiceResponse.java:256) at microsoft.exchange.webservices.data.MultiResponseServiceRequest.execute(MultiResponseServiceRequest.java:155) at microsoft.exchange.webservices.data.ExchangeService.internalCreateItems(ExchangeService.java:468) at microsoft.exchange.webservices.data.ExchangeService.createItem(ExchangeService.java:539) at microsoft.exchange.webservices.data.Item.internalCreate(Item.java:219) at microsoft.exchange.webservices.data.EmailMessage.internalSend(EmailMessage.java:129) at microsoft.exchange.webservices.data.EmailMessage.sendAndSaveCopy(EmailMessage.java:290) I've checked with the users to see if the library was sending the message but failing getting a response but that is not the case. The message is stored in their drafts folder and never gets sent ahaarrestad commented Feb 11, 2015 Are you by any chance running your program using -ae on the commandline? If so, try to run without it and see what happens. plunchete commented Feb 11, 2015 Not sure