Data Providers for 1.4.5 ?

Topics: ASP.NET 2.0
Aug 2, 2008 at 5:14 PM
Edited Aug 2, 2008 at 5:24 PM

Just wanted to check that the vistaDB and SQLLite data providers included on the 1.4 release page are also compatible and safe to use with the 1.4.5 release of BE?

I get the following when trying to use the vistaDB provider from version 1.4 with a 1.4.5 install:

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS0234: The type or namespace name 'AuthorProfile' does not exist in the namespace 'BlogEngine.Core.Web' (are you missing an assembly reference?)

Source Error:

Line 81: 		</customErrors>
Line 82:
Line 83: <profile enabled="true" defaultProvider="DbProfileProvider" inherits="BlogEngine.Core.Web.AuthorProfile" automaticSaveEnabled="false">
Line 84: <providers>
Line 85: <add name="XmlProfileProvider" type="BlogEngine.Core.Providers.XmlProfileProvider, BlogEngine.Core"/>

Source File: c:\inetpub\wwwroot\BlogEngine\Web.Config    Line: 83

Has the database scheme or web.config changed from 1.4 -> 1.4.5 and if so would this not require re-packaged provider downloads?

Thanks so much for a great application. Keep up the great work.

Aug 2, 2008 at 6:51 PM
Yes.  There have been many changes, one of which was the the profile provider was removed to to trust issues.

Please see the Setup/VistaDB folder from 1.4.5.  This gives you a new web.config and an upgrade script that is needed.