The line you have commented out registers a section named "resourceProvider" which could later be used within the same config section. Most probably there is a section called:
.. which you have missed to comment out and this section now throws the exception.
If this is not the case, please send us your web.config file in a new support ticket so that we could investigate the problem.
the Telerik team