This is a migrated thread and some comments may be shown as answers.

Problem Starting Silverlight Demo Application

13 Answers 284 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Peper
Top achievements
Rank 1
Peper asked on 20 Feb 2009, 05:31 AM
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



13 Answers, 1 is accepted

Sort by
0
Valeri Hristov
Telerik team
answered on 20 Feb 2009, 02:51 PM
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.
0
Peper
Top achievements
Rank 1
answered on 22 Feb 2009, 11:29 AM
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
0
Valeri Hristov
Telerik team
answered on 23 Feb 2009, 08:05 AM
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.
0
Ben Hayat
Top achievements
Rank 2
answered on 23 Feb 2009, 09:51 AM
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!
0
Valeri Hristov
Telerik team
answered on 23 Feb 2009, 10:35 AM
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.
0
Peper
Top achievements
Rank 1
answered on 24 Feb 2009, 09:52 AM
Hi all,

thanks for the response. it works.

peper
0
Didier
Top achievements
Rank 2
answered on 27 Mar 2009, 12:55 PM
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
0
PHDComputing
Top achievements
Rank 2
answered on 08 Jul 2009, 09:47 PM

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

0
SL R
Top achievements
Rank 1
answered on 12 Jul 2009, 08:38 AM

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.
 

0
Boyan
Telerik team
answered on 15 Jul 2009, 07:41 AM
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.
0
SL R
Top achievements
Rank 1
answered on 15 Jul 2009, 04:26 PM
Thank You for your response. Eagerly waiting for the service pack...
0
Dave Mortgatta
Top achievements
Rank 1
answered on 02 Dec 2009, 08:07 PM



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

0
khuong
Top achievements
Rank 1
answered on 16 Jul 2010, 03:39 PM
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 
Tags
General Discussions
Asked by
Peper
Top achievements
Rank 1
Answers by
Valeri Hristov
Telerik team
Peper
Top achievements
Rank 1
Ben Hayat
Top achievements
Rank 2
Didier
Top achievements
Rank 2
PHDComputing
Top achievements
Rank 2
SL R
Top achievements
Rank 1
Boyan
Telerik team
Dave Mortgatta
Top achievements
Rank 1
khuong
Top achievements
Rank 1
Share this question
or