find a location for property in a new city

Thursday 20 October 2011

Unable to remove directory. Access to the path 'mswasri.dll' is denied when packaging an Azure project

When trying to build a package using the Azure SDK built into Visual Studio 2010 I sometimes get the error message "Unable to remove directory "bin\Release\CloudPackage.csx\". Access to the path 'mswasri.dll' is denied."

This stopped me from being able to build Azure cloud package ready for deployment. I tried changing my cloud package .csx file to read only but it just changed back. I tried deleting it but it was in use.

This gave me a clue. I run my local copy of my Azure site through my local IIS. I think this was locking the site and thus preventing it from being packaged.

Solution

The way to solve this problem that I found to work best was to find the Application Pool that is running the web application in my local development environment and stop it. This allows me to successfully package my web application ready from deployment to the Azure cloud!

Follow britishdev on Twitter

32 comments:

  1. actually I'm able to build the package by shutting down the compute emulator.

    anyway, this should not happen. I'm admin, and UC is disabled... I guess VS should be able to terminate/reboot the CE when necessary.

    ReplyDelete
  2. I had the same error with http://fix4dll.com/msvcr110_dll. But be careful with downloading dlls from the interenet,this file can be filled with any virus, which could harm your PC in the future.

    ReplyDelete
  3. Motifz Designer Lawn. 1, 2 & 3 Piece Unstitched Premium Embroidered Lawn 2019, Premium embroidered Lawn, Premium lawn, Premium lawn 2019, Motifz, Premium lawn in Pakistan. Shipping worldwide. Stitching option available.

    ReplyDelete
  4. You may not know but even when don't have Instagram account, you can still see all posts with imgrum you don't need to sign in or have an account to see all the public photos, search for a account or hashtags.

    ReplyDelete
  5. Blackbird packaging provide you with any size, shape design, candle boxes sooner than any other packaging competitor in the market

    ReplyDelete
  6. Packaging town is a one stop solution for the short-run cbd facial oil boxesneeds and supplies. At affordable prices. Request a free quote now.

    ReplyDelete
  7. This stopped me from being able to build Azure cloud package ready for deployment. I tried changing my cloud package .csx file to read only but it just changed back. I tried deleting it but it was in use. gold chain germany , gold chain usa

    ReplyDelete
  8. buy bath bomb boxes online from blackbird packaging at best prices. get free shiping

    ReplyDelete
  9. buy bath bomb boxes online from blackbird packaging at best prices. Get Free shipping

    ReplyDelete
  10. buy grocery online in pakistan from alfatah at best prices. Get free shipping

    ReplyDelete
  11. Buy t-shirts for men online from Wild Goat Clothing at best prices. Get free shipping

    ReplyDelete
  12. Blackbird packaging provide you with any size, shape design, cbd cartridge box sooner than any other packaging competitor in the market

    ReplyDelete
  13. Thanks a lot for sharing us about this update. Hope you will not get tired on making posts as informative as this. keep up and it's time to avail this Best Garage Door Supplier in Riverside visit here for more details.

    ReplyDelete
  14. buy speed vest from dshred at best prices deliered at your doorstep. Get free shipping

    ReplyDelete
  15. thanks for the interesting post. this time to take advantage of laminate floors in miami visit for more details.

    ReplyDelete
  16. Thank you for helping people get the information they need. Great stuff as usual. Keep up the great work! this time to take advantage of Remodeling Services in Sacramento CA visit for more details.

    ReplyDelete
  17. Thanks for writing such a good article, I stumbled onto your blog and read a few post. I like your style of writing. this time to take advantage of Air Conditioner Repair in North Richland Hills visit for more details.

    ReplyDelete
  18. Buy electronics online in Pakistan from alfatah at best prices delivered at your doorstep. Get free Shipping

    ReplyDelete
  19. Buy sports bra pakistan online from Dshred at easy prices delivered at your doorstep. Get free shipping

    ReplyDelete
  20. Buy trousers pakistan from ndure at best prices delivered at your doorstep. Get free shipping

    ReplyDelete
  21. Buy tank tops for men online dshred at best prices delivered at your doorstep. Get free shipping

    ReplyDelete
  22. Buy tank tops for men from dshred at best prices delivered at your doorstep. Get free shipping

    ReplyDelete
  23. Buy chino shorts online from Ndure at best prices delivered at your doorstep. Get free shipping.

    ReplyDelete
  24. Buy hand bags online from Al-Fatah at best prices delivered at your doorstep. Get free shipping

    ReplyDelete
  25. It’s a great post, you really are a good writer! I’m so glad someone like you have the time, efforts and dedication writing, for this kind of article Helpful and Useful.
    Exterior Painting Services in Knoxville TN

    ReplyDelete
  26. From Ndure buy online the latest fashion track suits for women online at affordable price. Fast Shipping.

    ReplyDelete
  27. Your blogs are great.Are you also searching for Nursing assignment writers ? we are the best solution for you. We are best known for delivering great nursing assignments.

    ReplyDelete
  28. Thanks for sharing your informative. Keep it up. Thank you so much again.
    Digital Marketing Company in noida

    ReplyDelete