dbTalk Databases Forums  

Weird Error. Explanation?

comp.databases.ms-access comp.databases.ms-access


Discuss Weird Error. Explanation? in the comp.databases.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Salad
 
Posts: n/a

Default Weird Error. Explanation? - 04-12-2010 , 09:39 AM






I opened my app's starting form on a client's machine from a public
folder. I got an error I had never seen before. It read "The
expression "On Open" you entered as the event property setting produced
the followint error. Object class does no support the set of events."

I removed the OnOpen event in the form. Attempting to open it again, I
got the same message but for OnLoad. Any form I attempted to load would
produce the same message, first event it ran.

I attempted to build a new form using the wizard. It told me the wizard
couldn't run.

This was in A2003. I opened the app in A2007. It ran fine. I then ran
it in A2003 and it too ran fine. So I figured that someone started the
app in A2007, then A2003, didn't wait for the setup to complete, and
corrupted the app.

Can opening the app using different Access versions, not waiting for the
app to install the new Access (maybe closing it down via task manager)
corrupt the app?

Reply With Quote
  #2  
Old   
David W. Fenton
 
Posts: n/a

Default Re: Weird Error. Explanation? - 04-12-2010 , 01:20 PM






Salad <salad (AT) oilandvinegar (DOT) com> wrote in
news:qpCdnR4PXsI3rV7WnZ2dnUVZ_rIAAAAA (AT) earthlink (DOT) com:

Quote:
Can opening the app using different Access versions, not waiting
for the app to install the new Access (maybe closing it down via
task manager) corrupt the app?
I'd suggest it's likely not the app itself, but the registration of
each version of Access that's the issue. The "fix-up" on the
references is dependent on the application version being fully
registered, and the error you report is very similar to what others
have reported with incomplete registrations.

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/

Reply With Quote
  #3  
Old   
Salad
 
Posts: n/a

Default Re: Weird Error. Explanation? - 04-12-2010 , 02:55 PM



David W. Fenton wrote:
Quote:
Salad <salad (AT) oilandvinegar (DOT) com> wrote in
news:qpCdnR4PXsI3rV7WnZ2dnUVZ_rIAAAAA (AT) earthlink (DOT) com:


Can opening the app using different Access versions, not waiting
for the app to install the new Access (maybe closing it down via
task manager) corrupt the app?


I'd suggest it's likely not the app itself, but the registration of
each version of Access that's the issue. The "fix-up" on the
references is dependent on the application version being fully
registered, and the error you report is very similar to what others
have reported with incomplete registrations.

I think I understand. It failed in A2003. By running it in A2007, the
registration was complete. Running A2003 and allowing it to open and
run thru the installation process completed its registration and so it
worked.

Reply With Quote
  #4  
Old   
Allen Browne
 
Posts: n/a

Default Re: Weird Error. Explanation? - 04-12-2010 , 06:47 PM



Yes, you can also trigger this problem by opening a second version of Access
on the machine without closing the other version first.

More info:
http://allenbrowne.com/bug-17.html

--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.


"Salad" <salad (AT) oilandvinegar (DOT) com> wrote

Quote:
David W. Fenton wrote:
Salad <salad (AT) oilandvinegar (DOT) com> wrote in
news:qpCdnR4PXsI3rV7WnZ2dnUVZ_rIAAAAA (AT) earthlink (DOT) com:
Can opening the app using different Access versions, not waiting
for the app to install the new Access (maybe closing it down via
task manager) corrupt the app?


I'd suggest it's likely not the app itself, but the registration of
each version of Access that's the issue. The "fix-up" on the
references is dependent on the application version being fully
registered, and the error you report is very similar to what others
have reported with incomplete registrations.
I think I understand. It failed in A2003. By running it in A2007, the
registration was complete. Running A2003 and allowing it to open and run
thru the installation process completed its registration and so it worked.

Reply With Quote
Reply




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 On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.