Method not found

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.
 
M

Michael Groeger

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
 
G

Guest

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top