ASP/IIS Communicating With A VB Based Executable On The Webserver.

I am test developing an internal webserver, on Windows XP, and IIS 5.1, with
ASP and MySQL.

One specific page is created from user input and database records in
previous pages and presents a page with customised data and a webform. It
then takes input from the form and session variables and passes these to an
vb exe in the the wwwroot using the from

http://localhost/example.exe?testparameters. The vb exe takes the command
line parameter input and does its thing and it all works, but I am aware
this is a very insecure way of doing this and I implemented this only as a
quick workaround so I could test implement it all then refine it for
deployment.

My question is, what is the best way for input to be passed from a web form
to an vb executable for it to do its thing. The exe will eventually
preferably run as a service, or at least all ways be active on the server,
and not starting for every request then ending, as I was hoping to allow for
sorting and queueing of requests passed to the exe, before they are
executed. Code:

View Replies


ADVERTISEMENT

Communicating With Another Application

I have a project in which I need to send info to/get info from a RS-232 port of the server depending on the client clicks on a asp web page.How can I access a serial port from the ASP code itself. I tried to use MSCOMM... But it is not working. Is there any way to do this?

As an alternative mechanism, we planned to shift all the communication related stuff to Visual C++ application which sits as a service in the Server and do the necesary communication stuff whenever it receives any request from an ASP page. We planned to use socket communication between ASP page and VC++ application if we go with this way. What are the other ways that a VC application and a ASP application can talk to each other...?

View Replies View Related

Communicating Two Clients

I have to develop the game in asp.net which is played by two player (TIC TAC TOE GAME ) sitting on two different pc.

the problem that i am facing is that how i can refresh the page second player page when i recieve the request from first player and vice versa.

View Replies View Related

Communicating With Other Application

I have a project in which I need to send info to/get info from a RS-232 port of the server depending on the client clicks on a asp web page. How can I access a serial port from the ASP code itself. I tried to use MSCOMM. But it is not working. Is there any way to do this?

As an alternative mechanism, we planned to shift all the communication related stuff to Visual C++ application which sits as a service in the Server and do the necesary communication stuff whenever it receives any request from an ASP page. We planned to use socket communication between ASP page and VC++ application if we go with this way. What are the other ways that a VC application and a ASP application can talk to each other?

View Replies View Related

Communicating With External App/Device From ASP Page

I have a project in which I need to send info to/get info from a RS-232 port of the server depending on the client clicks on a asp web page.

How can I access a serial port from the ASP code itself. I tried to use MSCOMM... But it is not working. Is there any way to do this?

As an alternative mechanism, we planned to shift all the communication related stuff to Visual C++ application which sits as a service in the Server and do the necesary communication stuff whenever it receives any request from an ASP page. We planned to use socket communication between ASP page and VC++ application if we go with this way. What are the other ways that a VC application and a ASP application can talk to each other...?

View Replies View Related

Calling An Executable

I am working on a legacy application written in Classic ASP with VB6 COM+ components running on Windows 2003 Adv Server (32bit). There is one page in the app that uses Secure FTP to send a file to another application server upon a certain type of data change.

Anonymous user posts the form - ASP code instantiates the COM+ component which is starting using a Domain User -Calls a method that creates the comma delimited data file and then calls the SFTP method.

View Replies View Related

Asp & Local Executable

i'd like to know if it is possible with asp to launch a local application (exe file like word or any else).

View Replies View Related

Launch Executable

I'd like to launch an executable file from a web page. Basically, the user
enters seven parameters and then clicks a button to generate a graph. The
input is written to a file and then read by the exe. The exe then generates
a graph based upon the input parameters.

I am reading about the Process class and wondering if that is the best
approach to this. Can you recommend a KB article?

View Replies View Related

Running An Executable

my questions are

1. How do I execute a program using asp (any scripting language), without the user taking any action.

2. To close the program (written in VB6) do I include something in the program itself, or do I close it w/ asp?

View Replies View Related

Compliling ASP Project Into Executable

I am deploying many ASP apps and many of them are onto client internal
servers. I was wondering if there was an option to compile my entire ASP
project into an installation executable for easy deployment?

View Replies View Related

