Subsonic 3.0 - .Net - Error : Can not ceate an instance of an interface

Posted by George on Stack Overflow See other posts from Stack Overflow or by George
Published on 2010-03-08T15:02:48Z Indexed on 2010/03/08 15:06 UTC
Read the original article Hit count: 299

Filed under:

Hi,

I am new to Subsonic, I have configured Subsonic3.0 T4 Template and created classes for my project.

I have taken GridView and Object Datasource. Object datasource will connect to the one of the classes which is created from subsonic.

I have set object datasource for g\fetch, Insert, Update and delete methods. Then i set the datasource of grid witht he object datasource.

Grid view successfully showing me all the records. But at the time of Update, Insert or delete it throws an exception that "Can not ceate an instance of an interface".

And also i am not able to dwbug in the code of the subsonic. May be because of partial classes.

Can anyone please let me know what is happening at the backgrund?

Or may be one can give me sample example which contains subsonic 3.0 and grid add, edit and delete so it will be really helpful for me....

Please... :)

Thanks, George

© Stack Overflow or respective owner

Related posts about ASP.NET