Wednesday, June 03, 2009

Deployment Project - Cannot open the file 'ASPNETCOMPILER'

I got this error when I try to deploy an asp.net 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".

0 comments:

My Achievements

Member of

Blog Archive

Followers

free counters