作者大大,有没有这个项目的演示地址呀...
作者发一份数据库脚本...
全部代码和素材、数据库脚本,还录制了详尽的配套视频教程,不知道在哪里...
看不到我要的源码。
请问 我下载了个c#的留言 用VS2005打开之后 然后登入 <br/>错误 提示未能映射路径/App_data/iyedu_mess.mdb/<br/>这行错了 return new OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + System.Web.HttpContext.Current.Server.MapPath("/App_Data/iyedu_mess.mdb"));<br/><br/>我该怎么改呢
你要在Web.config 里把数据库路径改为当前目录,<br/>比如你把项目解压在D:\feng_51aspx 目录下.就把 <add key="lyb_data" value="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=E:\downCode\锋.net留言板\data\data.mdb;" /> 改为<add key="lyb_data" value="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\feng_51aspx\data\data.mdb;" />
<b><font color="deepskyblue">锋.NET简洁留言板调试有错?不知道是我的问题还是源码本身的问题,呵呵...具体如下:</font></b><br/><br/>Server Error in '/f' Application. <i>Compilation Error</i> <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif"><b>Description: </b>An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. <br/><br/><b>Compiler Error Message: </b>CS0433: The type 'feng.admin' exists in both 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\f\f51dbcd3\167b67c8\App_Web_neb2enjs.dll' and 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\f\f51dbcd3\167b67c8\assembly\dl3\9b0edc6e\0065f14f_bdfec301\wulinfeng.DLL'<br/><br/><b>Source Error:</b><br/><br/><table class="t_table" cellspacing="1" cellpadding="4" style="width:98%;background: #ffffcc;"><tr><td> </td></tr><tr><td>Line 110: Line 111: [System.Runtime.CompilerServices.CompilerGlobalScopeAttribute()]<font color="red">Line 112: public class admin_aspx : global::feng.admin, System.Web.SessionState.IRequiresSessionState, System.Web.IHttpHandler {</font>Line 113: Line 114: </td></tr></table><br/><b><font face="Verdana">Source File:</font></b> c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\f\f51dbcd3\167b67c8\App_Web_admin.aspx.cdcab7d2.efzstyhg.0.cs <b><font face="Verdana">Line:</font></b> 112 <br/><br/><br/>Show Detailed Compiler Output:<br/><br/><table class="t_table" cellspacing="1" cellpadding="4" style="width:98%;background: #ffffcc;"><tr><td>(代码太长,已删)</td></tr></table><br/><br/>Show Complete Compilation Source:<br/><br/><table class="t_table" cellspacing="1" cellpadding="4" style="width:98%;background: #ffffcc;"><tr><td>(代码太长,已删)</td></tr></table><br/><br/><b><font face="Verdana">Version Information:</font></b> Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42 </font>
你把'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\f\f51dbcd3\167b67c8\App_Web_neb2enjs.dll这个删除一下试试看
没人理,郁闷...:L
看解析好像是说两个路径中都存在那个类了,我不太明白是什么意思,我菜鸟的,还希望指正错误....
就我这帖子没人回了,难道问题太菜了?没人理...????郁闷呀.....
开发环境: VS2005+Access | 开发语言:C# <IMG alt="" src="http://www.51aspx.com/codeImg/82A.jpg" border=0> <IMG alt="" src="http://www.51aspx.com/codeImg/82B.jpg" border=0> 标签: <A href="http://www.51aspx.com/Tags/6" target=_blank>开源</A> - <A href="http://www.51aspx.com/Tags/7" target=_blank>源码</A> - <A href="http://www.51aspx.com/Tags/8" target=_blank>Asp.net2.0</A> - 一个实用功能很不错的留言系统,高效率分页,使用access库,绝对适合个人建站使用... 使用前请先配置数据库路径 如果想实现更多功能请自行编译修改 下载地址: <A href="http://www.51aspx.com/CV/194J1VSGCPS72/" target=_blank>http://www.51aspx.com/CV/194J1VSGCPS72/</A>
顶起~!
了解一下