Have you tried debugging to see if the ProviderConfigurationHandler.Create
method is called? As I put earlier, I tried your example and it works fine,
so maybe the error is thrown from your own implementation of
ProviderConfiguration?
Regards, Jakob.
> I change the section it is to getconfig from, to something thats not
> even there, it will return, but nothing is there. If however i put in
> the getconfig("cbsoffice/data") which is the section name that is there.
> I get the configuration handler exception, explaing the object not set
> to an instance. Im stumped...
Murl Brown - 01 Sep 2004 16:31 GMT
The Create function is being called, is there anyway, that you could zip
up and send me the code you tested so i could compare and see if im
missing anything?
Murl Brown - 01 Sep 2004 18:31 GMT
Wellllll i'll have to admit for you, that yes im a dumbass. After
debugging for over 2 hours, trying to figure this out, the _providers
Hashtable, that all the attributes were being shoved into? Was never
initialized as a new Hashtable, thats where the object refrence
exception was coming from. I correcte the problem and now it's reading
the config file fine, along with buidling the DataProvider. I won't
blame you if you guys banish me from this site forever lol...Thaks foro
your quick responses and help.