Sign In  |  Register
 
 DotNetNuke Powered!
DotNetNuke Support Forums

random? javascript error

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
sharindenver
Posts:54



01/24/2007 11:47 AM  

I am having several users who cannot submit forms, edit page settings etc.  The strange thing is that sometimes they can and sometimes they cannot.  Also, they can log in and not submit a form, but I can log in as host on their same computer and submit the form just fine.  The error is the little yellow "error on page" in the status bar (IE 6).  I have attached an image...

SO... I did these two things, which seemed like should fix this problem, but it did not.  Any other thoughts/help?  It's seems to be happening more and more and users are getting really frustrated.  I'm starting to get a lot of pressure to get this fixed but I don't know what to do!  Thanks!  :)

  • Went to my remote server and opened the IIS manager.
  • Right mouse click on the website and selected Properties.
  • Selected the Home Directory Tab.
  • Clicked on Configuration button.
  • Selected the .axd line in the Application extensions list box and click on the Edit button.
  • Changed the Executable Path to point to the v2.0 aspnet_isapi.dll.
  • Stopped then Started the website and all is well.
  • AND

    In a nutshell, the embedded resources (like the linked JavaScript files) get delivered to the browser via an ASP.NET 2.0 feature that uses WebResource.axd (the actual blah.js files get embedded in to the compiled application).  The problem was that WebResource.axd doesn't actual exist in the site (your web-application), the 2.0 DLL that is script mapped to .AXD files knows what it is and handles it... but NOT when the script mapping (IIS/Website/Properties, Home Directory, Configuration, Application Extensions, .axd) has "Verify that file exists" checked.  On our server, this is off by default in the IIS master properties, so I cannot explain why it was checked for that website. 

     

    Taken from the following: http://forums.asp.net/thread/1343820.aspx

    John Mitchell
    Posts:3033



    01/24/2007 12:20 PM  
    Thanks for this great write up Sharlyn. You have taken most of the steps to correct this problem and your details will surely help others.

    Next thing to check is if you have a compression module or some other HttpModule that manipulates the response content. Since the WebResource.axd file gets sent through Asp.Net, then other modules may be mangling it.

    PageBlaster has a default exclusion for this, and the default compression module in DotNetNuke also has it exluded now, but you may have a version that does not have that exclusion.
    sharindenver
    Posts:54



    01/24/2007 2:30 PM  
    Um... so how do I check this? :)

    I am on DNN 4.0.2 right now but hope to upgrade to 4.4.0 very soon. Would this potentially solve all my problems!?! (should I wait for 4.5.0 to upgrade?)
    John Mitchell
    Posts:3033



    01/24/2007 3:29 PM  
    If you are on 4.0.2 then you don't have the core compression module.

    Look in your web.config and let me know what modules are in the HttpModules section.

    DNN 4.4.1 should be out soon, you should wait for that to upgrade.
    sharindenver
    Posts:54



    01/24/2007 3:33 PM  

    httpModules
          !-- add name="Authentication" type="DotNetNuke.HttpModules.AuthenticationModule, DotNetNuke.HttpModules.Authentication" 
          add name="UrlRewrite" type="DotNetNuke.HttpModules.UrlRewriteModule, DotNetNuke.HttpModules.UrlRewrite" 
          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" 
        /httpModules

    John Mitchell
    Posts:3033



    01/24/2007 4:07 PM  

    Hmm, It doesn't appear to be a problem with HttpModules.

    You can try this long post where it is discussed in detail.

    sharindenver
    Posts:54



    01/24/2007 4:27 PM  
    The only thing I can see is that in IIS, my root folder Web Sites is using .Net 1.1 and the axd file is accessing the v1 isapi dll. But the DNN website is using ASP 2 and axd is using v2 isapi dll. When I right click on the propterties to change the root folder to .net 2, the ddl is grayed out and will not let me change this. Could this be a problem?

    Also, just a gut feeling, do you think upgrading to 4.4.1 will fix this?
    John Mitchell
    Posts:3033



    01/24/2007 4:55 PM  
    Is this site a virtual directory under a website that is running on the 1.1 framework?

    No, upgrading probably won't fix this problem. If you want me to take a look, contact me directly and I'll see if I can figure it out.
    Please Register to post a reply.
    Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.

    Forums >DotNetNuke Support >General-DNN-Help > random? javascript error



    ActiveForums 3.7
    Visit our Store for great DotNetNuke Modules and Skins
    DNNMasters Sitemap/Google Sitemap 3.0

    Item codeSM3-01
    Price$29.00
    Product Information 
    DotNetNuke CSS NavMenu 3.3 (Developers)

    Item codeCSSNM33DEV
    Base Price$149.00
    Product Information 
    Snapsis PageBlaster 3.3.2 for DotNetNuke - Professional Edition

    AuthorJohn Mitchell
    Base Price$79.00
    Product Information