Anybody can tell me what is wrong????

Configuration Error

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Could not load type 'DIP1.AspNet.Membership.OdbcMembershipProvider'.

Source Error:

Line 79:     <add 
Line 80:     name="OdbcProvider" 
Line 81:     type="DIP1.AspNet.Membership.OdbcMembershipProvider" 
Line 82:     connectionStringName="OdbcServices" 
Line 83:     enablePasswordRetrieval="true" 

Thanks!!!!



Answer this question

Anybody can tell me what is wrong????

  • Luke Hartsuyker

    Sorry, still don't get you. What is assembly Normally where should i find my web application's bin directory
  • Mr Yer

    The assembly in this case is the DLL that contains the "DIP1.AspNet.Membership.OdbcMembershipProvider" type. Assembly is a general .NET term.

    How did you deploy your web application Usually wherever your files actually reside on the disk, there will be a directory named bin. If there isn't, I would just try putting it in with your other web site files.

    Let's look at this from a different perspective: DIP1.AspNet.Membership.OdbcMembershipProvider is a class you implemented, correct Where did you implement it If it's in a DLL you built, where is that DLL in relation to the web site where you are trying to use it

    Thanks,
    Sarah



  • gko

    Hi,

    I am using odbc as my membership provider. I know that for sql provider,

    <providers>
    <add
    name="SqlProvider"
    type="System.Web.Security.SqlMembershipProvider"
    connectionStringName="SqlServices"
    applicationName="MyApplication"
    enablePasswordRetrieval="false"
    enablePasswordReset="true"
    requiresQuestionAndAnswer="true"
    requiresUniqueEmail="false"
    passwordFormat="Hashed"
    maxInvalidPasswordAttempts="5"
    passwordAttemptWindow="10" />
    </providers>
    note the red in line above.

    Then, how about odbc provider what should be my type


  • Level7

    Microsoft doesn't provide an ODBC membership provider like we provide one for SQL Server. I assume you have implemented your own In that case, the type is just the type name of your class.

    The following references have examples of this:

    Sample Membership Provider Implementation
    http://msdn2.microsoft.com/en-us/library/44w5aswa(VS.80,d=ide).aspx

    How to: Sample Membership Provider Implementation
    http://msdn2.microsoft.com/en-us/library/6tc47t75(d=ide).aspx

    Thanks,
    Sarah



  • Sommarafton

    I have merged this thread with the other one you posted on the same topic. Please see my replies there.

    Thanks,
    Sarah



  • llong

    It looks like ASP.NET can't find your type. Where did you put your assembly that contains that type

    It's supposed to go in the Bin directory of your Web application, or you need to strongly name it and place it in the GAC.

    Thanks,
    Sarah



  • Anybody can tell me what is wrong????