p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 (http://p2p.wrox.com/forumdisplay.php?f=264)
-   -   Add another section in configSections ? (http://p2p.wrox.com/showthread.php?t=56818)

thuyvncr April 18th, 2007 01:20 AM

Add another section in configSections ?
 
I have two websites one with the beerhouse (sql provider) and the other with the small business using xml as dataprovider, they are both working faultlessly, now, I need to combine both of them as one so two database work at once. I tried the web.config to add both Data provider section and the beer house section (they both need separate section in the configSections).

I tried to use <sectionGroup> in the web.config but get an error message: "sections must appear once per config file.."

and the second one: "Unrecognized the configuration section "theBeerHouse"...

anh idea?

Please help, thank you much.

englere April 21st, 2007 10:08 AM

You're probably only beginning to see how complex this job is going to be. You'd save many hours of work to keep these as separate sites, but just have them use the same DB. That's a much easier job since the TBH tables all have a TBH prefix.

If you insist on merging everything, then the membership system also has to be merged. This is not a problem if there are no logins on the XML site.




All times are GMT -4. The time now is 06:07 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.