Le Café Central de Deva
... Deva blogs!!
I changed the way of blogging, developing, designing and assisting my customers. Re-designed the site and started using the latest Windows Live Writer!! Additionally added Microsoft Translator gadget available @ top of page, so that you can change the page in your preferred language!!
Are you an MAPI developer? Then, this article is targetted for you. The API elements (like, IXPLogon::RegisterOptions, OPTIONDATA, OPTIONCALLBACK, IMAPISession::MessageOptions, IMAPISession::QueryDefaultMessageOpt, IAddrBook::RecipOptions, IAddrBook::QueryDefaultRecipOpt) are deprecated in Microsoft Outlook 2013. They are no longer supported and you should not use them in new projects. These API elements are deprecated in this release because of obsolete message and recipient options. For more information, you can refer the related article.
In addition to previous article, I would suggest you to have a look at the related articles for reference/samples etc:
By using Visual Basic for Applications (VBA), a simple but powerful programming language that you can use to extend Office 2010 applications with new capabilities and automate repeated tasks. I remember VBA is used for a long time in Microsoft Office based applications. I thought to combine the list the related articles that are pretty much helpful for you to move ahead:
Microsoft Office Developer Center
Writing VBA code for Microsoft Outlook
VBOffice Outlook VBA Samples
Using Visual Basic for Applications in Outlook
Using Outlook Visual Basic for Applications to Respond to Outlook Events
How-To-Outlook: Signing Your Own Macros with SelfCert.exe
2007 Office System Reference Library on MSDN
Getting Started with Office Development
Microsoft Office Interactive Developer Map
Webcast: Using VBA Every Day Is Easier Than You Think
Webcast: Breaking into Your Open XML Format Documents
Managing Macros with the Visual Basic Editor
Microsoft Most Valuable Professional (MVPs) Site
Getting Started with VBA in Outlook 2010
Watch the Video: Using VBA to Control Built-In Commands in the 2007 Office System
One of my developer customer updated that he created an EWS Managed API based application which is getting crashed when they call the GetStreamingEvents operation to request notifications from a server that is running Exchange Server 2010; also the Client Access server (CAS) role installed. In general, the GetStreamingEvents response returns an array of items and events that have occurred in a mailbox since the last the notification. During investigation, we noticed that the EWS managed API sends back a compressed stream to the EWS application when the request of the GetStreamingEvents operation times out. As the EWS application cannot handle the compressed stream and crashes when it tries to parse the stream. In order to resolve the issue, make sure you have Exchange Server 2010 Service Pack 2 Rollup 2 installed & refer Knowledgebase article 2661854. It’s documented in http://support.microsoft.com/kb/2681464.
An EWS application that runs on behalf of a user quickly consumes resources on the Microsoft Exchange server 2010. When we investigated, we noticed that the EWS operations the application performs exceed the limit that is set in the client throttling policies. As we know that the client throttling policies for Exchange Web Service are enabled in a Microsoft Exchange Server 2010 environment – all client throttling policies are enabled in Microsoft Exchange Server 2010 Service Pack 1 (SP1) or in Microsoft Exchange Server 2010 Service Pack 2 (SP2), by default. In this scenario, all the EWS applications that run on behalf of the user are throttled unexpectedly. The expected behavior is that only the EWS application whose operations exceed the limit that is set in the client throttling policies is restricted.
This issue occurs because all the EWS applications that run on behalf of the user consume the same client throttling policy budget. To resolve the problem, first make sure you installed the latest service pack & rollup for Exchange Server 2010 or install the Update Rollup 4 for Exchange Server 2010 Service Pack 2. You can refer: http://support.microsoft.com/kb/2706690
We recently resolved a case where a customer tries accessing Exchange Server 2010 mailboxes (DAG) via their custom Exchange MAPICDO based application. On average 2-3 days once, they're frequently facing an error “The information store could not be opened. [MAPI 1.0 - [MAPI_E_LOGON_FAILED(80040111)]]” while attempting to connect to Exchange server 2010. After some days of normal working, Exchange server starts to refusing their connector to open the users' mailboxes. Whenever they notice this error, the application just fails and they need to restart the app to make it work.
During debugging, we haven’t noticed any issues logged Exchange Server’s event viewer and MPS also looked fine. We took memory dump and analyzed RCA logs, which pointed client throttling policy.
Earlier, Steve had blogged an excellent article on this. So first we need to understand more about Exchange Client throttling, a feature which got introduced in Exchange Server 2007. Exchange server 2007/2010 allows many clients to connect via Outlook, MAPI, ActiveSync, Outlook Anywhere, OWA ,IMAP or POP3, to their Mailboxes through the (CAS) Client Access Server role. Throttling policies are used to restrict clients in the Exchange Server resources they can use. The purpose of these restrictions is to make sure a client can’t bring down an Exchange Server or disrupt services for other clients, intentionally or unintentionally, by exhausting resources. Thus, throttling will also help in lowering the impact of denial-of-service attacks. Because the limit is enforced on clients, and clients can connect to their mailbox simultaneously using different components, throttling policies are applied to mailboxes.
Note: By default the mailbox attribute ThrottlingPolicy is not set, meaning the default throttling policy will be used (refer the below pic):
Once the ThrottlingPolicy is set, it will be shown like the below:
You have to use the exchange shell to manage throttling policies with the New-ThrottlingPolicy, Get-ThrottlingPolicy, Set-ThrottlingPolicy & Remove-ThrottlingPolicy cmdlets. We pointed them to fix it by creating/modifying client throttling policy – it helped them to move ahead.
This is one common question from our customers - whether they can programmatically download an Offline address book through the Outlook Object Model or not. The answer is “No”. Offline address book downloads are not exposed through the Outlook object model.
Hi Windows Phone users, Recently I got the latest Windows phone update for my HTC Phone (OS Version 7.10.8112.7)…
This software update includes the following:
So, connect your phone via Zune to update it
You can download free or paid or trial versions of Developer tools and macros for Office versions 2003, 2007 and 2010 at Marketplace….It’s available for the products like Outlook, Word, PowerPoint, Excel, Publisher, SharePoint and Access.
You can refer detailed info available @ windowsteam blog: http://windowsteamblog.com/windows_phone/b/windowsphone/archive/2012/06/20/announcing-windows-phone-8.aspx
Want to know more about future of Windows Phone? You can watch the session via Microsoft’s Channel 9 is streaming @ Click here
Now, you can download the latest Exchange Web Services (EWS) Managed API 1.2.1 (version 14.03.0067.001) @ two flavors – 64-bit, 32-bit. It provides a managed interface for developing client applications that use Exchange Web Services.
The latest EWS Managed API 1.2.1 includes new Exchange Web Services (EWS) client logging features for Exchange Online as part of Office 365, as well as some minor bug fixes. It introduces an important change for client applications that target Microsoft Office 365. This change includes the following two new properties on the ExchangeService object:
ExchangeService.ReturnClientRequestId – Indicates whether the x-ms-client-request-id header is sent. This is set to true by default.
ExchangeService.SendClientLatencies – Indicates whether the client will send client latency information to Exchange Online. This is set to true by default.
Now you can download and try the next release of Windows Server, Windows Server 2012, will offer businesses and hosting providers a scalable, dynamic, and multitenant-aware, cloud-optimized infrastructure. It securely connects across premises and helps IT Professionals to respond to business needs faster and more efficiently.
+ Download the 64-bit ISO: GET STARTED NOW
+ Download the VHD: GET STARTED NOW
+ Register: Register to access technical product resources—forums, solution accelerators, white papers and webcasts—at the Windows Server 2012 RC Resource Page.
In this session, Matt discusses about Exchange Web Services affinity and throttling…
In Part 2, Matt discusses about searching, notifications, synchronization, and patterns when working with Exchange Web Services. The two part series would be good one for those who’re involved in building custom applications using Exchange development/Exchange Web Service. Enjoy!!
Mid April, the Windows Server and Exchange Interoperability teams hosted an Open Specifications Plugfest event. The event was held in Redmond on the Microsoft campus for protocol developers implementing Exchange and Windows open specifications. I am planning to add couple of sessions related to Exchange and its developer…
In this session, my peer Matt Stehle (Sr. Consultant) provided guidance when you work with Exchange Web Services and mailbox data; he also covers reading, writing, searching, backup and restore. Enjoy!!
This was one of the interesting session that I was looking for… Usually I follow Mark’s blog and read the related info. So I was super excited to watch this one. Ok, let me switch back… the session provides an overview of several Sysinternals tools, including Process Monitor, Process Explorer, and Autoruns, focusing on the features useful for malware analysis and removal. These utilities enable deep inspection and control of processes, file system and registry activity, and autostart execution points. Mark Russinovich demonstrates their malware-hunting capabilities by presenting several real-world cases that used the tools to identify and clean malware, and concludes by performing a live analysis of a Stuxnet infection’s system impact.
Hope you enjoyed it!!
You can read the interesting article “Building the Mail app – Win 8” by Jeremy Epling, Lead PM, Windows Mail team… Nice one!!
The below two are the two the queries raised by the customers who have Exchange Server and Project Server at their end that I worked, “How to configure Project Server 2010 with Exchange Server 2007 or Exchange Server 2010?”. Based on that I am adding the related info at this blog post which can be useful to folks who are interested ….
Once you configure and integrate Exchange Server 2007 or Exchange Server 2010 enables Project Server 2010 users to view Project Server tasks in Microsoft Office Outlook. This functionality replaces the Outlook Add-in task status reporting functionality for non-time–phased tasks that is available in earlier versions of Project Server and enables task assignment updates that use percent complete or total work remaining. These task assignment updates are then auto-submitted to the Task Status Manager when the tasks are updated in the Exchange client. Refer the detailed articles Configure Project Server 2010 with Exchange Server 2007 and Configure Project Server 2010 with Exchange Server 2010. In addition, you can download and watch the video, the steps involved in configuring integration with Exchange Server 2010 & Project Server 2010. Also customers have the query, configuring Project Server 2010 with Exchange Server 2010 Impersonation – you can refer Project Server 2010 & Exchange Server 2010 Impersonation article for further information. Hope this helps!!
Are you looking for Office 2010 Developer map? Here we go….The Microsoft Office 2010 Interactive Developer Map is a Silverlight application that helps developers visualize the different kinds of applications, services, client/server data-access technologies, on-premise servers, platform products and technologies, and tools that can help developers build multiple line-of-business solutions.
The map provides links to MSDN Library reference documentation/portal pages, videos, RSS feeds that describe how developers can use Office 2010 and associated tools and technologies to develop solutions that meet their needs. It allows them to drill down to each product and technology and learn about new features, objects, web services, protocols, and content resources that show you how to use and extend Microsoft Office and build custom solutions.
You can start visualizing the applications, services, client/server data-access technologies, on-premise servers, platform products, and tools that help developers build multiple line-of-business solutions.
Session # 1: An Inside View of Microsoft Exchange Server 2010 SP2: Exchange Server 2010 SP2 was released at the end of 2011; it brought some fantastic new features that I like. In this session, you can hear from the Product Group about OWA Mini, the Hybrid Configuration Wizard, OWA Cross Site Silent Redirection, GAL segmentation, Address Book Policies. This session also gives a view about general process that the product group uses to create service packs and rollups. Nice Session…
Session # 2: Exchange Server 2010 SP2 Tips & tricks: This session talks about the Exchange Server Tips & Tricks presentation. You can learn how to get more out of Exchange 2010 SP2 in this session, filled with new tips and tricks specific to SP2.
Watch the sessions and make use of it. Enjoy!!
Software development continues to make great advances and so does Visual Studio. In this session you will learn about the trends impacting software development and how you can take advantage of them with Visual Studio 2012. This talk provides a brief overview coupled with lots of demos to highlight how Visual Studio 2012 simplifies development, streamlines collaboration for teams, and helps you create apps that your users will love.
Outlook Social Connector providers should return errors to the caller. Please note that Success, warning, and error values are returned by using a 32-bit number that is called a result handle, or HRESULT. An HRESULT is not a handle to anything; it is merely a 32-bit value that has several fields encoded in the value.
A positive result indicates success with status, a zero result indicates success without status (S_OK), and a negative result indicates failure. I have listed the couple of the error codes that I noticed…
Authentication failed on the network of the social network site.
No connection is available to connect to the social network site.
General failure error.
The OSC provider denied permission for the resource
An invalid argument was passed to a function.
For the detailed list of Outlook Social Connector Provider Error Codes are listed at http://msdn.microsoft.com/en-us/library/ff759376.aspx
The Outlook Social Connector is a set of new features to help keep track of your friends and colleagues while enabling you to grow your professional network. The Outlook Social Connector is available now as part of the Microsoft Office 2010.
The Outlook Social Connector (OSC) brings social views of your colleagues and friends right to your Inbox. As you read your e-mail messages, glance down at the new People Pane to see the picture, name, and title of the sender. A rich, aggregated collection of information about the sender is included.
You can use the OSC Provider Proxy Library to develop a real provider for the Outlook Social Connector.
Happy Office development. Enjoy!!