Method not found

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi all, I was wondering if there was anyone that could help me with this error:

Method not found: Void
System.Web.UI.WebControls.ListControl.set_SelectedValue(System.String).

Basically I have the .NET framework 1.0 and 1.1 running on the same server,
I have the service pack 2 for 1.1. as well. The list control works fine on
my local workstation, but when I deploy to the server I got the error above
when compiling. The set_SelectedValue() method belongs only to version 1.1.
I'm thinking that for some reason the app is trying to call the method from
the 1.0 framework, I don't get why. Any ideas.
 
Hi,

you can try to set the runtime version in the web.config as follows:
<supportedRuntime version="v1.1.4322" />

This should set the runtime explicitly to Framework 1.1

Regards,
Michael
 
thanks

Michael Groeger said:
Hi,

you can try to set the runtime version in the web.config as follows:
<supportedRuntime version="v1.1.4322" />

This should set the runtime explicitly to Framework 1.1

Regards,
Michael
 
Back
Top