Reputation: 1757
I have created my own custom membership provider and referenced it in the web.config
as follows
<membership defaultProvider="MyMembershipProvider">
<providers>
<clear />
<add name="MyMembershipProvider" type="HelpDeskSupport.App_Code.MyMembershipProvider, HelpDeskSupport.App_code"
cacheTimeoutInMinutes="30"/>
</providers>
</membership>
However whenever I run the project it complains Could not load file or assembly 'HelpDeskSupport.App_code' or one of its dependencies. The system cannot find the file specified.
I have checked the root folder and everything checks out, here is a snapshot of the folder structure
Any suggestions please?
Upvotes: 0
Views: 611
Reputation: 3956
The second part in the type
element has to be just the assembly name:
type="HelpDeskSupport.App_Code.MyMembershipProvider, HelpDeskSupport"
Upvotes: 2