SCRIPT5007: Unable to get value of the property 'style': object is null or undefined

SCRIPT5007: Unable to get value of the property 'style': object is null or undefined

drchanixdrchanix Posts: 20Questions: 0Answers: 0
edited May 2012 in DataTables 1.9
Hi,
I am getting this error when I view my web app in IE8 and 9.

SCRIPT5007: Unable to get value of the property 'style': object is null or undefined
jquery.dataTables.js, line 3531 character 7

I did two things.
1. I uploaded my web app in Windows server 2003 that is IIS 6.
2. I uploaded my web app locally in Windows 7 that is IIS 7.

I only get this error when I view my web app that is in windows server 2003. I tested this in many computers but I still get the same error.
This error is not showing when I view my web app that is hosted locally in Windows 7.

I am using ASP.Net 4 and MVC 3.

Any thoughts?

Thanks.

Replies

  • drchanixdrchanix Posts: 20Questions: 0Answers: 0
    I found another discussion and it says to remove any trailing commas.
    I just did it and it worked.
    Here is the discussion http://www.datatables.net/forums/discussion/6050/browser-compatibility-problem/p1.

    My other problem is that no records are displayed. This might be permission issues. I'll look into this.
  • drchanixdrchanix Posts: 20Questions: 0Answers: 0
    Got it.

    I gave permission to IUSR in SQL Server because my app uses anonymous access.
    Also in my web.config:



    Hope this helps to anyone.

    Thanks.
This discussion has been closed.