![]() |
sponsored links |
|
|
sponsored links
|
|
|
2
22nd January 00:41
External User
Posts: 1
|
Beyond this one line I will not stress how bad an idea it is to use RDS with .Net (Or even in general) and that you should use a Web service instead...
You may be running into a Permissions issue and the Invalid Cast error is bogus. Perhaps using Regmon and Filemon (http://www.sysinternals.com) to see if there are any entries where you are getting an Access Denied. It could also be something to do with the datatypes of the fields, Perhaps you could do something other than Select * (Like just pull in a couple of fields Select Field1, Field2 from Table) and see if that works. If it does add fields until you get to the one that makes it fail. Want to know more? Check out the MSDN Library at http://msdn.microsoft.com or the Microsoft Knowledge Base at http://support.microsoft.com Scot Rose, MCSD Microsoft Visual Basic Developer Support Email : scotr@online.microsoft.com <Remove word online. from address> This posting is provided “AS IS”, with no warranties, and confers no rights. -------------------- |
|