Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Feb 24, 2013 01:23 AM by perryjr84
Feb 22, 2013 11:29 PM|LINK
I'm attempting to configure a new Datasource for a Gridview in VWD201 and I keep receiving the following error:
"Error invoking 'Configure Data Source'......Details: Exception has been thrown by the target of an invocation"
I am using .dbml files that are working fine on my live site, but it won't let me configure this datasource on my local host. It's not the end of the world as I'm OK with using code behind to configure it, but it's a simple gridview I'm looking for and I'm
curious what may be causing this issue......
Thanks and have a great evening!
Feb 23, 2013 06:16 AM|LINK
Tell us at which statement ur exception is thrown out???????????
Feb 24, 2013 12:00 AM|LINK
I'm sorry i guess I wasnt very clear. This error is being thrown while attempting to configre a Linqdatasource in Design mode in VWD Express 2010. It is not a runtime error.
Target framework is 4.0.....could this be the problem?
I did delete and recreate the .dbml file but it did not resolve.......
Feb 24, 2013 01:23 AM|LINK
OK it is now working. I have only made two changes, however I'm not sure which one fixed it...
1. I updated to .net 4.5 with VWD2010SP1
2. Once i reopened VWD and the new solution was generated the problem was solved. However it may be important for me to point out again that after I originally recreated my .dbml file I DID NOT close and reopen VWD. Perhaps when the solution was recreated
it fixed the problem and had nothing to do with the 4.5 upgrade.
Anyway good luck to anyone else who experiences this same error