Hello,
I get this strange error in the code of a very simple aspx page just
called to download a file.
Do you have any idea about it ?
(The same code works fine on another server)
Server Error in '/' Application.
--------------------------------------------------------------------------------
Method not found: 'Void
System.Web.Http Response.Transm itFile(System.S tring, Int64, Int64)'.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.
Exception Details: System.MissingM ethodException: Method not found:
'Void System.Web.Http Response.Transm itFile(System.S tring, Int64,
Int64)'.
Source Error:
An unhandled exception was generated during the execution of the current
web request. Information regarding the origin and location of the
exception can be identified using the exception stack trace below.
Stack Trace:
[MissingMethodEx ception: Method not found: 'Void
System.Web.Http Response.Transm itFile(System.S tring, Int64, Int64)'.]
Project.Downloa d.Page_Load(Obj ect sender, EventArgs e) +0
System.Web.UI.C ontrol.OnLoad(E ventArgs e) +99
System.Web.UI.C ontrol.LoadRecu rsive() +47
System.Web.UI.P age.ProcessRequ estMain(Boolean
includeStagesBe foreAsyncPoint, Boolean includeStagesAf terAsyncPoint)
+1061
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.507 27.42;
ASP.NET Version:2.0.507 27.42
--
Fred
I get this strange error in the code of a very simple aspx page just
called to download a file.
Do you have any idea about it ?
(The same code works fine on another server)
Server Error in '/' Application.
--------------------------------------------------------------------------------
Method not found: 'Void
System.Web.Http Response.Transm itFile(System.S tring, Int64, Int64)'.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.
Exception Details: System.MissingM ethodException: Method not found:
'Void System.Web.Http Response.Transm itFile(System.S tring, Int64,
Int64)'.
Source Error:
An unhandled exception was generated during the execution of the current
web request. Information regarding the origin and location of the
exception can be identified using the exception stack trace below.
Stack Trace:
[MissingMethodEx ception: Method not found: 'Void
System.Web.Http Response.Transm itFile(System.S tring, Int64, Int64)'.]
Project.Downloa d.Page_Load(Obj ect sender, EventArgs e) +0
System.Web.UI.C ontrol.OnLoad(E ventArgs e) +99
System.Web.UI.C ontrol.LoadRecu rsive() +47
System.Web.UI.P age.ProcessRequ estMain(Boolean
includeStagesBe foreAsyncPoint, Boolean includeStagesAf terAsyncPoint)
+1061
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.507 27.42;
ASP.NET Version:2.0.507 27.42
--
Fred
Comment