Upload An Executable File Disguised As Gif Or Jpg

If I allow people to upload GIF or JPG files on my site, is there a technical possibility to upload an executable file disguised as gif or jpg and execute it on my server?

View Replies View Related

Oshell. And Running A Executable Via VBscript

what is the best way to run a file via vbscript. lets say I have a exe or batch file and I want to run it. how? and then.. how do I do this... Code:

var oShell = new ActiveXObject("Shell.Application");
...in vbscript?

View Replies View Related

Adding Executable (.exe) To Html File

i am using frontpage 2003. I have an image that I have sliced in Photoshop, saved as an html and opened it with FP2K3. What I would like to do is find a way to add a .cmd or .exe or .bat file to a section of the html code. Can this be done?

What I am trying to do is pick either a hotspot or hyperlink and embedd the executable, so that when picked it runs. all it is really doing is rdp'ing to a session on the server.

View Replies View Related

Server Side Executable Fails

I am attempting to have an asp page call a batch file. I had it working, I was high on life and then I decided to log off the server. Once I did, the code would no longer work. When I logged back onto the server, I saw:

'The application failed to initialize properly (0xc0000142). Click on OK to terminate the application.' Code:

View Replies View Related

How Could I Run An Executable Through A Web Browser With A Simple Click And Execute..

How could I run an executable through a Web Browser with a simple click and execute interface?

View Replies View Related

My Own Webserver

i already setup my own webserver running under win xp prof.. i know that it can only accomodate 10 people at a time.. my questions are the following
1. what OS should i use to accomodate 200 to 500 people at the same time?
2. what should i use MsSql or MYSql?
3. What firewall, virus protection softwares should i use?

View Replies View Related

New Webserver

Just moved my old webpages to another webserver and now I get this error.

Microsoft OLE DB Provider for ODBC Driverserror '80040e14'

[Microsoft][ODBC Microsoft Access Driver] Unknown /skema/skemaunderviser.asp, line 79

Code around line 79
----------------
set rsSidstOpdateret = server.createobject("adodb.recordset")
set rsWeek = server.createobject("adodb.recordset")
SQLSidstOpdateret = "SELECT * FROM TblDagsDato"
rsSidstOpdateret.open SQLSidstOpdateret, conn, 1,1
SQLGetWeek = "SELECT * FROM TblUger ORDER BY STARTDATO"
rsWeek.open SQLGetWeek, conn, 3,3 (LINE 79)

View Replies View Related

Finding The Webserver Name

I need to create a new application in our test server. I am using VID for
that purpose. In order to set up the project in VID, it asks me 'which server
you want to use'. However, I do not have the name of the test server. Is
there any way to configure the name of the server here? I have full rights to
the server directory and is mapped on my machine as G drive.

View Replies View Related

Secondary Webserver

Is it possible to create a script that can check the availability of an ip address of the primary site and then redirect it according to its conditions?

View Replies View Related

Could Not Run Asp File On My Webserver

I am using windows 2000 server with IIS already install. I have copied test.asp file to wwwroot directory and tried to run it but it did not work ..and i gave me this error msg.

http://localhost/test.asp
or
http://127.0.0.1/test.asp
or
http://my_server_name_here/test.asp

The page cannot be displayed There is a problem with the page you are trying to reach and it cannot be displayed. HTTP 500 - Internal server error Internet Explorer

I have even tried to run the iisstart.asp and localstart.asp which already
exist at wwroot directory when IIS is installed.However, it still could not work.

Does anyone know why ? I how do i know that the webserver and ASP engine is working properly.

View Replies View Related

Setting My Webserver

I've just developed an asp.net website with SQL Server 2000 database. I wish to host it on my own pc. My computer specs are:

AMD 64 3500+
1G DDR RAM
250G HDD 18MB Buffer
ASUS A8V Delux MB
Windows 2003

I was going to install IIS as webserver.what other software do i need and what else i have to set? for sure i have to buy a domain name and redirect it to my ip address.

View Replies View Related

Webserver Services

I know I have seen a script on here before that would tell what services are installed on a webserver. We have a an old form that sends via CDONTS and the new webserver is running 2003.

