jmarbutt
asked on
Type 'System.Web.UI.WebControls.Parameter' does not have a public property named 'DbType'
I am getting this error:
Type 'System.Web.UI.WebControls .Parameter ' does not have a public property named 'DbType'
From this line:
<asp:Parameter DbType="Guid" Name="Role_GUID" />
I don't get it on my development machine but I get it on our production server. What am I missing on the production server?
Type 'System.Web.UI.WebControls
From this line:
<asp:Parameter DbType="Guid" Name="Role_GUID" />
I don't get it on my development machine but I get it on our production server. What am I missing on the production server?
That means somewhere on your development machine, you have extended the parameter type. DbType is not a mornal property of it, someone had to make that custom.
ASKER
I only used the design time tools for this so that is what is odd, I simply dragged a data set on to the form and it created it.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
On some servers DbType works, on some servers DbTypes doesn't work. It's just a bug in Microsoft.Net.
Its a known problem when developing under framework 2.0 and installing the 3.5 sp1, this attribute appears but its a part of the framework 3.5 sp1.
To quickly solve the problem edit the aspx page (fix the problem for this page only) or install the framework 3.5 sp1 (fix the problem for the whole server)
regards
To quickly solve the problem edit the aspx page (fix the problem for this page only) or install the framework 3.5 sp1 (fix the problem for the whole server)
regards