I have a GridView which I have bound to an ObjectSource. The ObjectSource is configured to a DB2 stored procedure which takes 6 input parameters. The dataset for this object was created using the data configuration wizard of VS 2005. But when the aspx page where the GridView is bound is loaded, I get the following error. ObjectDataSource 'ObjectDataSource1' could not find a non-generic method 'GetData' that has parameters: FNAME, LNAME, CITY, COUNTYCD, REGION, STATE, BUSNAME, MSGTEXT, SQL_CODE, SQL_STATE. But I get this error only when I run the code on the server, the code works fine on the local machine. _________________________________________ ObjectDataSource 'ObjectDataSource1' could not find a non-generic method 'GetData' that has parameters: FNAME, LNAME, CITY, COUNTYCD, REGION, STATE, BUSNAME, MSGTEXT, SQL_CODE, SQL_STATE. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.InvalidOperationException: ObjectDataSource 'ObjectDataSource1' could not find a non-generic method 'GetData' that has parameters: FNAME, LNAME, CITY, COUNTYCD, REGION, STATE, BUSNAME, MSGTEXT, SQL_CODE, SQL_STATE. any idea? Thanks, Jean --- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html --- _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

