Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
Hej Mats!
You are not allowed to put another VPP provider inside the path of another. You have to use two diffrent roots for virtualPath.
/Fredrik
INEXOR AB - http://blog.fredrikhaglund.se
Hi!
We are converting our existing web site from 4.31 to CMS 5 and I want to add a new starting point to a sub folder of our current global upload folder.
We have a default global folder definied in web.config
<add showInFileManager="true"
virtualName="Global"
virtualPath="~/Global/"
bypassAccessCheck="true"
name="SiteGlobal"
type="EPiServer.Web.Hosting.VirtualPathVersioningProvider,EPiServer"
physicalPath="c:\Inetpub\Globalkatalog_Converted" />
This works fine!
But I then try to add a starting point to a folder inside the global folder:
<add showInFileManager="true"
virtualName="Dokument"
virtualPath="~/Global/Intranet/Dokument/"
bypassAccessCheck="true"
name="SiteDocuments"
type="EPiServer.Web.Hosting.VirtualPathVersioningProvider,EPiServer"
physicalPath="c:\Inetpub\Globalkatalog_Converted" />
but i then get an error.
Server Error in '/' Application.
Item with name Global/Intranet/Dokument already exists on same level.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Data.SqlClient.SqlException: Item with name Global/Intranet/Dokument already exists on same level.
What is wrong?
Best regards