Home > Uncategorized > Error updating JScript IntelliSense: Object doesn’t support this property or method @ 2139:1

Error updating JScript IntelliSense: Object doesn’t support this property or method @ 2139:1

Today I am trying out JQuery on Visual Studio 2008 for the first time. I go to the website at www.jquery.com and downloaded the library as well as the document for Visual Studio.

So I imported the JQuery library into my VS project

image

But when I want to try to the intellisense, I notice it is not working!! It should be able to recognize the famous $!!

image

Then I realize at the bottom of the VS IDE, there is an error message -

Warning    1    Error updating JScript IntelliSense: D:\workspace\Projects\JQuerySample\JQuerySample\scripts\jquery-1.3.2.js: Object doesn’t support this property or method @ 2139:1    D:\workspace\Projects\JQuerySample\JQuerySample\Default.aspx    1    1    JQuerySample

image

But this is not a bug inside the JQuery library itself. So I went back to scottgu’s blog post about on JQuery I notice something very difference with his library (besides the fact that he is using version 1.2.6).

I notice mine has got an extra number 2 at the end of vsdoc there. So I go back to the Google code side where I downloaded the file and I found out en they release a new vsdoc file to replace the exisiting deplecated one, they ‘tangan gatal’ change the name to jquery-1.3.2-vsdoc2.js. VS Interllisense only programmed to regconized [Javascript file name]-vsdoc.js without the 2 at the back there.

image

That vsdoc2 is the cause of the problem here! Just rename it to jquery-1.3.2-vsdoc.js and you got JQuery Intellisense working!

image

Categories: Uncategorized Tags: ,
  1. June 15th, 2009 at 07:00 | #1

    Thanks! I had this same problem, and your post did the trick! =-)

  2. Vadzim
    July 21st, 2009 at 21:38 | #2

    You are so attentive to recognize this “bug”.
    Thanks a lot for saving my own time for eliminating this problem.

  3. August 4th, 2009 at 16:16 | #3

    Thanks, Sir
    Your trick works well……Thanks

  4. Nilesh
    August 6th, 2009 at 15:01 | #4

    Hi Thaxn for the solution. It works fine. Thank u very much.

  5. Nilesh
    August 6th, 2009 at 15:01 | #5

    Hi Thanx for the solution. It works fine. Thank u very much.

  6. CamDiep
    August 14th, 2009 at 17:39 | #6

    it doesn’t work after I rename files
    jquery-1.3.2-vsdoc.js
    jquery-1.3.2.js

    Error Message:
    Error updating JScript IntelliSense: E:\Lesson2\Lab1\CSharp\WorkingWithSiteNavigation\Scripts\jquery-1.3.2.js: Object doesn’t support this property or method @ 2139:1

  7. Gregg
    September 13th, 2009 at 13:11 | #7

    Thank you very much for sharing this information!

  8. October 16th, 2009 at 02:16 | #8

    Thank you! Suggested renaming of the file solved the problem.

  9. Jorge
    October 22nd, 2009 at 10:00 | #9

    Thanks! problem solved.

  10. Ricardo Luzardo
    October 24th, 2009 at 06:04 | #10

    Thank you very much, it was really helpful!!!!

  11. November 19th, 2009 at 23:31 | #11

    Thanks a lot for saving our time!
    ==For those who couldn’t make it work after the rename: make sure you’ve read ScottGu’s blog and applied the patch for VS90sp1

  12. December 7th, 2009 at 12:22 | #12

    Thanks! I had this same error and the “2″ suffix removal worked perfectly. You da man!

  13. Chip
    June 11th, 2010 at 04:30 | #13

    I get the same error, but removing the 2 doesn’t fix it. I get it with “jquery-1.3.2.min.js” or “jquery-1.4.1.min.js”. Very frustrating.

  1. No trackbacks yet.