Welcome to dbFreaks.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

DAO360 Error

 
   Database Help (Home) -> Visual Basic -> DAO RSS
Related Topics:
DAO350.dll vs. DAO360.dll - I have a program written in VB 6.0 that uses an Access database. The project reference is set to DAO 3.6 Object which I assume is However, when the program is run it is using Is there a way to force the..

Jet error - I've just started getting this error message on a seemingly random basis. 'The Microsoft Jet database engine does not recognize 'CID' as a valid field name or CID is a text field, and it is a valid column name. The line of code that..

Error 3043 - We are an older app written in VB 6.0 (sp5), with Jet 3.51 connected to Access 97 For most users, the system works great, but at a few sites we hit error 3043 which then causes the dreaded 3343 error. At one site, this seems to..

Error Trapping - I am trying to trap the error that raises when you attempt to query a database that does not exist. noted that does contain the value of how many errors have happened. Just cant seem to catch the error so that It can be handled..

error 3265 - can anyone pls tell me what to do? i have done all the that need to be done, but this error keep (error 3265) please help -- This article was posted by author's request Articles checked for..
Next:  Copy a table from one MDB file to another?  
Author Message
Ron47

External


Since: Aug 19, 2004
Posts: 35



(Msg. 1) Posted: Sun Apr 13, 2008 2:46 pm
Post subject: DAO360 Error
Archived from groups: microsoft>public>vb>database>dao (more info?)

My application access an mdb database using dao360 and works fine in the VB6
SP6 IDE. When I create a deployment package and try to run it it fails at the
first attempt to access a field value. The recordcount is correct and
..movefirst works, but trying to get the data throughs an error in dao360.dll.
Any help?

Thanks

Ron

 >> Stay informed about: DAO360 Error 
Back to top
Login to vote
Ralph

External


Since: Jan 28, 2008
Posts: 31



(Msg. 2) Posted: Sun Apr 13, 2008 6:46 pm
Post subject: Re: DAO360 Error [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Ron" <Ron.RemoveThis@discussions.microsoft.com> wrote in message
news:C04D6C40-87DD-4E77-9861-4E3588B40D11@microsoft.com...
> My application access an mdb database using dao360 and works fine in the
VB6
> SP6 IDE. When I create a deployment package and try to run it it fails at
the
> first attempt to access a field value. The recordcount is correct and
> .movefirst works, but trying to get the data throughs an error in
dao360.dll.
> Any help?
>

You kind of skipped a few steps here.
1) Your app runs in the IDE.
2) You compiled it and tested it within your test environment.
3) You created a package and deployed the app without trouble.
4) When you run the compiled app in its new location it failed with an
error.

What's the error?
What's the target O/S?

-ralph

 >> Stay informed about: DAO360 Error 
Back to top
Login to vote
Ron47

External


Since: Aug 19, 2004
Posts: 35



(Msg. 3) Posted: Mon Apr 14, 2008 12:36 pm
Post subject: Re: DAO360 Error [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi, I am working in Windows XP Pro.

The error is the usual exception box asking to send error report or not. The
error report data contains:

ModName: dao360.dll
ModVer: 3.60.8618.0
Offset: 00016a06

The technical info shows:
Exception Information
Code: 0xc0000005
Flags: 0x00000000
Address: 0x00000001b75a06

System Info:
Windows NT 5.1 Build: 2600

I have used a MsgBox statement in the code to track down the actual line of
code that throws the exception. I can access the properties and methods of
the recordset without a problem. The exception is thrown when I try to access
the contents of a field.

Ron

"Ralph" wrote:

>
> "Ron" <Ron.RemoveThis@discussions.microsoft.com> wrote in message
> news:C04D6C40-87DD-4E77-9861-4E3588B40D11@microsoft.com...
> > My application access an mdb database using dao360 and works fine in the
> VB6
> > SP6 IDE. When I create a deployment package and try to run it it fails at
> the
> > first attempt to access a field value. The recordcount is correct and
> > .movefirst works, but trying to get the data throughs an error in
> dao360.dll.
> > Any help?
> >
>
> You kind of skipped a few steps here.
> 1) Your app runs in the IDE.
> 2) You compiled it and tested it within your test environment.
> 3) You created a package and deployed the app without trouble.
> 4) When you run the compiled app in its new location it failed with an
> error.
>
> What's the error?
> What's the target O/S?
>
> -ralph
>
>
>
 >> Stay informed about: DAO360 Error 
Back to top
Login to vote
Ralph

External


Since: Jan 28, 2008
Posts: 31



