Try our conversational search powered by Generative AI!

Could not get parent directory, probably caused by a custom VPP filter. VirtualPath

Vote:
 

Hi,

We are getting this error while browsing the site and unable to find the stacktrace with line number.

Can you please help us resolve the error.

EPiServer.Core.EPiServerException
Could not get parent directory, probably caused by a custom VPP filter. VirtualPath: /Global/03_Edet/Sweden/Nyhetsbrev/Torky%20Outlook%20%231%202012/nyhetsbrev_bg.png

EPiServer.Core.EPiServerException: Could not get parent directory, probably caused by a custom VPP filter. VirtualPath: /Global/03_Edet/Sweden/Nyhetsbrev/Torky%20Outlook%20%231%202012/nyhetsbrev_bg.png
at EPiServer.Web.Hosting.NativeFile.get_Parent()
at EPiServer.Web.Hosting.UnifiedFile.QueryAccess()
at EPiServer.Web.Hosting.UnifiedFile.QueryDistinctAccess(AccessLevel access)
at EPiServer.Web.Hosting.VirtualPathNativeProvider.GetFile(String virtualPath)
at EPiServer.Web.Hosting.VirtualPathNativeProvider.GetFile(String virtualPath)
at EPiServer.Web.Hosting.VirtualPathNativeProvider.GetFile(String virtualPath)
at EPiServer.Web.Hosting.VirtualPathNativeProvider.GetFile(String virtualPath)
at EPiServer.Web.Hosting.VirtualPathNativeProvider.GetFile(String virtualPath)
at EPiServer.Web.Hosting.VirtualPathNativeProvider.GetFile(String virtualPath)
at EPiServer.Web.Hosting.VirtualPathNativeProvider.GetFile(String virtualPath)
at EPiServer.Web.Hosting.VirtualPathNonUnifiedProvider.GetFile(String virtualPath)
at EPiServer.Web.Hosting.VirtualPathNonUnifiedProvider.GetFile(String virtualPath)
at EPiServer.Web.Hosting.VirtualPathNonUnifiedProvider.GetFile(String virtualPath)
at EPiServer.Web.Hosting.VirtualPathNonUnifiedProvider.GetFile(String virtualPath)
at EPiServer.Web.Hosting.VirtualPathNonUnifiedProvider.GetFile(String virtualPath)
at EPiServer.Web.Hosting.VirtualPathNonUnifiedProvider.GetFile(String virtualPath)
at EPiServer.Web.Hosting.VirtualPathNonUnifiedProvider.GetFile(String virtualPath)
at EPiServer.Web.StaticFileHandler.ProcessRequestInternal(HttpContext context)
at EPiServer.Web.StaticFileHandler.BeginProcessRequest(HttpContext context, AsyncCallback callback, Object state)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

Logged on 20 December 2017 at 11:22:43

See also:

Raw/Source data in XML or in JSON
Server Variables

Name Value
ALL_HTTP HTTP_CONNECTION:Close HTTP_HOST:testwwwedetnl.scahygiene.com HTTP_USER_AGENT:EPiServer Link Checker
ALL_RAW Connection: Close Host: testwwwedetnl.scahygiene.com User-Agent: EPiServer Link Checker
APPL_MD_PATH /LM/W3SVC/95/ROOT
APPL_PHYSICAL_PATH D:\Websites\cto.net\wwwroot\
AUTH_PASSWORD *****
AUTH_TYPE
AUTH_USER
CERT_COOKIE
CERT_FLAGS
CERT_ISSUER
CERT_KEYSIZE
CERT_SECRETKEYSIZE
CERT_SERIALNUMBER
CERT_SERVER_ISSUER
CERT_SERVER_SUBJECT
CERT_SUBJECT
CONTENT_LENGTH 0
CONTENT_TYPE
GATEWAY_INTERFACE CGI/1.1
HTTP_CONNECTION Close
HTTP_HOST testwwwedetnl.scahygiene.com
HTTP_USER_AGENT EPiServer Link Checker
HTTPS off
HTTPS_KEYSIZE
HTTPS_SECRETKEYSIZE
HTTPS_SERVER_ISSUER
HTTPS_SERVER_SUBJECT
INSTANCE_ID 95
INSTANCE_META_PATH /LM/W3SVC/95
LOCAL_ADDR 10.3.110.200
LOGON_USER
PATH_INFO /Global/03_Edet/Sweden/Nyhetsbrev/Torky%20Outlook%20%231%202012/nyhetsbrev_bg.png
PATH_TRANSLATED D:\Websites\cto.net\wwwroot\Global\03_Edet\Sweden\Nyhetsbrev\Torky%20Outlook%20%231%202012\nyhetsbrev_bg.png
QUERY_STRING
REMOTE_ADDR 217.114.87.149
REMOTE_HOST 217.114.87.149
REMOTE_PORT 2080
REMOTE_USER
REQUEST_METHOD HEAD
SCRIPT_NAME /Global/03_Edet/Sweden/Nyhetsbrev/Torky%20Outlook%20%231%202012/nyhetsbrev_bg.png
SERVER_NAME testwwwedetnl.scahygiene.com
SERVER_PORT 80
SERVER_PORT_SECURE 0
SERVER_PROTOCOL HTTP/1.1
SERVER_SOFTWARE Microsoft-IIS/7.5
URL /Global/03_Edet/Sweden/Nyhetsbrev/Torky%20Outlook%20%231%202012/nyhetsbrev_bg.png

#186469
Dec 20, 2017 12:38
Vote:
 

Is this folder permission issue?

Will changing the bypassAccessCheck to false in episerver config file resolve this issue? 

<add showInFileManager="false" virtualName="TimeCapsuleImages" virtualPath="~/TimeCapsuleImages/" bypassAccessCheck="true" maxVersions="5" physicalPath="C:\EPiServer\VPP\ConsumerTissueOnline\TimeCapsuleImages" name="TimeCapsuleImages" type="EPiServer.Web.Hosting.VirtualPathNativeProvider,EPiServer" />

Thanks for your help :)

#186473
Dec 20, 2017 12:54
Vote:
 

This vpp is using the NativeProvider and not the versioning. So the access rights if I remember correctly will actually be the ones set in the file system rather than in Episerver file manager. Which version is this site running on?

/Global/03_Edet/Sweden/Nyhetsbrev/Torky%20Outlook%20%231%202012/

Could be some issue with the Folder name as it seems to include some special letters.

#186475
Dec 20, 2017 13:20
Vote:
 

the site is on Episerver CMS 6.1.

Thanks for your reply.

#186480
Edited, Dec 20, 2017 13:58
Vote:
 
<p>Hello,</p> <p></p> <p>Tried giving rights to the folder in edit mode file manager and monitoring for errors, so far error is not logged.</p> <p></p> <p></p>
#186544
Dec 22, 2017 8:03
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.