Quick Nav:  Online Store   |   Login | Register

Version 3.0 Beta Test FeedBack

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:2750


03/15/2008 6:39 AM  

If you edit the web.config you can change the customErrors node to "Off", and then we can see what the real error is.

You can also get the site back to running by removing the line for Snapsis.HttpModules.PageBlaster in the HttpModules section.

DavidWSnow
<250Posts
Posts:162


03/15/2008 10:01 AM  

John,

I finally got around to installing PB 3.1.1 on my production site this morning, and f:

  • First I removed the global rule that moved the listed js to the header. This rule had caused me problems on my localhost with 3.1.1
  • Installed PB 3.1. and clearerd the cache - PS thnaks for the button.
  • Started testing pages. The Listed Homes page would not display the bottom module EVEN THOUGH it has Exclude ".*" from ALL!!!!
  • I added ListX to the PB.config file exclude from all line and the bottom module re-appeared.
    • I am not even sure why you suggested adding this to disable ListX or what the difference between this and the method mentioned on line up.
    • ListX rules are still being executed on other ListX pages.
  • To make sure that my problem wasn't caused by sometning in my PB config, I renemed it and FTP'ed the one in the zip file
  • It begaved the same and I had to add "ListX" to the exclude from all line.

There is still a problem here.

What is is differencebetween the ExcludeFrom All line in PB.config and exclude .* from all in the page rules/ why does one work and the other one not work in this case?

 

/DaveS

 

FM
<50 Posts
Posts:40


03/18/2008 6:09 PM  

Hi John

Here is the error.   Please advise.

Thanks

 


Object reference not set to an instance of an object.

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.NullReferenceException: Object reference not set to an instance of an object.

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:

[NullReferenceException: Object reference not set to an instance of an object.]
   Snapsis.HttpModules.PageBlaster.Config.Settings.GetConfig(HttpApplication app) +335
   Snapsis.HttpModules.PageBlaster.PageBlasterModule.Init(HttpApplication app) +264
   System.Web.HttpApplication.InitModulesCommon() +66
   System.Web.HttpApplication.InitInternal(HttpContext context, HttpApplicationState state, MethodInfo[] handlers) +1006
   System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext context) +259
   System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +114
   System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +350

 

--------------------------------------------------------------------------------

Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433

John Mitchell
Posts:2750


03/19/2008 6:10 AM  
It looks like there is an error in your Snapsis.PageBlaster.Config file. Maybe from an invalid character in the xml.
If you want to attach your config file I'll take a look. Rename it .txt or zip it up to attach.
FM
<50 Posts
Posts:40


03/19/2008 2:38 PM  

Here is the file.   I'm also running XPIdea DynamicKeywords.

Thanks


Attachment: 1319382929671.txt

jon winters
<20 Posts
Posts:8


03/19/2008 2:53 PM  
John,

It has been awhile since I have been out here. I noticed that there is a new version of PB in the works. I am a current owner of PB, what is the upgrade cost? And, can I get in on the beta (if it is still in beta)?

Thanks,

Jon Winters
John Mitchell
Posts:2750


03/19/2008 3:18 PM  

FMSnap,

There is an error in that config file where two atrributes are not seperated:

Add a carriage return to this line:

ext-cachekey-parameters="[PB:Request.Browser.Javascript]"cache-folder="/DesktopModules/Snapsis/PageBlaster/Cache"
So it looks like this:
ext-cachekey-parameters="[PB:Request.Browser.Javascript]"
cache-folder="/DesktopModules/Snapsis/PageBlaster/Cache"
 
I remember fixing that problem in the upgrade logic, but I didn't think anyone had the build I was working on at the time.
John Mitchell
Posts:2750


03/19/2008 3:19 PM  

Hi Jon,

Send an e-mail by replying directly to the notification from this post and I'll reply with the latest build.

FM
<50 Posts
Posts:40


03/19/2008 3:47 PM  

Hi John

I tried that but now I get a different error, like a DNS error from explorer: Internet Explorer cannot display the webpage

When I put the lines together again then I am back to the original error.   As soon as I break the line I get the explorer error.

 

John Mitchell
Posts:2750


03/19/2008 4:36 PM  
Does it work if you try a different page in that portal?
Can you try enabling tracing?
DavidWSnow
<250Posts
Posts:162


03/19/2008 4:57 PM  

I have been looking for a good sitemap solution for my site. The DNN one doesn't work for me for two reasons:

  1. I have a page called "Site Map" and the DNNfriendly url maps that page to AgingSafely.com/SiteMap.aspx.
  2. When it used to be accessable it messed up the site name in the map concatinating www.AgingSafely.com and AgingSafely.com

Today I tried iFinity's SiteMap Provider.  At first I got a 404 error when I accessed their map at http://dsnow2.dnsalias.com/asi3/GoogleSiteMap.axd