(Msg. 4) Posted: Mon Apr 14, 2008 5:02 pm
Post subject: Re: DAO360 Error [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Ron" <Ron.DeleteThis@discussions.microsoft.com> wrote in message
news:73AA6822-AC4A-4F53-8997-65F7C1CA93B2@microsoft.com...
> Hi, I am working in Windows XP Pro.
>
> The error is the usual exception box asking to send error report or not.
The
> error report data contains:
>
> ModName: dao360.dll
> ModVer: 3.60.8618.0
> Offset: 00016a06
>
> The technical info shows:
> Exception Information
> Code: 0xc0000005
> Flags: 0x00000000
> Address: 0x00000001b75a06
>
> System Info:
> Windows NT 5.1 Build: 2600
>
> I have used a MsgBox statement in the code to track down the actual line
of
> code that throws the exception. I can access the properties and methods of
> the recordset without a problem. The exception is thrown when I try to
access
> the contents of a field.
>
> Ron
>

That error is just a general "unhandled exception", or "I've fallen and
can't get up." Surely there is something else going on here.

Implement an Error Handler in the procedure and catch the exact DAO error:
http://www.vb123.com/toolshed/01_bugs/access_errors.htm
http://msdn2.microsoft.com/en-us/library/bb221208.aspx

If you don't have it download MZTools
http://www.mztools.com/v3/download.aspx

This makes it easy to implement error handlers, and to manage line numbers
[Erl()] which will help to narrow the problem down.

Show your code were you are accessing the Value.

PS: For a development environment turn-off that MS Error reporting:
http://www.windowsnetworking.com/articles_tutorials/Disable-Error-Repo...ng-Wind

It doesn't do any good as any error reported by an 'unknown' application -
i.e. "Yours" - will be ignored by MS anyway.

-ralph
 >> Stay informed about: DAO360 Error 
Back to top
Login to vote
Ron47

External


Since: Aug 19, 2004
Posts: 35



(Msg. 5) Posted: Tue Apr 15, 2008 11:29 am
Post subject: Re: DAO360 Error [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Thanks for the quick reply's. I have downloaded the MZTools application and
will try to learn how to use it.

In trying to simplify my code for inclusion here, I found out what the
problem was. I had the field names defined by global constants and one of
them was "Cat No" which I had specified as "[Cat No]". This does work in the
VB6 IDE but does NOT work in stand alone. Removing the brackets solved my
problem.

Many Thanks,
Ron


"Ralph" wrote:

>
> "Ron" <Ron RemoveThis @discussions.microsoft.com> wrote in message
> news:73AA6822-AC4A-4F53-8997-65F7C1CA93B2@microsoft.com...
> > Hi, I am working in Windows XP Pro.
> >
> > The error is the usual exception box asking to send error report or not.
> The
> > error report data contains:
> >
> > ModName: dao360.dll
> > ModVer: 3.60.8618.0
> > Offset: 00016a06
> >
> > The technical info shows:
> > Exception Information
> > Code: 0xc0000005
> > Flags: 0x00000000
> > Address: 0x00000001b75a06
> >
> > System Info:
> > Windows NT 5.1 Build: 2600
> >
> > I have used a MsgBox statement in the code to track down the actual line
> of
> > code that throws the exception. I can access the properties and methods of
> > the recordset without a problem. The exception is thrown when I try to
> access
> > the contents of a field.
> >
> > Ron
> >
>
> That error is just a general "unhandled exception", or "I've fallen and
> can't get up." Surely there is something else going on here.
>
> Implement an Error Handler in the procedure and catch the exact DAO error:
> http://www.vb123.com/toolshed/01_bugs/access_errors.htm
> http://msdn2.microsoft.com/en-us/library/bb221208.aspx
>
> If you don't have it download MZTools
> http://www.mztools.com/v3/download.aspx
>
> This makes it easy to implement error handlers, and to manage line numbers
> [Erl()] which will help to narrow the problem down.
>
> Show your code were you are accessing the Value.
>
> PS: For a development environment turn-off that MS Error reporting:
> http://www.windowsnetworking.com/articles_tutorials/Disable-Error-Repo...ng-Wind
>
> It doesn't do any good as any error reported by an 'unknown' application -
> i.e. "Yours" - will be ignored by MS anyway.
>
> -ralph
>
>
>
 >> Stay informed about: DAO360 Error 
Back to top
Login to vote
Ralph

External


Since: Jan 28, 2008
Posts: 31



(Msg. 6) Posted: Tue Apr 15, 2008 8:13 pm
Post subject: Re: DAO360 Error [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Ron" <Ron.DeleteThis@discussions.microsoft.com> wrote in message
news:9FDC32F9-DA7E-4B70-BEAD-F8FB7E4DA67B@microsoft.com...
> Thanks for the quick reply's. I have downloaded the MZTools application
and
> will try to learn how to use it.
>
> In trying to simplify my code for inclusion here, I found out what the
> problem was. I had the field names defined by global constants and one of
> them was "Cat No" which I had specified as "[Cat No]". This does work in
the
> VB6 IDE but does NOT work in stand alone. Removing the brackets solved my
> problem.
>
> Many Thanks,
> Ron
>

Ha. Glad you got it working.

I've been bit by that one on more that one occasion myself. I should have
realized it.

-ralph
 >> Stay informed about: DAO360 Error 
Back to top
Login to vote
Display posts from previous:   
   Database Help (Home) -> Visual Basic -> DAO All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]