11 messages in com.mysql.lists.dotnetShared memory and ASP.NET web services
FromSent OnAttachments
Homam S.A.11 Jan 2005 13:20 
John L.Utz III11 Jan 2005 14:06 
Homam S.A.11 Jan 2005 17:18 
John L.Utz III11 Jan 2005 17:50 
Reggie Burnett13 Jan 2005 14:15 
Homam S.A.13 Jan 2005 17:53 
Homam S.A.13 Jan 2005 17:59 
Darren Hill13 Jan 2005 18:36 
Mike Hillyer13 Jan 2005 20:32 
Homam S.A.13 Jan 2005 21:31 
Reggie Burnett16 Jan 2005 07:52 
Subject:Shared memory and ASP.NET web services
From:Homam S.A. (homa@yahoo.com)
Date:01/11/2005 01:20:44 PM
List:com.mysql.lists.dotnet

I'm trying to use the shared memory protocol in an ASP.NET web service, but I'm getting the following error:

"Unable to connect to any of the specified MySQL hosts --> Failed to open shared memory connection"

If I remove the the "protocol=memory" from the connection string, it works fine. If I use the same connection string in a windows forms or a console application, the shared memory connection works fine.

So it seems to me it's a security problem with the ASP.NET account (ASPNET).

Has anybody used the shared memory protocol from ASP.NET, and if so, what kind of permissions did you grant to the ASPNET account to get it to work?

I appreciate your help!

Homam