Quick Nav:  Online Store   |   Login | Register

Absolute path information is required

Rate this topic:

Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
AuthorMessages
David L
<20 Posts
Posts:17


12/05/2007 2:02 PM  

Hi,

I've just installed the free version of PageBlaster and followed the instructions in the read me (i.e. copy DLLs to site bin and config to site root). I changed the path to first a valid virtual directory and then a physical directory and got this error in both cases: "Absolute path information is required".

I've seen someone else in this forum with a similar problem, but that seemed to be related to using PB with DNN.

Any ideas?

Dave

John Mitchell
Posts:3249


12/05/2007 2:15 PM  
Hi Dave,
So you are using it on an ASP.Net site that is not DNN? That should work, but you will need to make sure that you have write permissions for the cache-folder granted to the anonymous web user. It was the cache-folder setting that you changed correct?
David L
<20 Posts
Posts:17


12/05/2007 2:24 PM  
Yes, ASP.NET without DNN.

Yes, I did change the cache-folder setting and gave permissions to that folder for both the Network Service (which the app pool is running under) and the anonymous (IUSR) account.
John Mitchell
Posts:3249


12/05/2007 2:29 PM  
Are you getting any kind of stack trace / more information about where the error occurs in the code?

There may be more information in the server's event log.
David L
<20 Posts
Posts:17


12/05/2007 2:32 PM  
Sorry ... I should have included it originally.

The stack trace:
[ArgumentException: Absolute path information is required.]
System.Security.Util.StringExpressionSet.CreateListFromExpressions(String[] str, Boolean needFullPath) +2726793
System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, AccessControlActions control, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList) +105
System.Web.InternalSecurityPermissions.PathDiscovery(String path) +76
System.Web.Caching.CacheDependency.Init(Boolean isPublic, String[] filenamesArg, String[] cachekeysArg, CacheDependency dependency, DateTime utcStart) +2560
System.Web.Caching.CacheDependency..ctor(String filename, DateTime start) +118
System.Web.Caching.CacheDependency..ctor(String filename) +56
Snapsis.HttpModules.PageBlaster.ResourceLocationController.GetResourceLocationTable(HttpApplication app) +323
Snapsis.HttpModules.PageBlaster.ResourceLocationController.RewriteVirtualPath(HttpApplication app) +14
Snapsis.HttpModules.PageBlaster.PageBlasterModule.BeginRequest(Object sender, EventArgs e) +14
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64


John Mitchell
Posts:3249


12/05/2007 2:45 PM  
Ok, It's needing the config-folder. You can set that to the same path as the cache folder if you like.
David L
<20 Posts
Posts:17


12/05/2007 2:52 PM  
Right now my Snapsis.PageBlaster.config file is in the web root (one level up from the cache-folder folder). Where do I set the config-folder?
John Mitchell
Posts:3249


12/05/2007 3:07 PM  
The Snapsis.pageBlaster.config should be in the root like you have it. There should be a an attribute in that file named "config-folder". It needs to be set to a folder in the website where config files (other than the main Snapsis.PageBlaster.config) can be written to. The error above is actually looking for a file called ResourceLocationTable.config which is a mapping table for virtual paths. The reason it is erroring is because the config-folder attribute is either not set, or it is set to a path that can't be resolved.

I have to admit that this component is probably not used much except in DNN, so some of the configuration may not seem straight forward.
David L
<20 Posts
Posts:17


12/05/2007 3:16 PM  
Thanks for your response, John. I don't see a config-folder setting in the snapsis.pageblaster.config file (see below). I assume it will be safe to simply add this setting, however I just want to make sure this config file isn't missing anything else important. Can you confirm that I just need to add a config-folder setting as an attribute of the pageBlaster element and that there is nothing else missing from my config. NOTE: I've excluded the excludePaths and providers elements.


page-param="tabid"
cache-folder="C:\Development\MCMS\Bell.Sympatico.CMS.Solution\Bell.Sympatico.CMS\Cache"
cached-languages=""
blocked-useragents=""
blocked-ipaddresses=""
memory-cache-interval="00:04:00:00"
memory-size-limit="25"
disk-cache-interval="01:00:00:00"
disk-size-limit="100"
compression-algorithm="gzip"
compression-level="high">
...
John Mitchell
Posts:3249


12/05/2007 3:29 PM  
Yes, you can just add the config-folder attribute to what you have, and that list is all you need.
The config-folder attribute was something that was added later, but I thought I had the package updated to include that in the config.
Did you download the latest from this site?
David L
<20 Posts
Posts:17


12/05/2007 3:30 PM  
No you emailed it to me last week
John Mitchell
Posts:3249


12/05/2007 3:34 PM  
Ok, thanks. Now I know where to look.
David L
<20 Posts
Posts:17


12/05/2007 3:49 PM  
Looks to be working fine now. I appreciate your quick response and effective help.
Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
Forums >Snapsis Product Support >PageBlaster > Absolute path information is required



ActiveForums 3.7
Powered by: Snapsis Software