Member Login

Username
Password
Forget Password
New Sign Up
Search Forum

Buy Support
Incidents

If you can't find your answer in the FREE PUBLIC QDeveloper Forum, require URGENT Priority Support, or you need to send us private or confidential information:

Click Here
If you can't login and post questions or you are having trouble viewing forum posts:
Click Here
Callback
Support

If you live in USA, UK, Canada, Australia or New Zealand, you can leave us details on your question and request us to call you back and discuss them with you personally  (charges apply).

Click Here
 
Buy Support
Incidents
If you can't find your answer in the FREE PUBLIC QDeveloper Forum, require URGENT Priority Support, or you need to send us private or confidential information:
Click Here

Forum : Error = 80040408 using Visual Studio 2005 SP1 on VistaSearch Forum

Forum Home > QODBC - ODBC Driver for QuickBooks > QODBC Vista and Office 2007 Forum

 New Topic 
 
 Post Reply 
[1]  
 Error = 80040408 using Visual Studio 2005 SP1 on Vista 
 Author   Message 
  RickyF 
  
 Group: Members 
 Posts: 5 
 Joined: 2007-03-28 
 Profile
 Posted : 2007-04-14 02:22:43

I had a Visual Basic project working okay in XP and Visual Studio 2005. I moved my development to Vista Ultimate, using QB Pro 2007 R6P, QODBC v7.00.00.214  and Visual Studio 2005 SP1, updated for Vista.

I followed the QODBC Vista alert instructions to set up QODBC. QB Pro 2007 is opened, but when I try to add a new data source to my VB project by selecting

  • Data - Add New Data Source
  • Selecting Database and Next
  • Clicking on the New Connection... button
  • Selecting Data Source: Microsoft  ODBC Data Source and clicking Continue
  • Then selecting Use user or system data source name: QuickBooks Data
  • Then when I press Test Connection I get an error message from Microsoft Visual Studio that reads

    ERROR [00000] [QODBC] QB Begin Session Failed. Error = 80040408, Could not start QuickBooks.

I've searched the internet for solutions without success. Anyone know what I am doing wrong?

 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2007-04-14 20:17:06
Are you running Visual Studio 2005 using a standard user account? Both QuickBooks and the QODBC application accessing the SDK must be run with standard user permissions (NOT elevated to run as administrator). 

  Top 
  RickyF 
  
 Group: Members 
 Posts: 5 
 Joined: 2007-03-28 
 Profile
 Posted : 2007-04-14 22:09:14
Tom:
You nailed it!

What is fascinating about this is that when you start VS in standard mode a dialog box pops open advising you to run the VS in administrator mode or else!

Of course now my queries are all broken.

Vista - backwards, sideways, backwards again - any direction except forward.
It makes me think about switching to OS X.

Thank you.
Richard 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2007-04-14 22:45:22
From what I can see at: http://msdn2.microsoft.com/en-us/vstudio/aa948853.aspx you can still run Visual Studio 2005 SP1 in standard mode, albeit with its own unique list of problems. 

  Top 
  OrthodoxyUSA 
  
 Group: Members 
 Posts: 7 
 Joined: 2007-08-22 
 Profile
 Posted : 2007-08-30 08:48:14

I had the same problem...

The "Test Connection" button was "greyed out" also.

WHO EVER HEARD OF A "STANDARD USER" BEING ABLE TO DO SOMETHING AN "ADMINISTRATOR" CAN'T??????

Is this a problem with Vista? I usually stay logged in with my Administrator account. I'm a Domain Admin.

Forgive me...

 

 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2007-08-30 09:06:56
No, this is how Microsoft intend you to use Microsoft Windows Vista. You are mean't to use Vista with standard user permissions (NOT elevated to run as administrator). Vista will prompt you for the administrator password for all administration operations instead. 

  Top 
  rjhuhn 
  
 Group: Members 
 Posts: 2 
 Joined: 2008-11-01 
 Profile
 Posted : 2008-11-02 04:38:57

I had the same problem, and switching my account from ADMINISTRATOR to STANDARD USER did the trick. It took several hours of screwing around before (with the help of Tom and this forum) I figured out the problem. I suspect we are not along. UAC must be on as well. These setting are a little counter intuitive to me. I would have thought that higher administrative privileges would cause less problems. Computer users advanced enough to be using products like QODBC probably give themselves administrative privileges and turn off UAC shortly after their VISTA installation is complete.

 

Tom, maybe you could help make these requirements clear in your VISTA installation procedures document. Might save you from answering more 80040408 questions down the road.

 

Thanks again,

 

Rich

 

 
rjhuhn 
 
  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to