Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Installation error: Access to the database file is not allowed.
JanLenoch
#1 Posted : Friday, 8 July 2011 3:14:43 PM(UTC)
Rank: Newbie

Joined: 8/07/2011(UTC)
Posts: 1
Location: Brno, Czech Republic

Hello everybody,

I've made a fresh install (non-WPI, not DN) of 2.5 version. Precisely step by step according to the Administration Guide. All ADS streams from all files removed (used SysInternals' ADSSpy.exe just to be sure), all patches applied before the http://localhost/ was fired off. Everything well prepared, .NET 4.0 AppPool created, all write credentials set. And this is what I get instead of the installation wizard:

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 database file is not allowed. [ 1884,File name = C:\inetpub\GalleryServerPro\App_Data\GalleryServerPro_Data.sdf,SeCreateFile ]

Source Error:
Line 76: <providers>
Line 77: <clear/>
Line 78: <add applicationName="Gallery Server Pro" connectionStringName="SqlServerCeGalleryDb" name="SqlCeRoleProvider" type="GalleryServerPro.Data.SqlCe.SqlCeRoleProvider"/>
Line 79: <add applicationName="Gallery Server Pro" connectionStringName="SqlServerDbConnection" name="SqlRoleProvider" type="System.Web.Security.SqlRoleProvider"/>
Line 80: </providers>

Source File: C:\inetpub\GalleryServerPro\web.config Line: 78

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.225


Is there any workaround for this, until another patch comes out?

I've chosen the non-WPI install because I want to use SQL Express. So I don't need the GalleryServerPro_Data.sdf after the installation process anyway.

Thanks for any comments!
Roger Martin
#2 Posted : Friday, 8 July 2011 3:31:40 PM(UTC)
Roger Martin

Rank: Administration

Joined: 3/08/2007(UTC)
Posts: 3,300
Location: Fort Atkinson, WI

Do you have the file C:\inetpub\GalleryServerPro\App_Data\GalleryServerPro_Data.sdf present? And does your IIS app pool identity have modify permission to that directory?

At any rate, if you are going to use SQL Server, you can probably work around the error by deleting all references to SQL CE in web.config (the membership, roles, and gallery data provider sections and the SQL CE connection string). That should prevent the SQL CE code from firing up. BTW, you also don't need the SQL CE dlls in the bin directory, but their presence shouldn't cause an issue except possibly a slight additional delay during app starts.
Roger Martin
Creator and Lead Developer of Gallery Server Pro
Rss Feed  Atom Feed
Users browsing this topic
Guest
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.