Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem registering business object with form
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Problem registering business object with form
Environment versions
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01323943
Message ID:
01323943
Views:
55
I have a business object set up for a SQL table PreCert. I created a variable oPreCert which is defined as a PreCert object. When I try to register the object with the form:
this.oPreCert = (PreCert)this.RegisterPrimaryBizObj(new PreCert());
I get the following error:

Error 1 The best overloaded method match for 'OakLeaf.MM.Main.Windows.Forms.mmBusinessBaseForm.RegisterPrimaryBizObj(OakLeaf.MM.Main.Business.mmBaseBusinessObject)' has some invalid arguments C:\deve\LCCTrack\LCC Track CSharp\PreCert.cs 31 38 LCC Track CSharp

It is set up just like all my other objects being registered except that it is the primary object. I still get this error if I switch to RegisterBizObj.

Any ideas as to what could be causing this problem?

Thanks.

Linda

UPDATE
PreCert must be a reserved word. When I changed the name of the business object to PreCertif, everything worked fine.
Linda Harmes
HiBit Technologies, Inc.
Next
Reply
Map
View

Click here to load this message in the networking platform