зеркало из https://github.com/mono/mail-archives.git
141 строка
6.2 KiB
HTML
141 строка
6.2 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE> [Mono-osx] Npgsql on Mono 2.10.2 OSX snow leopard 10.6.7
|
|
</TITLE>
|
|
<LINK REL="Index" HREF="index.html" >
|
|
<LINK REL="made" HREF="mailto:mono-osx%40lists.ximian.com?Subject=%5BMono-osx%5D%20Npgsql%20on%20Mono%202.10.2%20OSX%20snow%20leopard%2010.6.7&In-Reply-To=BANLkTin2uu%3DxYPDYKG74nnO9Ey%2BrzpgH1g%40mail.gmail.com">
|
|
<META NAME="robots" CONTENT="index,nofollow">
|
|
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
|
|
<LINK REL="Previous" HREF="004354.html">
|
|
<LINK REL="Next" HREF="004357.html">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
<H1>[Mono-osx] Npgsql on Mono 2.10.2 OSX snow leopard 10.6.7</H1>
|
|
<B>Francisco Figueiredo Jr.</B>
|
|
<A HREF="mailto:mono-osx%40lists.ximian.com?Subject=%5BMono-osx%5D%20Npgsql%20on%20Mono%202.10.2%20OSX%20snow%20leopard%2010.6.7&In-Reply-To=BANLkTin2uu%3DxYPDYKG74nnO9Ey%2BrzpgH1g%40mail.gmail.com"
|
|
TITLE="[Mono-osx] Npgsql on Mono 2.10.2 OSX snow leopard 10.6.7">francisco at npgsql.org
|
|
</A><BR>
|
|
<I>Tue May 31 11:00:54 EDT 2011</I>
|
|
<P><UL>
|
|
<LI>Previous message: <A HREF="004354.html">[Mono-osx] Npgsql on Mono 2.10.2 OSX snow leopard 10.6.7
|
|
</A></li>
|
|
<LI>Next message: <A HREF="004357.html">[Mono-osx] Npgsql on Mono 2.10.2 OSX snow leopard 10.6.7
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#4355">[ date ]</a>
|
|
<a href="thread.html#4355">[ thread ]</a>
|
|
<a href="subject.html#4355">[ subject ]</a>
|
|
<a href="author.html#4355">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
<HR>
|
|
<!--beginarticle-->
|
|
<PRE>I'd like to include I noticed that this problem was also present with SQL
|
|
server .net provider too.
|
|
|
|
I remember that I saw a similar complaint in the mono mail list.
|
|
Em 31/05/2011 11:57, "Alfred Hall" <<A HREF="http://lists.ximian.com/mailman/listinfo/mono-osx">ahall at ahall.org</A>> escreveu:
|
|
><i> To add some more information,
|
|
</I>><i>
|
|
</I>><i> Tried using npgsql that ships with mono and also the latest one from
|
|
</I>><i> npgsql website.
|
|
</I>><i>
|
|
</I>><i> The code worked fine in 2.10.1 but started throwing an exception on 2.10.2
|
|
</I>><i>
|
|
</I>><i> Some sample code to demonstrate the issue:
|
|
</I>><i>
|
|
</I>><i> $ /Library/Frameworks/Mono.framework/Versions/2.10.1/bin/csharp -r Npgsql
|
|
</I>><i> warning CS8029: Compatibility: Use -r:LIBRARY instead of -r library
|
|
</I>><i> Mono C# Shell, type "help;" for help
|
|
</I>><i>
|
|
</I>><i> Enter statements below.
|
|
</I>><i> csharp> using Npgsql;
|
|
</I>><i> csharp> NpgsqlConnection conn = new
|
|
</I>><i> NpgsqlConnection("Server=127.0.0.1;Port=5432;User
|
|
</I>><i> Id=myuser;Password=mypassword;Database=mydb;");
|
|
</I>><i> csharp> conn.Open();
|
|
</I>><i>
|
|
</I>><i>
|
|
</I>><i> And with 2.10.2:
|
|
</I>><i> $ /Library/Frameworks/Mono.framework/Versions/2.10.2/bin/csharp -r Npgsql
|
|
</I>><i> warning CS8029: Compatibility: Use -r:LIBRARY instead of -r library
|
|
</I>><i> Mono C# Shell, type "help;" for help
|
|
</I>><i>
|
|
</I>><i> Enter statements below.
|
|
</I>><i> csharp> using Npgsql;
|
|
</I>><i> csharp> NpgsqlConnection conn = new
|
|
</I>><i> NpgsqlConnection("Server=127.0.0.1;Port=5432;User
|
|
</I>><i> Id=myuser;Password=mypassword;Database=mydb;");
|
|
</I>><i> csharp> conn.Open();
|
|
</I>><i> Npgsql.NpgsqlException:
|
|
</I>><i> Connection establishment timeout. Increase Timeout value in
|
|
</I>ConnectionString.
|
|
><i> at Npgsql.NpgsqlClosedState.Open (Npgsql.NpgsqlConnector context)
|
|
</I>><i> [0x00000] in <filename unknown>:0
|
|
</I>><i> at Npgsql.NpgsqlConnector.Open () [0x00000] in <filename unknown>:0
|
|
</I>><i> at Npgsql.NpgsqlConnectorPool.GetPooledConnector
|
|
</I>><i> (Npgsql.NpgsqlConnection Connection) [0x00000] in <filename unknown>:0
|
|
</I>><i> csharp>
|
|
</I>><i>
|
|
</I>><i> On Tue, May 31, 2011 at 3:46 PM, Alfred Hall <<A HREF="http://lists.ximian.com/mailman/listinfo/mono-osx">ahall at ahall.org</A>> wrote:
|
|
</I>>><i> Hey,
|
|
</I>>><i>
|
|
</I>>><i> Referring to an email earlier on the forum from Francisco Figueiredo
|
|
</I>>><i> Jr. francisco at npgsql.org on Tue Apr 26 00:22:50 EDT 2011:
|
|
</I>>><i> Hi!
|
|
</I>>><i>
|
|
</I>>><i> -- Francisco mail Starts here --
|
|
</I>>><i> I just installed this version here and now when testing Npgsql, I'm
|
|
</I>>><i> getting an exception saying that it can't connect to 127.0.0.1 :(
|
|
</I>>><i>
|
|
</I>>><i> The same goes to localhost.
|
|
</I>>><i>
|
|
</I>>><i> I think there is something wrong with tcp stack.
|
|
</I>>><i>
|
|
</I>>><i> I'm using osx 10.6.6 Intel
|
|
</I>>><i> -- Francisco mail ends Ends --
|
|
</I>>><i>
|
|
</I>>><i>
|
|
</I>>><i> ----
|
|
</I>>><i>
|
|
</I>>><i> I'm having the same issue and was wondering if this has been fixed in
|
|
</I>>><i> the upcoming 2.12.x release. Just want to make sure my team can
|
|
</I>>><i> upgrade to 2.12.x when it becomes available. Wasn't sure where to file
|
|
</I>>><i> a bug on this as I'm unsure
|
|
</I>>><i> as to whether bugzilla.novell.com is still being looked at.
|
|
</I>>><i>
|
|
</I>>><i> Cheers,
|
|
</I>>><i> Al
|
|
</I>>><i>
|
|
</I>-------------- next part --------------
|
|
An HTML attachment was scrubbed...
|
|
URL: <A HREF="http://lists.ximian.com/pipermail/mono-osx/attachments/20110531/e8df2539/attachment.html">http://lists.ximian.com/pipermail/mono-osx/attachments/20110531/e8df2539/attachment.html</A>
|
|
</PRE>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--endarticle-->
|
|
<HR>
|
|
<P><UL>
|
|
<!--threads-->
|
|
<LI>Previous message: <A HREF="004354.html">[Mono-osx] Npgsql on Mono 2.10.2 OSX snow leopard 10.6.7
|
|
</A></li>
|
|
<LI>Next message: <A HREF="004357.html">[Mono-osx] Npgsql on Mono 2.10.2 OSX snow leopard 10.6.7
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#4355">[ date ]</a>
|
|
<a href="thread.html#4355">[ thread ]</a>
|
|
<a href="subject.html#4355">[ subject ]</a>
|
|
<a href="author.html#4355">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
|
|
<hr>
|
|
<a href="http://lists.ximian.com/mailman/listinfo/mono-osx">More information about the Mono-osx
|
|
mailing list</a><br>
|
|
</body></html>
|