如果您的操作系统是英文的或其它语言(不是简体中文),而且您用的XpShop商城系统的数据库是access数据库,那么运行XpShop程序是可能会出错.
出错信息如下:
Server Error in '/' Application. Selected collating sequence not supported by the operating system. 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.Data.OleDb.OleDbException: Selected collating sequence not supported by the operating system.
Source Error:An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:[OleDbException (0x80004005): Selected collating sequence not supported by the operating system.] System.Data.OleDb.OleDbCommand.ExecuteCommandTextErrorHandling(Int32 hr) +41 System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleResult(tagDBPARAMS dbParams, Object& executeResult) +174 System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& executeResult) +92 System.Data.OleDb.OleDbCommand.ExecuteCommand(CommandBehavior behavior, Object& executeResult) +65 System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method) +112 System.Data.OleDb.OleDbCommand.ExecuteReader(CommandBehavior behavior) +68 System.Data.OleDb.OleDbCommand.ExecuteReader() +7 mylogin.job.admin.test.Page_Load(Object sender, EventArgs e) System.Web.UI.Control.OnLoad(EventArgs e) +67 System.Web.UI.Control.LoadRecursive() +35 System.Web.UI.Page.ProcessRequestMain() +731
解决方法:
把数据库的默认语言改成英文或你的操作系统的语言。
工具->选项->常规->新建数据库排序次序