且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在实时服务器上运行时,基于Web的应用程序中出现错误

更新时间:2023-10-11 09:59:28

找不到您的ObjectDataSource1,共振可能是
1)ObjectDataSource1标记中存在一些语法错误,该语法错误无法解析并且无法创建控件对象.
2)您已将其从aspx标记页中删除.
3)@Page指令中的类文件名后面的代码不正确(请使用名称空间检查)

验证代码是否可以解决:)
Your ObjectDataSource1 is not found, reson could be
1) there is some syntax error in your ObjectDataSource1 markup, which is not parsing and not able yo create a control object.
2) you have removed it from your aspx markup page.
3) codebehind class file name in the @Page directive is not propper (check with namespace)

verify your code for solution :)


通过为用作TypeName的类提供完全指定的名称空间来尝试..

即namespace.namespace ....(.)className

我认为您可能提供了无效的类,或者名称空间跟踪不适用于您要指向的确切类.
try by providing fully specified namespace for the class you are using as TypeName..

i.e namespace.namespace.... (.)className

i think you are maybe providing invalid class or the namespace track is not proper to exact class you are trying to point to.