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

[Solved] Unable to load silverlight application

10 Answers 139 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Muthukrishnan Shanmugavel
Top achievements
Rank 1
Muthukrishnan Shanmugavel asked on 17 Dec 2009, 12:55 PM
Hi,
When i record my Silverlight application in WebUI Test Studio, it has thrown below message. Can any one help me on this? Thanks in Advance.
Unable to load silverlight application.Silverlight recording will not function. Try setting externalAccessfromCrossDomainCallers to script only in your application's AppManifest.xaml file.

10 Answers, 1 is accepted

Sort by
0
Missing User
answered on 17 Dec 2009, 05:51 PM
Hello Muthukrishnan,

The error message indicates that WebUI Test Studio is not able to connect with your Silverlight app in it's current deployment.

Please try the setting suggestion in the error message for your Silverlight app's Xaml file and retry navigating to your Silverlight page in the Recording Window. Also, please try clearing IE's cache before trying to connect to the app.

If your Silverlight app is already setup in this manner, please post back with more information on the app itself as in whether it is embedded in the page (using an object tag or an IFrame), if there are more than one Silverlight app on the page, if it is in a popup window, or any other information about your Silverlight app's deployment that may apply.

Best wishes,
Nelson Sin
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
John Situ
Top achievements
Rank 1
answered on 02 Mar 2010, 08:38 PM
Hello,

I am having the same problem in both VS 2008 and VS 2010 Beta 2. I can get the Silverlight app running in the same machine as where VS is running. Why WebUI Test Studio can't access the Silverlight app?

Thanks,
0
Cody
Telerik team
answered on 03 Mar 2010, 03:55 PM
Hi John Situ,

I need a little more information about your Silverlight application before I can assist troubleshooting your connection problem.

If you are using localhost, please add a '.' after localhost e.g. "http://localhost.:31382/myapp.aspx". It
seems IE requires this to properly interpret the host name from the port number and page name.

If it's on another server, were you able to set the setting that Nelson suggested in his previous response? Is there anything unusual about how you connect to the webserver, such as are you going through a VPN to get to it?

If that doesn't help, is the website public so that we can try connecting to it and diagnosing the problem?


Kind regards,
Cody
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
John Situ
Top achievements
Rank 1
answered on 05 Mar 2010, 04:48 PM

The server I am connecting to is a remote server (glassfish server). This server has no public access. Using browsers (IE and Firefox) I can have my Silverlight running without any problems. But I can’t record actions using WebUI Testing Studio. I am not able to apply Nelson’s suggestion. I need detailed info of doing that.

 

Thanks,

0
Missing User
answered on 08 Mar 2010, 06:45 PM
Hi John,

Here is a link that gives an explanation on what you can try based on the error message screenshot that Muthukrishnan posted. Also, is clearing the entire browser cache no working? If you can also give any more detail on how your Silverlight app is deployed, it may help to determine why WebUI is not connecting.

So from my previous post, please let us know if the app is embedded in the page (using an object tag or an IFrame), if there are more than one Silverlight app on the page, if it is in a popup window, and also if the app has an inital load time longer than 30000 ms.

Also, if you can somehow allow us temporary access to your app, then it would help us determine why it may not be connecting more easily.

Best wishes,
Nelson
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
John Situ
Top achievements
Rank 1
answered on 25 Mar 2010, 07:13 PM
Hello,

I have applied the suggested change for "ExternalCallersFromCrossDomain". It did not work (can't record actions). Clean browser cache doesn't work either.

The Silverlight app is embedded in the html page. And it is the only SL app in that page.

The Silverligth app is hosted in Glassfish application server (Java-based).

Hope you can resolve this case soon.

John
0
Missing User
answered on 26 Mar 2010, 12:05 AM
Hello again John,

Thanks for post back and the information. We are looking to put together a document that will contain a few more things you can check and try. I'll look to get back to you with it as soon as I can.

Kind regards,
Nelson Sin
the Telerik team

Quick Edit: After talking with my coworker, for this work around you would need both ot the following:

-the following in your html page:
<param value="true" name="enableHtmlAccess"/>
and
- the following in your SL Manifest: 
ExternalCallersFromCrossDomain="ScriptableOnly" 
 
The description for both are also in the thread link from my last post. Thanks.

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
John Situ
Top achievements
Rank 1
answered on 08 Apr 2010, 08:16 PM
Hello,

My trial license has expired.

John
0
Missing User
answered on 08 Apr 2010, 09:41 PM
Hi again John,

I'll forward this along to sales to see if they can help you out. I've also attached the full Silverlight connection draft to see if this will help.

Best wishes,
Nelson
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Donna
Telerik team
answered on 09 Apr 2010, 01:40 PM
Hi John Situ,

In order to assist you further and extend the trial support of your WebUI Test Studio trial, would you please specify the e-mail address you have used to install the software on your machine. Please send this info at sales@telerik.com. Thank you!

I look forward to hearing back from you.
 
Greetings,
Donna
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
General Discussions
Asked by
Muthukrishnan Shanmugavel
Top achievements
Rank 1
Answers by
Missing User
John Situ
Top achievements
Rank 1
Cody
Telerik team
Donna
Telerik team
Share this question
or