Re: [GENERAL] Npgsql - Where can I find Npgsql.NpgsqlServices

2013-12-12 Thread Francisco Figueiredo Jr.
On Thu, Dec 12, 2013 at 2:55 PM, Mike Christensen wrote: > Thanks! Got it working after messing around for a while.. > > Great! I'm glad to hear it. > I decided to check out EF for a new project I'm working on. So far, I > think I like NHibernate better. A lot more control, and works flawless

Re: [GENERAL] Npgsql - Where can I find Npgsql.NpgsqlServices

2013-12-12 Thread Mike Christensen
Thanks! Got it working after messing around for a while.. I decided to check out EF for a new project I'm working on. So far, I think I like NHibernate better. A lot more control, and works flawlessly with Postgres and Npgsql. Mike On Thu, Dec 12, 2013 at 8:34 AM, Francisco Figueiredo Jr.

Re: [GENERAL] Npgsql - Where can I find Npgsql.NpgsqlServices

2013-12-12 Thread Francisco Figueiredo Jr.
Hi, Mike. We are working to get EF6 properly supported and our master branch already has support for it. Unfortunately pgfoundry is down at the moment. Please, if you can compile Npgsql from source code, please get a current snapshot from github and give it a try: https://github.com/npgsql/Npgsql

Re: [GENERAL] Npgsql

2012-11-26 Thread Francisco Figueiredo Jr.
Yes. It would not be advisable to do that but at least you could check you are able to use npgsql. The best way would to create a Web application and put your files there. I hope it helps. Em 26/11/2012 19:02, "Peter Kroon" escreveu: > >Do you have more than one .net installation? > Yes 2 and 4

Re: [GENERAL] Npgsql

2012-11-26 Thread Peter Kroon
>Do you have more than one .net installation? Yes 2 and 4. I've tried with both pools and get same result. >Also, can you try to add a bin folder in the root of your web app and put npgsql.dll and mono.security there? You mean create a folder called bin in: C:\inetpub\wwwroot ? 2012/11/26 Franci

Re: [GENERAL] Npgsql

2012-11-26 Thread Francisco Figueiredo Jr.
Hm, this is very strange. Somehow your vb. Net isn't able to find npgsql in the gac. Do you have more than one .net installation? Also, can you try to add a bin folder in the root of your web app and put npgsql.dll and mono.security there? Sorry for not being very helpful. Em 26/11/2012 18:51

Re: [GENERAL] Npgsql

2012-11-26 Thread Peter Kroon
Installed as well. C:\Program Files\Microsoft SDKs\Windows\v8.0A\bin\NETFX 4.0 Tools>gacutil -l mono.security Microsoft (R) .NET Global Assembly Cache Utility. Version 4.0.30319.17626 Copyright (c) Microsoft Corporation. All rights reserved. The Global Assembly Cache contains the following asse

Re: [GENERAL] Npgsql

2012-11-26 Thread Francisco Figueiredo Jr.
Ok, and what about mono.security? Npgsql depends on it and it should be in the gac as well. Em 26/11/2012 18:36, "Peter Kroon" escreveu: > It appears to be installed. > > C:\Program Files\Microsoft SDKs\Windows\v8.0A\bin\NETFX 4.0 Tools>gacutil > -l Npgsql > Microsoft (R) .NET Global Assembly Ca

Re: [GENERAL] Npgsql

2012-11-26 Thread Peter Kroon
It appears to be installed. C:\Program Files\Microsoft SDKs\Windows\v8.0A\bin\NETFX 4.0 Tools>gacutil -l Npgsql Microsoft (R) .NET Global Assembly Cache Utility. Version 4.0.30319.17626 Copyright (c) Microsoft Corporation. All rights reserved. The Global Assembly Cache contains the following as

Re: [GENERAL] Npgsql

2012-11-26 Thread Francisco Figueiredo Jr.
> You should check if npgsql has been correctly installed in the gac by running gac -l Npgsql. If it is it will return something. > > Another possibility is to add a folder called bin to the root of your web app and put npgsql.dll and mono.security. dll inside. > > I hope it helps. > > Em 26/11/201

Re: [GENERAL] Npgsql

2012-11-26 Thread Peter Kroon
The actual error message was in Dutch. In my previous post I've added: "It's unable to find/load dependencies." That's the translation. I don't have a project. I have a vb.net page, like -> Default.aspx I used the stackbuilder to install Npgsql and altered nothing else. 2012/11/26 Glyn Astill

Re: [GENERAL] Npgsql

2012-11-26 Thread Glyn Astill
An actual error message would be useful, but did you add a reference to the assembly in your project? > > From: Peter Kroon >To: "pgsql-general@postgresql.org" >Sent: Friday, 23 November 2012, 18:13 >Subject: [GENERAL] Npgsql > > >I've installed Npgsql via

Re: [GENERAL] Npgsql Exception

