Quick Nav:  Online Store   |   Login | Register

Installing PageBlaster - version 2.2.4

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
John Mitchell
Posts:3085


05/11/2007 6:10 PM  

1. After unzipping the package, copy the Snapsis.HttpModules.PageBlaster.dll to your DotNetNuke /bin folder.

2. Then copy the Snapsis.PageBlaster.config file to the root of your website which is the folder that the DNN web.config file is in.
        On a new install of this module you will not have the Snapsis.PageBlaster.config file yet, but on an upgrade it may already have your custom settings in it so you will not want to over-write it.
        If this is an upgrade then please check the release notes to see if any new changes should be made to your Snapsis.PageBlaster.config file.

3. Then add the entry to your web.config file so that the httpModules section looks like this:

    < httpModules>
      < !-- add name="Authentication" type="DotNetNuke.HttpModules.AuthenticationModule, DotNetNuke.HttpModules.Authentication" / -->
      < !---->
      < add name="UrlRewrite" type="DotNetNuke.HttpModules.UrlRewriteModule, DotNetNuke.HttpModules.UrlRewrite" />
     < add name="PageBlaster" type="Snapsis.HttpModules.PageBlaster.PageBlasterModule, Snapsis.HttpModules.PageBlaster" />
      < add name="Exception" type="DotNetNuke.HttpModules.ExceptionModule, DotNetNuke.HttpModules.Exception" />
      < add name="UsersOnline" type="DotNetNuke.HttpModules.UsersOnlineModule, DotNetNuke.HttpModules.UsersOnline" />
      < add name="DNNMembership" type="DotNetNuke.HttpModules.DNNMembershipModule, DotNetNuke.HttpModules.DNNMembership" />
      < add name="Personalization" type="DotNetNuke.HttpModules.PersonalizationModule, DotNetNuke.HttpModules.Personalization" />
      < add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
    < /httpModules>

Daniel Mullins
<20 Posts
Posts:1


08/06/2007 10:25 PM  
John,

After installing PageBlaster, I received the following server error:

Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.

Exception Details: System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

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:


[SecurityException: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.]
Snapsis.HttpModules.PageBlaster.PageBlasterModule.Init(HttpApplication app) +0
System.Web.HttpApplication.InitModules() +267
System.Web.HttpApplication.InitInternal(HttpContext context, HttpApplicationState state, MethodInfo[] handlers) +1251
System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext context) +243
System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +106
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +317


Any Suggestions?
John Mitchell
Posts:3085


08/06/2007 10:37 PM  

The problem with medium trust can be corrected by placing the DLL that is attached to this post in your /bin folder.

This DLL will work with either the Free or Paid version of PageBlaster for DNN.


Attachment: Snapsis.HttpModules.PageBlaster.zip

John Terpening
<100 Posts
Posts:80


09/16/2007 7:59 PM  

John,

Would moving from the free version to the paid version be considered an "upgrade?" I was just searching the forums for info on installing the module when I have the free version installed and stumbled upon this thread. I only used the free version for the compression and have no rules or anything, so wondering how to proceed without breaking anything...thought I would ask before I haphazardly install it.

(also, did you know your login redirects us back to the forum home and doesn't return us to the thread we were viewing? ...was like a 6-clicker trying to get back here, so didn't think this was by design). :)

John Mitchell
Posts:3085


09/16/2007 9:02 PM  
You can install the paid version right over the top of the free one.

I'll look into that return after login. I'm sure it's something to do with my SSL modification to make the SSL switch faster.
SplatMan_DK
<100 Posts
Posts:81


09/21/2007 6:25 AM  

Please consider updating this general post :-) The section in the web.config file displayed above looks a little different, which can be a bit confusing.

Also write specific instructions on which lines in the config file are allowed before/after the pageblaster line, and which lines should be disabled/removed. Examples: DNNs native Compression is redundant (?) when using PageBlaster, and can be disabled. The URLrewriter should always be before (?) PageBlaster.

:-)

- Jesper


brgds

- Jesper
John Mitchell
Posts:3085


09/21/2007 10:08 AM  

The order of the UrlRewrite module coming before or after the PageBlaster module will usually be like the initial post shows with PageBlaster coming after.  The only time it makes a difference is in how the Urls are seen by PageBlaster for doing your Excludes.

If the UrlRewriter module is listed before the PageBlaster module then PageBlaster will "see" the Url just like it shows on the Querystring in the browser with the friendly format e.g. tabid/1/forumid/9.

If the positions are switched and the UrlRewriter module is listed after PageBlaster then PageBlaster will see the Urls after they have been rewritten (e.g. tabid=1 instead of tabid/1).

The default DNN compression module should always be removed if you are using PageBlaster.

John Terpening
<100 Posts
Posts:80


09/21/2007 6:31 PM  
Posted By John Mitchell on 09/21/2007 10:08 AM

The default DNN compression module should always be removed if you are using PageBlaster.



John., I think I know the answer to this one (yes?), but thought I would ask to be sure: if I plan to use the PB request filter, I should remove this line from the web.config, too, right? I am not sure if just removing the two reference in the web.config constitute 'removing' the Core compression module:

 

<addname="RequestFilter"type="DotNetNuke.HttpModules.Compression.RequestFilter.HttpModule, DotNetNuke.HttpModules.Compression"/>
John Mitchell
Posts:3085


