RSS
Showing posts with label Build tool. Show all posts
Showing posts with label Build tool. Show all posts

Deja vu Avec Nant & Continous Integration


Got lucky to try my hand at Continous integration once again.. I remember it has been like more than 5 years now that i had used Nant and CCnet for Continous Integration.

It was fun and challenging to use with the then rustic error messages thrown by both.also configuring the same was also a big pain..
Had asked a developer to get it setup for one of the teams projects as i was aware of the advantages of continous integration. but the developer wasn't able to get it up and running so finally had to get my hands dirty in CI.

Was surprised to see that even now almost after 4-5 years there is no guide/how to on setting it up and using it completely. even now ppl have to go through the site and exmaples which arent in reality what we look for..

Anyways enuf of cribbing .... ill put up a howto/guide on setting it up soon ,it wont be very soon as am quite tied up with different project releases and process implementation stuff.. but hopefully it should be out by mid Oct !!
Copyright © Shounak Pandit

Nant project is an enterprise template project The remote server returned an error: (403) Forbidden.



Starting solution build. BUILD FAILED Error checking whether 'http://localhost/ProjectDirectory/projectname.csproj'

is an enterprise template project. The remote server returned an error:

(403) Forbidden. Total time: 0.3 seconds.

that's the error that I got when the nant build script tried to build the Web Project I tried out diff stuff but didn't succeed for quite some time maybe was missing something important,dint know what to do then something struck me, when we define a virtual directory we have diff options.

And one of the important ones there is "script source access" especially in our case as we are trying to access the files in the virtual directory and build them using nant scripts

The reason for this happening is that IIS has a strict access setting for the virtual directories that it hosts and it doesn't allow any scripts to access the files in the virtual directory's physical folder and hence the message The remote server returned an error: (403) Forbidden



one of the way to solve this problem is by checking the option of script source access in the virtual directories properties



Here is the place where you can check the option to allow script access to your code files for getting rid of the Nant forbidden error
Copyright © Shounak S. Pandit. Powered by Blogger.

Ads