Solved

Could not load type (ProfileProvider)

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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Suggested Solutions

A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

726 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