How to publish Silverlight 4 app using VS 2010 - Summer

Discussion in 'Visual Studio' started by Polybius, May 30, 2010.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. About 6 months ago, on 12/9/2009, I posted a thread entitled, How to publish Silverlight 4 app using VS 2010.

    Today, using VS2010 RTM, I'm trying to deploy a small "Hello World" Silverlight 4application to a real DASP account (instead of the free DASP Silverlight sandbox back then).

    I'm following the directions at this Knowledgebase article:
    http://support.discountasp.net/KB/a792/how-do-i-deploy-visual-studio-2010-web-application.aspx

    Unfortunately I can't get the deployment to work. Here is the result I get:

    [​IMG]

    Any thoughts or ideas will be appreciated. Thanks in advance.
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    Check if your firewall blocks port 8172.
     
  3. Bruce --

    On my development machine here I'm running Windows 7 Pro. I just tried turning off my Widows Firewall altogether, and then tried deploying again. But I get the same message:

    Would my turning off the Windows Firewall here circumvent the 8172 port issue completely, or shall I still look into that?

    Thanks for your help.
     
  4. mjp

    mjp

    Not necessarily. The port could be blocked on a hardware router, cable or DSL modem, etc.
     
  5. I'm using a pretty clean new machine running Windows 7 Pro, and VS 2010 RTM.

    As an experiment, instead of trying to deploy a Silverlight app, I just tried deploying a simple web application having just one page, Default.htm, but it failed.

    I still get the same error message.

    Here's an article that seems relevant. It's about the difference between Web Application Projects (WAP's) and Web Site Projects (WSP's), in VS 2010.

    http://vishaljoshi.blogspot.com/2009/08/web-application-project-vs-web-site.html

    From my experiments in the last couple of days, it appears to me that I'm able to successfully publish (via ftp) WSP's to Server web708 at DASP, but not able to publish WAP's (via Web Deploy).

    Has anybody else successfully used VS 2010 to deploy a WAP (Web Application Project) to DASP?

    Of course most Silverlight applications built with VS 2010 will be WAP's, I'm pretty sure. But this appears not to be a Silverlight problem.

    Any thoughts or ideas will be appreciated.
     
  6. Well, I finally figured this thing out. I should have read the directions more closely. Everyone else can learn by my mistake.

    Before trying to use VS 2010 to Publish a Web Application Project to my DiscountAsp.net account I should have first gone into the IIS Manager Tool of my DiscountAsp.net control panel, and checked the checkbox Select Users to Grant Microsoft IIS Manager access. Then, hit the Update button and wait about 5 seconds.

    Here's a screen print:

    [​IMG]

    After doing this, I am now able to Publish successfully.
     
  7. ...Woot!
    You did a great service by posting this.
    I'll try and get a webcast covering the IIS7 setup headaches done today.
    All the best,
    Mark
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page