Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion
FAQ Community Calendar Today's Posts Search

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 08-01-2008, 12:04 PM
stienessen stienessen is online now
Registered User
 
Join Date: 02-19-2007
Posts: 5
Write XML issue with namespace???

Hi,
I have an ASP.NEt Web.config file that I'm trying to update - in my case sessionState - the file looks like:
<?xml version="1.0"?>
<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
<system.web>
<sessionState mode="StateServer" stateConnectionString="tcpip=127.0.0.1:42424" cookieless="false" timeout="22"/>
</system.web>
</configuration>

the writexml step fails when the xmlns=... attribute present on the configuration element - if I remove that xmlns attribute, it works fine - I tried to add Namespace alias to namespace URI mappings but it doesn't like xmlns as an alias.

any way to do this update without removing the namespace?

Thanks
Dave
Reply With Quote
 


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 Off
HTML code is Off



All times are GMT -5. The time now is 01:33 PM.


Copyright © 1999-2023 Kinook Software, Inc.