Click here to Skip to main content
13,054,329 members (129,111 online)
Rate this:
Please Sign up or sign in to vote.
See more:
Hello guys. Good DAY!

Im working on the authorization of our project. And I've found resource and how to make it function and did what does the instruction says but when i run it it says
"Parser Error Message: Cannot create an abstract class." at this part:

<add name="AccessRoleProvider" type="AccessProvider.AccessRoleProvider" connectionStringName="TrainingPlanConnectionString"/>

But when i check it if i added correctly the function it is correct. how to solve this? please help. i really need this to get work. thank you in advance for your answers. im looking forward to it.

God Bless and More Power! :)
Posted 21-Feb-12 16:13pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Addition is not an issue; but you can't instantiate an abstract class.

Make a new class that inherits your abstract class and use that one. It will work.
Ariel Riyo 21-Feb-12 23:03pm
hey thank you very much. Now i see! but does "MustInherit" affect that? i got another error.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170713.1 | Last Updated 21 Feb 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100