Debug EWS subscription error – You have exceeded the available subscriptions for your account

Recently i was investigating an issue reported by an app developer. They created a custom EWS (Exchange Web Services) application which tries to open streaming subscription to Exchange Server 2013 using EWS. It worked fine for a while and later they noticed the following error: You have exceeded the available subscriptions for your account. Remove…

3

Develop, debug code in Visual Studio 2017

With Visual Studio 2017, you can open code from nearly any type of directory-based project into Visual Studio without the need for a solution or project file. This means you can, for example, find a code project on Git, clone it, and then open it directly into Visual Studio and begin developing without having to…

4

Diagnostics: How to enable debug tracing for System.Net.Mail API?

You can enable the following trace switches in your application config file, so that you can enable tracing for The System.Net.Mail library/API. This will log the contents of the SMTP session to a file. To send traces to a log file, add the following node to the <system.diagnostics> node of the appropriate configuration file (application…

1

Debug: Collecting HTTP/HTTPS traffic using Fiddler Web Debugger tool

As you aware that the Fiddler tool helps you debug web applications by capturing network traffic between the Internet and test computers. The tool enables you to inspect incoming and outgoing data to monitor and modify requests and responses before the browser receives them. So this post provides the steps for capturing HTTP/HTTPS traffic with…


Office Developer: Request from Office for Apps going to ajax.aspnetcdn.com getting a 502 error?

In recent times, i was working with this customer where they created an Outlook add-in (Office for Apps/Office.js). They noticed that a request from Office for Apps going to ajax.aspnetcdn.com getting HTTP 502 error. During debugging (network sniffs) we noticed that issue happens that the URLs were blocked by their AV, Proxy Server settings. On…


MAPI Developer: MAPI call (lpFolder)->OpenEntry() takes 2 minutes to open messages in mailbox

Recently I was working with a MAPI developer and came across this interesting issue. We noticed their custom MAPI application takes 2 minutes to open the messages in a given mailbox. Further troubleshooting we noticed they see this behavior with the MAPI call, (lpFolder)->OpenEntry(). It takes 2 minutes to open messages in a given mailbox…


Download Microsoft Visual Studio 2015 Update 1

Last week we announced the Update 1 for Microsoft Studio 2015 and you can download it from Visual Studio 2015 Update 1. This release includes our latest feature and functionality updates – refer the below snapshot: . For more detailed info, you can refer the release notes – https://www.visualstudio.com/en-us/news/vs2015-update1-vs.aspx In addition, it also talks about…


Analyze Microsoft Office programs problems, issues using OffCAT 2.0

The Microsoft Office Configuration Analyzer Tool (OffCAT) 2.0 provides a quick and easy way to analyze Microsoft Office programs for known configurations that cause problems.  Now with latest OffCAT 2.0, it provides a detailed report of your installed Office programs. This report includes many parameters about your Office program configuration and highlights known problems found…

1

After migration VS 2013 C++ project throws error TRK0005: Failed to locate: "CL.exe". The system cannot find the file specified.

Like earlier, I was involved in migration of VS 2013 C++ Outlook add-in project which was created in Visual Studio 2010. During the compilation I encountered the following error: In general, CL.exe is Visual Studio Compiler. So it should be in your Visual Studio installation directory. if there is no cl.exe in the directory, then…

2

Installed vNext .Net Framework, still it’s not listed in Visual Studio targeted .Net Framework…??

I initially installed vNext .Net Framework 4.5.2 installer in the Visual Studio 2013 environment. When I tried opening in Visual Studio 2013 but failed to see it in the “Targeted Framework” in it??? Then, try the following:– 1) Close the Visual Studio. 2) You need to download and install Developer Pack for vNext .Net Framework…

1

Custom CDO app throws error CDO_E_FAILED_TO_CONNECT

Recently I was working with a customer (at his Windows XP) where his CDO app (CDOSEND.vbs – given below) is failing to send email and throws the error “CDO_E_FAILED_TO_CONNECT” (you can refer the below given Output also). We tried setting CONFIG parameters like user name, SLL, password – but it doesn’t help. Code Snippet: Option…


Exchange VSS : At Exchange Server 2010 ESEUtil fails with Jet error–1032

Recently I was playing for a VSS issue at my Exchange Server 2010 environment – when I run the ESEUtil (with its parameter /mh) command then I got the error “Jet error –1032”. > eseutil /mh "D:\Temp\tempdb.edb" Extensible Storage Engine Utilities for Microsoft(R) Exchange Server Version 14.00 Copyright (C) Microsoft Corporation. All Rights Reserved. Initiating…

3

Migrated custom C++/CDOSYS app throws compiler errors

Recently I was working with one of the developer who earlier designed an CDOSYS based mail component in his C++ application built using earlier Visual Studio (2005) version . After migration to VS 2008 environment, they noticed compile errors with the same code/no changes made. When I debugged further and noticed that the msado15.tlh and…

2