views:

43

answers:

1

I'd like to add <compilation tempDirectory="MyPath"/> to the web.config of my webservice.

Is it possible to specify a relative path? or it can only take an absolute path?

A: 

From tempDirectory,

Specifies the directory to use for temporary file storage during compilation.

I think your best bet would be the absolute path; but, you can try the relative like:

<compilation tempDirectory="Default Web Site/YourApp"/>
KMan
I wanted to for the tempDirectory to be in the same as the webservice ... I tried tempDirectory = "Temp" ... and it complains about it needing to be an absolute path. :(
pdiddy