X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id D349F9F9C1D for ; Thu, 4 May 2006 03:17:24 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 57476-02 for ; Thu, 4 May 2006 03:17:20 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from pgfoundry.org (pgfoundry.org [200.46.204.130]) by postgresql.org (Postfix) with ESMTP id 1544D9F9C10 for ; Thu, 4 May 2006 03:17:19 -0300 (ADT) Received: from localhost (mx1.hub.org [200.46.208.251]) by pgfoundry.org (Postfix) with ESMTP id AB9B686C515; Thu, 4 May 2006 06:17:19 +0000 (UTC) Received: from pgfoundry.org ([200.46.204.130]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 56402-09; Thu, 4 May 2006 03:17:10 -0300 (ADT) Received: by pgfoundry.org (Postfix, from userid 80) id 1D71886C51D; Thu, 4 May 2006 06:17:11 +0000 (UTC) To: noreply@pgfoundry.org From: Subject: [ psqlodbc-Bugs-1000630 ] Related to bug GenerateBDDirectMethod fails in VS studio 2005 with ODBC Content-type: text/plain; charset=UTF-8 Message-Id: <20060504061711.1D71886C51D@pgfoundry.org> Date: Thu, 4 May 2006 06:17:11 +0000 (UTC) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200605/10 X-Sequence-Number: 7681 Bugs item #1000630, was opened at 2006-05-04 06:17 You can respond by visiting: http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1000630&group_id=1000125 Category: None Group: None Status: Open Resolution: None Priority: 3 Submitted By: Patrick Donelan (patspam) Assigned to: Nobody (None) Summary: Related to bug GenerateBDDirectMethod fails in VS studio 2005 with ODBC Initial Comment: This bug is related to the bug "GenerateBDDirectMethod fails in VS studio 2005 with ODBC" (http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1000540&group_id=1000125) I am posting as a new bug because pgFoundry wouldn't let me attach my logs as a commenter. I get the same problem with the latest version of the drivers: 8.02.00.02 I tried making changes to a TableAdapter inside the Visual Studio 2005 DataSet Designer and as a result the TableAdapter lost its automatically generated Update,Insert,Delete queries (GenerateBDDirectMethods). I have found that if I try to re-create my TableAdapter it always comes back without the GenerateBDDirectMethods. If I try to change the GenerateBDDirectMethods property on my TableAdapter to true, it communicates with my database (PostgreSQL 8.1, running locally under Windows XP), then returns the following error: The type of the database object does not allow to set GenerateDBDirectMethods to true. Hopefully during this process the reason is written to the log files (both attached). Simple Steps To Reproduce ------------------------- 1. Open an existing DataSet in the DataSet Designer (or create a new one) 2. Add a TableAdapter, with a simple query (in my case "SELECT * FROM agent") 3. VS will tell you that it generated everything ok, but when you look at the Properties on the TableAdapter you will see that GenerateDBDirectMethods is false. 4. Try changing GenerateDBDirectMethods to true and VS will throw the error above. Hope that helps. Regards, Patrick P.S. Sorry the mylog is so big. VS makes it grow really quickly. Not sure if that's normal or symptomatic of the bug. Let me know if you can't read 7-zip format. I tried zipping instead but the maximum compressed file was > 2Mb! ---------------------------------------------------------------------- You can respond by visiting: http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1000630&group_id=1000125