Results 1 to 3 of 3

Thread: [RESOLVED] Error Message when trying to run Method.

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Dec 2003
    Location
    Out there somewhere!
    Posts
    386

    Resolved [RESOLVED] Error Message when trying to run Method.

    I have a windows forms application that references a WCF service.

    When I try run a method in the service I keep on getting -

    The server was unable to process the request due to an internal error. For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the <serviceDebug> configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework 3.0 SDK documentation and inspect the server trace logs.

    The code that is trying to run

    Code:
    IRWSEORankingDBService.SEORankingDBServiceClient client = new IRWSEORankingDBService.SEORankingDBServiceClient();
    
                List<IRWSEORankingDBService.Customers> custList = new List<IRWSEORankingDBService.Customers>();
    
                custList = client.GetCustomerList();
    Any ideas?

    Kev.

  2. #2
    Pro Grammar chris128's Avatar
    Join Date
    Jun 2007
    Location
    England
    Posts
    7,604

    Re: Error Message when trying to run Method.

    Pretty impossible to say as that code doesn't really show us anything. But have you tried doing what the error message suggests to get more information?
    My free .NET Windows API library (Version 2.2 Released 12/06/2011)

    Blog: cjwdev.wordpress.com
    Web: www.cjwdev.co.uk


  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Dec 2003
    Location
    Out there somewhere!
    Posts
    386

    Re: Error Message when trying to run Method.

    Resolved. My fault, the code was pointing to an old service that had a very similar path. Couldn't see the wood for the trees...d'oh!!

    Kev.

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