Problem Starting Silverlight Demo Application

14 posts, 0 answers
  1. Peper
    Peper avatar
    9 posts
    Member since:
    Nov 2008

    Posted 19 Feb 2009 Link to this post

    Hi,

    I was trying the telerik silverlight q3 2008. but everytime i open the demo, the error comes up:
    windows cannot find "WebDev.WebServer.EXE". Make sure you type the name correctly, and then try again.

    could you please help me on this. whats wrong?. thanks

    Regards,

    Peper



  2. Valeri Hristov
    Admin
    Valeri Hristov avatar
    2252 posts

    Posted 20 Feb 2009 Link to this post

    Hi Peper,

    I suppose you are using 64bit Windows. To resolve the problem, please open the following file with any text editor:
    C:\Program Files\Telerik\RadControls for Silverlight Q3 2008\Examples\ExamplesWeb\StartExamples.bat

    (The shortcut "Start Examples" points to that file, so if your installation folder is different, please adjust the path above acordingly)

    Then replace its content with the following:
    @echo off
    SET LocalProgramFiles="%ProgramFiles(x86)%"
    IF %LocalProgramFiles% == "" SET LocalProgramFiles="%ProgramFiles%"
    set currentdir=%cd%
    pushd "%LocalProgramFiles%\Common Files\microsoft shared\DevServer\9.0\"
    start WebDev.WebServer.EXE /port:6519 /path:"%currentdir%"
    start http://localhost:6519/Default.aspx
    popd

    Save the file and click the shortcut again.

    If this does not help, please, let me know and I will try to provide another suggestion.

    Best wishes,
    Valeri Hristov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. DevCraft banner
  4. Peper
    Peper avatar
    9 posts
    Member since:
    Nov 2008

    Posted 22 Feb 2009 Link to this post

    Hi, thanks for the response. but it still not working. btw, my spesification: windows xp sp3 (32 bit) and .net framework 2.0. is there any other way so i can try the telerik silverlight. thanks

    peper
  5. Valeri Hristov
    Admin
    Valeri Hristov avatar
    2252 posts

    Posted 23 Feb 2009 Link to this post

    Hello Peper,

    Do you have Visual Studio 2005 or 2008 installed (note that VS2008 is required for any Silverlight development)? The examples run using the integrated in Visual Studio web development server (WebDev.WebServer.EXE) that comes with Visual Studio. If you have Visual Studio installed, search for "WebDev.WebServer.EXE" and when you find it, change the following line in the batch file:
    start WebDev.WebServer.EXE /port:6519 /path:"%currentdir%"

    to include the full path to the web server:
    start "C:\Program Files\Common Files\microsoft shared\DevServer\WebDev.WebServer.EXE" /port:6519 /path:"%currentdir%"

    You should add quotes around the path if it contains spaces.

    If this does not help, you could always preview our online examples, which are exactly the same as those in the installation:
    http://demos.telerik.com/silverlight/default.aspx

    I should also mention that we will be having a major release in two weeks, which will include Charting control for Silverlight, new, fully featured version of RadDocking for Silverlight, masked text box control, a lot of performance improvements in RadGridView for Silverlight and WPF, updated skins for all controls and fixes for most  of the reported problems during the past few months.

    Best wishes,
    Valeri Hristov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  6. Ben Hayat
    Ben Hayat avatar
    892 posts
    Member since:
    May 2008

    Posted 23 Feb 2009 Link to this post

    Valeri, another thing that caught my attention, he said he is using .net 2.0. Doesn't he need .net 3.5 sp1 for SL toolkit? Just curious!
  7. Valeri Hristov
    Admin
    Valeri Hristov avatar
    2252 posts

    Posted 23 Feb 2009 Link to this post

    You are right, Ben, to install Silverlight Tools the developers need VS 2008 SP1 and .NET 3.5 SP1.

    All the best,
    Valeri Hristov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  8. Peper
    Peper avatar
    9 posts
    Member since:
    Nov 2008

    Posted 24 Feb 2009 Link to this post

    Hi all,

    thanks for the response. it works.

    peper
  9. Didier
    Didier avatar
    13 posts
    Member since:
    Jan 2008

    Posted 27 Mar 2009 Link to this post

    Hi,

    The suggested change didn't work for me... but adding:

    cd C:\  
    cd "C:\Program Files\Fichiers communs\Microsoft Shared\DevServer\9.0" 

    before the line start WebDev.WebServer.EXE /port:6519 /path:"%currentdir%" solved the problem.

    Best regards,

    Didier
  10. PHDComputing
    PHDComputing avatar
    2 posts
    Member since:
    Aug 2012

    Posted 08 Jul 2009 Link to this post


    Hello,

    I just changed to the available port 8080 and it works.


    @echo off

    SET LocalProgramFiles="%ProgramFiles(x86)%"
    IF %LocalProgramFiles% == "" SET LocalProgramFiles="%ProgramFiles%"

    set currentdir=%cd%
    pushd "%LocalProgramFiles%\Common Files\microsoft shared\DevServer\9.0\"

    start WebDev.WebServer.EXE /port:8080 /path:"%currentdir%"

    start http://localhost:8080/Default.aspx
    popd

    Peter

  11. SL R
    SL R avatar
    6 posts
    Member since:
    Jul 2009

    Posted 12 Jul 2009 Link to this post

    I have just installed Rad Controls (Trial Version) and Downloaded Examples. I was not able to rebuild sucessfully. I unloaded VB project and trying to rebuild CS projects. I am using Silverlight 3 and Rad Control Dlls that were complied for SL3.

    Any help is appreciated.

    I got following errors

    Error 2 Cannot implicitly convert type 'System.Windows.Controls.SelectionMode' to
    'Telerik.Windows.Controls.SelectionMode'.
    An explicit conversion exists (are you missing a cast?)
    C:\Telerik\RadControls_for_Silverlight_2009_2_701_TRIAL\Examples\TreeView\FirstLook\Example.xaml.cs 34 36 TreeView.CS

     

    Error 9 The type 'System.ComponentModel.ListSortDirection' exists in both 'c:\Telerik\RadControls_for_Silverlight_2009_2_701_TRIAL\Binaries\Silverlight\System.Windows.Controls.Data.dll' and 'c:\Program Files\Reference Assemblies\Microsoft\Framework\Silverlight\v3.0\system.dll'
     C:\Telerik\RadControls_for_Silverlight_2009_2_701_TRIAL\Examples\GridView\Silverlight\SaveLoadSettings\RadGridViewSettings.cs 495 16 GridView.CS

    Error 10 The type 'System.ComponentModel.ListSortDirection' exists in both 'c:\Telerik\RadControls_for_Silverlight_2009_2_701_TRIAL\Binaries\Silverlight\System.Windows.Controls.Data.dll' and 'c:\Program Files\Reference Assemblies\Microsoft\Framework\Silverlight\v3.0\system.dll'
    C:\Telerik\RadControls_for_Silverlight_2009_2_701_TRIAL\Examples\GridView\Silverlight\SaveLoadSettings\RadGridViewSettings.cs 501 16 GridView.CS

    Thanks in advance.
     

  12. Boyan
    Admin
    Boyan avatar
    758 posts

    Posted 15 Jul 2009 Link to this post

    Hello SL R,

      As I understand you are trying to run our Silverlight 2 demos (from the installation) with our Silverlight 3 assemblies. Currently our demos are not compatible with Silverlight 3 and we need to make some fixes and enhancements in order for them to build and work properly. We are addressing the issues and I believe everything will be fine and working smooth in two weeks, when SP1 will be released with installation and full support for Silverlight 3.

    Greetings,
    Boyan
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  13. SL R
    SL R avatar
    6 posts
    Member since:
    Jul 2009

    Posted 15 Jul 2009 Link to this post

    Thank You for your response. Eagerly waiting for the service pack...
  14. Dave Mortgatta
    Dave Mortgatta avatar
    16 posts
    Member since:
    Aug 2009

    Posted 02 Dec 2009 Link to this post



    For those who use Visual Studio 2010, make sure change in the following information:

               

    ·        WebDev.WebServer20.EXE

    ·        \Common Files\microsoft shared\DevServer\10.0\

     

     

    Here’s the full text:

     

    @echo off

     

    SET LocalProgramFiles="%ProgramFiles(x86)%"

    IF %LocalProgramFiles% == "" SET LocalProgramFiles="%ProgramFiles%"

     

    set currentdir=%cd%

    pushd "%LocalProgramFiles%\Common Files\microsoft shared\DevServer\10.0\"

    start WebDev.WebServer20.EXE /port:8080 /path:"%currentdir%"

    start http://localhost:8080/Default.aspx

    popd

  15. khuong
    khuong avatar
    1 posts
    Member since:
    Jul 2010

    Posted 16 Jul 2010 Link to this post

    im so sorry i didn't know that you are on other side trying to solves..,So what's i should have to type againt im to rumpy about title and names 
Back to Top
DevCraft banner