Wrox Programmer Forums
|
BOOK: ASP.NET Website Programming Problem-Design-Solution
This is the forum to discuss the Wrox book ASP.NET Website Programming: Problem - Design - Solution, Visual Basic .NET Edition by Marco Bellinaso, Kevin Hoffman; ISBN: 9780764543869
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET Website Programming Problem-Design-Solution section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 3rd, 2004, 04:59 PM
Authorized User
 
Join Date: Oct 2004
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Default chapter 5 log in problem

<ModuleSetting xmlns=''> was not expected.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.InvalidOperationException: <ModuleSetting xmlns=''> was not expected.

Source Error:


Line 34: FileStream fs = new FileStream(fileName, FileMode.Open);
Line 35: // use the Deserialize method to retrieve the oject state
Line 36: data = (ModuleSettings)serializer.Deserialize(fs);
Line 37: fs.Close();
Line 38:


Source File: C:\Wrox\ThePhile\Modules\Accounts\ACCOUNTSCONFIGUR ATION\ModuleConfig.cs Line: 36


this is the problem i am getting. any idea ? anyone?



 
Old November 3rd, 2004, 06:32 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts
Default

One of your config files in the config subdirectory has bad syntax. These files have to be valid XML files with the right tags.

Eric
 
Old November 4th, 2004, 08:40 AM
Authorized User
 
Join Date: Oct 2004
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Default

got it. much appreciated man






Similar Threads
Thread Thread Starter Forum Replies Last Post
I can't log in in chapter 5 website asptwodev BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 2 September 13th, 2007 11:12 AM
Can't get Log to write the Log.txt file jnbutler BOOK: Professional XNA Game Programming: For Xbox 360 and Windows ISBN: 978-0-470-12677-6 3 July 31st, 2007 04:04 AM
Log Out problem future Classic ASP Databases 3 November 21st, 2006 08:50 AM
Log Out Problem gkirk Classic ASP Databases 15 May 2nd, 2005 07:25 AM
AppException Class -Log Error to Event Log bekim BOOK: ASP.NET Website Programming Problem-Design-Solution 7 December 7th, 2004 01:01 PM





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