2014-09-22 90 views
-1

我买了我的ASP网站,一个问题,当我试图连接到主页,它说无效的对象名称dbo.tbLanguage - ASP.net

"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.Data.SqlClient.SqlException: Invalid object name 'dbo.tbLanguage'" 

这是非常奇怪的,因为当我创建一个新的文件命名为“abc.html”,然后键入 “localhost/abc.html”它再次遇到此错误。

我认为这个错误是由服务器造成的,而不是我的代码,但我该如何解决这个问题。 感谢

+0

可能是一个错字'dbo.tbLanguage'与例如'dbo.tblLanguage' – bummi 2014-09-22 08:05:14

+0

请分享代码! – 2014-09-22 08:16:30

回答

1

我认为你有关于设置tblLanguagetbLanguage
一个简单的错误,请检查它

0

感谢有趣的关于这个,我刚刚检查了,我发现的是,台“tbLanguage”错过了。当我将数据库从本地主机迁移到服务器时出现问题。 谢谢