PDA

View Full Version : Microsoft JScript runtime error: 'Ext' is undefined



Satyanarayana murthy
Mar 31, 2010, 9:06 AM
Hi ,

While running coolite application i am getting following.. javascript error.
Microsoft JScript runtime error: 'Ext' is undefined.
this error coming suddenly with out any changes in code and system.
I checked this also http://forums.ext.net/showthread.php?threadid=27869-16-1.aspx#bm27921 and changed web.cofig.but same error coming.

please suggest me on this.

Thanks ,
satya

Vladimir
Mar 31, 2010, 9:23 AM
Hi,

It is mean that ExtJS file are inaccessable. Please see in the Fiddler or Firebug requests status. What the server returns when a browser requests the resources?

Satyanarayana murthy
Mar 31, 2010, 9:35 AM
Hi valdsch,

Please help me how to chack the Fiddler or Firebug requests status.

actually no changes made in code and system configuration.It works fine yesterday.

what may be the issue.

regards,
satya

Vladimir
Mar 31, 2010, 9:50 AM
Hi,

1. Open page in the Firefox
2. Activate Firebug
3. Choose 'Net' tab in the Firebug
4. In the 'Net' tab click on 'JS' button
5. Refresh the page
6. See request like 'GET ext.axd' (or 'GET coolite.axd' if you use 0.8.x)
7. See status column for that requests
8. You can expand each request and click 'Response' tab to see the server response

Satyanarayana murthy
Mar 31, 2010, 10:52 AM
Hi ,

you are right ..
In firebug request list does not have request like 'coolite.axd'.

please advise me how to access ext files.

Thanks,
satya

Vladimir
Mar 31, 2010, 10:54 AM
Hi,

Can you create simple page (for example, place one Coolite button), run that page and see in the browser genereated html (View Source) ? Please post that generated html and web.config

Satyanarayana murthy
Mar 31, 2010, 11:17 AM
Thank you..valdsch,

I attached that generated html and web.config,please check it.

Vladimir
Mar 31, 2010, 11:25 AM
Hi,

changed web.cofig.but same error coming.
Your web.config doesn't contains Coolite http module. Please see the following post
http://forums.ext.net/showthread.php?postid=15602.aspx

Satyanarayana murthy
Mar 31, 2010, 12:10 PM
yes ..i was added that handler and modules then my sample app is working fine.

so actual application has problem with .ext. I used handlers and modules same as in sample application.But still has getting error "Microsoft JScript runtime error: 'Ext' is undefined.

if possible plz check my actual config file and suggest me any corrections.

Thanks for quick answers..
Satya

Vladimir
Mar 31, 2010, 12:22 PM
Hi,

I did not understand from your last post about result.


i was added that handler and modules then my sample app is working fine.
I used handlers and modules same as in sample application.But still has getting error
Is the problem resolved or not?


You current config looks correcty for IIS6 (and less) and Coolite Toolkit 0.8.x


What IIS do you use? Do you use 0.8.x toolkit version?

Satyanarayana murthy
Mar 31, 2010, 12:50 PM
sorry , i mean sample application is working fine ..but if use same config setting in project i have problem with Ext javascript error.

i am using windows-7 nad coolite dll ver is 0.8.1 .
Please suggest me, what config sections need to be change.

thanks ,
satya

Vladimir
Mar 31, 2010, 12:54 PM
Hi,

What IIS version do you use? If IIS7 (because you mentioned Windows 7) then your web.config doesn't have Coolite module and handlers in the <system.webServer> (IIS7 section). Please see my previous link where described valid IIS7 section