F
Fred
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.HttpResponse.TransmitFile(System.String, 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.MissingMethodException: Method not found:
'Void System.Web.HttpResponse.TransmitFile(System.String, 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:
[MissingMethodException: Method not found: 'Void
System.Web.HttpResponse.TransmitFile(System.String, Int64, Int64)'.]
Project.Download.Page_Load(Object sender, EventArgs e) +0
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
+1061
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.HttpResponse.TransmitFile(System.String, 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.MissingMethodException: Method not found:
'Void System.Web.HttpResponse.TransmitFile(System.String, 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:
[MissingMethodException: Method not found: 'Void
System.Web.HttpResponse.TransmitFile(System.String, Int64, Int64)'.]
Project.Download.Page_Load(Object sender, EventArgs e) +0
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
+1061