Quick Nav:  Online Store   |   Login | Register

WebForm_PostBackOptions is undefined

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
Will Strohl
<100 Posts
Posts:88


06/24/2008 5:47 PM  

I am getting the JavaScript error:

WebForm_PostBackOptions is undefined

When PageBlaster is enabled.  Here are my rules:

        < excludePaths>
   < path pattern="WebResource.axd" excludeFrom="All" />
   < path pattern="[^\.css]\.axd" excludeFrom="All" />
   < path pattern="(\.asmx|LinkClick|SiteMap|/admin/|/host/|\.ashx|rss|install|thumb|wizard|cart|404|fck)" excludeFrom="All" />
   < path pattern="(\.gif|\.jpg|\.png|\.js)" excludeFrom="All" />
   < path pattern="ctl.*?(edit|module|tab)" excludeFrom="All" />
        < /excludePaths>

I know that the WebForm_DoPostBackWithOptions is in the WebResource.axd file.  I had that already excluded, but just for giggles I excluded it explicitly as you can see above.  Forums posts all over suggest that this is a compression problem ,but if it is excluded here and the DNN compression is not enabled, why is this happening?  It only happens when PageBlaster is enabled.

[EDIT]
I forgot to add that this only happens in IE, and not FireFox.  And yes, I have tried Shift Refresh as well as Ctrl F5.
[/EDIT]

John Mitchell
Posts:3353


06/24/2008 5:57 PM  
PageBlaster actually handles compression and caching for WebResource.axd fine in most instances.

Maybe it is a JSMin problem. It should not be happening when you excludeFrom="All" , but you can try this:

< path pattern="WebResource.axd" excludeFrom="JSMin" />

If you give me a link where PageBlaster is enabled and WebResource is not working I may be able to tell more.
It could also be that another JS error is happening only in IE that is causing JS not to work at all on the page.
Will Strohl
<100 Posts
Posts:88


06/25/2008 4:19 PM  
I do not think that it is another JS error, as I have clicked through the JS error history and there are two of these in a row, but no others. I will try this and let you know.
Will Strohl
<100 Posts
Posts:88


06/26/2008 10:07 PM  

I turned tracing on, and noticed that the JavaScript file that contains the script is indeed getting excluded, yet the JavaScript error exists:

PB:RequestController:IsExcludedFrom: Request Is Excluded:
 Path=http://DOMAIN.COM/webresource.axd?d=c2cyirhpu_r3n7wigs9iiw2&t=633350545828127314
 ExcludeFrom=All ExcludePattern=WebResource.axd

I have attached other files to help you help us (as suggested in my other thread).  You will notice that since the page is excluded as well (see attached config), the mark-up is nearly identical.  Yet the problem remains.


Attachment: 162671624454.zip

Will Strohl
<100 Posts
Posts:88


06/29/2008 8:02 PM  
John? Do you have any further suggestions?
John Mitchell
Posts:3353


06/29/2008 9:21 PM  
I can't find anything that stands out in the attached files.
You can try deleting the WebResource folder In the PageBlaster cache.

Will Strohl
<100 Posts
Posts:88


07/01/2008 6:04 PM  

I couldn't delete the "WebResource" folder, because I couldn't find one anywhere in the Cache folders.  Also, I am able to duplicate this behavior over and over.  If I enable PageBlaster in the HttpModules section of the Web.Config, the javascript (.axd) file that holds the definition for the "WebForm_PostBackOptions" doesn't load.

It looks like I am not the only one:
http://www.snapsis.com/Support/tabid/601/forumid/9/postid/5582/view/topic/Default.aspx

I have just about exhausted all of my efforts.  I cannot think of anything else to do to exclude the files.  If we cannot fix this, we will have to look for other options for particular this site, as none of the management links (Update links, Restart Application, etc.) will work with PageBlaster enabled.  Everything else is absolutely wonderful.

Will Strohl
<100 Posts
Posts:88


07/01/2008 6:31 PM  
I just noticed another tid-bit. This site is using PB version 3.02.01, and the current version is 3.03.02. Would that have anything to do with this?
John Mitchell
Posts:3353


07/01/2008 9:21 PM  

3.2.1 should not have that problem, especially if you are excluding WebResource.axd
It wouldn't hurt to upgrade it though.

I just went to your site and it doesn't look like PageBlaster is enabled but you still have several javascript errors in WebResources.axd

Will Strohl
<100 Posts
Posts:88


07/01/2008 11:47 PM  
Actually, this particular site is a different one that is not available online yet.
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 > WebForm_PostBackOptions is undefined



ActiveForums 3.7
Powered by: Snapsis Software