473,386 Members | 1,752 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

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 xxxxServiceComplete 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 3517

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.WriteLine(nestedEx.Message);

nestedEx = nestedEx.InnerException;

}

Console.WriteLine("-----------------------------");

Console.WriteLine(ex.StackTrace);

}



"AliR (VC++ MVP)" <Al**@online.nospamwrote in message
news:DP*****************@nlpi064.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 xxxxServiceComplete 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.netwrote in message
news:uS**************@TK2MSFTNGP03.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.WriteLine(nestedEx.Message);

nestedEx = nestedEx.InnerException;

}

Console.WriteLine("-----------------------------");

Console.WriteLine(ex.StackTrace);

}



"AliR (VC++ MVP)" <Al**@online.nospamwrote in message
news:DP*****************@nlpi064.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 xxxxServiceComplete 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.nospamwrote in message
news:bg*****************@nlpi064.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.netwrote in message
news:uS**************@TK2MSFTNGP03.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.WriteLine(nestedEx.Message);

nestedEx = nestedEx.InnerException;

}

Console.WriteLine("-----------------------------");

Console.WriteLine(ex.StackTrace);

}



"AliR (VC++ MVP)" <Al**@online.nospamwrote in message
news:DP*****************@nlpi064.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 xxxxServiceComplete 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 #4

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

Similar topics

0
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: ...
0
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...
1
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...
7
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...
1
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...

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.