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

40 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. Buy online wholesale printed custom cbd boxes and packaging at easy prices and shipping worldwide, with 24/7 customer support. Get a free custom quote now!!

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

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

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

    ReplyDelete
  9. 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
  10. Great Article
    Cloud Computing Projects




    Networking Projects



    Final Year

    Projects for CSE





    JavaScript Training in Chennai



    JavaScript

    Training in Chennai




    The Angular Training covers a wide range of topics including Components, Angular Directives, Angular Services, Pipes, security fundamentals,

    Routing, and Angular programmability. The new Angular TRaining will lay the foundation you need to specialise in Single Page Application developer.

    Angular Training

    ReplyDelete
  11. 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
  12. buy bath bomb boxes online from blackbird packaging at best prices. get free shiping

    ReplyDelete
  13. Blackbird packaging company can provide you with any size, shape design, and cbd bath bombs wholesale sooner than any other packaging competitor in the market

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

    ReplyDelete
  15. Blackbird packaging company can provide you with any size, shape design, and custom essential oil boxes sooner than any other packaging competitor in the market

    ReplyDelete
  16. We at Al-Fatah have perfected the floor care with the right variety of Vacuum Cleaners online available under one roof. Al-Fatah is a One-Stop Shop for all your home appliances buying needs. Buy best variety of Vacuum Cleaners in Pakistan at Al-Fatah. Shop Vacuum Cleaners of Top & Genuine Brands in Pakistan at Al-Fatah now!

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

    ReplyDelete
  18. Shop from a vast range of variety of imported and local stock of prams and strollers online from Al-Fatah. Get your hands on the new wide range of prams, strollers, baby toddler strollers and baby prams from all the top brands. Avail Free Delivery on orders above 1000 PKR for selected cities in Pakistan.

    ReplyDelete
  19. Do your grocery online in Pakistan at Al-Fatah, Pakistan's best and largest online grocery website. Shop from a wide range of grocery including oil and ghee, tea and coffee, dry fruits and seeds, dairy and fresh bakery items, packaged foods, snacks and beverages, baby care, household essentials, fruits and vegetables and many more.

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

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

    ReplyDelete
  22. Packaging town is a one stop solution for the short-run tuck top mailer boxes needs and supplies. At affordable prices. Request a free quote now.

    ReplyDelete
  23. Blackbird packaging provide you with any size, shape design, essential oil box packaging sooner than any other packaging competitor in the market

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

    ReplyDelete
  25. Packaging town is a one stop solution for the short-run custom pillow boxes needs and supplies. At affordable prices. Request a free quote now.

    ReplyDelete
  26. 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
  27. buy speed vest from dshred at best prices deliered at your doorstep. Get free shipping

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

    ReplyDelete
  29. 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
  30. 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
  31. Buy electronics online in Pakistan from alfatah at best prices delivered at your doorstep. Get free Shipping

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

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

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

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

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

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

    ReplyDelete
  38. 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
  39. buy online grocery in Pakistan at best prices delivered at your doorstep. Get free shipping.

    ReplyDelete