Discussion of open issues, suggestions and bugs regarding ADO.NET provider for MySQL
Post Reply
Posts: 1
Joined: Wed 06 Jun 2012 11:00


Post by robertosanval » Wed 06 Jun 2012 11:07


I've moved a website in .net 2.0 from IIS6 to IIS7 and now the MySql connections are not working, I'm receiving the attached error.

My web.config it's the same that was in the old server, and I have the following lines in it:

<add assembly="CoreLab.Data, Version=, Culture=neutral, PublicKeyToken=09AF7300EEC23701" />
<add assembly="CoreLab.MySql, Version=, Culture=neutral, PublicKeyToken=09AF7300EEC23701" />
<add assembly="CoreLab.MySql.Web, Version=, Culture=neutral, PublicKeyToken=09AF7300EEC23701" />

Thanks in advance


Devart Team
Posts: 2192
Joined: Wed 02 Nov 2011 09:44

Re: System.Security.Permissions.FileIOPermission

Post by Pinturiccio » Mon 11 Jun 2012 08:38

This issue can be caused by the fact, that IIS7 accounts have limited permissions. Give access for IUSR and IIS_IUSRS users to the whole folder of the website and to the App_Licenses.dll file in particular.

Post Reply