Then I wondered if PageBlaster might be contributing to the problem and disabled it.  Life was better, but I still had an exception to deal with. I am still worksing this part of the problem

By adding "\.axd|" to the excludeFrom=all list I was able to re-enable PB.  I just though that you might want to consider if this should be part of your default exclusions. I don't even know what .axd is used for.

/DaveS

FM
<50 Posts
Posts:40


03/19/2008 6:08 PM  

I went into my explorer history and found pages that worked and did not work

This type of page would not work:  http://mydomain/Links.aspx

This page does work  http://mydomain/Host/File%20Manager/tabid/19/ctl/Edit/mid/323/ftype/Module/rtab/18/portalid/0/Default.aspx

Not sure if this is relevant but I am using an IP address, not an actual domain name.    The "mydomain" was just used to protect my IP.   I also use human friendly URLs.

I can give you access to the host if that will help.

Thanks

 

John Mitchell
Posts:2750


03/19/2008 6:27 PM  
Hi Dave,
.axd is a file extension used mainly for WebResource.axd and ScriptResource.axd which are virtual files to retrieve embedded resources.

Since it is already mapped to asp.net developers also like to use it with HttpModules and HttpHandlers.

You will run ito a problem in PageBlaster if you exclude all .axd files because that is an extension I use for the MergedCSS & MergedJS files.
It will also keep WebResource.axd and ScriptResource.axd files from being optimized by PageBlaster.

To exclude the site map file it would be better to add "GoogleSiteMap|" to the list of exclusions.

I imagine it is failing because PageBlaster processes .axd files as static resources, but I may need to refine how I look at those files.
John Mitchell
Posts:2750


03/19/2008 6:31 PM  
FMSnap,
Try clearing out the cache folder, or using CTRL+Refresh in IE or SHIFT+Refresh in FireFox.

The IP Address as a domain name will not matter with PageBlaster, but it might make a difference in your DNN portal.
I think you verified this before, but try commenting out PageBlaster from the HttpModules section of web.config just to see if everything works ok without PageBlaster.
FM
<50 Posts
Posts:40


03/19/2008 6:35 PM  

I just did that and now both links do not work.       When I comment out the snapsis tag in web.config the site does load ok.

John Mitchell
Posts:2750


03/19/2008 6:59 PM  
Ok, can you contact me directly with the website address?
Nelson Fernandez
<100 Posts
Posts:50


03/25/2008 12:07 PM  

My scriptresource.axd is not being treated properly.

Using FirBug you can see the difference:

http://www.warbeats.com/Home.aspx  << PB: Disabled

http://www.warbeats.com/Default.aspx  << Same page as above with PB:ON

using firebug you will notice the PB:ON page has an error in scriptresource.axd line 2. Also try clicking on Register ot Login and neither will work. Clicking on either one will also increase the error count.

The PB:Disable page functions properly.

UPDATE: This is happening to many places in my website. Specifically trying to post new messages (ActiveForums) and anywhere where there is a "Javascript:WebForm_DoPostbackWithOptions"  type of link.

UPDATE 2: RESOLVED... turns out a file replacement from V2 was returning an extra <form>

 

 

John Mitchell
Posts:2750


03/25/2008 12:46 PM  
Try excluding just JSMin and lets see if that is causing it.

path pattern="ScriptResource" excludeFrom="JSMin"

Also if you could turn on trace debugging and check the event viewer to see if there are any errors, that will help us track it down.

Did this just start after PB was working, or did you just install this new version?
John Mitchell
Posts:2750


03/25/2008 12:47 PM  

Ahh, yes. Having an extra form tag could cause that.  Thanks for the update.

Nelson Fernandez
<100 Posts
Posts:50


03/25/2008 1:36 PM  

Next problem...

In my pages there might be onclick events named by ASP.NET or DNN that look like this (noteably the View, Edit, Design radio buttons):

onclick="javascript:setTimeout('__doPostBack(\'IconBar.ascx$optMode$0\',\'\')', 0)"
Notice the event postback text contains $0 (may also contain $1, $2 etc)
This is the replace group placeholder in regex.
During one of my rules, I replace everything before the end body tag. What is happening is that 
my text file replaces the $0 in the onclick event ($0) above!
In effect, the textfile gets inserted into the middle of the page at the onclick location.
It also gets placed correctly at
the bottom of the HTML just before the end body tag. This worked fine with 2.0
Here is my rule (change angle brackets to square so they will show):
Search For: [/body]
Replace With: [ RE:LoadFile(C:\Site\js\PreBodyEnd.txt) ][/body]
 

 

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 > Version 3.0 Beta Test FeedBack



ActiveForums 3.7
Powered by: Snapsis Software