K kotsol New Member Licensed User Longtime User Mar 4, 2012 #1 When I call the test1.aspx from the browser I get the following error: Compiler Error Message: CS0234: The type or namespace name 'Script' does not exist in the namespace 'System.Web' (are you missing an assembly reference?) Source Error: Line 4: <%@ Import Namespace="System.Data.SqlClient" %> Line 5: <%@ Import Namespace="System.IO" %> Line 6: <%@ Import Namespace="System.Web.Script.Serialization" %> Line 7: Line 8: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> Source File: c:\inetpub\wwwroot\test1.aspx Line: 6 What might be the problem? The environment I work is: WINDOWS SERVER2008 IIS7 sqlexpress 2008
When I call the test1.aspx from the browser I get the following error: Compiler Error Message: CS0234: The type or namespace name 'Script' does not exist in the namespace 'System.Web' (are you missing an assembly reference?) Source Error: Line 4: <%@ Import Namespace="System.Data.SqlClient" %> Line 5: <%@ Import Namespace="System.IO" %> Line 6: <%@ Import Namespace="System.Web.Script.Serialization" %> Line 7: Line 8: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> Source File: c:\inetpub\wwwroot\test1.aspx Line: 6 What might be the problem? The environment I work is: WINDOWS SERVER2008 IIS7 sqlexpress 2008
Erel B4X founder Staff member Licensed User Longtime User Mar 5, 2012 #2 You are probably missing System.Web.Extensions.dll. You should find it and put it in the bin folder. Upvote 0