How to unpublish a .Net application

I published a C # .net application in the wrong folder. I am using VS 2005. How do I disable the application to be able to republish in the correct folder.

I tried just posting to a different folder and now the app won't launch from anywhere.

+2


a source to share


4 answers


You will need to manually delete all published files from the wrong folder.



There is no "remind" / "unpublish" function in VS. All "publish" is compilation and copying of compiled files and other included files and folders (images, css, js, etc.) to the specified directory.

+5


a source


A publish is essentially just a copy of the embedded app to the destination folder as far as I know. This points to another problem in your application as the source of your error.



+3


a source


Most likely, your application is not running from any folder because it is configured to use asp.net 1.1, or it does not have asp.net installed on the server at all. If it is installed and both 1.1 and 2.0+ are installed, it will default to 1.1 and the folder should be configured to use 2.0+.

But other than that, you simply delete files from the server manually.

+1


a source


The publish function also creates an "Application" in IIS, so I will probably start by opening the IIS server with "Internet Information Services Manager" and remove the application with the wrong folder.

+1


a source







All Articles