locked
Database "loses" a table when upload to Somee host RRS feed

  • Question

  • User-23383032 posted

    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.

    Saturday, May 18, 2013 12:06 AM

All replies

  • User197322208 posted

    I have changed the connection string in web.xml

    Maybe web.config?

    I tried to download the database that I had uploaded to Somee and there seems to be nothing wrong with it.

    How are you sure that you have the right connection string to the rights database?

    Saturday, May 18, 2013 10:57 PM