佳礼资讯网

 找回密码
 注册

ADVERTISEMENT

查看: 928|回复: 4

.net 2.0 Dataset在localhost可以但是放上網就不能跑了﹖

[复制链接]
发表于 7-11-2007 04:08 PM | 显示全部楼层 |阅读模式
我create 了一個file dataset1.xsd,在自己電腦跑沒問題﹐但是放上webserver就出現以下的問題﹐有誰能幫幫忙給我一點意見嗎﹖謝謝


Server Error in '/mdownload' Application. The type specified in the TypeName property of ObjectDataSource 'ObjectDataSource1' could not be found. 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.InvalidOperationException: The type specified in the TypeName property of ObjectDataSource 'ObjectDataSource1' could not be found.

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.

回复

使用道具 举报


ADVERTISEMENT

阿牙木 该用户已被删除
发表于 7-11-2007 04:51 PM | 显示全部楼层
dataset1.xsd 是放在 App_Code 里吗?
回复

使用道具 举报

 楼主| 发表于 9-11-2007 09:40 AM | 显示全部楼层
原帖由 阿牙木 于 7-11-2007 04:51 PM 发表
dataset1.xsd 是放在 App_Code 里吗?


是..................
回复

使用道具 举报

黑血球 该用户已被删除
发表于 11-11-2007 08:45 PM | 显示全部楼层
我找到这个,不懂能不能帮到你

Issue 5: Converting the Personal Web Site Starter Kit (Visual Basic)(This issue applies only when using Visual Basic.) When converting the Visual Basic version of the Personal Web Site starter kit to a Web application project, you will see a run-time error similar to the following:



Server Error in '/' ApplicationThe type specified in the TypeName property of ObjectDataSource 'ObjectDataSource1' could not be found
To resolve the error, you must add the project namespace to the TypeName property. Assuming your project namespace is "wap1", follow these steps.
  • Open the Member_List.aspx page.
  • Change the type name in the ObjectDataSource declaration to be fully qualified, as in the following example:


    <asp:ObjectDataSource TypeName="wap1.MemberDetails" >


[ 本帖最后由 黑血球 于 11-11-2007 08:48 PM 编辑 ]
回复

使用道具 举报

 楼主| 发表于 12-11-2007 01:30 PM | 显示全部楼层
原帖由 黑血球 于 11-11-2007 08:45 PM 发表
我找到这个,不懂能不能帮到你

Issue 5: Converting the Personal Web Site Starter Kit (Visual Basic)(This issue applies only when using Visual Basic.) When converting the Visual Basic version of  ...


謝謝。。。。暫時我不用DATASET用SQLCONNECTION了
上星期WEB SERVER還給我弄到有點問題
算了。。。我不要去SET了拉﹗
有問題就被人罵了

但是暫時還是能work拉﹗
但是未來如果要做更多的。。。。。就很有問題了
到時候懂SERVER的人就會出招了吧﹗
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

 

ADVERTISEMENT



ADVERTISEMENT



ADVERTISEMENT

ADVERTISEMENT


版权所有 © 1996-2023 Cari Internet Sdn Bhd (483575-W)|IPSERVERONE 提供云主机|广告刊登|关于我们|私隐权|免控|投诉|联络|脸书|佳礼资讯网

GMT+8, 20-9-2025 05:55 PM , Processed in 0.178016 second(s), 25 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表