I'm trying to set up a couple of virual folders but I keep getting invalid character errors.
My first problem is that I'm not sure what provider I'm supposed to use? The folder is on a network drive.
Second problem is the "ä" in the path. I've tried converting it to unicode, hex, html entities and just about everything else I can think of. Any tips?
Here's my config:
<add showInFileManager="true" virtualName="SB-VHS" virtualPath="~/SB-VHS/" bypassAccessCheck="false" maxVersions="3" physicalPath="\XW-FIL2\files\210\Gemensam\SB-Verksamhetssystem\Verksamhetssystem fastställd\publ\" name="SB-VHS" type="EPiServer.Web.Hosting.VirtualPathVersioningProvider,EPiServer" />
If you're trying to map a folder with existing content, as it seems you are, you should use the VirtualPathNativeProvider. As for the special character, I'd look into changing the actual folder name, I don't see how you'd solve it otherwise, without perhaps making your own provider...
It turned out to be a simple fix... Somewhere along the line episerver.config was saved ansi-encoded. I just saved it as utf-8 and now everything works.