WCF Add Service Reference error

Discussion in 'ASP .Net Web Services' started by Gary Homewood, Oct 29, 2008.

  1. I created a new web application, and a new WCF service application. When I
    try and add a service reference to the web application, the button to
    discover services in solution manages to find the service, but when I ok
    this, I get an error "Could not load type
    'System.ServiceModel.FaultImportOptions' from assembly 'System.ServiceModel,
    Version=3.0.0.0, Culture=neutral, PublicKeyToken=..."

    VS2008 Version 9.0.30428.1 SP1Beta1
    Server 2003 Standard Edition SP2

    Any ideas?
     
    Gary Homewood, Oct 29, 2008
    #1
    1. Advertising

  2. "Gary Homewood" <> wrote in message
    news:...
    > I created a new web application, and a new WCF service application. When I
    > try and add a service reference to the web application, the button to
    > discover services in solution manages to find the service, but when I ok
    > this, I get an error "Could not load type
    > 'System.ServiceModel.FaultImportOptions' from assembly
    > 'System.ServiceModel,
    > Version=3.0.0.0, Culture=neutral, PublicKeyToken=..."
    >
    > VS2008 Version 9.0.30428.1 SP1Beta1
    > Server 2003 Standard Edition SP2
    >
    > Any ideas?


    Try a repair install of .NET 3.5. I'm also running SP1 beta, and do not have
    this problem.

    --
    John Saunders | MVP - Connected System Developer
     
    John Saunders, Oct 29, 2008
    #2
    1. Advertising

  3. Gary Homewood

    Suman Biswas Guest

    Install .Net framework 3.5 SP1.
    System.ServiceModel.FaultImportOptions is only supported by 3.5 sp1 and 3.0
    sp2

    "Gary Homewood" wrote:

    > I created a new web application, and a new WCF service application. When I
    > try and add a service reference to the web application, the button to
    > discover services in solution manages to find the service, but when I ok
    > this, I get an error "Could not load type
    > 'System.ServiceModel.FaultImportOptions' from assembly 'System.ServiceModel,
    > Version=3.0.0.0, Culture=neutral, PublicKeyToken=..."
    >
    > VS2008 Version 9.0.30428.1 SP1Beta1
    > Server 2003 Standard Edition SP2
    >
    > Any ideas?
    >
    >
    >
     
    Suman Biswas, Dec 10, 2008
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Billy Zhang
    Replies:
    7
    Views:
    1,371
    Steven Cheng [MSFT]
    Jul 31, 2008
  2. Simon
    Replies:
    0
    Views:
    1,064
    Simon
    Oct 13, 2009
  3. Cindy Lee
    Replies:
    1
    Views:
    2,253
    Mr. Arnold
    Mar 19, 2010
  4. Curt K
    Replies:
    3
    Views:
    484
    John Saunders [MVP]
    Jun 15, 2007
  5. Arne Garvander

    WCF - Add Service reference to a client

    Arne Garvander, Sep 1, 2007, in forum: ASP .Net Web Services
    Replies:
    1
    Views:
    150
    Teemu Keiski
    Sep 2, 2007
Loading...

Share This Page