X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 34F5BDB966 for ; Wed, 16 Nov 2005 15:00:23 -0400 (AST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 48995-06 for ; Wed, 16 Nov 2005 19:00:22 +0000 (GMT) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from web33208.mail.mud.yahoo.com (web33208.mail.mud.yahoo.com [68.142.206.106]) by svr1.postgresql.org (Postfix) with SMTP id EB45EDB961 for ; Wed, 16 Nov 2005 15:00:19 -0400 (AST) Received: (qmail 50533 invoked by uid 60001); 16 Nov 2005 19:00:20 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=JpWZhbGC5DdWd8GlVl4fmCpXAL6erPznRplCrfH8VWoVA6lbDFG2yJ0AmVTOcg7HdPHYSQEy4AQWLkYqkL0xxCJCFxO4+lU05n1xxgrN8I+wYxSHhI2uSl+krSI2Xh9uGsNxQf8JtjPuNmOnHYeB6yL2N6LWirTGm6mVlqaW9U0= ; Message-ID: <20051116190020.50531.qmail@web33208.mail.mud.yahoo.com> Received: from [195.98.3.162] by web33208.mail.mud.yahoo.com via HTTP; Wed, 16 Nov 2005 11:00:20 PST Date: Wed, 16 Nov 2005 11:00:20 -0800 (PST) From: "P.M" Subject: Re: Visual Studio 2005 not happy with postgresql To: Tobias Britz , pgsql-odbc@postgresql.org In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-589084892-1132167620=:48981" Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.48 required=5 tests=[DNS_FROM_RFC_ABUSE=0.479, HTML_MESSAGE=0.001] X-Spam-Score: 0.48 X-Spam-Level: X-Archive-Number: 200511/174 X-Sequence-Number: 6410 --0-589084892-1132167620=:48981 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi, i did not experience such issue but when i use ODBCConnection from VS.NET 2005 (VB.net in fact), in debug mode, my connection test works perfectly, but when i try to create a DB on-fly, my VB.net seems to freeze... around the same time, that the timeout session is, and give me back the control displaying a message that connection has be closed.... but if i test my application in release mode, it works perfectly... I suppose that VS.net ODBC connector has some issue with DB in debug mode....try your application in runtime. HT, Maileen Tobias Britz wrote: Hi community! Here is my problem: Postgresql 8.1 installed on windows XP (machine 1) with DB up and running. I can access/change/see all my tables, etc with EMS Postgresql manager On Machine 2 (windows XP) I've installed the pg ODBC drivers 8.01.01 and created a System DSN to machine 1 I tested this DSN with MS Access, and I could see my tables, add items, launch queries Now, I need to use Visual Studio 2005 (with .Net 2.0) for our project and would like to be able to create XSD files visually (using the VS2005 built-in tools). In VS2005 Server Explorer, I created a new Database Connection, using the Microsoft ODBC Data Source (ODBC) with the .Net ODBC Data Provider selected. Pointed the thing to my working ODBC DSN and tested the connection Connection works (says VS2005) Now I have a new Data Connection in the Server Explorer, with 3 tree entries; Tables, Views, Procedures. My problem is that "Tables" is empty, "Views" is empty but "Procedures" contains hundreds of postgres functions. I would like to see my tables and views! Remark: I tried OLEDB, whitout success either. VS2005 says that there where "some" errors and that "no work could be done"... cool he?! Can someone please help me, as I've lost already 2 days figuring out what is going wrong here. I google nearly every forum about that.. Thanks in advance, Tobias Britz ER Systems SA __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --0-589084892-1132167620=:48981 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit
Hi,

i did not experience such issue but when i use ODBCConnection from VS.NET 2005 (VB.net in fact), in debug mode, my connection test works perfectly, but when i try to create a DB on-fly, my VB.net seems to freeze... around the same time, that the timeout session is, and give me back the control displaying a message that connection has be closed....

but if i test my application in release mode, it works perfectly...

I suppose that VS.net ODBC connector has some issue with DB in debug mode....try your application in runtime.

HT,
Maileen

Tobias Britz <tobias.britz@ersystems.ch> wrote:
Hi community!
 
Here is my problem:
  • Postgresql 8.1 installed on windows XP (machine 1) with DB up and running. I can access/change/see all my tables, etc with EMS Postgresql manager
  • On Machine 2 (windows XP) I've installed the pg ODBC drivers 8.01.01 and created a System DSN to machine 1
  • I tested this DSN with MS Access, and I could see my tables, add items, launch queries
  • Now, I need to use Visual Studio 2005 (with .Net 2.0) for our pr oject and would like to be able to create XSD files visually (using the VS2005 built-in tools). In VS2005 Server Explorer, I created a new Database Connection, using the Microsoft ODBC Data Source (ODBC) with the .Net ODBC Data Provider selected. Pointed the thing to my working ODBC DSN and tested the connection
  • Connection works (says VS2005)
  • Now I have a new Data Connection in the Server Explorer, with 3 tree entries; Tables, Views, Procedures. My problem is that "Tables" is empty, "Views" is empty but "Procedures" contains hundreds of postgres functions.
  • I would like to see my tables and views!
Remark:
  • I tried OLEDB, whitout success either. VS2005 says that there where "some" errors and that "no work could be done"... cool he?!
Can someone please help me, as I've lost already 2 days figuring out what is going wrong here. I google nearly every forum about that..
 
Thanks in advance,
 
Tobias Britz
ER Systems SA

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com --0-589084892-1132167620=:48981--