Base solution for your next web application
Open Closed

No language defined in this application. #1853


User avatar
0
jgtait created

I'm having problems with the initial set up.

When I try to use the updats-database command I get the following error -

PM> update-database Specify the '-Verbose' flag to view the SQL statements being applied to the target database. System.Runtime.Serialization.SerializationException: Type is not resolved for member 'System.Data.Entity.Migrations.Design.ToolingFacade+UpdateRunner,EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. at System.AppDomain.DoCallBack(CrossAppDomainDelegate callBackDelegate) at System.Data.Entity.Migrations.Design.ToolingFacade.Run(BaseRunner runner) at System.Data.Entity.Migrations.Design.ToolingFacade.Update(String targetMigration, Boolean force) at System.Data.Entity.Migrations.UpdateDatabaseCommand.<>c__DisplayClass2.<.ctor>b__0() at System.Data.Entity.Migrations.MigrationsDomainCommand.Execute(Action command) Type is not resolved for member 'System.Data.Entity.Migrations.Design.ToolingFacade+UpdateRunner,EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'

This seems to result in the error I get when running the application (No language defined in this application.)

The database is running in Azure. I've checked ansd tables have been added.

Any ideas?


5 Answer(s)
  • User Avatar
    0
    hikalkan created
    Support Team

    Hi,

    This error comes from Entity Framework and seems not related to AspNet Zero. Have you searched web for it?

  • User Avatar
    0
    vnetonline created

    I am having the same issue.

    can you please help !!!!

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    I'm not sure but one of the cases told here might be your problem. <a class="postlink" href="http://stackoverflow.com/questions/13144827/entity-framework-code-first-migrations-enable-migrations-fails">http://stackoverflow.com/questions/1314 ... ions-fails</a>

    Can you check that ?

  • User Avatar
    0
    jgtait created

    In case anyone else is having the same issue it is a simple fix.

    My project was in a folder called 'ASP.NET MVC 5 & jQuery'

    It was the ampersand in the folder name that was causing the problem. Changed to 'ASP.NET MVC 5 and jQuery' and it worked fine.

  • User Avatar
    0
    ismcagdas created
    Support Team

    Thanks @jgtait :).