When I try to install Commerce R3 version 7.0.243.o on an existing CMS website (7.0.586) I get an exception saying "Error - Unable to get package metadata."
Import Page provider Entry pageSetup default Association TypeEnable en-US languageCreate roles for default adminCopied ecf_CreateCMSRoles.sqlInstalling packagesInstalling packagesInstalling package: EPiServer.Business.Commerce.AddOns.Manager.1.0.7.nupkgGet-ChildItem : Cannot find path 'C:\Windows\AppData\Modules\7bd4eb37aa3e4b2382044ed06a06e234' because it does not exist.At C:\Program Files (x86)\EPiServer\Framework\7.0.859.1\Install\System Scripts\Install Module Package.ps1:68 char:19+ $itemsToRename = Get-ChildItem $folderToScan+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (C:\Windows\AppD...2044ed06a06e234:String) [Get-ChildItem], ItemNotFoundException + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetChildItemCommand An error has occured and the transaction will be rolled backFailed to rollback copying of files from C:\Program Files (x86)\EPiServer\CMS\7.0.586.1\Install\Modules\EPiServer Commerce 220.127.116.11\Application to D:\TFS\***Commerce\Trunk\Source\***.com\***.comCould not find file 'module.config'.Rolledback
It seems the problem is not MVC. It seems to be with a new website created from visual studio 2010 (File > New Project > EPiServer Web Site). When I try to install Commerce on a website created in VS (Both MVC and Not MVC) I get this error in the installation process.
When I install commerce on a site created by EPiServer Deployment Center it seems to work fine. What is the difference between these site types? How can I fix this?