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
(arpat) Paul Fijma
<20 Posts
Posts:7


01/10/2007 3:21 PM  

Hello :-)

I installed the Snapsis Pageblaster 2.0 (from snowcovered) on a dnn 4.4.0 site and when i enable the httpmodules line:

 

<add name="PageBlaster" type="Snapsis.HttpModules.PageBlaster.PageBlasterModule, Snapsis.HttpModules.PageBlaster"/>

i get this error (only visible on the webserver to see) as response:

Absolute path information is required.

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.ArgumentException: Absolute path information is required.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

<pre>[ArgumentException: Absolute path information is required.]
   System.Security.Util.StringExpressionSet.CreateListFromExpressions(String[] str, Boolean needFullPath) +2754905
   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&amp; completedSynchronously) +64
</pre>


Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210

John Mitchell
Posts:3033


01/10/2007 3:28 PM  
Did you install the DNN Module?

And did you put the Snapsis.PageBlaster.Config file in the root of the website (where web.config is)?
(arpat) Paul Fijma
<20 Posts
Posts:7


01/10/2007 3:40 PM  

Hello :-)

Yes, after i installed the module with upload the problem started. This is what i did to reproduce:

I have a second dnn install (clean - only dnn standard modules) to test and try to replicate the problem.
the webconfig file is identical and the snapsis config file also. (except for passwords etc)

before i added the module i could enable the httpmodule. that did not give any problem.

i copied the snapsis dll to the bin folder and restarted the webserver. (no problem) 
I added the httpmodule line in the config setting (no problem.)
i disabled the line in the http module and
i installed the module with the normal upload routine (no problem)
i enable the http line... (problem)

Paul

p.s the module displayes as it should when the pageblaster line is disabled in httpmodules

John Mitchell
Posts:3033


01/10/2007 4:00 PM  
Hi Arpat,

Can you also confirm that the path you have for config-folder is pointing to a valid folder?
It can be specified as in the default config with a virtual path (e.g. /DesktopModules/Snapsis/PageBlaster/Config) , or with a PhysicalPath (e.g C:\WebRoot\DesktopModules\Snapsis\PageBlaster\Config ).

It doesn't have to be the same path as the examples, but it needs to have modify access by the anonymous web user.
(arpat) Paul Fijma
<20 Posts
Posts:7


01/10/2007 4:30 PM  
The config files (i found a few of them) are all in folders with full access for the asp.net / network services.
i have tried with writing the full path in the ...../desktopmodules/snapsis/pageblaster/Snapsis.DNN.PageBlaster_2.0.0.dnn.config file
and any similar config file in the snapsis tree.
in the "root" Snapsis.PageBlaster.config file i also tried the full physical path to the portal/_default etc. (/folder/folder/portal/ etc...)
what file exactly is the "default" (i assume its the one in the root...) config?
John Mitchell
Posts:3033


01/10/2007 4:39 PM  
The file named Snapsis.PageBlaster.config should be the one in the root. If you are using the Snapsis.DNN.PageBlaster_2.0.0.dnn.config file that is only for the DNN module.

Inside the Snapsis.PageBlaster.config file is a setting for cache-folder. The default setting will work on DNN without changing.

You can find the default Snapsis.PageBlaster.config file in the /DesktopModules/Snapsis/PageBlaster/Config folder.

(arpat) Paul Fijma
<20 Posts
Posts:7


01/10/2007 4:59 PM  
i copied the Snapsis.PageBlaster.config from the desktopmodules/snapsis/pageblaster/config/ folder to the root.
the website is working with the httpmodules section enabled.
I tested it with the "remove" comments and it works.
The only thing that puzzles me is where the "old" pageblasterfile came from. i guess it is the old file from 1.4.1 i used in the older version. I upgrade frequently and i probably have had some problems with version 3 and at teh time there was no version available i think for dnn. I was therefore happy to see that the pageblaster 2.0 was released.
Its working and thats the important thing :-) i loved the old version and i will love the new one ;)
Thanks for the awesome support!
John Mitchell
Posts:3033


01/10/2007 5:07 PM  
That's great, thanks for purchasing and the positive feedback.
Feel free to post any other questions you may have as you get familiar with the new features.
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