• SharePoint Workflow Error: This task is currently locked by a running workflow and cannot be edited

    Many times you were developing a Visual Studio workflow for SharePoint. You simply create a task using the "CreateTask" activity. After a while, you need to update the task and you do not have a valid correlation token to use the "UpdateTask" activity, for example, because you are creating a task inside a replicator (I will blog about this later). for example, inside your workflow you write...

    SPListItem item = workflowProperties.TaskList.Items.GetItemById(id)
    item["Status"] = "Completed";
    item.SystemUpdate();

    The last line will give you error "This task is currently locked by a running workflow and cannot be edited", a possible work around for this issue, is to ensure that the workflow version number of the task is 1 before you update. Your code should look like the following...

    SPListItem item = workflowProperties.TaskList.Items.GetItemById(id)
    item["Status"] = "Completed";
    item[SPBuiltInFieldId.WorkflowVersion] = 1;
    item.SystemUpdate();

    Happy Coding:)

  • SCVMM 2012 Beta Available Now

    you can download it from the following link:

    http://www.microsoft.com/downloads/en/details.aspx?FamilyID=e0fbb298-8f02-47e7-88be-0614bc44ee32

    Feature Summary

    • Fabric Management
      • Hyper-V and Cluster Lifecycle Management – Deploy Hyper-V to bare metal server, create Hyper-V clusters, orchestrate patching of a Hyper-V Cluster
      • Third Party Virtualization Platforms - Add and Manage Citrix XenServer and VMware ESX Hosts and Clusters
      • Network Management – Manage IP Address Pools, MAC Address Pools and Load Balancers
      • Storage Management – Classify storage, Manage Storage Pools and LUNs
    • Resource Optimization
      • Dynamic Optimization – proactively balance the load of VMs across a cluster
      • Power Optimization – schedule power savings to use the right number of hosts to run your workloads – power the rest off until they are needed
      • PRO – integrate with System Center Operations Manager to respond to application-level performance monitors
    • Cloud Management
      • Abstract server, network and storage resources into private clouds
      • Delegate access to private clouds with control of capacity, capabilities and user quotas
      • Enable self-service usage for application administrator to author, deploy, manage and decommission applications in the private cloud
    • Service Lifecycle Management
      • Define service templates to create sets of connected virtual machines, os images and applica tion packages
      • Compose operating system images and applications during service deployment
      • Scale out the number of virtual machines in a service
      • Service performance and health monitoring integrated with System Center Operations Manager
      • Decouple OS image and application updates through image-based servicing
      • Leverage powerful application virtualization technologies such as Server App-V

    System Requirements


    • Supported Operating Systems:Windows 7 Enterprise;Windows 7 Professional;Windows 7 Ultimate;Windows Server 2008 R2;Windows Server 2008 R2 Datacenter;Windows Server 2008 R2 Enterprise
    •  
      • Windows Server 2008 R2 (full installation) Standard, Enterprise, Datacenter x64
      • Windows 7 Professional, Enterprise, Ultimate x32, x64
      • Windows Remote Management (WinRM) 2.0
      • Windows PowerShell 2.0
      • Microsoft .NET Framework 3.5 Service Pack 1 (SP1)
      • Windows Automated Installation Kit (AIK) for Windows 7
      • SQL Server 2008 or SQL Server 2008 R2 Standard, Enterprise, and Datacenter
      • Windows Deployment Services (WDS) – (Version on Windows Server 2008 R2)
      • Windows Software Update Services (WSUS) 3.0 SP2 64bit
  • IE 9 is available for Download

    IE 9 is now available to download from here: http://windows.microsoft.com/en-US/internet-explorer/products/ie/home 

    This short video gives you a small sense of what we have been able to achieve as a company with the IE9 release.  To learn more about what’s in IE9, and to start experiencing a more beautiful web please visit: http://beautyoftheweb.com.

    Here are 9 facts about IE9:

    1. IE9 is the fastest adopted beta in IE browser history.  With over 40M downloads and a usage share on Windows 7 well over 2% globally, IE9 adoption has more than surpassed expectations.

    2. IE9 is enterprise ready.  IE9 has the highest LOB compatibility pass rate of any product in MSIT dogfood history –  99% – coupled with one of the lowest IE helpdesk contact rates (number of helpdesk calls/number of installs) to date.  And for our customers, IE9 is ready to go with their Windows 7 deployments.

    3. IE9 has the fastest JavaScript engine in the industry.  Script is one of many factors in performance. On a commonly used micro-benchmark, IE9’s improved JavaScript performance now holds the top spot in the industry, an improvement of almost 18 times from IE8.

    4. IE9 is the only fully hardware-accelerated browser.  All graphics, video and text in IE9 are hardware-accelerated.  We re-architected IE9 to take full advantage of the Windows PC.  IE9 was the first to introduce this concept and other browsers have been scrambling to catch-up.  See the difference for yourself.

    5. IE9 treats your favorite sites like apps.  The site is the center of attention in IE9’s new frame.  When you pin a site to the taskbar, your experience is even better.  Over 250 of the world’s top sites have already taken advantage of Jump Lists, notifications, and thumbnail previews to make their sites more app-like.  Web site publishers are seeing close to a 50% increase in engagement from their IE9 customers through pinned sites. 

    6. IE9 protects against 99% of socially-engineered malware.  Malware is the #1 threat on the internet today.  With Microsoft SmartScreen and the new SmartScreen application reputation feature in IE9, no other browser comes close in protecting consumers from these real-world threats.  IE9 is 33 times better than Chrome and over 5 times better than Firefox. 

    7. IE9 is the only browser with integrated online tracking protection for consumers.   Microsoft changed the browser and industry landscape with the introduction of IE9’s Tracking Protection, providing the only built-in browser solution protecting consumers today.

    8. IE9 is leading with site-ready HTML5 support.  IE9 is all in when it comes to delivering developers new standards-based capabilities with HTML5.   Microsoft co-chairs the W3C HTML5 working group and during the IE9 release has contributed almost 6000 test cases to the W3C and international standards bodies.  Currently, IE9 has the best conformance with W3C HTML5.

    9. IE9 has had the strongest press in IE history:   Here is a small sample of what reviewers are saying:

    clip_image001

    Enjoy Smile

  • Upgrading Legacy Email Address Policy

    The Set-EmailAddressPolicy cmdlet is needed for this.

    Open the Exchange Management Shell and enter the following command:

    Get-EmailAddressPolicy | where {$_.RecipientFilterType –eq “Legacy”}

    This will show a list of Recipient Policies that are available in your Exchange organization. We can use this output by piping it into the Set-EmailAddressPolicy cmdlet:

    Get-EmailAddressPolicy | where {$_.RecipientFilterType –eq “Legacy”} |
    Set-EmailAddressPolicy –IncludedRecipients AllRecipients

     

    The Recipient Policies are now converted you can open them in the Exchange Management Console. Please note that the examples mentioned above are pretty simple policies. If you have more complex policies please test this thoroughly. If you have any Mailbox Manager policies, these have to be removed.

  • Exchange Team Blog Moved to TechNet

    It was announced that this week Exchange Team Blog was moved to TechNet, the new URL is: http://blogs.technet.com/exchange.

    • All posts and comments have been migrated from the old blog
    • DNS redirects will begin to redirect http://msexchangeteam.com to http://blogs.technet.com/b/exchange, which can also be accessed using (a shorter URL) http://blogs.technet.com/exchange.
    • Links to old posts with msexchangeteam.com url will continue to work and redirect to the correct post page on the new blog.
    • Old RSS feeds will automatically redirect and continue to work, but we’d rather you update your RSS readers with the new feed(s)