2010-08-23 Thread Mike Christensen
BTW, version is: 'PostgreSQL 8.3.4, compiled by Visual C++ build 1400' I don't have any such setting referenced in any .conf file. So I guess NHibernate tries to set this setting, assuming I have a more recent version of PG. If that's the case, it'll go away when I upgrade.. Mike On Mon, Aug

Re: [GENERAL] Npgsql Exception

2010-08-23 Thread Mike Christensen
Sounds good, I think I'll take Tom's advice.. Actually I'm planning on waiting for the 9.0 release to upgrade, so in theory that should just fix everything.. This only happens if I break on all exceptions, which I usually have turned off.. Thanks! Mike On Mon, Aug 23, 2010 at 11:56 AM, Francis

Re: [GENERAL] Npgsql Exception

2010-08-23 Thread Francisco Figueiredo Jr.
Whooops, I didn't check the message header... You can ignore my first question :) On Mon, Aug 23, 2010 at 15:56, Francisco Figueiredo Jr. wrote: > Are you using Npgsql with NHibernate? > > We added an option to send this command when starting a connection. > > But the setting is inside a try ca

Re: [GENERAL] Npgsql Exception

2010-08-23 Thread Francisco Figueiredo Jr.
Are you using Npgsql with NHibernate? We added an option to send this command when starting a connection. But the setting is inside a try catch error handler, so you aren't supposed to receive it. On my tests I couldn't reproduce the error. The only error we got about that was a user who had a b

Re: [GENERAL] Npgsql Exception

2010-08-23 Thread Tom Lane
Mike Christensen writes: > Sorry, when I had emailed the NHibernate DL the exception was in the > subject line. I forgot to copy the subject this time. The exception > is: > ERROR: 42704: unrecognized configuration parameter > "ssl_renegotiation_limit" ssl_renegotiation_limit is a server param

Re: [GENERAL] Npgsql Exception

2010-08-22 Thread Mike Christensen
Sorry, when I had emailed the NHibernate DL the exception was in the subject line. I forgot to copy the subject this time. The exception is: ERROR: 42704: unrecognized configuration parameter "ssl_renegotiation_limit" On Sun, Aug 22, 2010 at 8:54 PM, Mike Christensen wrote: > Hi all, this is

Re: [GENERAL] Npgsql connection string editor?

2010-02-24 Thread Francisco Figueiredo Jr.
Hi! This code is for initial design time support on VS.net 2003. We are still working to get vs.net 2005 design time support as the code to support it changed completely. Sorry for this confusion. I'll check the docs to clarify this. On Tue, Feb 23, 2010 at 17:00, Radcon Entec wrote: > Greeti

Re: [GENERAL] npgsql and postgres enum type

2009-10-15 Thread Merlin Moncure
On Thu, Oct 15, 2009 at 4:14 PM, danclemson wrote: > > Thanks for the information. > > I did try the approach, but it failed due to any other issue with npgsql. > > The stored procedure returns a setof refcursor. > If I use "select * from test('e1':testEnum)", the command.ExecuteReader does > not

Re: [GENERAL] npgsql and postgres enum type

2009-10-15 Thread danclemson
Thanks for the information. I did try the approach, but it failed due to any other issue with npgsql. The stored procedure returns a setof refcursor. If I use "select * from test('e1':testEnum)", the command.ExecuteReader does not return the datareader properly. The code errored out when I use t

Re: [GENERAL] npgsql and postgres enum type

2009-10-15 Thread Merlin Moncure
On Thu, Oct 15, 2009 at 2:52 PM, William Temperley > I recently stopped using enums after reading this: > http://www.commandprompt.com/blogs/joshua_drake/2009/01/fk_check_enum_or_domain_that_is_the_question/ > Using a foreign key to a single column table is pretty much as fast as > an enum, is supp

Re: [GENERAL] npgsql and postgres enum type

2009-10-15 Thread William Temperley
2009/10/15 Merlin Moncure : > On Thu, Oct 15, 2009 at 12:31 PM, danclemson wrote: >> >> Hi, >> >> As postgres now has enum type, does npgsql driver support the enum type? >> >> I use c# and npgsql as databse driver.  One of the database stored procedure >> takes enum as its parameter. >> >> What w

Re: [GENERAL] npgsql and postgres enum type

2009-10-15 Thread Merlin Moncure
On Thu, Oct 15, 2009 at 12:31 PM, danclemson wrote: > > Hi, > > As postgres now has enum type, does npgsql driver support the enum type? > > I use c# and npgsql as databse driver.  One of the database stored procedure > takes enum as its parameter. > > What will be the DbType for postgres enum typ

Re: [GENERAL] Npgsql GUI problem C#.net

2007-08-29 Thread Hiroshi Saito
Hi. Please see, http://npgsql.projects.postgresql.org/exampleprograms.html This is DataGrid sample. It is very simple composition. However, Operation may be somewhat difficult at the property of VS2005. Then, ADO.NET2.0 and Npgsql are not congenial. Regards, Hiroshi Saito - Original Mess