Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > use .net WSE3 COM component in unmanaged prog. language (VB6 or C++ 6)

Thread Tools

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

Florian Harbich
Posts: n/a
[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.


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...
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using WSE3 For Web Service Kerberos Auth Ben ASP .Net 1 05-06-2008 04:18 PM
WSE3.0 in medium trust error! ASP .Net Web Services 0 09-05-2006 08:08 PM
Wse3.0 Error ASP .Net Web Services 0 05-02-2006 08:31 AM
WSE3 & Error WSE910? Asaf ASP .Net Web Services 7 04-07-2006 05:32 AM
WSE3 Credentials Euphilos ASP .Net Web Services 2 02-20-2006 09:33 AM