none
Silverlight Website HELLO WORLD not announcing from Visual Studio 2012 publication RRS feed

  • Question

  • Dear Silverlighter testing Azure;

    This was very dissappointing; I can't run Silverlight 5 on Azure.

    I downgraded to targeting Silverlight 4 and I have a test .XAP wrapped in a .HTML

    that I published to my website.

    I can't get it, see it, find it, or verify it is there with FTP.

    Uploading the .xap and .html takes forever. I'm running debug

    environment, so I'm aware that i'm uploading big symbol tables.

    What am i doing wrong ? Here is the publication log: 

    7:44:33 AM - Preparing deployment for 3-Month Free Trial with Subscription ID: ab7941ea-6c95-4812-b47a-6b1374d5e2cc...
    7:44:34 AM - Connecting...
    7:44:34 AM - Verifying storage account 'karron'...
    7:44:35 AM - Uploading Package...
    7:44:45 AM - Updating...
    7:47:38 AM - Created Deployment ID: 78c6542080d64758948c515af4a51c56.
    7:47:38 AM - Starting...
    7:48:12 AM - Initializing...
    7:48:12 AM - Instance 0 of role SilverlightApplication1.Web is ready
    7:48:13 AM - Created Website URL: http://karron.cloudapp.net/
    7:48:13 AM - Complete.

    But the page, if it is there, is not visible

    403 - Forbidden: Access is denied.

    You do not have permission to view this directory or page using the credentials that you supplied.

    Thinking the problem may be the lack of a default web page, I tried the .XAP wrapper

    SilverlightApplication1

    404 - File or directory not found.

    The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.

    http://karron.cloudapp.net/SilverlightApplication1.html

    404 - File or directory not found.

    The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.

    i can't ftp into the cloud site, i can't get a directory listing from the

    management console (unless there is an entry point i missed).

    I have an apache server we are testing with Silverlight as well. It is

    very disappointing that I have no diagnostic self help capabilities; I'm going to

    try uploading from Expression Web static .HTML if I can find a way to do it with FTP.


    dr Karron (drdbkarron) on facebook and drdbkarron@gmail.com

    Tuesday, August 28, 2012 12:11 PM

Answers

  • Hi,

    Do you ever add FTP endpoint in cloud service or virtual machine?

    You can also use Remote desktop to connect Azure VM and get more info about the deployment, for example, try to access the application from VM to see if works (Actually silverlight application need be downloaded from Azure platform if you browse it from on-premise machine).

    Hope this helps.


    Please mark the replies as answers if they help or unmark if not. If you have any feedback about my replies, please contact msdnmg@microsoft.com Microsoft One Code Framework

    • Marked as answer by drdbkarron Monday, September 3, 2012 2:18 PM
    Wednesday, August 29, 2012 6:05 AM
    Moderator
  • I have this application installed on Azure; hollar here if you see it.

    I have not managed to get ftp access to manually upload/install web pages.

    http://karron.azurewebsites.net/SilverlightApplication44TestPage.html

    This is pure Silverlight 4 installed with Silverlight Tools in VS2010 SP1 Pro under Windows 7 64bit; no c# code, executed purely in Blend 4.

    No joy (yet) in VS2012; next to do something simple like install a static web page.


    dr Karron (drdbkarron) on facebook and drdbkarron@gmail.com

    Monday, September 3, 2012 5:53 AM

