Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Access and OLE

Status
Not open for further replies.

YoungManRiver

IS-IT--Management
Feb 9, 2004
220
US
I keep getting this error saying:

"A problem occured while Access was communicating with the OLE server or Active X.

Close the OLE Server and restart it outside of Access. Then try the original operation again in Access."

I can't make it go away not even with a De-Install/Re-Install of Office.

Does anyone know what causes this?
 
What kind of object did you used in your form anyway? an Image?calendar control? etc....

Need more details/explanation...

OLE basically requires a reference to open an object like an image it would usually require ppaint.ocx

pls clarify further....
 
Have the same problem and I'd like to close and restart OLE server but has no clue what to do. Any instructions how to do it?
thanks in advance

 
Firg,

I you clicked on the second link you'll find you need to disable script blocking in NAV while running OLE in Access.

Then you can turn it back on after running your Access program.
 
YoungManRiver,
There's no NAV installed on that PC. Only WinXP and Office XP. Have no info about SPs. So in this case your second link suggest me to close and restart OLE server outside of MS Access but don't know how to do it.
Do you have any idea what to do ?
thanks,
Firglisz
 
YMR,

No nothing. Win XP and Office Pro was reinstalled by me. Nothing else and I still keep getting those message. I'm afraid I had something installed on my home PC where I develop this application and it is being used by Access, while it is missing from other PCs. Do you think this might be the reason ? Is that possible that I send you this small app, and you try to run it on your PC ?
 
YMR,

No nothing. Win XP and Office Pro was reinstalled by me. Nothing else and I still keep getting those message. I'm afraid I had something installed on my home PC where I develop this application and it is being used by Access, while it is missing from other PCs. Do you think this might be the reason ? Is that possible that I send you this minimized version application, and you try to run it on your PC ?

thanks,
Firglisz
 
Firglisz,

If you did your dev on one machine and can't run on another did you check the "References"?

You have to click on modules, in the dev environment, open a module or open code from events properties on a screen item on your dev page ==> This open the VBA code session.

On the VBA code session screen select "Tools" + "References".

The references must be the same or things will go bump.
 
YMR,

Issue has been solved !
It seems I had problem with non english Windows XP! As I told you I already re-installed WinXP and Office XP on this PC, did not help. Yesterday I re-installed again but this time I was using english Win XP. Great news, this time application was running smoothly, without any OLE error message. Well, it seems not only NAV or script blocking causing this problem. Good experience...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top