源码信息

最新源码评论

  • 评论者:hhdyx
    hhdyx(用户) 发表于:2008-03-18 11:05:00

    我下载了明日网络考试系统源码,附加了数据库后打开页面出错:<br/>Server Error in '/MrNetExam' Application.<br/>--------------------------------------------------------------------------------<br/><br/>Parser Error <br/>Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. <br/><br/>Parser Error Message: Could not load type 'Default'.<br/><br/>Source Error: <br/><br/><br/>Line 1:&nbsp;&nbsp;&lt;%@ Page Language=&quot;C#&quot; AutoEventWireup=&quot;true&quot;&nbsp;&nbsp;CodeFile=&quot;Default.aspx.cs&quot; Inherits=&quot;Default&quot; %&gt;<br/>Line 2:&nbsp;&nbsp;<br/>Line 3:&nbsp;&nbsp;&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;<a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" target="_blank">http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;</a>;&gt;<br/><br/><br/>Source File: C:\Inetpub\wwwroot\MrNetExam\Default.aspx&nbsp;&nbsp;&nbsp;&nbsp;Line: 1 <br/><br/><br/>--------------------------------------------------------------------------------<br/>Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573 <br/>请问大家这是什么问题,该如何解决啊?

    3 个回复
    • 回复者:51aspx
      51aspx(编辑)回复于:2008-03-20 09:58:00

      是不是没有编译或缺少dll文件呢?<br/><br/>这个和附加数据库好像没什么关系的

    • 回复者:tanronlh
      tanronlh(用户)回复于:2008-06-27 15:07:00

      App_Data下为Sql2005数据库,DB_51aspx下为Sql2000数据库,请选择使用<br/>数据库连接字符串请修改App_Code/DataBase.cs中的&nbsp;&nbsp;con = new SqlConnection(&quot;Data Source=.\\Sql2005;DataBase=db_SIS;User ID=sa;PWD=sa&quot;);

    • 回复者:tanronlh
      tanronlh(用户)回复于:2008-06-27 15:12:00

      App_Data下为Sql2005数据库,DB_51aspx下为Sql2000数据库,请选择使用<br/>数据库连接字符串请修改App_Code/DataBase.cs中的&nbsp;&nbsp;con = new SqlConnection(&quot;Data Source=.\\Sql2000;DataBase=db_SIS;User ID=sa;PWD=sa&quot;);<br/>更改为DataBase=数据库名;User ID=SQL用户名;PWD=SQL密码