This project is read-only.

Error during first run

Topics: User Forum
Dec 15, 2006 at 8:12 AM
First of all, thanks for this very useful contribution.
I tested it on localhost with success but I want to deploy to my Web Server (Microsoft Web Server 2003 Web Edition, IIS, DotNet installed) I encounter the following error :
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Access to the path 'C:\Inetpub\vhosts\famillerave.com\httpdocs\App_Data\Roles.config' is denied.

Source Error:


Line 50: <providers>
Line 51: <clear/>
Line 52: <add name="CustomRoleProvider" type="MyWebPagesStarterKit.Providers.CustomRoleProvider"/>
Line 53: </providers>
Line 54: </roleManager>


Source File: C:\Inetpub\vhosts\famillerave.com\httpdocs\web.config Line: 52


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210

- I set the correct grant access (write access) to ASPNET user for Asp_Data directory
- I have sometime another access error on UserImage directory
- I haven't found Network Service Group or user as indicated on documentation for Server 2003 !?
Ideas ?
Thanks
Eric
Dec 15, 2006 at 8:46 AM

Hi,

With Microsoft Web Server 2003 the user of the ASP.NET worker thread is no longer ASPNET. It is now the 'NETWORK SERVICE'. Because of this you need to grant write access to the 'NETWORK SERVICE' for the folder App_Data.

Urs