Hey hadjrami,
Just to make sure we're on the same page, which specific CVI function are you having trouble with? I'm not sure exactly what kind of port you're opening, or which function you're having trouble with. If you could provide that information, I can search and see what information we might have on this issue.
Also, one thing that I could see causing this problem would be if that port is in use by another application on your machine. Is it possible that this is the case, or could you have more than one instance of your CVI application running? If another application is using the port, it would cause problems for the port opening function in CVI.