Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
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 June 16th, 2004, 11:04 AM
Registered User
 
Join Date: Jun 2004
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default The Code of book ASP.NET Website Programming Error

The Code(VB) of book ASP.NET Website Programming Error

I come from China,and i had bought the book of ASP.NET Website Programming Error(Problem-Design-Solution),in China,GB2312 Edtion was pressed by Tsinghua University.
     I am a VB Programmer,but in China,the book haven't VB Edtion,so i bought the C# Edtion,becase i can read it.
     Then i download the source code(VB) of the book,follow the readme file,i installed and run it successfully,but i found a Error in Forums Module.The error file is forums/Topic.aspx.for example:
http://localhost/ThePhileVB/WebModul...spx?TopicId=50
get the following error:


Error Message:
¶Ô text Êý¾ÝÀàÐͲ»Ö§³Ö´úÂëҳת»»¡ £´Ó: 1252 µ½: 936¡£
(text data type can't support code page tranform,from 1252 to 936)

Error Stack:
System.Data.SqlClient.SqlException: ¶Ô text Êý¾ÝÀàÐͲ»Ö§³Ö´úÂëҳת»»¡ £´Ó: 1252 µ½: 936¡£
at System.Data.SqlClient.SqlCommand.ExecuteReader(Com mandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream)
at System.Data.SqlClient.SqlCommand.ExecuteReader(Com mandBehavior behavior)
at System.Data.SqlClient.SqlCommand.System.Data.IDbCo mmand.ExecuteReader(CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.FillFromCommand(O bject data, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable)
at Wrox.WebModules.Data.DbObject.RunProcedure(String storedProcName, IDataParameter[] parameters, String tableName) in G:\asp.net\8163_code_v7\8163_code_v7\wrox\wrox\The PhileVB\WebModules\Core\DBObject.vb:line 103
at Wrox.WebModules.Forums.Data.Replies.GetReplies(Int 32 topicId, Int32 pageNumber, Int32 pageSize) in G:\asp.net\8163_code_v7\8163_code_v7\wrox\wrox\The PhileVB\WebModules\Forums\Forums.Data\Replies.vb:l ine 87
at Wrox.WebModules.Forums.Business.Topic.GetReplies(I nt32 pageNumber) in G:\asp.net\8163_code_v7\8163_code_v7\wrox\wrox\The PhileVB\WebModules\Forums\Forums.Business\Topic.vb :line 150
at Wrox.WebModules.Forums.Web.Topic.BindGrid() in G:\asp.net\8163_code_v7\8163_code_v7\wrox\wrox\The PhileVB\WebModules\Forums\Topic.aspx.vb:line 287
at Wrox.WebModules.Forums.Web.Topic.Page_Load(Object sender, EventArgs e) in G:\asp.net\8163_code_v7\8163_code_v7\wrox\wrox\The PhileVB\WebModules\Forums\Topic.aspx.vb:line 144
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain()


and i found a another problem,the snk file must copy to C disk,becase the config file was specify the directory.


Hope Administrator reply me early.
Thanks.




Similar Threads
Thread Thread Starter Forum Replies Last Post
ASP.NET Website Programming: Problem - Design - So YourPhobia ASP.NET 1.0 and 1.1 Basics 0 March 5th, 2006 10:15 AM
ASP.NET Website Programming Book edwin BOOK: ASP.NET Website Programming Problem-Design-Solution 2 December 6th, 2004 10:55 PM
Professional Asp.Net Website Programming Michael Randall All Other Wrox Books 1 January 11th, 2004 10:33 AM
ASP.NET Website Programming: ... VB.NET ed. slowhand BOOK: ASP.NET Website Programming Problem-Design-Solution 0 November 29th, 2003 09:56 PM
ASP.NET Website Programming VB.NET version lean4huskytop Wrox Book Feedback 1 July 7th, 2003 10:35 AM





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