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
Environment versions
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01323943
Message ID:
01323965
Views:
14
Linda,

The error you are getting is suggesting that your PreCert.cs file/class is expecting a different parameter list that what you supplied. Since you are not supplying any parameters for the class, then check you PreCert.cs file and see that there are no parameters defined there.

HTH

Bob

>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform