1
Vote

Access is denied.

description

Hi.i have setup the SQLCE for my ASP.NET project. Everything works sweet on my desktop machine. So i thought it would be a easy thing to stick it on a hoster. Well. it turned out not to be. Once i upped the site, and turned , then it came up with: Configuration ErrorDescription: An error occurred during the processing of a configuration file required to service thisrequest. Please review the specific error details below and modify your configuration file appropriately.Parser Error Message: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))and it highlights this from the web.config (brackets removed): providers clear / add name="SqlCeRoleProvider" type="ErikEJ.SqlCeRoleProvider" connectionStringName="ApplicationServices" applicationName="/" writeExceptionsToEventLog="true" / /providersit stops on the type: line. and in VS 2012, it has a red line under it saying "Ambiguous reference"i have looked on google as to how to fix this, but all the answers are confusing and contradictory. Attached is my full web.configthe only clue i got, is that it doesn't like What do i need to do to fix this?

file attachments

comments

ErikEJ wrote Dec 15, 2012 at 12:37 PM

I suggest you use the Microsoft Provider going forward

wrote Feb 14, 2013 at 2:32 AM