I'm attempting to write my own Log4Net Glimpse plugin (so I can interface with my custom MySql database). I'm running into an issue though. When I click more from inside my plugin, Loading... appears and the result set comes back (the Raw result from Fiddler is pasted below), but Loading... stays up and the results are never copied to the set on the page.

HTTP/1.1 200 OK
Server: ASP.NET Development Server/10.0.0.0
Date: Fri, 13 Jan 2012 01:31:19 GMT
X-AspNet-Version: 4.0.30319
Cache-Control: private
Content-Type: application/json; charset=utf-8
Content-Length: 171
Connection: Close

[["Id","Date","Thread","Level","Logger","Message","Exception"],[1,new Date(1326341298000),"15","DEBUG","MySite.WebGUI.Controllers.AccountController","In SignUp!","",""]]

Note: The result set image below goes from 11 to 2 (7 through 2 not shown).

enter image description here

Any ideas as to why this would happen?

有帮助吗?

解决方案

The error you're getting is: JSON.parse unexpected keyword. The error is being thrown because of the date you're returning. It's being sent down to the client like this: new Date(1326341298000), but it should like something like this: /Date(1326341298000)/

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top