Postby 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

Posts: 1
Joined: Wed 06 Jun 2012 11:00

Re: System.Security.Permissions.FileIOPermission

Postby 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.
Devart Team
Posts: 2061
Joined: Wed 02 Nov 2011 09:44

Return to dotConnect for MySQL