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.
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!
gordon1221
Member
12 Points
117 Posts
Deployment Error
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.
necro_mancer
Star
7981 Points
1566 Posts
Re: Deployment Error
Jan 09, 2013 06:59 AM|LINK
hi gordon,
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!
Professional SQL 2008 R2 Service
gordon1221
Member
12 Points
117 Posts
Re: Deployment Error
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.
Angie xu - M...
All-Star
18045 Points
1550 Posts
Microsoft
Re: Deployment Error
Jan 15, 2013 06:10 AM|LINK
Hi gordon
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,
Kind regards
Feedback to us
Develop and promote your apps in Windows Store