|
Subject:
|
Server Error in '/' Application - Method not found
|
|
Posted By:
|
Jan_Ma
|
Post Date:
|
10/16/2003 8:06:38 PM
|
I'm buidling the e-commerce Website from the book "Beginning ASP.NET E-Commerce."
I got my version of the application running just find on my local Web server, but when I upload my application to my Web Hosting Service, I am getting the following error.
Server Error in '/' Application. Method not found: System.Collections.Specialized.NameValueCollection System.Web.HttpRequest.get_Params(). 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: System.Collections.Specialized.NameValueCollection System.Web.HttpRequest.get_Params().
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: System.Collections.Specialized.NameValueCollection System.Web.HttpRequest.get_Params().] cactus_blues._default1.Page_Load(Object sender, EventArgs e) +0 System.Web.UI.Control.OnLoad(EventArgs e) +67 System.Web.UI.Control.LoadRecursive() +29 System.Web.UI.Page.ProcessRequestMain() +724
Version Information: Microsoft .NET Framework Version:1.0.3705.288; ASP.NET Version:1.0.3705.288
Can anyone tell me what is happening here, and how to fix. Please give details because I am new at this.
Thanks.
|
|
Reply By:
|
Laggin
|
Reply Date:
|
10/27/2003 2:27:39 PM
|
I'm guessing that your web host provider may be running a different version of the .net framework? You are running v1.0 and I'm guessing your host is running v1.1? Try upgrading to v1.1 SDK (make sure to install the redistributal package first), remove all references in your project file, and then re-add them (to make sure they are all referencing v1.1 components since v1.0 comps will still exist after installation). Rebuild and send to host again.
|