"PM> update-database -Verbose
update-database : The term 'update-database' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of
the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ update-database -Verbose
+ ~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (update-database:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
SOLUTION:
Update-Package EntityFramework
Problem:
The database file is .sql not .bak
What to do?
"PM> update-database -Verbose
update-database : The term 'update-database' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of
the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ update-database -Verbose
+ ~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (update-database:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
SOLUTION:
Update-Package EntityFramework
Problem:
The database file is .sql not .bak
What to do?
you don't need sql file just update-database will add change to the database.
not be set as expected. Use the -StartUpProjectName parameter to set one explicitly. Use the -Verbose switch for more information.
Geben Sie das Flag '-Verbose' an, um die auf die Zieldatenbank angewendeten SQL-Anweisungen anzuzeigen.
System.Data.SqlClient.SqlException (0x80131904): Netzwerkbezogener oder instanzspezifischer Fehler beim Herstellen einer Verbindung mit SQL Server. Der Server wurde nicht gefunden, oder auf ihn kann nicht zugegriffen werden. Überprüfen Sie, ob der Instanzname richtig ist und ob SQL Server Remoteverbindungen zulässt. (provider: Named Pipes Provider, error: 40 - Verbindung mit SQL Server konnte nicht geöffnet werden) ---> System.ComponentModel.Win32Exception (0x80004005): Das System kann die angegebene Datei nicht finden
bei System.Data.SqlClient.SqlInternalConnectionTds..ct or(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling)
bei System.Data.SqlClient.SqlConnectionFactory.CreateC onnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
bei System.Data.ProviderBase.DbConnectionFactory.Creat ePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
bei System.Data.ProviderBase.DbConnectionPool.CreateOb ject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
bei System.Data.ProviderBase.DbConnectionPool.UserCrea teRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
bei System.Data.ProviderBase.DbConnectionPool.TryGetCo nnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
bei System.Data.ProviderBase.DbConnectionPool.TryGetCo nnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
bei System.Data.ProviderBase.DbConnectionFactory.TryGe tConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
bei System.Data.ProviderBase.DbConnectionInternal.TryO penConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
bei System.Data.ProviderBase.DbConnectionClosed.TryOpe nConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
bei System.Data.SqlClient.SqlConnection.TryOpenInner(T askCompletionSource`1 retry)
bei System.Data.SqlClient.SqlConnection.TryOpen(TaskCo mpletionSource`1 retry)
bei System.Data.SqlClient.SqlConnection.Open()
bei System.Data.Entity.Infrastructure.Interception.DbC onnectionDispatcher.<Open>b__36(DbConnection t, DbConnectionInterceptionContext c)
bei System.Data.Entity.Infrastructure.Interception.Int ernalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed)
bei System.Data.Entity.Infrastructure.Interception.DbC onnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext)
bei System.Data.Entity.SqlServer.SqlProviderServices.< >c__DisplayClass33.<UsingConnection>b__32()
bei System.Data.Entity.SqlServer.DefaultSqlExecutionSt rategy.<>c__DisplayClass1.<Execute>b__0()
bei System.Data.Entity.SqlServer.DefaultSqlExecutionSt rategy.Execute[TResult](Func`1 operation)
bei System.Data.Entity.SqlServer.DefaultSqlExecutionSt rategy.Execute(Action operation)
bei System.Data.Entity.SqlServer.SqlProviderServices.U singConnection(DbConnection sqlConnection, Action`1 act)
bei System.Data.Entity.SqlServer.SqlProviderServices.U singMasterConnection(DbConnection sqlConnection, Action`1 act)
bei System.Data.Entity.SqlServer.SqlProviderServices.C reateDatabaseFromScript(Nullable`1 commandTimeout, DbConnection sqlConnection, String createDatabaseScript)
bei System.Data.Entity.SqlServer.SqlProviderServices.D bCreateDatabase(DbConnection connection, Nullable`1 commandTimeout, StoreItemCollection storeItemCollection)
bei System.Data.Entity.Core.Common.DbProviderServices. CreateDatabase(DbConnection connection, Nullable`1 commandTimeout, StoreItemCollection storeItemCollection)
bei System.Data.Entity.Core.Objects.ObjectContext.Crea teDatabase()
bei System.Data.Entity.Migrations.Utilities.DatabaseCr eator.Create(DbConnection connection)
bei System.Data.Entity.Migrations.DbMigrator.EnsureDat abaseExists(Action mustSucceedToKeepDatabase)
bei System.Data.Entity.Migrations.Infrastructure.Migra torBase.EnsureDatabaseExists(Action mustSucceedToKeepDatabase)
bei System.Data.Entity.Migrations.DbMigrator.Update(St ring targetMigration)
bei System.Data.Entity.Migrations.Infrastructure.Migra torBase.Update(String targetMigration)
bei System.Data.Entity.Migrations.Design.ToolingFacade .UpdateRunner.Run()
bei System.AppDomain.DoCallBack(CrossAppDomainDelegate callBackDelegate)
bei System.AppDomain.DoCallBack(CrossAppDomainDelegate callBackDelegate)
bei System.Data.Entity.Migrations.Design.ToolingFacade .Run(BaseRunner runner)
bei System.Data.Entity.Migrations.Design.ToolingFacade .Update(String targetMigration, Boolean force)
bei System.Data.Entity.Migrations.UpdateDatabaseComman d.<>c__DisplayClass2.<.ctor>b__0()
bei System.Data.Entity.Migrations.MigrationsDomainComm and.Execute(Action command)
ClientConnectionId:00000000-0000-0000-0000-000000000000
Fehlernummer (Error Number):2,Status (State):0,Klasse (Class):20
Open-Source Project 01/31/2013 - CO2 Private Server - 28 Replies Hey everyone,
So, you might remember that I said I was going to make a new open source after Christmas, and I wasn't joking around about that. I'm going to make an open source for multiple games offered by NetDragon Websoft. You all chose Conquer Online (1.0) and Era of Faith. I might add Warlords to it but we'll see.
Now, a few things have changed. First, the project doesn't have to be in C++ anymore. I got the job and I'm working on C# programs there (the company is changing to C#)....
Open-Source Development: A C++ Project 12/02/2012 - CO2 Private Server - 18 Replies Hey everyone,
I haven't made a public project, ever. I'm still working on Kibou (Burning Skies) and that will be returning this winter; however, I feel very bound to that project (and the C# language). I enjoy it, but I'd also like to work on something new. Something for the month that I'm off to do while I'm bored of re-documenting Kibou. That's why I want to make a new project that's not in C#. I want to make a VC++ project. I chose VC++ because I'm more familiar with it (and because I...
Open Source C++ Project 01/07/2011 - SRO Coding Corner - 23 Replies Hello,
Currently I am working, on an Emulator written in C++. My goal is to make a strong group of programmer, who are interested to make a "free 2 use" emulator.
You don´t have to be "professional" or "24/7" programmer, everyone is welcome.
If you see things on the Code or you know how to do it faster / better you can apply a Patch via SVN. If you do this you will be automatically a "Team Member".
Here are some Tips to Submit / Edit an existing Code.
Open Source Project: SREmu 01/25/2009 - Silkroad Online - 18 Replies I am just making this topic to bring your attention to recent development at SREmu.
SREmu has gone from a VB6 project to an open-source C++ project hosted on SourceForge.
At the moment I am the only one working on it, but I would like to see it a community driven project. To clarify: I'm not looking for a team, I'm looking for knowledgable people that code in C++, preferably with some experience with x86 assembler, packet logging / parsing, subversion, visual studio, etc.
About the...