Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / ActiveX Controls / October 2003

Tip: Looking for answers? Try searching our database.

The Connection to the OLE server was lost.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Nithya B - 24 Sep 2003 06:53 GMT
Hi,
I have inserted an ActiveX control I have created on an
Access form. When i try to open the form, I get the error

"The connection with the OLE server was lost, or the OLE
server encountered an error while you were using it.
Restart the OLE server, and then try the operation again"

Does anybody know why this is happening?

Thanks,
Nithya
Alick [MSFT] - 24 Sep 2003 09:31 GMT
Hi Nithya,

Do you have Norton AntiVirus 2000, Norton AntiVirus 2001, or Norton
AntiVirus 2002 installed on your computer? If so, please refer to the
article to resolve the issue:

ACC2000: "A Problem Occurred While Microsoft Access Was Communicating
http://support.microsoft.com/?id=295824

Please let me know if this resolves the issue or you need further
assistance.

Sincerely,

Alick Ye, MCSD
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

--------------------
| Content-Class: urn:content-classes:message
| From: "Nithya B" <bookworm@bookworm.com>
[quoted text clipped - 11 lines]
| Thanks,
| Nithya
Nithya B - 25 Sep 2003 07:06 GMT
Hi,
Yes, I do have Norton Antivirus running. But I don't
think that could be the problem as I have a few more
ActiveX controls created according to the same design and
they run fine when I insert them on the Access form.

My machine is an XP machine and I am using Office Xp
(using Access 2002). The only other thing I can think of
is that when I get the error message and I click OK, I
get the message

"There is no object in this control"

Thanks,
Nithya

>-----Original Message-----
>Hi Nithya,
[quoted text clipped - 35 lines]
>
>.
Alick [MSFT] - 25 Sep 2003 10:21 GMT
Hi Nithya,

If you confirm the issue is not related to the Antivirus software, we can
try to open the form in design view, check the ActiveX control and its
control source; we can delete the control on the form and insert it again
to see if this works. In addition, is this problem machine specific? Does
the issue occur on a fresh new database file?

If there is some underlying code in the form open event, comment them out
and to see if the problem occurs, it is possible the problem is related to
some missing reference.

Please feel free to let me know if you have any questions or concerns.

Sincerely,

Alick Ye, MCSD
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

--------------------
| Content-Class: urn:content-classes:message
| From: "Nithya B" <bookworm@bookworm.com>
[quoted text clipped - 65 lines]
| >
| >.
Nithya B - 26 Sep 2003 06:57 GMT
Hi

I am sure it has nothing to do with the antivirus
software. The error message is quite
different...especially the one that says "There is no
object in this control".

My control is an ATL control and I tried everything you
suggested in your previous post. I have tried just
inserting the control on the form and opening it. There
is no code associated with the form. I still get the
error.

I inserted 2 instances of the control on the form and I
got the error message twice.I don't know if this
information will help.

Could it be a problem with the control registration? But
I tried it on VB and it showed up and worked properly.

Thanks,
Nithya

>-----Original Message-----
>Hi Nithya,
[quoted text clipped - 91 lines]
>
>.
Nithya B - 26 Sep 2003 09:27 GMT
Hi,

I figured out the problem. I had included support for
connection points (events) in the control, but hadn't
included any events. So there was no implementation for
the interface.
I guess that is why Access complained. Still wondering
why Vb didn't.

Thank you for all your help.

Nithya
>-----Original Message-----
>Hi Nithya,
[quoted text clipped - 91 lines]
>
>.
Alick [MSFT] - 26 Sep 2003 10:24 GMT
Hi Nithya,

Great! Thank you for sharing the resolution with us. :- ) It may be due to
the difference between VB and Access VBIDE, such as the mechanism to handle
error.

Sincerely,

Alick Ye, MCSD
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

--------------------
| Content-Class: urn:content-classes:message
| X-Tomcat-NG: microsoft.public.access.activexcontrol
[quoted text clipped - 122 lines]
| >
| >.
Rick Miller - 05 Oct 2003 01:37 GMT
>-----Original Message-----
>Hi Nithya,
[quoted text clipped - 36 lines]
>.
>Include *.mdb as excluded file types on your anti-virus
program.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.