www.webdeveloper.com
Results 1 to 5 of 5

Thread: mysql connection problem asp.net and godaddy

Hybrid View

  1. #1
    Join Date
    Jun 2009
    Posts
    9

    Question mysql connection problem asp.net and godaddy

    HELP......

    I downloaded a mysql dll for asp.net and i have put in the information of my database username and password. Could you help me on this one please??

    This is the error message that i got from .net

    MySql.Data.MySqlClient.MySqlException: Unable to connect to any of the specified MySQL hosts —> System.Security.SecurityException: Request for the permission of type ‘System.Net.SocketPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089′ failed

  2. #2
    Join Date
    Jun 2009
    Posts
    9
    somebody... please help T_T..........

  3. #3
    Join Date
    Aug 2005
    Location
    The Garden State
    Posts
    5,634
    sounds like you don't have permission to create a socket.
    Acceptable Use | SQL Forum FAQ | celery is tasteless | twitter

    celery is tasteless - currently needing some UI time

  4. #4
    Join Date
    Jun 2009
    Posts
    12
    I had the same problem as well before. The problem is MySql.Data.Dll uses sockets and under the default permissions of the medium trust settings. Sockets aren’t allowed. Follow this instruction to solve your problem

  5. #5
    Join Date
    Jun 2009
    Posts
    9
    thanks. I will give it a shot

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles