把WEB.CONFIG中的数据库连接换成你的登陆信息 <add key="connectionString" value="server=localhost;User=sa;pwd=;database=AspNetForums" />
解决方案 »
- GridView编辑行相关问题
- 上传图片重复生成文件夹
- MSSQL数据库被注入大量逻辑符合的记录数据,类似企业信息
- 请教:在WEB自定义控件开发过程中,生成的DIV嵌套Img对象时,结束符号之间换行引起的间隔的问题。
- 关于asp.net处理服务器转发WEB请求的问题
- gridview中如何触发select某行事件
- 如何捕捉Microsoft.Web.UI.WebControls.TreeView的鼠标单击事件?
- 新手求各位指导.net的学习之路
- 把一个Button放到DataGrid里边,点击Button响应的是什么事件?为什么不响应DataGrid的ItemCommand事件?
- entityFramework怎么连接sql anywhere数据库
- 这本用C#讲ASP。NET的书什么样???是不是BETA版的?
- 如何实现这样的效果<iew....
Server Error in '/AspNetForums' Application.
--------------------------------------------------------------------------------无法解决 equal to 操作的排序规则冲突。
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.SqlClient.SqlException: 无法解决 equal to 操作的排序规则冲突。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:
[SqlException: 无法解决 equal to 操作的排序规则冲突。]
System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream) +723
System.Data.SqlClient.SqlCommand.ExecuteReader() +41
AspNetForums.Data.SqlDataProvider.GetSiteStatistics() +109
AspNetForums.Components.Statistics.GetSiteStatistics() +120
AspNetForums.Controls.SiteStats.InitializeSkin(Control skin) +20
AspNetForums.Controls.SkinnedForumWebControl.CreateChildControls() +24
System.Web.UI.Control.EnsureChildControls() +100
System.Web.UI.Control.PreRenderRecursiveInternal() +38
System.Web.UI.Control.PreRenderRecursiveInternal() +125
System.Web.UI.Control.PreRenderRecursiveInternal() +125
System.Web.UI.Control.PreRenderRecursiveInternal() +125
System.Web.UI.Page.ProcessRequestMain() +1489
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.12; ASP.NET Version:1.1.4322.12
我试过了,你装上了吗?
你用的什么系统?Sql什么语言版本?
CREATE Table #Top500Users (
Rank int IDENTITY (1, 1) NOT NULL ,
UserName nvarchar(50)
为
CREATE Table #Top500Users (
Rank int IDENTITY (1, 1) NOT NULL ,
UserName nvarchar(50) COLLATE SQL_Latin1_General_CP1_CI_AS