VB.NET - Microsoft JScript runtime error: 'Sys' is undefined.... how to solve this error

Asked By abirami elango on 07-May-08 07:01 AM

Hi,

I am running the sample application running asp.net, sql server and ajax.

i have used <asp:scriptmanager> and autocomplete extender.

while running the application i got js error,

Microsoft JScript runtime error: 'Sys' is undefined.

how to solve this.. i have changed the web config settings which specified in the following sites..

1. http://geekswithblogs.net/ranganh/archive/2006/11/24/98276.aspx

2. http://geekswithblogs.net/lorint/archive/2007/03/28/110161.aspx

3.  http://harishmvp.blogspot.com/2006/11/sys-is-undefined-aspnet-20-ajax.html


please help over this... i am hunting for the answer for the past 4 days.


Thanks,

Abirami

Aravind Kumar replied to abirami elango on 07-May-08 07:08 AM

This problem will arise due to 2 reasons

1. If you have old Ajax Toolkit installed already installed and if you try to have a new version again, the old js files will be used. This might cause the error. Remove both versions, delete all the files from program files and install again.

2. You would've created the project type as asp.net project and not ajax enabled asp.net project.

how to installl new version for ajax toolkit.. - abirami elango replied to Aravind Kumar on 07-May-08 07:11 AM

hi,

1. plz provide the steps from ground up for installing new ajax tool kit by deleting the old one....

2. i have created the project as ajax enabled asp.net web site, but still not works...

thanks,

abirami

check here.... - Vasanthakumar D replied to abirami elango on 07-May-08 07:38 AM

Hi,

check this forum here they are discussing the solution in detail...

http://forums.asp.net/t/1055400.aspx

here is the solution i found atlast..... - abirami elango replied to Vasanthakumar D on 07-May-08 08:31 AM

hi,

atlast i found the solution ..

here is the changes we have to include in webconfig file..

plz find in attached webconfig.zip file

thanks,

abirami