Home Dashboard Directory Help
Search

open serial port in windows 7 by JithinM


Status: 

Active


1
0
Sign in
to vote
Type: Bug
ID: 574232
Opened: 7/10/2010 7:20:08 AM
Access Restriction: Public
1
Workaround(s)
view
0
User(s) can reproduce this bug

Description

cannot open serial port in windows 7 using csharp application which is developed using gsmcomm library. Whenever try to open the port it says port COMx does not exists in system.
Invalid connection settings.Unable to open port..etc. Same application is working perfectly in win xp service pack 2.
I also tried to change firewall settings still no way out!
Application developed using system.io namespace also fails to open serial ports in windows 7.

please find attached demo project file with this feed back.

it
Details
Sign in to post a comment.
Posted by Microsoft on 10/11/2010 at 3:04 PM
Hi JithinM!

Thank you for bringing up this interesting issue. We are always grateful when customers point towards potential concerns - this helps us ensuring the quality of the .NET Framework and driving the product into the right direction.

When investigating any potential issue, the essential first step for us is to reproduce the issue in our internal environment. Without this, there is no way for us to explore and understand the problem. For potential .NET Framework bugs we typically need the following information to reproduce an issue:

* Detailed information about the environment in which the issue occurred, including version numbers and locale information for Windows, .NET Framework version, Visual Studio and other relevant tools and components.

* The exact source code necessary to reproduce the issue, and possible compilation and other relevant options.

* An exact specification of the occurred output and/or other program behaviour, an exact specification of the expected output and behaviour, and an explanation of how they differ.

* Any other case-relevant information.

Could you please provide all of the above information in order to enable us to investigate this issue.

Most specifically, you provided a repro that uses a 3rd party library (GSMComm). The underlying error may be caused by that library as well as by a problem in the .NET framework. Unfortunately, we cannot support any 3rd party products directly. In order to be able to validate and correct any issues we need to reproduce the problem using the .NET class library directly.

Please also note that GSMComm library seems to support .NET versions 1.1 and 2.0 only [http://www.scampers.org/steve/sms/libraries.htm#gsmcomm]. In your submission you state that you are using .NET version 4. Could this possibly be the issue?

Please provide steps to reproduce the problem directly within the next 7 days. If you cannot provide this information, we will close this bug. Of course, you will then have the option to open another bug on this issue if you have the requested information available.

Great thanks for your time and for helping us to improve the Framework!

Greg
(Software Engineer on the .NET Base Class Libraries team)
Posted by Microsoft on 7/15/2010 at 2:42 AM
Thanks for your feedback.
We have seen the files you provide.
We are routing this issue to the appropriate group within the Visual Studio Product Team for triage and resolution. These specialized experts will follow-up with your issue.
Posted by JithinM on 7/14/2010 at 4:22 AM
Hope you could find my attached files!

waiting for replies!
Thank you!
Posted by JithinM on 7/14/2010 at 4:15 AM
Thank you for your comments.
I have attached project file with this feed back.Please find the attached file and you can reproduce the results!
It is working perfectly in windows xp service pack 2 and .net framework 2.
steps

1.Please run the project and
2. connect gsm phone to pc via bluetooth or usb cable.
3. set port number baud rate and time out.
4.See the device manager for the port number which is assigned to the connected gsm phone.
5. Test port for connectivity.

Thank you!
Posted by Microsoft on 7/13/2010 at 6:59 PM
Hi, given that we have not heard back from you, we will go ahead and close this Connect Issue. If you get a chance to review and provide the information requested earlier, you can go ahead and reactivate this issue.(Click “Edit this item” button on the site and change the “Status” to “Active”)
Posted by Microsoft on 7/13/2010 at 6:57 PM
Any update please?
Posted by Microsoft on 7/12/2010 at 2:08 AM

Thanks for reporting the issue.
In order to fix the issue, we must first reproduce the issue in our labs. We are unable to reproduce the issue with the steps you provided.

Could you please attach a zipped project file to this feedback through our site to help us reproduce the issue?

Thanks again for your efforts and we look forward to hearing from you.
Visual Studio Product Team
Posted by Microsoft on 7/10/2010 at 5:07 PM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)
Sign in to post a workaround.
Posted by Hero Asad on 1/31/2011 at 2:37 AM
cannot open serial port in windows xp Service pack 2 using csharp application which is developed using gsmcomm library. Whenever try to open the port it says port COMx does not exists in system.
Invalid connection settings.Unable to open port. and I have verified that the connection works properly using a communication program like HyperTerminal.
File Name Submitted By Submitted On File Size  
Readme.txt (restricted) 7/12/2010 -
Readme.txt 7/12/2010 17 KB
Demo Source.rar 7/12/2010 242 KB
Demo Source.zip 7/14/2010 273 KB
Demo Source new.zip 7/14/2010 273 KB