N
Nick
I have created a custom membership provider based on the Microsoft
example. Here is the beginning of the class:
namespace AspNet.Membership {
public sealed class MySQLMembershipProvider : MembershipProvider {
and here is web.config file:
32 <membership defaultProvider="MySQLMembershipProvider">
33 <providers>
34 <clear/>
35 <add name="MySQLMembershipProvider"
36 connectionStringName="MySQLConnectionString"
37 type="AspNet.Membership.MySQLMembershipProvider"
38 applicationName="fleetsweep"/>
39 </providers>
40 </membership>
When I try to access the web.config file from Web Site Administration
Tool, I get the following error:
There is a problem with your selected data store. This can be caused by
an invalid server name or credentials, or by insufficient permission.
It can also be caused by the role manager feature not being enabled.
Click the button below to be redirected to a page where you can choose
a new data store.
The following message may help in diagnosing the problem: Object
reference not set to an instance of an object.
(C:\Inetpub\wwwroot\fleetsweep\web.config line 37)
I am able to instantiate the class and use it.
thanks for your help.
Nick
example. Here is the beginning of the class:
namespace AspNet.Membership {
public sealed class MySQLMembershipProvider : MembershipProvider {
and here is web.config file:
32 <membership defaultProvider="MySQLMembershipProvider">
33 <providers>
34 <clear/>
35 <add name="MySQLMembershipProvider"
36 connectionStringName="MySQLConnectionString"
37 type="AspNet.Membership.MySQLMembershipProvider"
38 applicationName="fleetsweep"/>
39 </providers>
40 </membership>
When I try to access the web.config file from Web Site Administration
Tool, I get the following error:
There is a problem with your selected data store. This can be caused by
an invalid server name or credentials, or by insufficient permission.
It can also be caused by the role manager feature not being enabled.
Click the button below to be redirected to a page where you can choose
a new data store.
The following message may help in diagnosing the problem: Object
reference not set to an instance of an object.
(C:\Inetpub\wwwroot\fleetsweep\web.config line 37)
I am able to instantiate the class and use it.
thanks for your help.
Nick