0
Hasan created
Dear Team,
When i run migrate.exe, it is suddenly not working.
Could you please let me know what i have to do ?
C:\Sites\SHIRO\bin>migrate.exe DinePlan.DineConnect.EntityFramework.dll /startupConfigurationFile="..\web.config" /verbose
System.IO.IOException: The directory name is invalid.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Path.InternalGetTempFileName(Boolean checkHost)
at System.Data.Entity.Migrations.Utilities.ConfigurationFileUpdater.Update(String configurationFile)
at System.Data.Entity.Migrations.Design.ToolingFacade..ctor(String migrationsAssemblyName, String contextAssemblyName, String configurationTypeName
, String workingDirectory, String configurationFilePath, String dataDirectory, DbConnectionInfo connectionStringInfo)
at System.Data.Entity.Migrations.Console.Program.CreateFacade()
at System.Data.Entity.Migrations.Console.Program.Run()
at System.Data.Entity.Migrations.Console.Program.Main(String[] args)
ERROR: The directory name is invalid.
C:\Sites\SHIRO\bin>
1 Answer(s)
-
0
Hi Hasan,
migrate.exe is provided by Microsoft, maybe you can find a solution searching this on the web. If you cannot find a solution, you can use Migrator tool in AspNet Zero project.
Thanks.