orchardcms - Invalid path errors with long URLs in Orchard CMS 1.9 -


scenario: multitenant orchard 1.9.3 deployment running in single instance azure web app settings & media stored in azure blob storage.

after enabling file system output cache (so cache items stored in app_data\outputcache folder, see entries being added folder fine. appears items long urls throwing errors , causing 500's thrown. it's long url, common campaign management links (utm codes google analytics) causing issues make long urls querystring options. error, can see below, invalid path when tries find file in cache.

here few of errors (note links in errors work i've disabled cache , errors have gone away).

i noticed there changes file system output cache in 1.9.x release... long urls issue?

2016-05-09 00:00:17,596 [19] orchard.outputcache.filters.outputcachefilter - default - unexpected error occured while reading cache entry  http://www.andrewconnell.com/archive/2012/07/30/sharepoint-2010-metadata-based-navigation-in-publishing-sites-series-overview.aspx system.argumentexception: invalid path    @ orchard.validation.pathvalidation.validatepath(string basepath, string mappedpath) in c:\orchard\src\orchard\validation\pathvalidation.cs:line 29    @ orchard.filesystems.appdata.appdatafolder.combinetophysicalpath(string[] paths) in c:\orchard\src\orchard\filesystems\appdata\appdatafolder.cs:line 95    @ orchard.filesystems.appdata.appdatafolder.fileexists(string path) in c:\orchard\src\orchard\filesystems\appdata\appdatafolder.cs:line 158    @ orchard.outputcache.services.filesystemoutputcachestorageprovider.<>c__displayclass12_0.<getcacheitem>b__0()    @ orchard.outputcache.services.filesystemoutputcachestorageprovider.retry[t](func`1 action)    @ orchard.outputcache.services.filesystemoutputcachestorageprovider.getcacheitem(string key)    @ orchard.outputcache.filters.outputcachefilter.getcacheitem(string key) 2016-05-09 00:00:17,628 [19] orchard.outputcache.filters.outputcachefilter - default - unexpected error occured while reading cache entry  http://www.andrewconnell.com/archive/2012/07/30/sharepoint-2010-metadata-based-navigation-in-publishing-sites-series-overview.aspx system.argumentexception: invalid path    @ orchard.validation.pathvalidation.validatepath(string basepath, string mappedpath) in c:\orchard\src\orchard\validation\pathvalidation.cs:line 29    @ orchard.filesystems.appdata.appdatafolder.combinetophysicalpath(string[] paths) in c:\orchard\src\orchard\filesystems\appdata\appdatafolder.cs:line 95    @ orchard.filesystems.appdata.appdatafolder.fileexists(string path) in c:\orchard\src\orchard\filesystems\appdata\appdatafolder.cs:line 158    @ orchard.outputcache.services.filesystemoutputcachestorageprovider.<>c__displayclass12_0.<getcacheitem>b__0()    @ orchard.outputcache.services.filesystemoutputcachestorageprovider.retry[t](func`1 action)    @ orchard.outputcache.services.filesystemoutputcachestorageprovider.getcacheitem(string key)    @ orchard.outputcache.filters.outputcachefilter.getcacheitem(string key) 2016-05-09 00:00:32,565 [30] orchard.outputcache.filters.outputcachefilter - mscloudshow - unexpected error occured while reading cache entry  http://www.microsoftcloudshow.com/blog/episode-087-catching-up-with-paul-schaeflein-on-azure-ad-improvements?utm_source=feedburner&utm_medium=feed&utm_campaign=feed:+microsoftcloudshow+(microsoft+cloud+show) system.argumentexception: invalid path    @ orchard.validation.pathvalidation.validatepath(string basepath, string mappedpath) in c:\orchard\src\orchard\validation\pathvalidation.cs:line 29    @ orchard.filesystems.appdata.appdatafolder.combinetophysicalpath(string[] paths) in c:\orchard\src\orchard\filesystems\appdata\appdatafolder.cs:line 95    @ orchard.filesystems.appdata.appdatafolder.fileexists(string path) in c:\orchard\src\orchard\filesystems\appdata\appdatafolder.cs:line 158    @ orchard.outputcache.services.filesystemoutputcachestorageprovider.<>c__displayclass12_0.<getcacheitem>b__0()    @ orchard.outputcache.services.filesystemoutputcachestorageprovider.retry[t](func`1 action)    @ orchard.outputcache.services.filesystemoutputcachestorageprovider.getcacheitem(string key)    @ orchard.outputcache.filters.outputcachefilter.getcacheitem(string key) 2016-05-09 00:00:32,581 [30] orchard.outputcache.filters.outputcachefilter - mscloudshow - unexpected error occured while reading cache entry  http://www.microsoftcloudshow.com/blog/episode-087-catching-up-with-paul-schaeflein-on-azure-ad-improvements?utm_source=feedburner&utm_medium=feed&utm_campaign=feed:+microsoftcloudshow+(microsoft+cloud+show) system.argumentexception: invalid path    @ orchard.validation.pathvalidation.validatepath(string basepath, string mappedpath) in c:\orchard\src\orchard\validation\pathvalidation.cs:line 29    @ orchard.filesystems.appdata.appdatafolder.combinetophysicalpath(string[] paths) in c:\orchard\src\orchard\filesystems\appdata\appdatafolder.cs:line 95    @ orchard.filesystems.appdata.appdatafolder.fileexists(string path) in c:\orchard\src\orchard\filesystems\appdata\appdatafolder.cs:line 158    @ orchard.outputcache.services.filesystemoutputcachestorageprovider.<>c__displayclass12_0.<getcacheitem>b__0()    @ orchard.outputcache.services.filesystemoutputcachestorageprovider.retry[t](func`1 action)    @ orchard.outputcache.services.filesystemoutputcachestorageprovider.getcacheitem(string key)    @ orchard.outputcache.filters.outputcachefilter.getcacheitem(string key) 


Comments

Popular posts from this blog

javascript - Laravel datatable invalid JSON response -

java - Exception in thread "main" org.springframework.context.ApplicationContextException: Unable to start embedded container; -

sql server 2008 - My Sql Code Get An Error Of Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the varchar value '8:45 AM' to data type int -