Quick Nav:  Online Store   |   Login | Register

PageBlaster issue with DNNFusion MyProfile

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
Steve White
<20 Posts
Posts:7


08/29/2007 2:18 PM  

Everything is working fine if I display the DNNFusion on a tabid and exclude the tabid. The problem comes when I want to diplay the latest DNNFusion Profiles on the home tab so that when the user hits my site with just the domain name the DNNFusion profiles don't appear because the tabid isn't in the URL

However, if you click the Home tab (which contains the excluded tabid in the URL) it appears ok.

DNNFusion MyProfile uses AJAX.

Is there any way to exclude a particular module type?

I've lived with this so far, but I'm just about to add another AJAX module onto the home tab so I suspect the behaviour will be the same.

John Mitchell
Posts:3196


08/29/2007 2:29 PM  
It sounds like you can get what you want by excluding your home page from compression.

You can do that by creating a pattern with just your domain name and a $ on the end.
So for snapsis.com I would use:

path pattern="snapsis\.com$" excludeFrom="Compression"
Steve White
<20 Posts
Posts:7


08/29/2007 2:38 PM  
Thanks for the quick answer John but that didn't seem to take. Here's what I tried:

path pattern="online-archaeology\.co.uk$" excludeFrom="Compression"

I even tried escaping the second . just in case like this:

path pattern="online-archaeology\.co\.uk$" excludeFrom="Compression"
John Mitchell
Posts:3196


08/29/2007 2:42 PM  
it looks like something is adding a trailing slash to the url. Try this:

path pattern="online-archaeology\.co\.uk/$" excludeFrom="Compression"
Steve White
<20 Posts
Posts:7


08/29/2007 2:45 PM  
Still no luck I'm afraid.
John Mitchell
Posts:3196


08/29/2007 2:55 PM  
Strange. I monitored it with Fiddler and now I see that it is calling default.aspx too.

Try this:

path pattern="online-archaeology\.co\.uk/default\.aspx\?$" excludeFrom="Compression"
Steve White
<20 Posts
Posts:7


08/29/2007 3:00 PM  
It's still not nailed it. Here's what I have for my excludes:

path pattern="ctl=edit" excludeFrom="All"
path pattern="\?(?!tabid)" excludeFrom="All"
path pattern="\.axd|\.asxh|rss|fck" excludeFrom="All"
path pattern="tabid.*?(36|84|82|107|108|110)" excludeFrom="All"
path pattern="WebResource\.axd"
path pattern="ftb.*aspx"
path pattern="ReviewPro"
path pattern="SiteMap.aspx" excludeFrom="All"
path pattern="online-archaeology\.co\.uk/default\.aspx\?$" excludeFrom="Compression"
John Mitchell
Posts:3196


08/29/2007 3:10 PM  
Maybe it's not compression that is doing it, maybe if we exclude everything.
I have optimized your list a little WebResource.axd is already excluded by the axd one, and I combined a few ohters so that the check doesn't have to perform as many loops.

path pattern="online-archaeology\.co\.uk/default\.aspx\?$" excludeFrom="All"
path pattern="\?(?!tabid)" excludeFrom="All"
path pattern="ctl=edit|\.axd|\.ashx|rss|fck|ftb|SiteMap\.aspx|ReviewPro" excludeFrom="All"
path pattern="tabid.*?(36|84|82|107|108|110)" excludeFrom="All"
John Mitchell
Posts:3196


08/29/2007 3:15 PM  

I also have a newer version that may help.  I have attached it to this post. Pleas make a copy of your old Snapsis.HttpModules.PageBlaster.dll and then put this in your /bin if you want to try it.


Attachment: Snapsis.HttpModules.PageBlaster.zip

Steve White
<20 Posts
Posts:7


08/29/2007 3:25 PM  
OK, I added the new dll and it produced this error:

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:


[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) +322
Snapsis.HttpModules.PageBlaster.ResourceLocationController.RewriteVirtualPath(HttpApplication app) +37
Snapsis.HttpModules.PageBlaster.PageBlasterModule.BeginRequest(Object sender, EventArgs e) +13
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64

I backed up the old dll and have reverted back and all is working as before.
John Mitchell
Posts:3196


08/29/2007 3:30 PM  

You must be on an older version of the Free edition.

In the Config file is an atribute for cache-folder. Copy that attribute and rename it to config-folder. Afterwards, your config file should look something like this:

  page-param="tabid"
        cache-folder="/portals/_default/Cache"
        config-folder="/portals/_default/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"

Steve White
<20 Posts
Posts:7


08/29/2007 3:33 PM  
I should add that this portal is in a medium trust environment if that makes a difference.
Steve White
<20 Posts
Posts:7


08/29/2007 3:40 PM  
John, you are an absolute maestro! I really appreciate you helping me out with this one. The updated dll did the trick with the new config-folder attribute.

Many thanks for getting this sorted.
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 > PageBlaster issue with DNNFusion MyProfile



ActiveForums 3.7
Powered by: Snapsis Software