lundi 30 novembre 2015

Invalid object name 'GEO.AspNetUsers'

i developed the WEB API by VS2013, the database used by the WEB API is on the Azure cloud, i run the test page on the VS2013, and it can work with the WEB API quite well.

But once i publish the WEB API and the test page to the Azure Web APPS, and tried to access the WEB API by the test page, i got the error as below:

Invalid object name 'GEO.AspNetUsers'. 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 'GEO.AspNetUsers'. 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.

But the object is really existed in the database, i have no idea why the server told me this error.




Aucun commentaire:

Enregistrer un commentaire