09/21/2007 7:28 PM  
Unless you are using the core RequestFilter I would recommend removing it. I have not used it, but I think it will also work along-side PageBlaster if you want to use both.

Yes, removing it from web.config will insure that it is not used, and if you are not using the core compression or the core request filter then you can remove the dll from the /bin folder.
Tom Lyczko
<50 Posts
Posts:29


11/09/2007 11:27 AM  

Does commenting out the compression line
add name="Compression" type="DotNetNuke.HttpModules.Compression.CompressionModule, DotNetNuke.HttpModules"
remove and make inactive the DNN compression??

My performance settings are:
page state persistence = page
module caching method = disk -- change to memory??
performance setting = moderate caching -- change to heavy??
authenticated cacheability = serverandnocache -- change to public??
compression setting = gzip
use whitespace filter = unchecked

Should any of these be changed??

Thank you, Tom

John Mitchell
Posts:3085


11/09/2007 12:10 PM  
Yes, removing the Compression line in the web.config removes the core compression.

Caching and Compression are handled seperately in DotNetNuke. The compression module only does compression and should be removed if you are using PageBlaster. The caching recommendations posted above still apply if you are using PageBlaster or not.

PageBlaster adds Page Level caching to DotNetNuke, but the internal caching of DotNetNuke is still needed.

You should be able to "feel" the difference when PageBlaster is installed and you browse your site, but to confirm that it is working you can look in the cache-folder for PageBlaster and if files are being created then you know it is working.
Tom Lyczko
<50 Posts
Posts:29


11/09/2007 12:29 PM  
Okay, I have changed my settings, it seems to be working quite well, thank you!! :)

About looking in the cache-folder for PB, where and what am I supposed to look for??

I found some cache folders in the portals section, and saw that some files have been created/modified, but I don't know if these are the ones you mean.

I copied the dll file into the /bin folder btw.

Thank you for your support!!
Tom
John Mitchell
Posts:3085


11/09/2007 12:35 PM  
Hi Tom,

By default the PageBlaster cache-folder for the Free version is the /portals/_default/cache folder.
For the PageBlaster DNN module it is /DesktopModules/Snapsis/PageBlaster/Cache.

In one of those folders you should see a tabid folder with other folders that correspond to each tabid (page).
Inside those folders are the cached pages with extensions that end with pb.webinfo
Tom Lyczko
<50 Posts
Posts:29


11/09/2007 12:45 PM  
Then perhaps I have done something incorrectly regarding PB??

I dutifully added the proper web.config line after the Url.rewrite line.

Unfortunately I saw no C:\Inetpub\wwwroot\Portals\_default\Cache\tabid\36 with no pb.webinfo files.

So I rebooted the server (it's a VM for testing) -- and then tried again and the requisite files appeared.

Would an iisreset have worked equally well??

Perhaps you could include a few sentences in the readme about the above topics:
1. caching recommendations (or a link to the forum)
2. how to make certain that PB is actually working etc.

Thank you, Tom
Tom Lyczko
<50 Posts
Posts:29


11/09/2007 12:49 PM  
Curiosity question: I noticed that the PB files appear and re-appear, for example after using Search the PB files disappear, then upon viewing Privacy or Terms of Use they reappear.

How come?? Does PB Free only work with certain parts of the site??

Thank you, Tom
John Mitchell
Posts:3085


11/09/2007 1:25 PM  
The cache files will only be created when you are logged out, so maybe that was the difference.

The cache files automatically update themselves if there is a post-back to the server. So that may be why you are seeing some disappear and reappear.
This is so people can post on forums, or the admin can update the content on a page and the cache will automatically be updated.
Tom Lyczko
<50 Posts
Posts:29


11/09/2007 1:32 PM  
OIC :) :)
Thank you for explaining.
Tom
Alex Ludden
<20 Posts
Posts:6


03/03/2008 1:14 PM  
Hello!

Just got PageBlaster (paid) and am having trouble installing it. I thought I followed the directions ... :-)

I am on a GoDaddy account, running DNN 4.8
After I install it I get a "Server Error in '/dotnetnuke' Application"
and it tells me that I can't see the details because of security - not very helpful.

1. My web.config is in the /dotnetnuke folder, so I copied the Snapsis.PageBlaster.config file there (unchanged)
2. I logged in as host and installed the PageBlaster module with no errors
3. The original httpmodules section of web.config looked like this:














4. I edited web.config and the httpmodules section now looks like this:












5. the moment I FTP the web.config over, dotnetnuke stops working with the server error
6. I looked in dotnetnuke/bin and "Snapsis.HttpModules.PageBlaster.dll" and "Snapsis.DNN.PageBlaster.dll" are there

Unfortunately, I can't see what the error is.

Do you know what could be wrong or how I can get Godaddy to show me the error?

Thanks!
alex
John Mitchell
Posts:3085


03/03/2008 1:46 PM  

Hi Alex,

Thanks for purchasing.

It may be having an issue with Medium Trust in your environment.

Please try uploading the attached DLL.


Attachment: 133465619171.zip

Alex Ludden
<20 Posts
Posts:6


03/03/2008 2:11 PM  

Thank you!  That did it!

alex

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 > Installing PageBlaster - version 2.2.4



ActiveForums 3.7
Powered by: Snapsis Software