Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jan 15, 2013 06:10 AM by Angie xu - MSFT
Jan 08, 2013 08:48 PM|LINK
I am attempting to deploy my web application in VS2010. I get through the Package/Publish Web with no issues. I deployed the package with IIS Manager. My issue is that when I view my deployed web application I can see my images and paragraphs but my controls
(labels, textboxes, dropdowns) are not displaying.
Any ideas of what I am doing wrong.
Jan 09, 2013 06:59 AM|LINK
To deploy your project, you need to fully compile your code and you just need to deploy the "published" version of your site. Hence, your source code is not visible to anyone.
Please follow the steps below:
1. Please open your project in Visual Studio tool
2. On the Solution Explorer Windows, please right click your project and select "Publish"
3. Please publish it to your local folder, such as C:\Project
4. You just need to upload all the files and subfolders you see on C:\Project to the server. You will also notice that all the .cs or .vb files have disappeard
Please mark this response as an "answer" if it helps you. Thanks heaps!
Jan 09, 2013 12:35 PM|LINK
I followed the steps listed above, FTP'd my folder to the server and I am still seeing the source code when I view my deployed application.
Jan 15, 2013 06:10 AM|LINK
This blog of Visual Studio 2010 Web Deployment, enable you to build automated deployment procedures that make deployment easily reproducible.
You could refer the overview of some of the key new web deployment features in VS 2010,
VS 2010 Web Deployment
Please follow the steps to web application deployment, I think it will be a good guide for you.
hope it helps you,