473,842 Members | 1,594 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Published SilverLight app throws exception

Hi Everyone,

I have written a silverlight application, which talks to a WCF service,
which was created within the website after watching this video:
http://silverlight.net/learn/learnvi...px?video=47177

The service gathers some data using a class library.

This all works fine within Visual Studio, but when published to a web server
it throws an excpetion, in the first xxxxServiceComp lete call back, which
says check InnerException for more details. I check the InnerException, and
it tells me to look in the InnerException for more details.

Any thoughts?

Thanks
AliR.
Nov 7 '08 #1
3 3550

This doesn't really help you much, but here is my "keep checking
InnerException" code:
catch (Exception ex)

{

Exception nestedEx = ex;

while (nestedEx != null)

{

Console.WriteLi ne(nestedEx.Mes sage);

nestedEx = nestedEx.InnerE xception;

}

Console.WriteLi ne("-----------------------------");

Console.WriteLi ne(ex.StackTrac e);

}



"AliR (VC++ MVP)" <Al**@online.no spamwrote in message
news:DP******** *********@nlpi0 64.nbdc.sbc.com ...
Hi Everyone,

I have written a silverlight application, which talks to a WCF service,
which was created within the website after watching this video:
http://silverlight.net/learn/learnvi...px?video=47177

The service gathers some data using a class library.

This all works fine within Visual Studio, but when published to a web
server it throws an excpetion, in the first xxxxServiceComp lete call back,
which says check InnerException for more details. I check the
InnerException, and it tells me to look in the InnerException for more
details.

Any thoughts?

Thanks
AliR.


Nov 7 '08 #2
Thank you for letting me know that I need to keep going down the chain.

Here is the error:
"An error occurred while trying to make a request to URI
'http://localhost:1312/LSService.svc'. This could be due to attempting to
access a service in a cross-domain way without a proper cross-domain policy
in place, or a policy that is unsuitable for SOAP services...."

I'm starting to hate the fact that developers need to become system
administrators! I'm not even sure what all that means, hopefully google
will have something to say about this.

AliR.
"sloan" <sl***@ipass.ne twrote in message
news:uS******** ******@TK2MSFTN GP03.phx.gbl...
>
This doesn't really help you much, but here is my "keep checking
InnerException" code:
catch (Exception ex)

{

Exception nestedEx = ex;

while (nestedEx != null)

{

Console.WriteLi ne(nestedEx.Mes sage);

nestedEx = nestedEx.InnerE xception;

}

Console.WriteLi ne("-----------------------------");

Console.WriteLi ne(ex.StackTrac e);

}



"AliR (VC++ MVP)" <Al**@online.no spamwrote in message
news:DP******** *********@nlpi0 64.nbdc.sbc.com ...
>Hi Everyone,

I have written a silverlight application, which talks to a WCF service,
which was created within the website after watching this video:
http://silverlight.net/learn/learnvi...px?video=47177

The service gathers some data using a class library.

This all works fine within Visual Studio, but when published to a web
server it throws an excpetion, in the first xxxxServiceComp lete call
back, which says check InnerException for more details. I check the
InnerException , and it tells me to look in the InnerException for more
details.

Any thoughts?

Thanks
AliR.



Nov 7 '08 #3
I found this and did what it said, but no change:
http://msdn.microsoft.com/en-us/libr...55(VS.95).aspx
Why does the error say http://localhost:1312/LSService.svc

LSService.svc is in http://www.learnstar.com/silvertest/
which is where the silverlight application is.

Could this be a configuration problem?

AliR.
"AliR (VC++ MVP)" <Al**@online.no spamwrote in message
news:bg******** *********@nlpi0 64.nbdc.sbc.com ...
Thank you for letting me know that I need to keep going down the chain.

Here is the error:
"An error occurred while trying to make a request to URI
'http://localhost:1312/LSService.svc'. This could be due to attempting to
access a service in a cross-domain way without a proper cross-domain
policy in place, or a policy that is unsuitable for SOAP services...."

I'm starting to hate the fact that developers need to become system
administrators! I'm not even sure what all that means, hopefully google
will have something to say about this.

AliR.
"sloan" <sl***@ipass.ne twrote in message
news:uS******** ******@TK2MSFTN GP03.phx.gbl...
>>
This doesn't really help you much, but here is my "keep checking
InnerException " code:
catch (Exception ex)

{

Exception nestedEx = ex;

while (nestedEx != null)

{

Console.WriteL ine(nestedEx.Me ssage);

nestedEx = nestedEx.InnerE xception;

}

Console.WriteL ine("-----------------------------");

Console.WriteL ine(ex.StackTra ce);

}



"AliR (VC++ MVP)" <Al**@online.no spamwrote in message
news:DP******* **********@nlpi 064.nbdc.sbc.co m...
>>Hi Everyone,

I have written a silverlight application, which talks to a WCF service,
which was created within the website after watching this video:
http://silverlight.net/learn/learnvi...px?video=47177

The service gathers some data using a class library.

This all works fine within Visual Studio, but when published to a web
server it throws an excpetion, in the first xxxxServiceComp lete call
back, which says check InnerException for more details. I check the
InnerExceptio n, and it tells me to look in the InnerException for more
details.

Any thoughts?

Thanks
AliR.




Nov 7 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1279
by: CGatto | last post by:
Hi, I've got a simple Silverlight 2.0 app set up and talking with an webservice using ado.net entity datamodel. In the webservice I have a ChangeInterceptor declared like this: <ChangeInterceptor("CodePropAttributeTypes")_ Public Sub OnChangeCategories(ByVal p As myEntities.CodePropAttributeTypes, ByVal action As UpdateOperations) If action = UpdateOperations.Add Then
0
2382
by: =?Utf-8?B?Um9nZXIgTWFydGlu?= | last post by:
I have a web site under .NET 2.0 that renders videos using the Silverlight media player. The <asp:MediaPlayercontrol only works on .NET 3.5, but I managed to get things working under .NET 2.0 by working with the javascript rather than the server control. The web page looks like this: <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="video5.aspx.cs" Inherits="GalleryServerPro.Web.video5" %>
1
2871
by: Faisal Shafiq | last post by:
I want to upload a file direct to the Silverlight Streaming Service from a Web Client such as silverlight application. As per our product requirement we want to upload a .WMV file directly from silverlight client to Silverlight streaming service. I tried to user WebClient and HttpWebRequest for that purpose but, unfortunately I can found the way to do so. There are some problems with both classes. 1. There is no property of get...
7
7163
Curtis Rutland
by: Curtis Rutland | last post by:
Building A Silverlight (2.0) Multi-File Uploader All source code is C#. VB.NET source is coming soon. Note: This project requires Visual Studio 2008 SP1 or Visual Web Developer 2008 SP1 and Silverlight 2.0. To get these tools please visit this page Get Started : The Official Microsoft Silverlight Site and follow Step 1. Occasionally you find the need to have users upload multiple files at once. You could use multiple FileUpload...
1
8268
by: vineetbindal | last post by:
Hi All, I am new to silverlight and i am following a tutorial. In order to connect to database in silverlight application i need to add a referance to a service. which gives me an error that the contract is not found. I had installed the iis after .net framework 3.5 but i have followed and done all the instructions given at microsoft's website. please help me.
0
9872
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9715
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10612
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10672
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9453
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7858
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7038
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5696
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4499
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.