Solved

Could not load type (ProfileProvider)

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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

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…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

744 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