Solved

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

Posted on 2010-08-16
6
3,293 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
Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
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…

803 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