"Error Creating Control"

S

Scott McNair

Hi all,

Forgive me in advance for any noobish questions I may ask... although
I'm well-versed in classic ASP/VB, I'm still learning some of the deeper
nuances of .NET, particularly some of the ADO.NET 2.0 items.

I'm trying to embed a datasource and a formview on the page, and I've
done so as outlined in a "15 Minutes" article. I can use the datasource
and formview just fine on the web end (I can select records, update
them, delete them, etc) but when I view the Design View it shows "Error
Creating Control - [control name]". I can't get any properties for
these controls, and in the HTML view it shows all the property names
underlined as though they're an error.

When I hover over the object on the Design View, it says "Parser Error:
Could not load type System.Web.UI.WebControls.formview from assembly
System.Web, version 1.0.5000.0, Culture=neutral, [etc]". It says
similar for the Data Source object. Based on the version # that it's
showing, my uninformed guess is that there's some sort of version info,
but I don't know if that's actually the case, and furthermore I don't
know how to fix it if it is.

Any help that anybody could provide would be greatly appreciated.

Regards,
Scott McNair
 
S

Scott McNair

Any help that anybody could provide would be greatly appreciated.

Well, as is usually the case I found the answer as soon as I posted to the
newsgroup... it shows the error because I'm running 2K3, but it's running
because I've got the 2K5 framework installed. At least that's what it
looks like.

Thanks to everybody.
 

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