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: CS0103: The name 'InterpolationMode' does not exist in the current context
Source Error:
Line 124:
Line 125: Graphics g = Graphics.FromImage(bitmap);
Line 126: g.InterpolationMode = InterpolationMode.HighQualityBicubic;
Line 127: g.SmoothingMode = SmoothingMode.HighQuality;
Line 128: g.PixelOffsetMode = PixelOffsetMode.HighQuality;
Source File: d:\inetpub\webs\miositoit\img.aspx Line: 126
Compiler Warning Messages:
Warning: CS1717: Assignment made to same variable; did you mean to assign something else?
Source Error:
d:\inetpub\webs\miositoit\img.aspx
Line 47: // La larghezza del TN sarà quella da noi stabilita
Line 48: // quindi dobbiamo solo assegnarla.
Line 49: resw = resw;
Line 50: // L'altezza del TN invece dovrà essere ricalcolata
Line 51: // in proporzione alla larghezza dell'immagine originale.
Warning: CS1717: Assignment made to same variable; did you mean to assign something else?
Source Error:
d:\inetpub\webs\miositoit\img.aspx
Line 61: // L'altezza del TN sarà quella da noi stabilita
Line 62: // quindi dobbiamo solo assegnarla.
Line 63: resh = resh;
Line 64: // La larghezza del TN invece dovrà essere ricalcolata
Line 65: // in proporzione alla altezza dell'immagine originale.
Show Detailed Compiler Output:
c:\windows\system32\inetsrv> "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\csc .exe" /t:library /utf8output /R:"C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b7 7a5c561934e089\System.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Xml\2.0.0.0 __b77a5c561934e089\System.Xml.dll" /R:"C:\WINDOWS\assembly\GAC_32\System.Web\2.0.0.0__ b03f5f7f11d50a3a\System.Web.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Configurati on\2.0.0.0__b03f5f7f11d50a3a\System.Configuration. dll" /R:"C:\WINDOWS\assembly\GAC_32\System.EnterpriseSer vices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseS ervices.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\m scorlib.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Mobile\ 2.0.0.0__b03f5f7f11d50a3a\System.Web.Mobile.dll" /R:"C:\WINDOWS\assembly\GAC_32\System.Data\2.0.0.0_ _b77a5c561934e089\System.Data.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Service s\2.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dl l" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Drawing\2.0 .0.0__b03f5f7f11d50a3a\System.Drawing.dll" /out:"d:\temp\root\eab64bf7\48b16fc7\App_Web_img.as px.cdcab7d2._h7r-m9v.dll" /D

EBUG /debug+ /optimize- /w:4 /nowarn:1659;1699 "d:\temp\root\eab64bf7\48b16fc7\App_Web_img.aspx.c dcab7d2._h7r-m9v.0.cs" "d:\temp\root\eab64bf7\48b16fc7\App_Web_img.aspx.c dcab7d2._h7r-m9v.1.cs"
Microsoft (R) Visual C# 2005 Compiler version 8.00.50727.42
for Microsoft (R) Windows (R) 2005 Framework version 2.0.50727
Copyright (C) Microsoft Corporation 2001-2005. All rights reserved.
d:\inetpub\webs\miositoit\img.aspx(49,5): warning CS1717: Assignment made to same variable; did you mean to assign something else?
d:\inetpub\webs\miositoit\img.aspx(63,4): warning CS1717: Assignment made to same variable; did you mean to assign something else?
d:\inetpub\webs\miositoit\img.aspx(126,27): error CS0103: The name 'InterpolationMode' does not exist in the current context
d:\inetpub\webs\miositoit\img.aspx(127,23): error CS0103: The name 'SmoothingMode' does not exist in the current context
d:\inetpub\webs\miositoit\img.aspx(128,25): error CS0103: The name 'PixelOffsetMode' does not exist in the current context
d:\inetpub\webs\miositoit\img.aspx(129,28): error CS0103: The name 'CompositingQuality' does not exist in the current context