Quick Nav:  Online Store   |   Login | Register
PrevPrev--NextNext
WebForm_PostBackOptions is undefined
Last Post 01 Jul 2008 11:47 PM by Will Strohl. 9 Replies.
Please Register to participate.
Sort: Print topic: Printer Friendly
AuthorMessages
Will Strohl
Posts:112


Send PM:Send Private Message

--
24 Jun 2008 05: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
Veteran Member
Posts:4133

Avatar

Administrator
Send PM:Send Private Message

--
24 Jun 2008 05: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
Posts:112


Send PM:Send Private Message

--
25 Jun 2008 04: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
Posts:112


Send PM:Send Private Message

--
26 Jun 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
Posts:112


Send PM:Send Private Message

--
29 Jun 2008 08:02 PM
John? Do you have any further suggestions?


John Mitchell
Veteran Member
Posts:4133

Avatar

Administrator
Send PM:Send Private Message

--
29 Jun 2008 09: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
Posts:112


Send PM:Send Private Message

--
01 Jul 2008 06: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
Posts:112


Send PM:Send Private Message

--
01 Jul 2008 06: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
Veteran Member
Posts:4133

Avatar

Administrator
Send PM:Send Private Message

--
01 Jul 2008 09: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
Posts:112


Send PM:Send Private Message

--
01 Jul 2008 11:47 PM
Actually, this particular site is a different one that is not available online yet.


Please Register to participate.

Active Forums 4.1
     
      
Powered by: Snapsis Software