Wednesday, June 03, 2009

Deployment Project - Cannot open the file 'ASPNETCOMPILER'

I got this error when I try to deploy an web site.
"Cannot open the file 'ASPNETCOMPILER'. The document cannot be opened. It has been renamed,deleted or removed".

The solution is, take your deployment project folder out from the site folder (root).
For example : if your project path is "D:\Projects\Ads" then have the deployment folder in "D:\Projects\Deployment". Don't have the deployment folder in site's folder itself as "D:\Projects\Ads\Deployment".


My Achievements

Member of

Blog Archive