Click here to Skip to main content
15,922,894 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: how to placed publised code of on web application inside other. Pin
Christian Graus8-May-08 19:51
protectorChristian Graus8-May-08 19:51 
Questiondisplaying a string Pin
justintimberlake8-May-08 17:54
justintimberlake8-May-08 17:54 
AnswerRe: displaying a string Pin
lovedotnet8-May-08 19:46
lovedotnet8-May-08 19:46 
AnswerRe: displaying a string Pin
eyeseetee8-May-08 21:19
eyeseetee8-May-08 21:19 
QuestionProblem in passing value to anchor tag Pin
Deepak Nigam8-May-08 17:45
Deepak Nigam8-May-08 17:45 
AnswerRe: Problem in passing value to anchor tag Pin
Christian Graus8-May-08 19:51
protectorChristian Graus8-May-08 19:51 
QuestionSSO - Single Signon Pin
kannadan8-May-08 15:41
kannadan8-May-08 15:41 
QuestionReference problem using System.Linq [modified] Pin
Jim Taylor8-May-08 11:01
Jim Taylor8-May-08 11:01 
I have an asp.NET 3.5 web project in C# that includes references to
System.Core
System.Data.Linq
System.Xml.Linq

and a page with the following test code ...

var a = (from b
   in columns
         where b.IndexOf("IDENTITY") == -1
         select b).Single();

The solution compiles, but when I run the application I get the following 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: CS0234: The type or namespace name 'Linq' 
does not exist in the namespace 'System' (are you missing an assembly reference?)

Source Error:

Line 15: using System.Text;
Line 16: 
Line 17: using System.Linq;

Can anyone help?

EDIT: I've just found this page http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=3114187&SiteID=1[^]

It looks like I need to add the correct version of the references and add some information to the web.config file.

EDIT 2: I've checked all the references and they are fine, now I get a different error ...

CS1026: ) expected

yet this works fine in a console application with exactly the same references!?

Jim

modified on Thursday, May 8, 2008 5:23 PM

AnswerRe: Reference problem using System.Linq Pin
Sam Xavier8-May-08 19:29
Sam Xavier8-May-08 19:29 
Questionmultiple languages Pin
strawberrysh8-May-08 10:59
strawberrysh8-May-08 10:59 
AnswerRe: multiple languages Pin
Christian Graus8-May-08 11:11
protectorChristian Graus8-May-08 11:11 
GeneralRe: multiple languages Pin
strawberrysh8-May-08 19:50
strawberrysh8-May-08 19:50 
GeneralRe: multiple languages Pin
eyeseetee8-May-08 21:15
eyeseetee8-May-08 21:15 
QuestionNeed to make a string's state avaliable from a web page to a custom control. Pin
Steve Holdorf8-May-08 10:12
Steve Holdorf8-May-08 10:12 
AnswerRe: Need to make a string's state avaliable from a web page to a custom control. Pin
Christian Graus8-May-08 11:15
protectorChristian Graus8-May-08 11:15 
AnswerRe: Need to make a string's state avaliable from a web page to a custom control. Pin
Steve Holdorf9-May-08 2:25
Steve Holdorf9-May-08 2:25 
QuestionDynamic gridview Pin
sabaMCA8-May-08 10:03
sabaMCA8-May-08 10:03 
AnswerRe: Dynamic gridview Pin
Christian Graus8-May-08 11:15
protectorChristian Graus8-May-08 11:15 
QuestionProblem in positioning div Pin
Deepak Nigam8-May-08 10:02
Deepak Nigam8-May-08 10:02 
Questionharizontal order in gridview Pin
sabaMCA8-May-08 10:01
sabaMCA8-May-08 10:01 
AnswerRe: harizontal order in gridview Pin
Christian Graus8-May-08 11:16
protectorChristian Graus8-May-08 11:16 
Questiondisplaying images from a bannerfarm Pin
JacquesDP8-May-08 8:28
JacquesDP8-May-08 8:28 
QuestionHow can I display image from SQL Binary field on Image control? Pin
Dong Kim8-May-08 5:53
Dong Kim8-May-08 5:53 
AnswerRe: How can I display image from SQL Binary field on Image control? Pin
Christian Graus8-May-08 11:17
protectorChristian Graus8-May-08 11:17 
Questionisolate the events in a WebPart from the other zones Pin
Ofer Gal8-May-08 5:41
professionalOfer Gal8-May-08 5:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.