Author: jypelton | Posted on: 6/17/2009 9:38:24 AM | Views : 335

On the line:
"var allorg = (from orgs in db.tblOrgs select orgs).FirstOrDefault();" below,
I'm getting the error: ") expected", but it looks like everything is correct. It runs fine locally, but not on the server - Server 2003/SQL 2000/IIS 6/.NET 3.5

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Artem.Web.UI.Controls;
using System.Data;
using System.Data.SqlClient;
public partial class Mapping_Default : CommunityServer.Components.CSPage
{
    protected void Page_Load(object sender, EventArgs e)
    {        
        //Set Data useing DataClasses.dbml start
        DataClassesDataContext db = new DataClassesDataContext();
 & ...

Go to the complete details ...