use .net WSE3 COM component in unmanaged prog. language (VB6 or C++ 6)

Discussion in 'ASP .Net Web Services' started by Florian Harbich, Jan 26, 2006.

  1. [X-POST & FUP-2: microsoft.public.webservices]

    Hi Codegurus ;)

    I hope this is the right group for my problem:

    I wrote a COM component in Microsoft Visual C# that communicates
    with a ASP.NET Webservice using WSE3.
    When I want to use this component in a Visual Basic 6 or unmanaged c++
    Application, I always get the error

    "Specified argument was out of the range of valid values.
    Parameter name: Policy '<mypolicyname>' is not configured in the system"

    The policy is defined in an wse3policyCache.config file which is referenced
    in app.config as usual.

    When I compile and run the component as Application
    (with Main Method for testing) everything works fine.

    It seems that I have to "load" the policy in the application
    that uses the component instead of attatching it to the component itself,
    but how do I do this as there's no app.config or something alike.

    --
    Greetings,
    Florian

    there are 11 kind of people, those who know this joke and laugh, those who
    know but don't understand and those who don't even know... ;)
     
    Florian Harbich, Jan 26, 2006
    #1
    1. Advertisements

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. -intl.com
    Replies:
    1
    Views:
    507
    Martin Gregorie
    Oct 22, 2006
  2. GT
    Replies:
    2
    Views:
    408
    Gary Wessle
    Jul 21, 2006
  3. =?Utf-8?B?cGF0cmlja2RyZA==?=

    "activex component can t create object" error with .net dll in vb6

    =?Utf-8?B?cGF0cmlja2RyZA==?=, Sep 18, 2007, in forum: ASP .Net
    Replies:
    2
    Views:
    1,237
  4. Replies:
    6
    Views:
    534
    cr88192
    Oct 27, 2007
  5. Replies:
    0
    Views:
    447
  6. kumars

    Thread Prog in C language (OS independent)

    kumars, Sep 19, 2008, in forum: C Programming
    Replies:
    0
    Views:
    499
    kumars
    Sep 19, 2008
  7. Elie Grouchko
    Replies:
    0
    Views:
    200
    Elie Grouchko
    Jun 28, 2004
  8. Miguel Minora
    Replies:
    1
    Views:
    304
    Miguel Minora
    Jan 11, 2005
Loading...