Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / August 2006

Tip: Looking for answers? Try searching our database.

ConfigurationErrorsException WSE032

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Tedd King - 29 Aug 2006 23:24 GMT
I have  been testing successfuly for a couple of weeks with WSE 3.0.  Today
out of the clear blue, none of my projects work.  When the client executes
the Web Service, I get the following Error:

Message="System.Web.Services.Protocols.SoapHeaderException: Server
unavailable, please try later ---> System.ApplicationException: WSE842: The
service pipeline could not be created. --->
System.Configuration.ConfigurationErrorsException: WSE032: There was an error
loading the microsoft.web.services3 configuration section. --->
System.Configuration.ConfigurationErrorsException: The entry 'UsernameToken'
has already been added.\r\n   at
System.Configuration.BaseConfigurationRecord.EvaluateOne(String[] keys,
SectionInput input, Boolean isTrusted, FactoryRecord factoryRecord,
SectionRecord sectionRecord, Object parentResult)\r\n   at
System.Configuration.BaseConfigurationRecord.Evaluate(FactoryRecord
factoryRecord, SectionRecord sectionRecord, Object parentResult, Boolean
getLkg, Boolean getRuntimeObject, Object& result, Object&
resultRuntimeObject)\r\n   at
System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String
configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject,
Boolean requestIsHere, Object& result, Object& resultRuntimeObject)\r\n   at
System.Configuration.BaseConfigurationRecord.GetSection(String configKey,
Boolean getLkg, Boolean checkPermission)\r\n   at
System.Configuration.BaseConfigurationRecord.GetSection(String configKey)\r\n
 at System.Web.HttpContext.GetSection(String sectionName)\r\n   at
Microsoft.Web.Services3.Configuration.WebServicesConfiguration.get_Current()\r\n
 --- End of inner exception stack trace ---\r\n   at
Microsoft.Web.Services3.Configuration.WebServicesConfiguration.get_Current()\r\n
 at
Microsoft.Web.Services3.Configuration.WebServicesConfiguration.get_MessagingConfiguration()\r\n
 at
Microsoft.Web.Services3.WseProtocol.ModifyInitializedExtensions(PriorityGroup
group, SoapExtension[] extensions)\r\n   at
System.Web.Services.Protocols.SoapServerProtocol.Initialize()\r\n   --- End
of inner exception stack trace ---\r\n   --- End of inner exception stack
trace ---"
 
I've unistalled and reinstalled WSE 3.0 several times to no avail. I built a
new solution from scratch, but always end up with the same error as above.  
Any clues?
Tedd King - 30 Aug 2006 19:14 GMT
Additional Update.  I also tried the WSE 3.0 Samples.  They too now receive
the same exception - namely, "UsernameToken has already been added".  I'm
completely baffled.

> I have  been testing successfuly for a couple of weeks with WSE 3.0.  Today
> out of the clear blue, none of my projects work.  When the client executes
[quoted text clipped - 36 lines]
> new solution from scratch, but always end up with the same error as above.  
> Any clues?
Tedd King - 30 Aug 2006 20:11 GMT
RESOLVED!

I found that there were some WSE config files under the wwwroot directory.  
These did indeed contain UsernameToken references.  I deleted these files and
the problem vanished, I'm happy to say.

> Additional Update.  I also tried the WSE 3.0 Samples.  They too now receive
> the same exception - namely, "UsernameToken has already been added".  I'm
[quoted text clipped - 40 lines]
> > new solution from scratch, but always end up with the same error as above.  
> > Any clues?

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.