web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

ActiveX always say port is already open when i open the form sectond times

(0) ShareShare
ReportReport
Posted on by 27

Hi All1411._FE56CF50_-7.png,

If any could you help me to resolve below problem?

It always error" Port already open" when I open this form twice.

It works ok if I only open once of this form.

On the init method I call this openComm method, but it seems PortOpen cannot really get if another form is open this port.

*This post is locked for comments

I have the same question (0)
  • Martin Dráb Profile Picture
    239,213 Most Valuable Professional on at

    It would help if you explained what your form does. Most importantly, which ActiveX control is it using? Does PortOpen() really check whether the port is open? The error suggests that your check doesn't work.

  • Sunny yun Profile Picture
    27 on at

    6675._FE56CF50_-1.png

    Hi Martin, 

    It connect to a ,  but this form will be opened by differenct person, so it will be opened mutil on the sametimes.

    yes, the check is not work, so i want know how to check it and if it can be work like this way.

  • Martin Dráb Profile Picture
    239,213 Most Valuable Professional on at

    All right, but which object are you using through the ActiveX control? I can't comment on the expected behavior of a class without knowing which class it is.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 26

#2
imran ul haq Profile Picture

imran ul haq 8

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 4 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans