Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

how to use a server comport in ASP?

Posted on 2004-09-18
7
Medium Priority
?
284 Views
Last Modified: 2008-01-09
I am not really familiar with asp but I think it should be easy using the Server.CreateObject. I found a lot documentation using DB (Server.CreateObject("ADODB.Recordset")) and file manipulation(server.CreateObject("Scripting.FileSystemObject")) so why not using the object for a comport?

I thought that  Server.CreateObject("MSCOMMLib.MSComm.1") was a smart idea but it turned out to be a mistake. The object is in the register but i still get error(s)
So what am I doing wrong? What should I do instead?
0
Comment
Question by:De_doos
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
7 Comments
 
LVL 13

Expert Comment

by:davidlars99
ID: 12094146
ok, here is a complete discussion of what you're looking for

http://www.experts-exchange.com/Programming/Wireless_Programming/GSM/Q_20856444.html
0
 

Author Comment

by:De_doos
ID: 12095270
Thank you for your quick response. I have some good news and some bad news. The good thing is that the code in "accepted answer" was what I had in mind so i dont feel that stupid. The bad thing is... It is not working. Instead of that, I get an error 'ASP 0177 : 80040112'

This has according to Internet something to do with licence and permission etc etc.
But:
On server I installed a program using the object (MScomm) which is working fine and also nothing is mentioned in the discussion you referred to.

So what can be wrong?
0
 

Author Comment

by:De_doos
ID: 12305926
It looks like there is no answer to be expected in the futere so i tried some things my own. I rewrote the server program in different ways and one of these programs using "createobject " returend an error 429. that rings a bell. Because it means a lot of things i decided to reinstall te server. format c and so on. I guess i mixed up two different windows. that was a week ago. Today i installed the new server and it looks to me the program itself is working as it should. I will giv a (final?) report when iam using the cpu as server again.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 13

Expert Comment

by:davidlars99
ID: 12311005
there is an answer, but make sure you have GSM modem first, I think that is what you should have in order to use MSCOMMLIB
0
 

Author Comment

by:De_doos
ID: 12610167
Solution

I wanted to reinstall the old windows (W98) in order to find the origin of the problems but I regret to say it is likely I deleted the backup. By now I think it is about time to close this question before the administration does.

In the current situation server side and client side (ASP) are working properly using the mscomm object. This means that no other objects or programs are needed and one can stick to the asp code given in the link above QED.

So what went wrong ?
I am not sure but I think I mixed up components of  w98, w95 or nt. On server side this will create an error 429 which is recognisable using VB but on client side it does not give the 429 error. Using the object directly in VB without errors occurring will make you believe the problem is in the ASP code but this proved to be wrong. I think this info will do for anyone having the same problem I encountered.    

davidlars99 I appreciated your comments on this issue but I hope you agree that your solution has nothing to do with it. ( it might be for those who have no license for mscomm, that I don’t know. )


0
 

Accepted Solution

by:
ee_ai_construct earned 0 total points
ID: 12641589
Question answered by asker or dialog valuable.
Closed, 50 points refunded.
ee_ai_construct (replacement part #xm34)
Community Support Admin
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…

618 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question