Le Café Central de
Deva             


                    ... Deva blogs!!



  • Le Café Central de DeVa

    Monitoring Event Sink # 33 - Troubleshooting : How to remove COM+ applications?

    • 0 Comments

    Usually we see that as existing applications become outdated or are no longer being used, you may need to remove them. I am trying to add couple of methods how you can try to remove COM+ applications in the best effort basis.

    Before using the methods, i would recommend you to consider the following info:

    • Exercise care when deleting and reinstalling individual components from a COM+ application. This process requires detailed knowledge about the component's classes, including their attributes, security configurations on interfaces and methods, and other settings.
    • Deleting an application also deletes any components that are contained in the application. If these components depend on additional resources (database connections, data or text files, Internet Information Services (IIS) virtual root configuration, and so on), these resources must be removed by using tools or utilities other than the Component Services snap-in.
    • Please make sure that you’re part of Membership in Administrators, or equivalent, is the minimum required to complete this procedure.


    Let me help you with various methods how we can remove COM+ applications:

    Method 1: Deleting COM+ applications using Windows Explorer

    • On the computer on which you want to delete the COM+ application, use Windows Explorer to locate the server application file (.msi) or application proxy file (.msi).

    • Right-click the .msi file, and then click Uninstall. Windows Installer automatically deletes the application.

    Method 2: Deleting COM+ applications using command line

    At the command prompt, type:

    msiexec -x <application_name>.msi

    Above, application_name is the value/name of the application to be deleted.

    These methods are especially useful for deleting COM+ applications on client machines that are not running the Component Services administrative tool.

    Method 3: Deleting COM+ applications using Component Services Snap-in

    • Open Component Services.

    • In the console tree, double-click Computers, and then double-click the computer for which you want to delete an application.

    • Double-click the COM+ Applications folder for the specified computer to display all the applications.

    • Click the application that you want to remove.

    • If you selected a server application, shut down the application. To do this, right-click the application, and then click Shut down. If you selected a library application, make sure that all processes that are currently using this library application are shut down.

    • Right-click the application. If Delete is not an option when you right-click the application, you must enable deletion of the application by doing the following:

      1. Right-click the application, and then click Properties.
      2. In the application properties page, select the Advanced tab.
      3. Under Protection, clear the Disable deletion check box.
      4. Click OK.
    • Right-click the application, and then click Delete.

    • In the Confirm Item Delete dialog box, click Yes to delete the application.

    Method 4: Deleting COM+ application using Windows Installer

    In addition, if a server application or application proxy has been installed on a computer using Windows Installer, you can delete it through the Add/Remove Programs utility in the Microsoft Windows Control Panel.

  • Le Café Central de DeVa

    Part 1 : Developer Roadmap – Development Technologies for Exchange Server 2010

    • 1 Comments

    This two part article is targeted for the developer audience, if you’re the developer who want to create a develop custom application for Exchange Server 2010 or already has custom application designed for previous versions of Exchange Server 2010.

    Some Exchange programming technologies that are available in versions of Exchange earlier than Microsoft Exchange Server 2010 are obsolete and have been replaced with other technologies. Per MSDN article, the programming technologies and APIs stated below have either been removed from Exchange 2010 or earlier versions of Exchange, are no longer supported for use with the current version of Exchange, or are no longer the recommended API to use to access Exchange.

    Recommendation: We recommend that you use Exchange PowerShell commands to administer Exchange configuration data.

    Recommendation: We recommend that you migrate your applications that use CDOEX to Exchange Web Services.

    Recommendation: We recommend that you migrate your applications that use CDOEXM to use Exchange PowerShell commands.

    Recommendation: We recommend that you migrate your applications that use CDOWF to use Windows Workflow Foundation Services.

    Recommendation: Notification-based applications that work with Exchange 2010 should use transport agents.

    Recommendation: We recommend that you migrate any CDO 1.2.1 applications to use Exchange Web Services.

    Recommendation: To ensure continued future compatibility, we recommend that you consider migrating your ICS applications to use Exchange Web Services notifications.

    Recommendation: We recommend that you migrate applications that use ExOLEDB to use Exchange Web Services.

    • Exchange Rules DLL is part of the sample code that shipped with the Exchange 5.5 and Exchange 2000 SDKs.

    Recommendation: We recommend that you migrate applications that use the Exchange Rules DLL to use either MAPI or Exchange Web Services notifications.

    Recommendation: Where possible, we recommend that applications that use Exchange Store Event sinks be migrated to use either transport agents or Exchange Web Services notifications.

    Recommendation: We recommend that you migrate backup and restore applications that use streaming backup to use the Windows Volume Shadow Copy Service (VSS).

    Recommendation: We recommend that you migrate applications that use Exchange WebDAV to use the Exchange Web Services.

    Recommendation: We recommend that you migrate applications that use Exchange WebDAV notifications to use Exchange Web Services notifications.

    Recommendation: We recommend that you migrate applications that use Exchange Web Forms to use either Windows SharePoint Services, or Active Server Pages.

    Recommendation: We recommend that you use Exchange PowerShell commands to administer Exchange configuration data.

    Recommendation: We recommend that you migrate applications that used WMI to use the Exchange PowerShell commands.

    Happy Programming!!

  • Le Café Central de DeVa

    How to - Troubleshooting errors when you try to use Regsvr32.exe with COM DLL ?

    • 0 Comments

    I am adding this with the respect to my previous blog post regarding error message on 64-bit windows when you try run regsvr32.exe. Usually we - the developer customers –face the issue when you try to register. I want to update you that how the RegSvr32.exe program registers and unregisters a Component Object Model (COM) dynamic-link library (DLL).

    Most often, RegSvr32.exe fails because the LoadLibrary, DllRegisterServer, or DllUnregisterServer function fails. In order to understand, we should understand how it works - RegSvr32.exe calls the following Win32 functions in this order:

    • OleInitialize
    • LoadLibrary to load the DLL
    • DllRegisterServer or DllUnregisterServer
    • FreeLibrary
    • OleUninitialize

    Most often, RegSvr32.exe fails because the LoadLibrary, DllRegisterServer, or DllUnregisterServer function fails. LoadLibrary can fail if the DLL is not in the specified path, or if the specified path is incorrect. LoadLibrary can also fail if one of the dependencies of the DLL that you are trying to load is not met; in other words, if a dependent DLL is not present or is not in the specified path.

    How to troubleshoot?

    • Your DLL must implement DllRegisterServer and DllUnregisterServer, which contain the logic that is necessary to add or delete the required registry entries for the COM component. RegSvr32.exe finds the entry point to these functions, and calls them appropriately.
    • You can use the Depends.exe tool to check whether or not all of the dependencies of your DLL are met. Depends.exe is included with the Microsoft Platform Software Development Kit (SDK), which ships with Microsoft Visual Studio. For example, i am trying to see the dependencies of ‘Notepad.exe’ using Depends.exe. (click to enlarge the picture)

    image

     

     

    Also i would recommend to refer the following KB article:  http://support.microsoft.com/kb/207132/en-us – which has a win32 application sample describes registry functions that you can use to register and unregister your COM DLL. You can also write your own code to do what RegSvr32.exe does. This helps to identify, isolate, and troubleshoot errors more easily.

    Happy troubleshooting!!

  • Le Café Central de DeVa

    Error message on 64-bit windows when you try run regsvr32.exe?

    • 2 Comments

    When you attempt to run Regsvr32.exe to register a 32-bit dll (dynamic link library) on a 64-bit version of Windows, you receive the following error message: Filename.dll is not an executable file and no registration helper is registered for this file type. This behavior is by design. This behavior occurs because the Regsvr32.exe file in the System32 folder is a 64-bit version. When you run Regsvr32 to register a DLL, you are using the 64-bit version by default.

    To resolve this issue, run Regsvr32.exe from the %SystemRoot%\Syswow64 folder. For example, type the following commands to register the DLL:

    cd \windows\syswow64
    regsvr32 c:\filename.dll

    Please note that the Syswow64 folder contains the 32-bit versions of Windows program files and DLLs.

    Hope this helps.

  • Le Café Central de DeVa

    KB : Outlook Object Model (OOM) limitations

    • 0 Comments

    I found this knowledge base article which talks about known limitation you may encounter with the Microsoft Outlook Object model. I found this interesting excerpt, “…unlike other Microsoft Office programs that have “full” object models, such as Microsoft Word and Microsoft Excel, the Outlook object model primarily focuses on items and the folders in which they're contained. This means that while you can manipulate items, forms, and certain aspects of folders, many of the commands or settings that are available through the user interface are not available when programming. The Outlook object model does not parallel the Outlook user interface..”. Interestingly the above also addresses the one of famous questions which we regularly encounter :)

    The article also covers the following topics:

    • Changing Option Settings
    • Changing Folder Properties
    • Changing the Mouse Pointer to an Hourglass
    • Changing the Status Bar
    • AdvancedSearch Method

    Also you need to note that the scope of this article is limited to using Visual Basic-based programming technologies with the Outlook object model, and may not take into account possible solutions using the Collaborative Data Objects object model or other Microsoft Exchange-related programming technologies.

  • Le Café Central de DeVa

    Can we change the Mouse pointer to an Hourglass in Outlook?

    • 0 Comments

    Many of us want to know whether any options exists to change the Mouse pointer to an Hourglass or custom of their own in Outlook?

    Per support knowledge base article, “…You cannot control the appearance of the mouse pointer using the Outlook object model. If you are writing code within Outlook that takes some time to process, you cannot directly force Outlook to display an hourglass pointer if Outlook does not do so automatically…”

  • Le Café Central de DeVa

    Download : Windows Phone Developer Tools RTW

    The Windows Phone team released the final bits for Windows Phone 7 - Developer Tools released to web (RTW). The tooling is free and will integrate with Visual Studio 2010 and Expression Blend 4 if you have them installed as well. This is the same powerful...
  • Le Café Central de DeVa

    Fix available for Silverlight application development using Visual Studio 2010

    Earlier i faced the following issue – i was creating a Silverlight application using Visual Studio 2010 and Silverlight. I noticed that after copying and pasting a Style Setter, then editing that Setter’s Property and Value, the XAML Editor displays an...
  • Le Café Central de DeVa

    Download : Application bar icons for Windows Phone 7 Series

    Please find the download - a set of application bar icons for use when developing Windows Phone 7 Series applications using the Windows Phone Developer Tools CTP. It contains a set of 64 application bar icons that you can use when developing applications...
  • Le Café Central de DeVa

    Download : Windows Phone Developer Tools Beta 1.0

    The same powerful and easy to use Visual Studio integrated developer environment (IDE) handles design and testing of Windows Phone 7 phone applications. You can download it from http://www.microsoft.com/downloads/en/details.aspx?FamilyID=c8496c2a-54d9...
  • Le Café Central de DeVa

    What’s new @ Xbox 306 game - “Halo: Reach”

    • 0 Comments

     

    Fans around the world are celebrating today’s release of “Halo: Reach,” the newest installment of the popular sci-fi video game series made exclusively for Xbox. Halo creators say the game is the franchise’s biggest and most ambitious to date.

    “Halo: Reach” is the fourth installment of the Halo franchise, but is a prequel to the first “Halo.” The newest game takes players to Reach, a sister planet to Earth, in the year 2552 just before a frightening surprise attack by a group of ruthless, terrifying alien invaders called the Covenant.

    Millions of fans worldwide are celebrating today’s release of “Halo: Reach,” the newest installment in the Xbox 360 sci-fi saga. Many fans attended launch parties held around the world on Monday, including in London, New York City’s Times Square, and Seattle.

     

    Others lined up outside their local video game retailer to buy the newest installment of Halo at midnight. Still others stocked up on Halo-themed Mountain Dew and Doritos, preparing to hunker down and devote some serious hours to the new game.

    In 2007, Halo 3 shattered records as the biggest-ever entertainment launch, and “Halo: Reach” is on track to also be one of the largest game releases in history. More than 2.7 million people played the public multiplayer beta of “Halo: Reach.”

    To promote the new game, Xbox released live-action Web movies leading up to the launch that depicted the lives of everyday citizens on the planet Reach before the invasion, once again stirring up murmurs about a possible Halo movie…

  • Le Café Central de DeVa

    What’s new: Microsoft LifeCam with 1080p HD Sensor

    • 1 Comments

    LifeCam Studio


    Microsoft unveiled a new standard in webcams with LifeCam Studio, featuring sharp high-definition (HD) video with a true 1080p sensor. What i heard is it’s the perfect complement to Windows Live Messenger 2011, which will offer HD video calling in a 16:9 widescreen format so everyone can easily be seen in the video call with amazing detail. When people can’t attend an important life moment in person, LifeCam Studio delivers the closest thing to being there.

    I compiled the following info which contains its specification, features and reviews:

    * LifeCam Studio delivers superior sharpness and image quality in video calls.
    * The native 1080p sensor is more than twice as large as the 720p HD sensors on the market and lets more light in so people experience great video in virtually any lighting condition.
    * Whether the sun is streaming in the window or the user is lit only by the light from the computer monitor, LifeCam Studio brings friends and family closer than ever before.
    * The launch of Microsoft’s latest HD LifeCam comes at an exciting time for webcam users with the recent announcement that Windows Live Messenger 2011 will support HD video calling this fall.
    * 360-degree view range, which means that users can easily point the camera at themselves or around the room — no need to pick up an entire laptop and turn it around.
    * An elongated hood modeled after a high-end camera to help protect the lens from stray light to avoid washed-out colors.
    * TrueColor Technology automatically delivers bright and colorful video in virtually any lighting condition and helps keep the most important part of the video call — the face — properly exposed.
    * ClearFrame Technology helps keep video smooth and detailed even in low light…

    For more information about these and other Microsoft Hardware products can be found at http://www.microsoft.com/hardware.

  • Le Café Central de DeVa

    Developer Hub : Windows Phone 7 Jump Start training

    With continuation to my previous blog post (Windows Phone 7 Design and Development), i am adding couple of sessions, and a link to their course material .  Windows Phone 7 Jump Start (Session 1 of 12): Introduction A quick tour of Windows Phone 7...
  • Le Café Central de DeVa

    Developer Hub: Getting started with Windows Phone 7 design and development :)

    Being a WP7 developer, i am here to share the following few of the useful design and development tools, sites, videos, tutorials, labs, training kit, Microsoft forums and a lot to start. There are tons of information available in MSDN, TechNet, Channel9...
  • Le Café Central de DeVa

    Download : Office 2010 Primary Interop Assemblies (PIA) Redistributable

    • 1 Comments

    The Microsoft Office 2010 Primary Interop Assemblies (PIA) Redistributable is a Microsoft Windows Installer package that contains the Primary Interop Assemblies for Microsoft Office 2010 products.

    The redistributable contains the PIAs for the following products:
    • Microsoft Access 2010
    • Microsoft Excel 2010
    • Microsoft InfoPath 2010
    • Microsoft Outlook 2010
    • Microsoft PowerPoint 2010
    • Microsoft Project 2010
    • Microsoft Publisher 2010
    • Microsoft SharePoint Designer 2010
    • Microsoft Visio 2010
    • Microsoft Word 2010

    You can download it from http://www.microsoft.com/downloads/en/details.aspx?FamilyID=938fe8ad-583b-4bd7-a345-23250dc15855
Page 1 of 1 (15 items)