正在学习ASP.NET,书是用的《asp.net 3.5揭秘》,但有的章节总是出现aspnetdb.mdf这个文件的加载问题。我已把一章的示例代码打包在这个文件中:http://www.mofile.com/pickup/u3h4bhyz081jsiu/例如:运行CreateUserWizardPasswordConfirmation.aspx文件,填好注册内容确定后,会出现错误:在文件 'E:\aa\ASP.NET3.5(2)\Chapter22\CS\App_Data\aspnetdb.mdf' 中、偏移量为 0x00000000040000 的位置执行 读取 期间,操作系统已经向 SQL Server 返回了错误 38(已到文件结尾。)。SQL Server 错误日志和系统事件日志中的其他消息可能提供了更详细信息。这是一个威胁数据库完整性的严重系统级错误条件,必须立即纠正。请执行完整的数据库一致性检查(DBCC CHECKDB)。此错误可以由许多因素导致;有关详细信息,请参阅 SQL Server 联机丛书。.........用的是vs2008,直接在vs2008中运行的该网页。请问高手问题是出在哪里?多谢了!
解决方案 »
- treeview 删除节点后 重新访问页面删除的节点还是存在
- 如何让outlook和.exe件在server上始终运行,无人职守呢?
- 在应用程序级别以外使用注册为 allowDefinition='MachineToApplication' 的节是错误的
- 验证控件问题,急!急!急!急!急!急!急!
- 经常出现类似的问题 ~~
- datagrid中EditCommand方法遇到的问题
- excel格式設置問題
- 我在运行时,页面提示错误,可是它很快就跳到百度里去了,我都没时间看什么错误,怎么回事啊?怎么解决?
- 请你们看看!急急急!
- 100分,帮忙看看出现这种错误会是什么原因??!!
- 类似本论坛发帖自动提示相关问题功能
- javascript脚本如何在后台中断程序,看代码
<%@ Page Language="C#" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
<title>CreateUserWizard Password Confirmation</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:CreateUserWizard
id="CreateUserWizard1"
CompleteSuccessText="A confirmation email
containing your new password has been
sent to your email address."
AutoGeneratePassword="true"
LoginCreatedUser="false"
ContinueDestinationPageUrl="~/Login.aspx"
Runat="server">
<MailDefinition
From="[email protected]"
BodyFileName="PasswordConfirmation.htm"
IsBodyHtml="true"
Subject="Registration Confirmation" />
</asp:CreateUserWizard>
</div>
</form>
</body>
</html>
别使用SQL Express了