After migration import definition tries to look for old file location
I migrated to a new server. Moved the db, moved the code. On the new server the filelocations are a bit different.
When I open up an old definition I get this error:
Error during load, check the logfile for details Can't open the file. File "C:\Resources\directory\efbcd85bfd7048b69c5ba21149e7b2fa.WebRole.Sites\doefiets.cloudapp.net\Doefiets.Web\app_data\cmsimport\9565c141-cc30-4d21-b08a-c7ecd2399039_import-test20130319.xlsx" doesn't exist. Please check the path again.
The logs give me this:
Error during load System.ArgumentException: Can't open the file. File "C:\Resources\directory\efbcd85bfd7048b69c5ba21149e7b2fa.WebRole.Sites\doefiets.cloudapp.net\Doefiets.Web\app_data\cmsimport\9565c141-cc30-4d21-b08a-c7ecd2399039_import-test20130319.xlsx" doesn't exist. Please check the path again. at DTG.Spreadsheet.ExcelWorkbook.ReadXLSX(String FileName) at CMSImportLibrary.DataAdapters.Pro.Office.MSExcelDataAdapter.() at CMSImportLibrary.DataAdapters.Pro.Office.MSExcelDataAdapter.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.AddedControl(Control control, Int32 index) at CMSImport.Controls.CMSImport.OnPreRender(EventArgs e)
Yes this wasn't checked for Excel. I've just send you some dll's that should fix this. You need to upload the excel file again when opening the import definition, also for the child defnitions. But you can continue instead of starting all over again.
After migration import definition tries to look for old file location
I migrated to a new server. Moved the db, moved the code. On the new server the filelocations are a bit different.
When I open up an old definition I get this error:
Error during load, check the logfile for details Can't open the file. File "C:\Resources\directory\efbcd85bfd7048b69c5ba21149e7b2fa.WebRole.Sites\doefiets.cloudapp.net\Doefiets.Web\app_data\cmsimport\9565c141-cc30-4d21-b08a-c7ecd2399039_import-test20130319.xlsx" doesn't exist. Please check the path again.
The logs give me this:
Error during load System.ArgumentException: Can't open the file. File "C:\Resources\directory\efbcd85bfd7048b69c5ba21149e7b2fa.WebRole.Sites\doefiets.cloudapp.net\Doefiets.Web\app_data\cmsimport\9565c141-cc30-4d21-b08a-c7ecd2399039_import-test20130319.xlsx" doesn't exist. Please check the path again. at DTG.Spreadsheet.ExcelWorkbook.ReadXLSX(String FileName) at CMSImportLibrary.DataAdapters.Pro.Office.MSExcelDataAdapter.() at CMSImportLibrary.DataAdapters.Pro.Office.MSExcelDataAdapter.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.AddedControl(Control control, Int32 index) at CMSImport.Controls.CMSImport.OnPreRender(EventArgs e)
Thanks, for your help
Hi Gijs,
Yes this wasn't checked for Excel. I've just send you some dll's that should fix this. You need to upload the excel file again when opening the import definition, also for the child defnitions. But you can continue instead of starting all over again.
Best,
Richard
I'm getting the same error on our site. Any chance I could also get the updated DLLs.
Sure send me an email [email protected] and I send you the dll's
is working on a reply...