I'm not sure if this is the right forum for this, (I posted this also in the Config / Deploy forum) but can anyone tell me why I often get a "Can not init Button", "Can not init Tab", "Can Not init Grid" java scritp error message?
Often I get the little "warning" error message in the bottom left corner of IE. If I double click the yellow "yield sign" I'll get a message that tells me basically that at Char N Line X can not init control. Then the browser window stops responding to all javascrip, I can't click a button, double click a grid view row, etc.
When viewing the source of the page, I see the javascript Try/Catches and the error message, but I still don't know what is causing it.
Has anyone seen this before, any ideas on what could cause it and what I can do to fix it.
Thanks
-- Joe --
One thing I can think of is browser settings. Try setting it to the default settings and see if it resolves any issues. You can also do a view source on the page to see where it is looking for the scripts (either *.js or *.axd). Solutions that involve redirecting or setting up IIS are for situations where it is not deployed or set up correctly on the server.
I found nothing that would help. I'm only seing this problem in our remote offices. Internet connections are fine, but at a remote office through a VPN tunnel the connections are much slower and that's what I have been blaming it on.
I can't really suggest anything to do, I just moved onto the next problem around here. Sorry for the bad news man.
Hello,
I am having this same problem today on one of my web applications.
I have a certain application that gives the 'Can Not Init Error' whilst trying to load any page that uses an UltraWebMenu control. This is an issue in both IE6 and Firefox but it appears to work fine in IE7.
I have checked another application that uses UltraWebMenu's (and works) and I cannot see any obvious differences.
I have checked the things mentioned in the posts above ('.axd', JavaScriptFileName, Ajax) but I cant see anything wrong.
Any ideas?
Thanks Simon
This will be for XP or IIS 5.1. It will probably be somethign similar in another OS.
Open IIS -> right click on application and go to Properties -> go to Virtual Directory tab -> Click on Configuration button -> Go to Mappings tab on dialog -> click on .axd from the list and click the edit button -> make sure that the "Check that file exists option" is not checked.
Again, this shouldn't matter as if that was checked your application would not work when using any embedded resources.
For the other pages I can't say for sure. I tried to reproduce using Fiddler but was not sucessful so it may or may not be the issue or it may not be slow enough.
Can you tell me the setting in IIS that you were referring to in you first post?
Is there anything I can do for pages that don't have a WebTab or Warp panel? Thanks for the KB link, this was something that I implemented a while ago for my main "Case" page that contains my WebTab.
I have to admit that I don't know much about those axd files, but is there anyway I can have the page wait for those files before any execution takes place?
Thanks for your responses and all of your help.