My ASP.net MVC 4 runs well on my local machine but failed to run on somee. Here is the error messageSystem.Data.SqlClient.SqlException: Invalid object name 'dbo.a_table'.
Source error is var model = @Html.Raw(Json.Encode(Model.ToList()))
I have changed the connection string in web.xml to match with that that Somee provided me. Any idea to get me out of this? I tried to download the database that I had uploaded to Somee and there seems to be nothing wrong with it.
Thank you in advance
P/s: I am not quite sure if I posted in the right place.
None
0 Points
1 Post
Database "loses" a table when upload to Somee host
May 18, 2013 12:06 AM|Nathan Chau|LINK
My ASP.net MVC 4 runs well on my local machine but failed to run on somee. Here is the error message
System.Data.SqlClient.SqlException: Invalid object name 'dbo.a_table'.
Source error is
var model = @Html.Raw(Json.Encode(Model.ToList()))
I have changed the connection string in web.xml to match with that that Somee provided me. Any idea to get me out of this? I tried to download the database that I had uploaded to Somee and there seems to be nothing wrong with it.
Thank you in advance
P/s: I am not quite sure if I posted in the right place.
All-Star
120146 Points
27989 Posts
Moderator
MVP
Re: Database "loses" a table when upload to Somee host
May 18, 2013 10:57 PM|ignatandrei|LINK
Maybe web.config?
How are you sure that you have the right connection string to the rights database?