There was an error loading the microsoft.web.services2 configuration section

kelphis

Member
Joined
Oct 24, 2005
Messages
6
Programming Experience
1-3
WSE 2.0 SP3 is really pissing me off. I cant find any information on
the internet that tells me how to get this working. I am just playing
with it for the moment so that I can develop a SOAP application
later. Just about everything that I do gives me this error:

An unhandled exception of type
'System.Configuration.ConfigurationException' occurred in
microsoft.web.services2.dll

Additional information: WSE032: There was an error loading the
microsoft.web.services2 configuration section.
currently I am just trying to create a simple envelope that has a WS-
Security Security Header and a UsernameToken element. Im using this
line of code:
VB.NET:
Dim ut As UsernameToken = New UsernameToken("kelly", "kelly")

This gives me that error. I dont really care about encrypting the
password right now. I just want to create an envelope. Am I going
about this wrong? I have an app.config file in my project. I dont
know if im supposed to set this up to use the UsernameToken and if so
I dont know what settings to give it. please help this is driving me
crazy.
 
Last edited by a moderator:
Back
Top