469,927 Members | 1,888 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,927 developers. It's quick & easy.

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 3363

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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by =?Utf-8?B?Um9nZXIgTWFydGlu?= | last post: by
1 post views Thread by Faisal Shafiq | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.