Solved

how to use a server comport in ASP?

Posted on 2004-09-18
7
275 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
  • 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
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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…
I was asked about the differences between classic ASP and ASP.NET, so let me put them down here, for reference: Let's make the introductions... Classic ASP was launched by Microsoft in 1998 and dynamically generate web pages upon user interact…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

707 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now