A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Shortcut menu in subform crashes Access 2007



 
 
Thread Tools Display Modes
  #1  
Old February 27th, 2008, 03:03 PM posted to microsoft.public.access.forms
Stig Andersen
external usenet poster
 
Posts: 2
Default Shortcut menu in subform crashes Access 2007

Hi all,

I have an Access Project, developed in Acc2003.

When opened in Acc2007 (on Vista) most functionality works fine - including
the custom toolbar.

Only trouble is the shortcut menu. Short cut menus are used on several
forms - in datasheet view subforms. When they are invoked, they show
briefly - then Access crashes. On a few forms the short cut menu works as
expected.

I have tried the article and the hotfix that tried to address this problem,
but it seems that the problem it solved was of another kind. Before the
hotfix the standard short cut menu appeared - then crashed Access. After the
hotfix the customized short cut menu appeared - then crashed.
I believe it was the same hotfix that was worked into Access 2007 SP1,
because this SP did not do anything in this area.

When crashing no error is shown, but in the event viewer this error is
logged:
-----------------
Faulting application MSACCESS.EXE, version 12.0.6211.1000, time stamp
0x46d4aa81, faulting module MSACCESS.EXE, version 12.0.6211.1000, time stamp
0x46d4aa81, exception code 0xc0000005, fault offset 0x00314b6d, process id
0x1a6c, application start time 0x01c87937f3db8453.
-----------------
it is the same error everytime I crash - except for the timestamps and
offsets :-)

I will be happy to supply you with further diagnostics - I'm a little lost
in what to look for - so advice me what to look for.

Thanks in advance.

Stig Andersen

  #2  
Old February 28th, 2008, 08:58 AM posted to microsoft.public.access.forms
Charles Wang[MSFT]
external usenet poster
 
Posts: 39
Default Shortcut menu in subform crashes Access 2007

Hi,
I recommend that you refer to this article for debugging:
How to debug application crash/hang in production environment?
http://blogs.msdn.com/msdnts/archive...pplication-cra
sh-hang-in-production-environment.aspx

Also I would like to let you know that for such application crash issues
which may require dump analysis for further troubleshooting, we always
recommend that you contact Microsoft Customer Support Services (CSS) for
the more professional support. Please be advised that contacting phone
support will be a charged call except that the issue is proved to be a
Microsoft product issue.

To obtain the phone numbers for specific technology request please take a
look at the web site listed below.
http://support.microsoft.com/default...S;PHONENUMBERS

If you are outside the US please see http://support.microsoft.com for
regional support phone numbers.

Best regards,
Charles Wang
Microsoft Online Community Support
================================================== ===
When responding to posts, please "Reply to Group" via
your newsreader so that others may learn and benefit
from this issue.
================================================== ====
This posting is provided "AS IS" with no warranties, and confers no rights.
================================================== ====




  #3  
Old February 29th, 2008, 11:47 AM posted to microsoft.public.access.forms
Stig Andersen
external usenet poster
 
Posts: 2
Default Shortcut menu in subform crashes Access 2007

Hi again,

I chose to install Windbg, started MSAccess 2007, and opened my adp-file.

Being a simple application programmer, I really don't understand much of
this jibberish - I hope someone out there will point me in the right
direction. I will be grateful for any hint since im completely desoriented -
without a gps, lost in the woods etc etc. :-)

