Results 1 to 8 of 8

Thread: WCF Issues

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Apr 2008
    Posts
    21

    WCF Issues

    Silverlight is still giving me problems. I created a WCF Service and it runs well on my local machine. As soon as I put it on the web server to go public I get this error code:

    An exception occurred during the operation, making the result invalid. Check InnerException for exception details.

    at System.ComponentModel.AsyncCompletedEventArgs.RaiseExceptionIfNecessary()
    at SilverlightApplication1.ServiceReference1.FillListCompletedEventArgs.get_Result()
    at SilverlightApplication1.Home.LoadList(Object sender, FillListCompletedEventArgs e)
    at SilverlightApplication1.ServiceReference1.Service1Client.OnFillListCompleted(Object state)

    Any suggestions or clues.

  2. #2
    Frenzied Member MattP's Avatar
    Join Date
    Dec 2008
    Location
    WY
    Posts
    1,227

    Re: WCF Issues

    Try the suggestions here: http://blogs.msdn.com/b/keithmg/arch...-solution.aspx

    I would also turn on tracing in the future when you're debugging to get more detailed information: http://msdn.microsoft.com/en-us/library/ms733025.aspx

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Apr 2008
    Posts
    21

    Re: WCF Issues

    Still cannot get it to work. I have the following checked in Web Configuration

    Current Page

    Apply server settings to all users

    Use Custom Web Server - Server URL http://96.31.35.23/service1.svc

    Asp.Net

    Silverlight

  4. #4
    Frenzied Member MattP's Avatar
    Join Date
    Dec 2008
    Location
    WY
    Posts
    1,227

    Re: WCF Issues

    If you go to that url do you get a page?

    Web Services and Silverlight: Check out section 4 on Debugging WCF Service Calls.

  5. #5

    Thread Starter
    Junior Member
    Join Date
    Apr 2008
    Posts
    21

    Re: WCF Issues

    No because it points to the servive, service1.svc

  6. #6
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: WCF Issues

    Quote Originally Posted by peteshir View Post
    No because it points to the servive, service1.svc
    If you point your web browser at a WCF Endpoint, then you should get a page describing what methods are exposed on it. It is a good "test" to see whether the service is up and running or not.

    Gary

  7. #7
    Frenzied Member MattP's Avatar
    Join Date
    Dec 2008
    Location
    WY
    Posts
    1,227

    Re: WCF Issues

    Quote Originally Posted by gep13 View Post
    If you point your web browser at a WCF Endpoint, then you should get a page describing what methods are exposed on it. It is a good "test" to see whether the service is up and running or not.

    Gary
    LIES!!! I would never point anyone towards something useful!
    This pattern in common to all great programmers I know: they're not experts in something as much as experts in becoming experts in something.

    The best programming advice I ever got was to spend my entire career becoming educable. And I suggest you do the same.

  8. #8
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: WCF Issues

    Quote Originally Posted by MattP View Post
    LIES!!! I would never point anyone towards something useful!
    ha ha

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width