DotNetKick.com is an open-source project. Please report any bugs and let us know your great suggestions. Currently running svn revision 620 (rss)

Kick Spy!, Kick Zeitgeist and Kick Widgets

snickers5x5 Subscribe to this feed
snickers5x5
Profile Kicked Submitted Comments Tags Friends Kicked By Friends Submitted By Friends


Comments:

Great article on how to get using NAnt and automating your builds for web projects. However, I did have some trouble after trying to implement this for a project of my own. I believe that it is more to do with IIS and how this NAnt script is set up to create the virtual directory etc. After successfully running the deploy build (which pretty much does everything else in the series except the testing) I was unable to browse to the new site. I received an error "Server Application Unavailable". It also left the following in my Application Event log. "Failed to execute the request because the ASP.NET process identity does not have read permissions to the global assembly cache. Error: 0x80070005 Access is denied."

After searching for a while all over Internet-land, I came across the following blog post and comments that solved my problem. http://blog.devstone.com/aaron/archive/2005/12/17/1379.aspx. A comment I found useful on this post was a suggestion to use the Permissions wizard on the web application through IIS. Resetting it to its own permissions solved my problem and now it runs great.

I believe there may be something in the NAnt.Contrib.Tasks.dll library that may be able to handle the permissions options in the build script.

Excellent series. I feel much more confident starting up my own build process now with NAnt, looking foward to trying the CC option as well.
posted by snickers5x5 2 years, 2 months ago
 

Sponsored Link: www.carlist.ie

Search:

Ads via The Lounge