All replies

  • Hi,

    Do you ever add FTP endpoint in cloud service or virtual machine?

    You can also use Remote desktop to connect Azure VM and get more info about the deployment, for example, try to access the application from VM to see if works (Actually silverlight application need be downloaded from Azure platform if you browse it from on-premise machine).

    Hope this helps.


    Please mark the replies as answers if they help or unmark if not. If you have any feedback about my replies, please contact msdnmg@microsoft.com Microsoft One Code Framework

    • Marked as answer by drdbkarron Monday, September 3, 2012 2:18 PM
    Wednesday, August 29, 2012 6:05 AM
    Moderator
  • I have not configured cloud service or VM; I will install the remote desktop.

    I can't seem to get the Visual Studio 11 (2012) Publish to work; it seems to work but I can

    get the Silverlight web html wrapper for silverlight to work, or anything to work for that matter.

    let me test and report.


    dr Karron (drdbkarron) on facebook and drdbkarron@gmail.com

    Wednesday, August 29, 2012 7:20 AM
  • Hi,

    OK, I think if you can make sure the website url is corrent, try to put a simple html page to see if works, if you get any result, please inform me, thank you.


    Please mark the replies as answers if they help or unmark if not. If you have any feedback about my replies, please contact msdnmg@microsoft.com Microsoft One Code Framework

    Wednesday, August 29, 2012 8:32 AM
    Moderator
  • I'm testing now; i installing the azure VM remote desktop.

    I configured the default URL's and did the, what seemed obvious.

    I uploaded (in the silverlight 4 visual studio 11 package an index.htm,

    index.html). I'm just trying to get anything published.

    I see my logs above do not show the url generating the 404 or 403.

    It would be nice to have a 'Hello World' that actually said Hello to the world

    from Silverlight. Some coffee and I will try to make a Silverlight 4 Hello World to publish,

    and an index.htm that says Hello World. but first more coffee...


    dr Karron (drdbkarron) on facebook and drdbkarron@gmail.com

    Wednesday, August 29, 2012 8:37 AM
  • Hi,

    Another thing i want clarify it, do you use Website or Virtual Machine or Cloud service for you application?


    Please mark the replies as answers if they help or unmark if not. If you have any feedback about my replies, please contact msdnmg@microsoft.com Microsoft One Code Framework

    Wednesday, August 29, 2012 8:52 AM
    Moderator
  • Where is the remote desktop ? I'm going round and round in the management portal.

    dr Karron (drdbkarron) on facebook and drdbkarron@gmail.com

    Wednesday, August 29, 2012 9:03 AM
  • Hi,

    Azure website feature does not provide Remote desktop currently, but Virtual Machine and Cloud Service has this feature. That's why i ask which solution you selected.

    Virtual Machine, you can connect to Azure VM via Azure Management portal directly.

    Cloud Service, you need enable Remote Desktop option when publishing application, then you can connect it.

    Hope this helps.


    Please mark the replies as answers if they help or unmark if not. If you have any feedback about my replies, please contact msdnmg@microsoft.com Microsoft One Code Framework

    Wednesday, August 29, 2012 9:26 AM
    Moderator
  • I am testing the Azure portal. It has me going round and round and needs more work.

    There seem to be two versions, old and new.

    So there are two front ends to the Cloud Service ?

    I originally just wanted to publish directly out of Visual Studio 11 / 2012.

    That part is not working.

    I then wanted to verify what was published with FTP; that is not working.

    I have my coffee and will document everything in screen shots.

    Let me find my way to the non Azure Cloud Service portal: you mean the old portal or a different, non Azure branded front end ?


    dr Karron (drdbkarron) on facebook and drdbkarron@gmail.com

    Wednesday, August 29, 2012 9:39 AM
  • Well, I think you are using Cloud Service, Vistual Studio will help you publish it on Cloud Server.

    Old Portal: Hosted Service.

    New Portal: Cloud Service.

    here's the whole story (You can find how to enable Remote Desktop):

    http://www.intertech.com/Blog/Post/Publish-to-the-Cloud-(Windows-Azure)-directly-from-Visual-Studio.aspx


    Please mark the replies as answers if they help or unmark if not. If you have any feedback about my replies, please contact msdnmg@microsoft.com Microsoft One Code Framework

    Wednesday, August 29, 2012 9:56 AM
    Moderator
  • Thanks for the pointer. I think I am published; it is just not working.

    I should mention that the web portal does *NOT* work with chrome or firefox.

    Visual Studio says I'm published but i can't seem to verify it from a browser at

    the address it it says i'm published to.

    I want to verify the files with ftp at the address it say. I can't login.

    I would like to get to the working ftp address, and then i can verify that

    I have indeed published.

    There seems to be two addresses; one for virtual webservers and another for virtual machines.  

    Here are my two addresses from the management portal:

    http://karron.cloudapp.net/

    http://karron.azurewebsites.net/

    I published a sample Silverlight app

    SilverlightApplication1TestPage.html

    Site URL
    http://karron.azurewebsites.net
    Compute Mode
    Shared
    FTP hostname
    ftp://waws-prod-blu-001.ftp.azurewebsites.windows.net
    Git clone URL
    https://karron@karron.scm.azurewebsites.net/karron.git
    Deployment user
    karron\karron
    Diagnostic Logs
    ftp://waws-prod-blu-001.ftp.azurewebsites.windows.net/LogFiles

    I set and 

    Reset deployment credentials. Still can'tlogin.


    dr Karron (drdbkarron) on facebook and drdbkarron@gmail.com

    Wednesday, August 29, 2012 10:16 AM
  • Hi,

    You can refer to this link to deploy it with Website:

    http://www.windowsazure.com/en-us/develop/net/scenarios/web-development/

    BR,

    Arwind


    Please mark the replies as answers if they help or unmark if not. If you have any feedback about my replies, please contact msdnmg@microsoft.com Microsoft One Code Framework

    Thursday, August 30, 2012 5:02 AM
    Moderator
  • I have this application installed on Azure; hollar here if you see it.

    I have not managed to get ftp access to manually upload/install web pages.

    http://karron.azurewebsites.net/SilverlightApplication44TestPage.html

    This is pure Silverlight 4 installed with Silverlight Tools in VS2010 SP1 Pro under Windows 7 64bit; no c# code, executed purely in Blend 4.

    No joy (yet) in VS2012; next to do something simple like install a static web page.


    dr Karron (drdbkarron) on facebook and drdbkarron@gmail.com

    Monday, September 3, 2012 5:53 AM