Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / IDE / November 2004

Tip: Looking for answers? Try searching our database.

Data Adapter Configuration Wizard - problems with OLE DB provider

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Stuart Carnie - 23 Nov 2004 18:11 GMT
Hi,

I have developed an OLE DB provider, and although using a
OleDbCommandBuilder generates the UPDATE and DELETE statements correctly and
without error, using the Data Adapter Configuration Wizard fails.

I have dug deep into the Microsoft.VSDesigner.dll library, and narrowed down
the error in the CommandGenerator class within the
Microsoft.VSDesigner.Data.VS namespace.  Specifically the call to QryAddFltr
interface method of the Query.CQryAuto COM class (found in the vdt70.dll).

Internally, a CCUException is being thrown.

There seems to be a different code path when using the MSSQL OLE DB provider
in the CDaVinciQueryProxyStateLoader::PqsnFromExpressionServices method (I
am only able to look at the asm obviously, so here is a small excerpt):

51F4AF13  call        CDaVinciQueryParser::PqsnParseExpression (51F47200h)

The result of the above call when using MSSQL is that the cmp eax, 61h below
is false (as eax is 32h).  When our provider is called, the result of eax IS
61h, and then the je PqsnFromExpressionServices is followed.  Why the
difference, and what do we need to do to fix this - or why would the
exception be thrown?

51F4AF18  mov         esi,eax
51F4AF1A  mov         eax,dword ptr [esi+4]
51F4AF1D  cmp         eax,61h
51F4AF20  je
CDaVinciQueryProxyStateLoader::PqsnFromExpressionServices+91h (51F4ACD0h)

Any help from MSFT would be greatly appreciated.

Cheers,

Stuart
Gary Chang[MSFT] - 24 Nov 2004 05:50 GMT
Hi Stuart,

We noticed you have posted a same message in the group
microsoft.public.data.oledb, we will work on it and reply you in that  
group, please check it later...

Thanks for your understanding!

Best regards,

Gary Chang
Microsoft Online Partner Support

Signature

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
Stuart Carnie - 24 Nov 2004 16:47 GMT
Excellent sir, thank you!

Cheers,

Stuart

> Hi Stuart,
>
[quoted text clipped - 12 lines]
> This posting is provided "AS IS" with no warranties, and confers no rights.
> --------------------
Gary Chang[MSFT] - 25 Nov 2004 06:53 GMT
OK Stuart,

you are welcome, we will find a tech specialist to research it and reply
you as soon as possible in the data.oledb group.

Have a nice day!

Best regards,

Gary Chang
Microsoft Online Partner Support

Signature

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.