Merhaba arkadaşlar birkaç gündür bu problemle uğraşıyorum yardımcı olabilirseniz sevinirim sorunum kısaca şudur..
İnternette araştırdıgıma göre bırkaçtane yöntem buldum birincisi Json.net 1.3.1 ikincisi System.Web.Extensions.dll .net 2.0 için olanını refarans ettim hepsı localde calısıyorlar Visiual studioda framework target 2.0 olarak ayarladım ama bunları ben ftp atıp denersem her iki türlüde aynı hatayı alıyorum
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 7: using System.Web.UI;
Line 8: using System.Web.UI.WebControls;
Line 9: using System.Web.Script.Services;
Line 10: using System.Web.Script.Serialization;
Line 11:
Source File: e:\Studentsweb\081641\Personnel.aspx.cs Line: 9
C:\Windows\SysWOW64\inetsrv> "C:\Windows\Microsoft.NET\Framework\v2.0.50727\csc.exe" /t:library /utf8output /R:"C:\Windows\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Web.Mobile\2.0.0.0__b03f5f7f11d50a3a\System.Web.Mobile.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Runtime.Serialization\3.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll" /R:"C:\Windows\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.ServiceModel.Web\3.5.0.0__31bf3856ad364e35\System.ServiceModel.Web.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.IdentityModel\3.0.0.0__b77a5c561934e089\System.IdentityModel.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Web.Services\2.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll" /R:"C:\Windows\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.WorkflowServices\3.5.0.0__31bf3856ad364e35\System.WorkflowServices.dll" /R:"C:\Windows\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.ServiceModel\3.0.0.0__b77a5c561934e089\System.ServiceModel.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll" /out:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\18cd59b0\105e6967\App_Web_uatxl1ot.dll" /debug- /optimize+ /w:4 /nowarn:1659;1699;1701 "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\18cd59b0\105e6967\App_Web_uatxl1ot.0.cs" "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\18cd59b0\105e6967\App_Web_uatxl1ot.1.cs" "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\18cd59b0\105e6967\App_Web_uatxl1ot.2.cs"
Microsoft (R) Visual C# 2005 Compiler version 8.00.50727.4927
for Microsoft (R) Windows (R) 2005 Framework version 2.0.50727
Copyright (C) Microsoft Corporation 2001-2005. All rights reserved.
e:\Studentsweb\081641\Personnel.aspx.cs(9,18): error CS0234: The type or namespace name 'Script' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)
e:\Studentsweb\081641\Personnel.aspx.cs(10,18): error CS0234: The type or namespace name 'Script' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)
e:\Studentsweb\081641\Personnel.aspx.cs(16,8): error CS0246: The type or namespace name 'JavaScriptSerializer' could not be found (are you missing a using directive or an assembly reference?)
Anlamadım gitti problem .net framework versionundan kaynaklı olmaması lazım bin klosorunu kontrol ediyorum hersey içinde adresin altın sanırsam hostun Version Information: Microsoft .NET Framework Version:2.0.50727.4961; ASP.NET Version:2.0.50727.4955 versionu yazıyor.... Bir tavsiyesi olan varmıdır acaba ?