Le Café Central de
Deva             


                 ... Deva blogs!!



  • Le Café Central de DeVa

    Office 365 Developer : Required permissions/plans for an Office 365 account to access using Office 365 REST APIs

    • 4 Comments

    Are you an Office 365 developer and want to use Office 365 APIs such as mail, contacts, calendar, and files to access then you need to have the following permissions/part of plans:

    Permissions: To access you need to have an Office 365 business account with global administrator privileges.

    Plans: Also this can be one of the following plans:

    • Office 365 Midsize Business

    • Office 365 Enterprise E1, E3, E4, E5 or K1

    • Office 365 Education A2, A3, or A4

    • Office 365 Developer

    If you don’t have the above, then you will get an error when you try to connect with Visual Studio (using Office 365 Tools > Add > Connected Service).

    image

    Hope this helps.

  • Le Café Central de DeVa

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

    • 0 Comments
    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 and there is no error thrown. In order to isolate we used latest MFCMAPI and MAPI notifications, but we failed to locally repro the issue with it. We enabled good amount of logging from their custom MAPI app, Outlook environment (Advanced logging) and at the Exchange environment (Exchange logs) as well – but nothing helped much. Also this issue can be repro at will at this specific end customer environment.

    We traced down the specific message – it contained .PDF files, which are password protected and we can access the attachment table and its attachments(.PDF files). While analyzing Exchange environment we noticed that they implemented an Anti-virus (AV) application and enabled detailed logging for database/mailbox/folder/mail/attachment levels to scan incoming/outgoing messages. Due to this, whenever we tried opening the message  using OpenEntry() call, it tries to scan the message, attachments – as PDF is password protected it tries to open thrice to scan the content  (which takes 2 minutes) and making the OpenEntry() call to wait till it finishes; so the MAPI call OpenEntry() call turned to be a victim. By modifying the respective Anti-virus rule, the issue was resolved the issue.

    Hope this helps.
  • Le Café Central de DeVa

    …ok now, how to find .Net Version installed in any given environment?

    • 2 Comments

    There are few good ways available to find out which .Net Version is installed in any given environment.

    You can try one of the following:

    - Manually you can check it via registry editor (REGEDIT.exe). Refer https://msdn.microsoft.com/en-us/library/hh925568(v=vs.110).aspx

    - Using C#.Net you can use System.Environment class to get the related info:

    private static void GetFrameworkVersionInfo()
    {
    Console.WriteLine("Version: " + Environment.Version.ToString());
    }

    - Using Visual Studio Command Prompt, you can try - CLRVER command:

    Deva blogs

    - Using Windows PowerShell, I would have tried one of the following or the Windows PowerShell that I found in stackoverflow as well :

    Deva blogs

    Deva blogs

    Hope this helps.

  • Le Café Central de DeVa

    Just FYI - Support Ending for the .NET Framework 4, 4.5, 4.5.1 @ January 12, 2016

    • 0 Comments

    Last year I blogged regarding the end of support for .Net Frameworks (4, 4,5 & 4.5.1), starting January 12, 2016 and it’s not far away – please there will be no longer provide security updates, technical support or hotfixes for .NET 4, 4.5, and 4.5.1 frameworks. All other framework versions, including 3.5, 4.5.2, 4.6 and 4.6.1, will be supported for the duration of their established lifecycle.

    It matters a lot – refer my earlier blog post and just make sure that you use a supported version of the .NET Framework is installed in your environment, on Windows desktops and servers; it includes Azure and other cloud service deployments. You can use the article to find out “How to determine which .Net Framework versions installed at your computer”. Refer @ https://msdn.microsoft.com/en-us/library/hh925568(v=vs.110).aspx. In addition, you can refer my related blog post http://blogs.msdn.com/b/deva/archive/2015/12/22/ok-now-how-to-find-net-version-installed-in-any-given-environment.aspx as well.

    Detailed info is available at DotNet Blog post - http://blogs.msdn.com/b/dotnet/archive/2015/12/09/support-ending-for-the-net-framework-4-4-5-and-4-5-1.aspx. It includes interesting info (refer the below snapshot) for products like Exchange, SharePoint, Lync/Dynamics etc. For more details on the .NET Framework support lifecycle, visit the Microsoft .NET Framework Support Lifecycle Policy FAQ. Additionally, compatibility of the .NET framework can be viewed on the .NET Application Compatibility page.

    Deva blogs 

    Hope this helps.

  • Le Café Central de DeVa

    Dev Update: Visual Studio 2015 Update 1 & Windows SDK for Windows 10

    • 3 Comments

    Are you the developer who downloaded/use Visual Studio 2015 Update 1 which we released last week? If yes, the there is no need to install the Windows SDK for Windows 10 – it’s already included in it.

    Le Café Central de Deva

    If you are using a different development environment than Visual Studio 2015, you can download a standalone Windows SDK for Windows 10 installer.
    You can download the Windows Standalone SDK for Windows 10.

  • Le Café Central de DeVa

    Download Microsoft Visual Studio 2015 Update 1

    • 0 Comments

    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:

    . Le Café Central de Deva

    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 Bug Fixes, known issues and related releases etc. – refer the below snapshot:

    Le Café Central de Deva

    Hope this helps.

  • Le Café Central de DeVa

    Introducing Open Live Writer - Open Source Fork of Windows Live Writer

    • 0 Comments

    Windows Live Writer released as the open source Open Live Writer. It’s a great day for bloggers who have a favorite tool for creating content. Yes I use Windows Live Writer for my blogging and it changed my way of blogging. Today Microsoft announced that Open Live Writer was released and has been contributed to the .NET Foundation. Open Live Writer is an open source application enabling users to author, edit, and publish blog posts. You can download it from http://openlivewriter.org/

    Le Café Central de Deva - Open Live Writer 

    For more information, you can refer:
    - Post from Scott Hanselman @ http://www.hanselman.com/blog/AnnouncingOpenLiveWriterAnOpenSourceForkOfWindowsLiveWriter.aspx.
    - Detailed post available at DotNetFoundation @ https://www.dotnetfoundation.org/blog/open-live-writer 

    Hope this helps.

  • Le Café Central de DeVa

    IT Pros: Can I use Office 2013 side by side with Office 2016?

    • 1 Comments

    This is the famous question asked while interacting with IT pros – “Can I use Office 2013 side by side with Office 2016?” and they notice the following error message when they try to install:

    Office 2013 side by side with Office 2016

    Let me take a bit and explain in-detail.

    - Click-to-Run is the technology used to install Office 365 subscription and most other Office 2013 products. Windows Installer technology (MSI) is used to install the volume license editions of Office, like Microsoft Office Professional Plus 2013 and Microsoft Office Standard 2013.
    - Unfortunately, you can't have Office products of the same version (like 2016) that use two different installation technologies installed on the same computer. You also can't have different versions of Click-to-Run installed on the same computer, for example Office 2013 and 2016. This also applies to standalone applications like Visio, Project, Skype for Business, or OneDrive for Business.
    - It is possible to install volume license editions of Office (MSI) and Office Click-to-Run versions that are not the same version on the same computer. For example the volume license version of Office 2013 (MSI) and Office 2016 ProPlus (Click-to-Run).
    -  For most Office 365 subscriptions you cannot install Office 2016 with Office 2013. When Office 2016 is installed Office 2013 will be removed.

    For more information, you can refer: https://support.office.com/en-US/article/Office-installed-using-Click-to-Run-and-Window-Installer-on-same-computer-isn-t-supported-30775ef4-fa77-4f47-98fb-c5826a6926cd

    Hope this helps.

  • Le Café Central de DeVa

    Day # 2 - Microsoft Connect(); //2015 - Developer conference

    • 0 Comments

    Today is the day # 2 of . Today we will watch more on Here is the schedule builder using which you can see more info about the event schedule/session info/speakers info etc @ https://channel9.msdn.com/#programGuide

    Kindly make use of it...

  • Le Café Central de DeVa

    Invitation for Microsoft Connect(); // 2015 - Developer Conference

    • 0 Comments

    Microsoft is a developer company, so there’s nothing we love more than connecting with developers to share our latest tools, technologies and plans for the future. I therefore invite you to set your calendar for November 18-19 for Connect (); // 2015 – when Microsoft hosts its premier fall developer event, streamed live and for free, from New York City to developers around the world.

    Microsoft Connect(); - Deva blogs

    Keynotes and technical sessions will feature news, demos and insights that illustrate how developers are working with Microsoft to capitalize on their evolving roles with powerful and flexible tools that embrace today’s open environments to target Android, iOS, Linux, Windows and more. This year’s event will demonstrate the tremendous progress we’ve made on the journey toward a new Microsoft for developers that began last year with the announcements of a cross-platform .NET for Linux and OSX available as open source and the new Visual Studio Community edition for targeting nearly every major device and OS, available for free.

    Connect(); will feature a marquee lineup of speakers joining to talk code, leading the shift toward mobile first, cloud first computing scenarios.

    Join and make use of it. It's live on Air now....
  • Le Café Central de DeVa

    Outlook 2016 - When you try to create a macro in Outlook receive error messages "Unexpected error, quitting" and "Out of memory"

    • 0 Comments
    One of my customer reported that he installed Office 2016 on a PC and tried creating a macro in Outlook then he received error messages "Unexpected error, quitting", followed by "Out of memory".

    Le Café Central de Deva - Deva blogs

    We tried opening the Outlook VBA Editor, unfortunately it doesn’t open either. Alternately we checked and made sure that they don’t see the same behavior with other office apps like Excel, Word as the macro works without any problem. In general, if an Office application isn’t working properly, sometimes restarting it will fix the problem. If that doesn’t work, you can try repairing it. When you’re done, you might need to restart your computer.

    So in this scenario, as part of troubleshooting, we tried repairing the Outlook using the following steps: Start > Control Panel > Programs > Programs and Features > Select Office 2016 > Change > select “Quick Repair” or “Online Repair” and click “Repair” button.

    Le Café Central de Deva - Deva blogs

    It performed the repair based on the user selection. On successful repair, he can successfully create the Outlook macro & helped him move forward.

    Hope this helps.

  • Le Café Central de DeVa

    Lets try - Find out how many apps you have installed using PowerShell?

    • 0 Comments

    You can check how many apps by using the following Windows PowerShell script. To do this, we can use the Get-StartApps cmdlet to get the names and AppIDs of apps in the Start screen of the current user. An AppID is an AppUserModelID. For more info, you can refer documentation. Let get started.

    First we will see how get all apps on the Start Screen.

    Activity # 1: Get all apps on the Start Screen:
    From Start menu > Windows PowerShell > Type Get-StartApps
    Le Café Central de Deva  - Deva blogs

    This command gets all the names and IDs of apps in the Start screen for the current user.

    Activity # 2:Number of apps installed - Try the following steps:

    From Start menu > Windows PowerShell > Type Get-StartApps | measure

    Le Café Central de Deva - Deva blogs
    The above script will help you get the count/number of apps (refer the value of Count above) you have installed.

    Activity # 3 - List of apps:
    If you want to get the list of apps installed then you can slightly modify the script, so that we can write it in to an output file:

    Le Café Central de Deva  - Deva blogs

    Hope this helps.

  • Le Café Central de DeVa

    Error: After Office 2016 upgrade Outlook 2016 fails to connect Exchange Server 2007

    • 2 Comments

    After upgrading to Outlook 2016 for Windows fails to connect Exchange Server 2007 mailbox and you get the following error message.  Also when you open Outlook, you get error message that Outlook can't open your data files.

    Le Café Central de Deva - Deva blogs

    These errors occur because Outlook 2016 for Windows doesn't support Exchange Server 2007 and earlier versions.

    In such scenario, I would suggest you to look at the related article talks this and provides solution moving forward as well.

  • Le Café Central de DeVa

    Video: What’s new in Office 2016 for Mac?

    • 0 Comments

    This video highlights top 10 reasons (like redesigned ribbon, cloud connected, keyboard shortcuts etc.) why you need to get new Office 2016 for Mac. You can look at the related article to get it started.

    Also if you want to know more then please have a look at the related video which talks about detailed overview of Office 2016 for Mac:

    Enjoy!!

  • Le Café Central de DeVa

    Office IT Pro: Deployment scripts for Office 2016

    • 0 Comments

    Le Café Central de Deva - Deva blogs

    To help IT pros with Office client deployments using PowerShell to streamline the process we created a community project.  It contains all of the scripts on our GitHub repository in five categories:

    - Preparation
    - Information
    - Deployment
    - Management
    - Updates

    image

    Also please visit the related Wiki, which contains useful information designed to provide context for using these scripts in real-world situations. So its your go-to source for all information related to Office IT pro deployment scripts. It holds information explaining completed scripts, upcoming scripts and general information around contributing to the project. You are invited to contribute to the Office IT Pro deployment scripts GitHub Project; also you can get more information here and https://github.com/OfficeDev/Office-IT-Pro-Deployment-Scripts/wiki/Contribute.

    Make use of this project and take advantage of these scripts Smile

  • Le Café Central de DeVa

    Exchange Server 2016 hands-on demo videos

    • 0 Comments
    We’ve got some great Exchange Server 2016 resources that I wanted to share, including some hands-on demo videos that I think you’ll enjoy.

    Collaboration updates – Outlook, Exchange, SharePoint, Onedrive:

    Exchange Server 2016 Smarter inbox – Search and customization updates:



    Exchange Server 2016 & Outlook on the go – Mobile, browser and productivity updates:


    Exchange Server 2016 – Performance, architecture and Compliance updates:

  • Le Café Central de DeVa

    TechNet Wiki @ Microsoft Exchange Server 2016

    • 0 Comments

    Recently I published Wiki @ TechNet for Microsoft Exchange Server 2016 with related links(download, prerequisites, system requirements, Install, Prepare, Whats discontinued etc)… So please have a look at it which will help you to get started.

    Le Café Central de Deva - Deva Blogs

    If you are a fellow expert on Microsoft products, please visit to our TechNet Wiki and contribute @ (http://technet.com/wiki). Also if you find related articles/pages/links for Exchange Server 2016 you can contribute at this wiki as well. 

    So lets contribute and help the community Smile

  • Le Café Central de DeVa

    Dev Kids: Download Small Basic 1.2

    • 0 Comments

    We are excited to announce that a new version of Small Basic is now available with some cool new Kinect objects, language improvements, and bug fixes.  If you don’t know, Small Basic is Microsoft’s free BASIC programming environment for kids and is part of a family of easy-to-use free coding tools for kids that includes Kodu Game Lab and Touch Develop.  For more information, please visit the related blog postby my peer Michael Scherotter.

    Download Small Basic 1.2 now and give a try!

      

    image

    We are sure that you will think of something cool to do with Kinect and Small Basic as we’ve tried to make it as easy as possible to start programming with a Kinect sensor.  If you have used the Kinect sensor already, you will probably realize that only a portion of its capabilities are exposed today in Small Basic 1.2. 


    You can do even more with the Kinect for Windows SDK 2.0, like define visual gestures and use the microphones built into the Kinect sensor.  So you can be a hero and start teaching Small Basic to kids, you can find tutorials, curriculum, community, and samples here.

  • Le Café Central de DeVa

    Office Dev: Office 2016 for developers

    • 0 Comments

    Last week we announced the release of Office 2016. Next interesting stuff pops in our mind is that what’s new in Office 2016 for the developers. I want to mention few of them here:

    - New names for apps for Office and SharePoint – I blogged about this earlier, New name for Apps for Office and SharePoint? Office and SharePoint Add-ins
    - Add-in commands for mail - Overview of add-in commands for mail
    - Manifest for add-in commands - Create a manifest for add-in commands
    - Provides access to properties for Office theme colors - Context.Theme property 

    So the next question would be where to get started? Visit http://dev.office.com, check for http://dev.office.com/getting-started/addins and try it out.

    In addition, you can refer the Office Dev blog post which talks more about it & make use of it.

  • Le Café Central de DeVa

    Microsoft Exchange Server 2016 available now

    • 0 Comments

    Earlier I talked about Exchange Server 2016 Preview, now Microsoft Exchange Server 2016 is here and available now. This release brings the Exchange bits that already power millions of Office 365 mailboxes to your on-premises environment.

    With Exchange Server 2016, lets you accomplish more with rich Outlook experiences on phones, tablets, desktop, and the Web. Integration with Outlook, SharePoint, and OneDrive for Business helps you experience collaboration better when receiving, editing, and sharing documents without ever having to leave Outlook. New search capabilities deliver faster performance and more accurate results. Inbox enhancements in Outlook 2016 and Outlook on the web, such as inline previews for URLs and inline video, help you stay focused and productive. A simplified architecture brings new levels of reliability with automated repair and faster recovery. Expanded data loss prevention, easier auditing, and faster and more reliable eDiscovery help your organization comply with legal requirements.



    For more information you can refer the following resources:

    - Exchange team blog post 
    - Download Microsoft Exchange Server 2016
    - Exchange Server 2016 documentation
    - Exchange Server 2016 Product Guide

    Enjoy.

  • Le Café Central de DeVa

    Step-by-Step : Accessing Exchange mailbox using Exchange MAPI/CDO and MFCMAPI

    • 0 Comments

    One of my customer updated that he downloaded the MFCMAPIat his Exchange Server 2010/2013, when he ran he noticed the following error – he wanted to access the exchange mailbox programmatically.

    Le Café Central de Deva - Deva blogs

    Then he noticed the following error as well:

    Le Café Central de Deva - Deva blogs

    To start with he needs Exchange MAPICDO, as Microsoft Exchange MAPI and CDO 1.2.1 provide access to these APIs. As you know starting with Exchange Server 2007-Exchange Server 2013 , neither the Messaging API (MAPI) client libraries nor CDO 1.2.1 are provided as a part of the base product (Exchange) installation. As a result, there is functionality missing that many applications depend on. He can downloaded the latest Exchange MAPICDO (March 2014) from here.

    Le Café Central de Deva - Deva blogs

    After installing it, he need to create MAPI profile programmatically using his custom MAPI application or make use of Dave's blog posts for profile creation using MFCMAPI (added below):
    - for Exchange 2010 mailbox
    - for Exchange 2013 mailbox
    - same profile to use Exchange 2013 & legacy Exchange versions 

    On successful profile creation, he successfully logged to the mailboxes correctly, access the data without any problem.

    Le Café Central de Deva  - Deva blogs

    Hope this helps.

  • Le Café Central de DeVa

    AzureCon 2015 sessions – Journey to the intelligent cloud and Azure for developers

    • 0 Comments

    As I promised earlier that I will get the sessions that I attended – sharing them for your view – btw, you can see sessions @ our Channel 9 site:

    Journey to the intelligent cloud: In this session Scott Guthrie talked about the “Journey to the intelligent cloud” – as we know that cloud is helping business and technical leaders worldwide turn the digital disruption into their advantage. How can you do the same? Gain insights from organizations successfully transforming using cloud, hear best practices first hand from customers and learn about some of the latest Microsoft innovations to enable your journey to the cloud.



    Azure for developers: In this session Scott Hanselman talked about this wonderful session “Azure for developers”. This session talks about the never-ending stream of cloud innovation that developers must know about, but at the same time there’s confusion about all of the different ways to build apps for the cloud. It’s not easy to put all of these pieces together and see the big picture. When do you use PaaS versus IaaS? How should you handle all of the data associated with your apps? Should you consider a microservices architecture or stick with something more traditional? Well, this session will help you make sense of Azure without drilling into any specific service. Gain a thorough understanding of the components of Azure and how you can take advantage of them as a developer.  Please make use of it.

  • Le Café Central de DeVa

    AzureCon 2015

    • 0 Comments

    On September 29, 2015 you can attend the free, virtual event titled “AzureCon 2015”. You can hear from the experts about the latest Azure innovation and easy-to-adopt solutions. Listen as customers take the stage to share their stories. Join live Q&As and interact with the architects and engineers who are building the latest features. Also you can choose from more than 60 technical sessions—and accelerate your journey to the cloud. You can find more information and register for the event by clicking here.

    AzureCon 2015

    Already I registered for it and wish you to join with me as well. As my interest lies in “Developer stack” sessions –few of them would be:

    Azure for developers
    Overview of the Azure Service Fabric
    Processing NFC tag reads in a logic app
    Make your enterprise mobile with App Service, Data Sync, and Xamarin
    Cortana analytics for developers: embedding machine learning into your applications
    Applying Azure Machine Learning to software development
    Azure App Service, the fastest way to build web and mobile apps

    Register, Attend, Learn, Ask and make use of it.

  • Le Café Central de DeVa

    Looking for Visual Studio 2015 SDK download… wait, read this first?

    • 1 Comments

    As you know now Visual Studio 2015 is RTM-ed and you have started to use it for building applications. Recently I came across a query from a developer, from where they can download Visual Studio 2015 SDK – as they used it to create tool windows, menu commands, editor extensions, isolated shell projects, and other extensions for Visual Studio. Unlike the earlier versions, the Visual Studio 2015 Software Development Kit (SDK) is no longer offered as a separate download. Instead, Visual Studio Extensibility Tools (SDK and templates) are included as an optional feature in Visual Studio setup. For more information you can refer, https://msdn.microsoft.com/en-us/library/bb166441(v=vs.140).aspx

  • Le Café Central de DeVa

    MAPI developers: MAPI/CDO library discontinued from Exchange 2016…

    • 0 Comments

    If you’re an Exchange MAPI developer/ISV/Vendor who relies on Exchange MAPI/CDO then this blog post is for you.

    Do you know Exchange MAPI/CDO library is discontinued from Exchange 2016? Please refer @ “What is discontinued at Exchange Server 2016” which talks about the same (refer snapshot as well) and provides recommendation moving forward as well…

    MAPI/CDO library discontinued from Exchange 2016

    In addition, you can refer Dave’s blog post on this as well. Hope this helps.

Page 1 of 29 (714 items) 12345»