I created a website in VWD express 2008 , using asp.net 3.5, and deployed to an IIS 6 server (discountasp.net) without problems I then upgraded to VWD express 2010, asp.net 4.0, and reopened the same website in this environment. After some minor adjustments
it ran fine on the development server. When redeploying on an IIS 7 server on discountasp.net, i ran into trouble. The support team at my host advised me to debug on a an IIS 7 server locally. I have two questions: Is it OK for this purpose to debug locally
on IIS 7 express? If not, how do i setup VWD 2010 express to run on IIS 7 locally? Thanks
Right click on the Visual Studio icon and choose 'Run as Administrator'.
Right click on your project from the Solution Explorer in Visual Studio and select Properties. Then select the 'Web' tab and from there, select 'Use Local IIS web server'. Then give a project URL, something like 'http://localhost:888/'.
unfortunnatelly, I cannot use your tips, because i am using the express edition of VWD, and have a website, not a web project, so some of the menu items are not available
patrick.merm...
0 Points
2 Posts
Redeployment on IIS 7
May 11, 2012 11:43 AM|LINK
amit.jain
Star
11225 Points
1815 Posts
Re: Redeployment on IIS 7
May 11, 2012 12:50 PM|LINK
plz refer http://csharpdotnetfreak.blogspot.com/2012/07/publish-deploy-aspnet-website-iis7.html
and while deploying the site take care of framework version
amiT jaiN
ASP.NET C# VB Articles And Code Examples
Ruchira
All-Star
44216 Points
7184 Posts
MVP
Re: Redeployment on IIS 7
May 11, 2012 04:05 PM|LINK
Hello,
Right click on the Visual Studio icon and choose 'Run as Administrator'.
Right click on your project from the Solution Explorer in Visual Studio and select Properties. Then select the 'Web' tab and from there, select 'Use Local IIS web server'. Then give a project URL, something like 'http://localhost:888/'.
Now you will be able to debug with local IIS.
My Tech blog | My YouTube ChannelPlease 'Mark as Answer' if this post helps you.patrick.merm...
0 Points
2 Posts
Re: Redeployment on IIS 7
May 11, 2012 08:08 PM|LINK
Thank you both for your replies,
unfortunnatelly, I cannot use your tips, because i am using the express edition of VWD, and have a website, not a web project, so some of the menu items are not available