[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Could not load type (ProfileProvider)

Posted on 2009-05-11
1
Medium Priority
?
631 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Tech or Treat!

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

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

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
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 …
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Suggested Courses

656 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