View Single Post
  #1 (permalink)  
Old July 18th, 2011, 08:24 AM
bh81 bh81 is offline
Authorized User
Points: 95, Level: 1
Points: 95, Level: 1 Points: 95, Level: 1 Points: 95, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jul 2011
Posts: 24
Thanks: 3
Thanked 0 Times in 0 Posts
Default Publish successful but not really

I am not sure what is going on here, I used to publish OK no problem but it suddenly failed.

First of all, it complained about me not running as the administrator - even though it used to work if I just run VS2010 (without running as the administator). So I opened VS2010 and run as the administrator. Rebuilding the app was OK. Then when I published with "Delete all existing files prior to publish", most (if not all) of my project files went to recycling bin!!!

I recovered them by copying them back in place, and start again. This time, debug and the rest OK. If I run at debug mode everything is working.

This time I publish with "Replace matching files with local copies", it published OK but the app still doesn't work. After a few publish (without changing anyting), it starts throwing out error on publish "Unable to add 'Web.config' to the Web site. Unable to add file 'Web.config'. The process cannot access the file because it is being used by another process." App still doesn't work but works perfectly in debug.

I did a few more publish, sometimes it succeeded, sometimes it failed on error as stated above.

Please help.....there I was thinking that my app is ready for release

Thanks in advance.



I have everything working