Solved

Could not load type (ProfileProvider)

Posted on 2009-05-11
1
595 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
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 hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

895 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now