Solved

Could not load type (ProfileProvider)

Posted on 2009-05-11
1
601 Views
Last Modified: 2013-11-05
Experts,

I have written a custom profile provider but cannot get it to load.

The failure occurs on line 57 of the web.config file which declares the type (type="ParadoxProfileProvider.SllParadoxProvider").

I have carefully followed the Namespace.ClassName sequence that should be given in the type.

I have tried adding the class code to the "App_Code" section of the WebFile, and several variations of the type, including MyApp.Namespace.Classname, etc. but nothing seems to work.

What am I missing?

Capt
<!--Membership Provider Configuration-->
    <membership defaultProvider="SllParadoxProvider" userIsOnlineTimeWindow="15">
      <providers>
        <clear/>
        <add
		name="SllParadoxProvider"
		type="System.Web.Security.SqlMembershipProvider"
		connectionStringName="cnnParadox"
		applicationName="SLL"
               enablePasswordRetrieval="false"
               enablePasswordReset="false"
              requiresQuestionAndAnswer="false"
              requiresUniqueEmail="false"
              passwordFormat="Hashed"
	/>
      </providers>
    </membership>
    <!--Membership Provider Configuration-->
    
    <!--Profile Provider Configuration-->
    <profile enabled="true" defaultProvider="SllParadoxProvider" >
      <providers>
        <add
		name="SllParadoxProvider"
		type="ParadoxProfileProvider.SllParadoxProvider"
		connectionStringName="cnnParadox"
		applicationName="SLL"
	/>
      </providers>

Open in new window

0
Comment
Question by:Glen Gibb
1 Comment
 

Accepted Solution

by:
Glen Gibb earned 0 total points
ID: 24366325
I solved the problem!

Somehow the code was actually invisible to the website when added as a project.

  I re-added the Membership and Profile providers to the App_Code folder of the website (through the "Add Item" menu), where they both loaded as they should.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Vb.net dynamic formulas in runtime 11 74
ASP.net 2015 Syncing Azure web app projects on two machines 2 21
encoding an href string 2 20
jquery datatables, asp.net MVC 9 41
In this Article, I will provide a few tips in problem and solution manner. Opening an ASPX page in Visual studio 2003 is very slow. To make it fast, please do follow below steps:   Open the Solution/Project. Right click the ASPX file to b…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question