I know they could install the CDONTS but it takes them too long to get back to us and I'm sure they wouldn't want to install it. Could some one possibly point me out to the script so I can find out what to use to send the form?

View Replies View Related

Webserver Is Locking Up

i am having this problem with my webserver. everytime i run an asp application that will display pictures, my server will lock up. i used to this it was due to the asp itself, but whenever i run asp apps that display pics, it works fine.

this only happens when i access my websites from my personal computer within my network. whenever i access the sites from outsite my network, it runs fine. is this a problem due to my server or is it because of the data that flows through my network?? any thoughts?

View Replies View Related

Unable To Contact Webserver

I have IIS. I have interdev. whenever I am trying to contact the server..it shows what I have written in the title.

View Replies View Related

Excel Have To Be Installed On Webserver To Run With ASP

If i am using ASP to extract data from an excel file, does excel definitely have to be installed on the web server? The file will be located on a separate folder away from the web server.

View Replies View Related

Updating Access MDB On Webserver

how/if I can update records within a Windows hosted Access MDB file directly as I can on Unix based webhosting systems with phpMyAdmin on MySQL databases.

I have an app written in ASP that uses an MDB, that I am currently testing out and each time I want to update the MDB I need to amend my local copy then re-upload it. how?

View Replies View Related

Protect Documents And Images On Webserver

Is it a way I can protect my documents and images on a webserver without having direct access to administrate the webserver.

When I make an asp page I protect the information pulised on this page easy. But if I link to some images and pdf files on my site, these are not protected. If a person get the url to this image or file thei can easy download it.

One way to protect these files is to store them in a database, but is there another way to protect them.

Can I for example password protect a folder where I can put all my files and images? Here I mean password protect a folder without having direct access to the webserver.

View Replies View Related

How To Call A Sun One Webserver Plugin From A Asp Page

How to call a sun one webserver plugin from. I want to call NSAPI SAFs from a asp page.
I need a example that how to call SAFs from a client browser....

View Replies View Related

ASP Site Wont Work On Webserver

Ive build an asp website which works on my local machine and also works when i upload it to other web spaces, but when i upload to one web hosting space - it doesnt (which also happens to be where the client wants it to be).

There are other asp sites running from that location too - which just puzzles me. Would it be something to do with that i use dsn less connections and the other ones use dsn?

View Replies View Related

ASP Force Download Of File From Webserver

I am creating an asp application which is essentially a file management app. I am trying to get my head around a technically issue wonder if someone can offer some help.

I want to be able to force the download of the files are attached to a particular record.
The code which i use to force the download is:

<%
strPath = "C:MyFiles"
Set Upload = Server.CreateObject("Persits.Upload")
' Build path to file
strPath = uploadfilepathactual
Path = strPath & "" & strFileName
Upload.SendBinary Path, True, "application/octet-binary", True
%>

I want to be able to change the path to say something like

strPath = servernamec$myfiles

Is the above possible. Any other alternatives.

View Replies View Related

Serious Problems With Webserver Permissions For ASP Application

i am currently having terrible problems with settings the permissions on my ASP application.

I currently have a ASP application that i currently read the data of what are in the folder on my webserver. ASP performs functions like a count of how many files are in the folder.

My problem is this; my appilcation will only work if i have the permissions on each folder with SERVERNAMEUSERS. Everybody is on this list, and i only want a select number of users to have access to this. If i get rid of the SERVERNAMEUSERS from my application and put my DOMAINUSERNAME in (with Administrator access), it comes up with Access Denied.

Is there a way that i could get around this, even with a bit of code in my application to authentic the users i want to have access.

View Replies View Related

Save File From Webserver To Clients Pc

The client needs to save a file on his pc which is located on the server disk. What can be the solution for this?

View Replies View Related

Webserver's Datetime Synchronisation With Database

My database and webserver is located at different place.My application is date and time based. There is always some time gap between application and database ,i have some database triggered which also data and time based.

Since Database and webserver's data time is not synchronised results a lot of problem ,i want to fix this one.

1) One solution would be some Operating system based.

2) But i am interested in some asp code ,which cane help me to synchronise my webserver's datatime in tune with database (oracle 8i) keeping database time is slandered.

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved