Error using copyfile The requested lookup key was not found in any active activation context
4 次查看(过去 30 天)
显示 更早的评论
Hi,
I obtained the error as on title for the following commands.
cd subfolder
copyfile('filename.txt', '../')
cd ..
The error also happens if I write as
main_folder = pwd;
cd subfolder
copyfile('filename.txt', main_folder)
cd ..
Please let me know of any possible reasons,
Thanks
4 个评论
Walter Roberson
2019-7-30
Nearly everything I find says that it is due to broken explorer either after virus fixes or after windows update. http://www.mitchellenright.com/2011/11/01/requested-lookup-key-was-not-found/ talks about issues that can arise if you do a system repair after having upgraded IE versions.
I do find a few other possibilities:
https://pradystechblog.wordpress.com/2010/04/27/error-14007the-requested-lookup-key-was-not-found-in-any-active-activation-context/ Which deals with Windows Installer which I would not expect to be relevant
https://answers.sap.com/questions/3538416/ui-error-the-requested-lookup-key-was-not-found-in.html talks about SAP and connection strings (whatever those are) and says that really it is a Microsoft bug
https://helpdesk.coresystems.ch/hc/en-us/articles/201972041-The-requested-look-up-key-was-not-found-in-any-activation-context-Nachschlageschl%C3%BCssel- is more SAP related that I don't think will help
https://www.veritas.com/support/en_US/article.100016583 sql server not properly registered which seems irrelevant
https://help.extensis.com/hc/en-us/articles/115007239307-Portfolio-Media-Engine-installation-fails-with-Internal-Error-27555-Win- an installer needs a user named Administrator which should also be irrelevant to your situation
As a vague possibility: the bit about missing username during an installation hints to me that just maybe there could be problems if you were copying between systems and the file user credentials do not exist on the destination. I have low confidence in this being the case.
I would suggest that you ask your IT people to do a process trace as you attempt the file copy. But first it would probably be good to reinstall matlab in case some matlab dll got unregistered or corrupted.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Install Products 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!