Compiler Errors When Deploying Device Applications

Problem: You see compiler errors when you deploy mobile business objects (MBOs) that begin with the same characters and end with "list."

If there are two MBOs named xxx and xxxList, for example "OpGet" and "OpGetList" in the same project, compiler errors occur when the device application is deployed to either Windows Mobile or BlackBerry devices. Internally, the compiler generates a List class for MBOs. In the case of OpGet, an entity named OpGetList is generated, which conflicts with the second MBO named OpGetList, resulting in compiler errors.

Solution: Avoid this naming convention if it conflicts with other MBOs. Rename existing MBOs or place them in a different project.

Related tasks
Cannot Ping Unwired Server
Cannot Access sampledb
Modified Port Changes Not Deployed
Related reference
MS SQL Server Connection Errors
ODBC Driver Errors
Mobile Business Object Errors
Preview Errors in Unwired WorkSpace
Preview Errors for a Database Mobile Business Object
Preview Errors for a Web Service Mobile Business Object
Deploying to Unwired Server Fails
Deploying to Unwired Server in a Cluster Fails