First I invoked a short cut menu on a form where the short cut works fine.
The debugger shows these lines from the time I invoke the menu and select an
item, which opens another form:
---------------
Enter HWND 5087c
ModLoad: 1b890000 1b8d9000 C:\Windows\system32\msjtes40.dll
(1a6c.1a70): C++ EH exception - code e06d7363 (first chance)
(1a6c.1a70): C++ EH exception - code e06d7363 (first chance)
(1a6c.1a70): C++ EH exception - code e06d7363 (first chance)
(1a6c.1a70): C++ EH exception - code e06d7363 (first chance)
(1a6c.1a70): C++ EH exception - code e06d7363 (first chance)
Left. Enter HWND 60874
(1a6c.1a70): C++ EH exception - code e06d7363 (first chance)
(1a6c.1a70): C++ EH exception - code e06d7363 (first chance)
(1a6c.1a70): C++ EH exception - code e06d7363 (first chance)
(1a6c.1a70): C++ EH exception - code e06d7363 (first chance)
(1a6c.1a70): C++ EH exception - code e06d7363 (first chance)
(1a6c.1a70): C++ EH exception - code e06d7363 (first chance)
(1a6c.1a70): C++ EH exception - code e06d7363 (first chance)
(1a6c.1a70): C++ EH exception - code e06d7363 (first chance)
(1a6c.1a70): C++ EH exception - code e06d7363 (first chance)
(1a6c.1a70): C++ EH exception - code e06d7363 (first chance)
---------------

Now I opened another form where I know the crash happens. Installation of
the debugger now halts the application with the shorcut menu open. No crash
appears:
-------------------------------
(1a6c.1a70): Access violation - code c0000005 (first chance)
First chance exceptions are reported before any exception handling.
This exception may be expected and handled.
eax=00000000 ebx=00000000 ecx=00050862 edx=001f8838 esi=001f8838
edi=00050862
eip=2f3d4b6d esp=001f86a8 ebp=001f86c4 iopl=0 nv up ei pl zr na pe
nc
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000
efl=00010246
*** ERROR: Symbol file could not be found. Defaulted to export symbols for
msaccess.exe -
msaccess!MidEastSupport+0x9a:
2f3d4b6d ff5008 call dword ptr [eax+8]
ds:0023:00000008=????????
------------------------------
pressing F5 in the debugger to try to provoke the rest of the crash shows
this:
------------------
0:000 g
(1a6c.1a70): Access violation - code c0000005 (!!! second chance !!!)
eax=00000000 ebx=00000000 ecx=00050862 edx=001f8838 esi=001f8838
edi=00050862
eip=2f3d4b6d esp=001f86a8 ebp=001f86c4 iopl=0 nv up ei pl zr na pe
nc
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000
efl=00010246
msaccess!MidEastSupport+0x9a:
2f3d4b6d ff5008 call dword ptr [eax+8]
ds:0023:00000008=????????
-------------------
More F5 just returns the two error lines for every second F5.

It seems I've missed the symbols for MS Access - im sorry.

If more information may help you answer, then dont hesitate to ask for more

Best regards,
Stig Andersen


"Charles Wang[MSFT]" wrote in message
...
Hi,
I recommend that you refer to this article for debugging:
How to debug application crash/hang in production environment?
http://blogs.msdn.com/msdnts/archive...pplication-cra
sh-hang-in-production-environment.aspx

Also I would like to let you know that for such application crash issues
which may require dump analysis for further troubleshooting, we always
recommend that you contact Microsoft Customer Support Services (CSS) for
the more professional support. Please be advised that contacting phone
support will be a charged call except that the issue is proved to be a
Microsoft product issue.

To obtain the phone numbers for specific technology request please take a
look at the web site listed below.
http://support.microsoft.com/default...S;PHONENUMBERS

If you are outside the US please see http://support.microsoft.com for
regional support phone numbers.

Best regards,
Charles Wang
Microsoft Online Community Support
================================================== ===
When responding to posts, please "Reply to Group" via
your newsreader so that others may learn and benefit
from this issue.
================================================== ====
This posting is provided "AS IS" with no warranties, and confers no
rights.
================================================== ====





  #4  
Old March 3rd, 2008, 06:04 AM posted to microsoft.public.access.forms
Charles Wang[MSFT]
external usenet poster
 
Posts: 39
Default Shortcut menu in subform crashes Access 2007

Hi,
You can use Microsoft public symbol server for your further debugging.
Please refer to:
http://windbg.dumpanalysis.org/

Best regards,
Charles Wang
Microsoft Online Community Support
================================================== ===
When responding to posts, please "Reply to Group" via
your newsreader so that others may learn and benefit
from this issue.
================================================== ====
This posting is provided "AS IS" with no warranties, and confers no rights.
================================================== ====



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 01:48 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.