Is there a place i need to make a modification for this. I moved the site to a different folder and now i get the following error.
[DirectoryNotFoundException: Could not find a part of the path 'S:\WWWROOT\Blend\LT\Website\ClientResources\ClientResources\packages.config'.]
System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +224
System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) +1352
System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) +65
EPiServer.Framework.Web.Resources.ClientResourceService.<.ctor>b__1(IClientResourceProvider p) +8
System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) +381
System.Linq.Enumerable.ToList(IEnumerable`1 source) +58
Any help would be appreciated.
this happens now when i add this to the mvc template
Paths are configured in the virtualPathProviders section of EPiServerFramework.config and there's corresponding configuration for the module virtual path roots in the episerver.shell section of web.config.
Which actions did you perform in the move? I think a bit more information is required to figure out which additional steps are needed.
Could you check fololowing configuration option in EPiServerFramework.config?
<appData basePath="C:\EPiServer\VPP\SiteName" />
Does it contains correct base path for site VPPs folder?
Dmytro's solution fix the problem for me, thanks! I didn't notice that EPiServer tries to create the VPP (or AppData) folder if it does not exist.
Fixed my problem too
It didnt fix my problem :)
It happens when someone tries to login, and then every page is broken. I am hunting maybe for a episerver edit/admin part that fucks it up.
I copied all the missing stuff in the episerverframwork config from a working clean Epi7 project, the problem-project is an upgrade-project.
Is it just me that gets this problem?
Kristian, did you ever solve this? I have i similar error...
I think it is the basepath, because I suddenly got the same problem on a fresh project, now I use \\xx.xx.xx.xx\vpp\[Project Name], but I have to change to the physical path, or so I think. I am going back to this problem project next week, and I hope to fix it quick.
Did you find a solution for the problem project, Kristian?
Yeah, my module folder in the VPP Folder was empty, and after copying over the files and dlls from my devPC it started to work.I figured it out because after fixing the basepath I could access all the site except edit/admin.
Thank you so much, it worked!
Made a new project and copied over the VPP folder to my projects appData path.
Note to anyone wondering: Also works with a relative path.
Just a note. I had this problem - the module folders were missing BUT i had to restart IIS before it worked. Puzzled me for half an hour or so
Make sure your web.config contains the following too (version 7.19):
<publicModules rootPath="~/modules/" autoDiscovery="Modules" />
<add name="Shell" />
<add name="CMS" />