Microsoft.VisualBasic.Helpers.ProjectData 有没有这个相关的DLL?
解决方案 »
- 正则求匹配····
- asp.net 的button控件高级问题
- 新手散分!往各位帮着看看!给出解答!RadioButtonList写入数据库问题!
- 有什么好的工具做无规律型的随机web报表吗 ?
- 救救我吧,为什么SQL备份后只能恢复数据,不能恢复表和存储过程?
- 请问如何把表情加入到发表内容文本框中
- 请推荐一个好的.NET空间
- 如何控制由datagrid点击编辑按钮后自动产生的TextBox的样式(如:宽度)(
- 怎么我的xmlHttp.send()传的参数多了之后,按钮就无反应呢?
- Vs里的aspx文件如何用快捷键切换到纯【源】页面?
- 发邮件时aspnet_wp进程老是使cpu达到100%怎么回事?
- DataNavigateUrlFormatString="bbs/test.asp?id={0}"
Microsoft.VisualBasic.Helpers.ProjectData
这个是什么dll?怎么找到? yy_will(悠悠冰河):
虚拟目录当然有,不过创建应用程序我没有做。需要创建什么程序?
我是直接把书上的光盘文件复制到虚拟目录下执行的。
书上的提示也没要求作别的,就是说放在根目录下,我都照做的。
按照这2个方法
1. Add a "Debug=true" directive at the top of the file that generated the error. Example: <%@ Page Language="C#" Debug="true" %>or:2) Add the following section to the configuration file of your application:<configuration>
<system.web>
<compilation debug="true"/>
</system.web>
</configuration>
再执行看详细的出错信息
xiahouwen(活靶子.NET)
我试过勒,出来的详细错误提示第14行Server Error in '/' Application.
--------------------------------------------------------------------------------Could not load type Microsoft.VisualBasic.Helpers.ProjectData from assembly Microsoft.VisualBasic, Version=7.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a.
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.TypeLoadException: Could not load type Microsoft.VisualBasic.Helpers.ProjectData from assembly Microsoft.VisualBasic, Version=7.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a.Source Error:
Line 12: if page.isvalid then
Line 13: reg.username=username.text
Line 14: if not reg.queryuser then
Line 15: reg.userpassword=psw.text
Line 16: reg.name=truename.text
Source File: c:\inetpub\wwwroot\register\register.aspx Line: 14 Stack Trace:
[TypeLoadException: Could not load type Microsoft.VisualBasic.Helpers.ProjectData from assembly Microsoft.VisualBasic, Version=7.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a.]
cindyking.register.queryuser() +0
ASP.register_aspx.butclick(Object sender, EventArgs e) in c:\inetpub\wwwroot\register\register.aspx:14
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +108
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +57
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +18
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain() +1277
很多人都说设置虚拟目录,那我回去仔细检查看看吧。先结这贴,有问题再回来问。
这2行我不太明白
Line 13: reg.username=username.text
Line 14: if not reg.queryuser then
看你的13行reg.username该是个字符串
14行进行的好像是逻辑运算??
VB的语法我不懂
不过猜测
if not 这里 then 内应该是个逻辑值
实在不行照书上自己做一遍,不要COPY
不过还没想好怎么弄。