Solved

Compilation Error: The type or namespace name 'Newtonsoft' could not be found

Posted on 2010-08-16
6
3,373 Views
Last Modified: 2013-11-08
When running this page: http://www.glowfishtw.com/DAAPI/default.aspx

I am getting the error:
 Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS0246: The type or namespace name 'Newtonsoft' could not be found (are you missing a using directive or an assembly reference?)
Source Error:

Line 11: //You need these for JSON parsing.
Line 12: //The DLL needs to be in your bin directory
Line 13: using Newtonsoft.Json;
Line 14: using Newtonsoft.Json.Linq;
Line 15:
Source File: d:\hshome\elliottb\glowfishtw.com\DAAPI\Default.aspx.cs    Line: 13

Is this something that I need to have installed on my server before I can run the page?
0
Comment
Question by:elliottbenzle
  • 4
6 Comments
 
LVL 82

Accepted Solution

by:
leakim971 earned 500 total points
ID: 33444928
>Is this something that I need to have installed on my server before I can run the page?

Yes : http://json.codeplex.com/
0
 
LVL 82

Expert Comment

by:leakim971
ID: 33444932
0
 
LVL 22

Expert Comment

by:Om Prakash
ID: 33444933
Please check the following KB article for details:
http://support.microsoft.com/kb/304656
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 82

Expert Comment

by:leakim971
ID: 33444973
0
 
LVL 4

Author Closing Comment

by:elliottbenzle
ID: 33445039
Thanks
0
 
LVL 82

Expert Comment

by:leakim971
ID: 33445047
You're very welcome! Thanks a lot for the points!
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Two decimal 5 25
Table style position to the left 8 24
Need help with a query 14 34
Open grouped links on a page in new tabs via jquery 5 40
Having worked on larger scale sites, we found out that you are bound to look at more scalable solutions to integrating widgets, code snippets or complete applications and mesh them into functional sites, in any given composition. To share some of…
This article discusses the difference between strict equality operator and equality operator in JavaScript. The Need: Because JavaScript performs an implicit type conversion when performing comparisons, we have to take this into account when wri…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

713 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question