Hello,
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=4.70.22.0, Culture=neutral, PublicKeyToken=09AF7300EEC23701" />
<add assembly="CoreLab.MySql, Version=4.70.29.0, Culture=neutral, PublicKeyToken=09AF7300EEC23701" />
<add assembly="CoreLab.MySql.Web, Version=4.70.29.0, Culture=neutral, PublicKeyToken=09AF7300EEC23701" />
Thanks in advance
System.Security.Permissions.FileIOPermission
-
- Posts: 1
- Joined: Wed 06 Jun 2012 11:00
-
- Devart Team
- Posts: 2420
- Joined: Wed 02 Nov 2011 09:44
Re: System.Security.Permissions.FileIOPermission
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.