We have a SiteFinity based web site.
And we need to implement a Custom ASPNET Membership provider for User Registration purposes. We need the custom provider as we need to capture some additional user info. The "web.config" file in the SiteFinity web site allows only ONE Membership provider. The current Membership provider is SiteFinity and this is used to authenticate users when they access the SiteFinity Dashboard. I added the Custom ASPNET Membership Provider in SiteFinity's "web.config" file, but I had to disable the SiteFinity membership provider.
I need to have the ability for Site Admins to manage/administer the site using the Dashboard and I also need to have a User Registration page which will use the Custom ASPNET Membership Provider.
So I thought I could create a separate folder within the SiteFinity application, which can then have its own "web.config" file. And I was planning on hosting the User Registration page (and other pages) within this new folder and I can then specify the Custom ASPNET Membership Provider in the "web.config" file. I created a separate folder, set it up as an IIS application, created an "external" page within SiteFinity that pointed to the file in this new folder. But I get the following error when I attempt to browse to the page in this folder:
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: Could not load file or assembly 'Telerik.Framework' or one of its dependencies. The system cannot find the file specified.
Line 141: </eventMappings>
Line 142: <providers>
Line 143: <add name="Simple Web Event Provider" type="Telerik.Utilities.TextFileWebEventProvider,Telerik.Framework" logFileName="~/App_Data/sitefinity.log"/>
Line 144: <add name="Simple Web Buffered Event Provider" type="Telerik.Utilities.BufferedTextFileWebEventProvider,Telerik.Framework" bufferMode="Notification" logFileName="~/App_Data/sitefinity.log"/>
Line 145: </providers>
Source File: D:\websites\irec\web.config Line: 143
Assembly Load Trace: The following information can be helpful to determine why the assembly 'Telerik.Framework' could not be loaded.
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
Based on the above error message, tt appears that the new web site that I setup is still referencing SiteFinity's "web.config" file, because the "web.config" file in the new web site does not have any references to Telerik.
I think I am missing an IIS setting somewhere? Has anyone out there tried to configure a custom ASPNET Membership Provider in an existing SiteFinity site? Or even setup another IIS application within an existing SiteFinity site? I would greatly appreciate any insight that you can provide.