Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ODBC Consumer Wizard Crashes VS2005 IDE

25 views
Skip to first unread message

Jim Walsh

unread,
Jan 31, 2009, 5:05:00 PM1/31/09
to
Running VISTA, Office 2007, and VS2005

I created an ODBC System Data souce using an Access 2007 database, and the
Microsoft Access Driver (*.mdb, *.accdb) - version 12...

In VS2005, I attempted to use the MFC ODBC Consumer Wizard to to create a
class to interface with this data source. After selecting the datasource,
login, and table, I was back in the wizard proper. There I selected the
default class name, and filesnames. Dynaset, and Bind All Columns was
checked. When I clicked Finish, the entire VS2005 IDE crashed.

If I repeat the process with the Bind All Columns box unchecked, it
completes, but of course with much of the work left for me to do.

Is there a fix for this problem?
Thanks
Jim

JimW

unread,
Feb 2, 2009, 5:41:43 PM2/2/09
to
I did a Google search on this question and found another person who ran into
this problem back in 2002.

Looks like it was not fixed in VS2005. Does anyone know if it has been fixed
in VS2008:

Thanks,
Jim

"Jim Walsh" <JimW...@discussions.microsoft.com> wrote in message
news:0CA143A7-C7C1-44E0...@microsoft.com...

David Ching

unread,
Feb 2, 2009, 5:49:17 PM2/2/09
to
"JimW" <som...@mydomain.com> wrote in message
news:%237ANtdY...@TK2MSFTNGP05.phx.gbl...

>I did a Google search on this question and found another person who ran
>into this problem back in 2002.
>
> Looks like it was not fixed in VS2005. Does anyone know if it has been
> fixed in VS2008:
>

I could be thinking of something else, but wasn't a lot of the database
wizards for C++ removed in VS2008? So it might be "fixed" but not in a good
way. ;)

-- David


JimW

unread,
Feb 2, 2009, 9:41:26 PM2/2/09
to
David,

Thanks for responding to my posting.

I have VS2008 on a DVD but have not yet installed it. I am always reluctant
to install something new unless I know it has been well-debugged. Also wary
of the kind of changes that you mention.

Do you know if there is any way that I can confirm your suspicion that the
database wizards for C++/MFC have been removed? Why would they do that?

Jim
"David Ching" <d...@remove-this.dcsoft.com> wrote in message
news:505A455F-6B97-463D...@microsoft.com...

David Ching

unread,
Feb 2, 2009, 10:42:04 PM2/2/09
to
"JimW" <som...@mydomain.com> wrote in message
news:%23QxIqja...@TK2MSFTNGP02.phx.gbl...

> David,
>
> Thanks for responding to my posting.
>
> I have VS2008 on a DVD but have not yet installed it. I am always
> reluctant to install something new unless I know it has been
> well-debugged. Also wary of the kind of changes that you mention.
>
> Do you know if there is any way that I can confirm your suspicion that the
> database wizards for C++/MFC have been removed? Why would they do that?
>

This is what I meant:
http://www.microsoft.com/communities/newsgroups/en-us/default.aspx?dg=microsoft.public.vc.mfc&tid=789bc719-a781-4521-9649-2b3143ec210d&cat=&lang=&cr=&sloc=&p=1

Apparently the "Data Source Configuration Wizard" has 3 choices in VS2005
(and in .NET in VS2008): Object, Database and Service, but in C++ it only
has Object.

-- David

JimW

unread,
Feb 4, 2009, 12:02:44 PM2/4/09
to
David,

That might be a different wizard. At least, that is not what I am working
with.

The wizard I'm using comes when I use the Add Class dialog to add a class to
my project. I select MFC as the category, and then MFC ODBC Consumer as the
Template. That brings up the MFC ODBC Consumer Wizard. I then give it my
ODBC data source, and it is supposed to give me a CRecordset-derived class.
It is that wizard that is crashing.

I have VS2008 on a DVD here but have not yet installed it. I'm always a
little reluctant to change things that are working. I know that I can
install VS2008 side-by-side with VS2005. So, I might do that to see if the
wizard works there. But, the quickest solution for me might to hand code my
new CRecordset derived class.

Again, thanks for your suggestions.

Jim

"David Ching" <d...@remove-this.dcsoft.com> wrote in message

news:3BCF6AA5-2082-4838...@microsoft.com...

Leo Violette

unread,
Feb 9, 2009, 6:30:27 AM2/9/09
to
I don't know if VS 2008 has the wizard, but I do know that I've had great
success using VS 2005 and VS 2008 on the same
machine running side-by-side without any problems. Maybe you should install
VS 2008 and have a look, you'll still
be able to use VS 2005 as you always have.

"JimW" <som...@mydomain.com> wrote in message

news:%23QxIqja...@TK2MSFTNGP02.phx.gbl...

marco53

unread,
May 9, 2009, 6:54:01 AM5/9/09
to
Hi JimW,
I have install VS2008 (90days) and it has exactly the same problem in the
wizard!
I am working with XPpo SP3, OFFICE 2007, VS2005 and just now the 2008.
Also for me the same situation; if I check the radio button 'bind all
columns' I got the crash!
No problem using Version 4 of Microsoft Aceess Database driver creating the
recordset automatically from a mdb access database (old office version 2003)!
But if I use the VS2008 tools to conttect a dayabase, I seccede! I am able
to see the database, retriving data etc.
Anyone can explain it?
Marco53

Scot T Brennecke

unread,
May 10, 2009, 2:22:05 AM5/10/09
to
You listed a lot of different products in your message, and you had a variety of "I got the crash"
and "it succeeded" statements. I had a hard time parsing from your message what you used, what
combinations worked and which ones didn't.

"marco53" <mar...@discussions.microsoft.com> wrote in message
news:F0B89A42-BB1A-4439...@microsoft.com...

pani

unread,
Nov 16, 2012, 4:16:57 AM11/16/12
to
I am facing similar problem.Has this problem been solved? If it has been solved
please post the methods used.

Pani
0 new messages