Quick Nav:  Online Store   |   Login | Register

PageBlaster w/IIS& & Server 2008 Question

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
doggiedaddy1
<50 Posts
Posts:28


08/30/2008 10:33 AM  

I'm in the process of setting up PageBlaster & a friendly URL exchanger.  I'm running DNN 4.8.4 on Windows 2008 Server w/IIS7.  PageBlaster installed for me without any problems, and I'm getting no errors.  However, there is nothing caching to the cache folder (yes, I surfed as unauthenticated & then checked).  Upon inspecting the web.config file, I noticed that their is no entry for PageBlaster in the system.webserver section that IIS7 needs.  Isn't this required and could that be the problem?

Also, which Friendly URL module do you prefer?

Thanks,

D

John Mitchell
Posts:3471


08/30/2008 10:45 AM  
Yes, for 2008 (IIS 7) it may be required to also add the module to the system.webserver section. I believe it depends on if you are using an app pool in "Integrated" mode instead of "Classic".

I use the core Friendly Url provider (with urlFormat="HumanFriendly" ) and create virtual-paths to some of my pages with PageBlaster.

doggiedaddy1
<50 Posts
Posts:28


08/30/2008 1:29 PM  

Ok, I'm winning the battle, but slowly.  Here's the string I put into system.webserver modules section that did the trick:

Now PageBlaster is running and the pages are really flying.  However, brave sole that I am, I had CSS merge & JS merge enabled in PageBlaster config.  (They were disabled when I installed, but prior to checking cache to see if module was working, and since I wasn't getting any errors, I enabled them and they were left enabled when I added above tag to system.webserver section of my web.config.)

Pages rendered right up, but obviously CSS merge wasn't working properly as containers and skin didn't render.  Layout was perfect otherwise.  Weird, huh?  I disabled CSS merge and left JS merge enabled and all seems good and pages caching except only one item I've found so far:  The first time I call up a page, it calls up and is perfect.  The second and subsequent times when it is calling up the cached version, the breadcrumbs aren't rendering properly.  It's the dividers between the different tags that doesn't render correctly, the names themselves are fine.

Suggestions?

Thanks,

D

doggiedaddy1
<50 Posts
Posts:28


08/30/2008 2:36 PM  
John;
Take a look at the following pages and you'll see what I mean.
mppvegas.net
ransom.mppvegas.net
stephsellsvegas.com

All my portals are doing the same thing. ransom.mppvegas.net doesn't have breadcrumbs, but it's rendering the extra character between menu items. CSS & JSS & extra replacements sections are all disabled. Just default settings.
doggiedaddy1
<50 Posts
Posts:28


09/01/2008 4:12 PM  

So, I found my solution.  I posted here this morning:

http://www.snapsis.com/Support/tabid/601/forumid/9/postid/9147/view/topic/Strange-Caching-Problem.aspx

However, I'm still having and issue related I believe to caching.  If I'm correct, default behaviour is that Admin roles are not cached?  Reason for this question is that admin cache images would have control panel in the image where "all users" would not.  Dynamic content isn't updating (mortgage rates, weather, etc.) without hard refresh, but when I look at the code, it has the script in the code, which I would think would cause a fresh set of data for that part of the page.  Or is it actually running and caching the script as well?

As I will eventually have logged in roles other than admin, when I get their I just add them to roles and problem solved?

Lastly, I've got iFinity url Master running without any apparent problem.  Urls are processing as expected and I can navigate freely while logged into admin (and the properly friendly urls display and revert to DNN friendlies in admin, host, and edit/setting menus).  However, when I try as an un authenticated user, I can hop around until I try to recall a page or use the browser back.  Then I get no page served like the cache doesn't know what to do.  Suggestions?

Thanks,

D

doggiedaddy1
<50 Posts
Posts:28


09/01/2008 4:55 PM  

Could part of my problem be missing static file handler line under system.webserver handlers section of iis7?  How should that line read?

Host Account
<250Posts
Posts:104


09/03/2008 6:14 PM  
Yes, if your app pool is in Integrated pipeline mode and you want to use the Static File Handler then you will need to add that line to the httpHandler section under system.webserver

I don't know what problems you may be running into with the Url Master, but I do know several customers that are using them both. IFinity has specific experience in making them both work together, but you might try switching positions of PageBlaster and Url Master in the httpModules list.

When you say you don't get a page servered, are you getting a 404, or is it a different error?

Do you have the Authenticated Cacheability set to Public on the Host Settings?
doggiedaddy1
<50 Posts
Posts:28


09/03/2008 6:54 PM  

It comes accross as "unknown error"

I have Authenticated Cacheability set to Public.  It had been set to server & nocache until I found the post on this forum Friday that recommended Public as the setting.  I just tried changing that setting back to see if it made a difference but it didn't.  Url Master is working perfectly, and even if I completely disable it/uninstall, PageBlaster behaviour remains the same.  Do you recommend using the static file handler?  What is the line that should be in system.webserver for the handler?  I have the module line in place.

I also sent you a private message about someother configuration questions.

Thanks,

D

John Mitchell
Posts:3471


09/04/2008 6:17 PM  


< add name="PageBlasterHandler" verb="*" path="*.css,*.js,*.gif,*.jpg,*.jpeg,*.png" type="Snapsis.HttpModules.PageBlaster.StaticFileHandler, Snapsis.HttpModules.PageBlaster"  preCondition="integratedMode,runtimeVersionv2.0" />

doggiedaddy1
<50 Posts
Posts:28


09/04/2008 6:57 PM  

Well, I was close.  String added to web.config and file extensions have been remapped by my hosting company.  Problem persists though.  Still can't repeat load pages.  I can clear cache, load any one page and go forwards and backward through the heirarchy of tabs.  But as soon as I skip out of order and jump to a page I've previously accessed without using the back button, I lose ability to render any pages.  Were you able to determine anything from those logs I e-mailed you?

Thanks,

D

John Mitchell
Posts:3471


09/05/2008 7:59 AM  
Hi,
I didn't receive any logs, but I'll check my junk mail folder.
doggiedaddy1
<50 Posts
Posts:28


09/05/2008 3:43 PM  
Current Analysis:
Running FiddlerV2
Assortment of 404 & 505 errors. When I attempt to access one of the files Fiddler retreives, it says "gzip error, unable to decompress, invalid header"
I went into PB config and set exclude for "myportal" to "All" and runs as before PageBlaster. Changed setting to exclude "Compression" and site runs but replacement rules are ignored too (the UTF8 rule doesn't run so I get the cyrillic character again). Changed setting to exclude "Caching" and runs pretty good but no cached files, re-rendered each time. Obviously, problem is somewhere with the combination of Compression & Caching. Compression is turned off in Host settings, and PB commented it out of web.config on install. I was concerned it might be a double compression issue, but all other compression seems to be off and hosting company assures me IIS7 compression is off. I don't know if those logs will tell you anything, but I also dumped a couple of the cached files that wouldn't reload. Prehaps we can determine something from that. I know it's xml with data compressed in it, how can I attempt to view/decompress and look for an error there?
Thanks,
D
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 w/IIS& & Server 2008 Question



ActiveForums 3.7
Powered by: Snapsis Software