Solved

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

Posted on 2010-08-16
6
3,203 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
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…

861 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now