473,836 Members | 1,491 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Access to remote application and bottleneck

My asp.net application depends on obtaining allot of data from a remote
application. This application is a bit of a monster and it is not an option
to install it on the asp.net system. Note - the remote application is
developed in vb6

Currently I have the application installed on a number of remote computers
and use DCOM from asp.net to communicate with this application. All the
calls to this remote application are generally kept to a minimum - ie - one
function call that passes the many parameters. This works reasonably well.

The remote system cannot be depended upon to always work - the remote
application has a tendency to crash or get tied up for long periods doing

To deal with this I created a vb6 exe called ManageConnectio ns. asp.net
calls this application and this application keeps a track of the references
to the different machines running the remote application. When an asp.net
session needs to call the remote application it makes a request to
ManageConnectio ns and manage connections returns a direct reference to one of
the remote machines. The asp.net session will than make calls direct to the
remote application without going through the ManageConnectio ns application.

ManageConnectio ns will every few seconds test to see if the remote
application is still responsive - if they stop responding than it will
destroy the reference to the remote machine and not give this reference to a
new page. (any pages currently using this reference are possibly in trouble).
This testing to check if remote machines are still running is done using a
different thread to prevent the ManageConnectio ns from been unresponsive to a
new asp.net call.

I have no experience in undertaking this type of setup. Does the way I have
set this up sound reasonable - or is there a major flaw in the reasoning. Is
vb6 able to do this type of work?? I have tried to use threading within vb6
to prevent lock-ups - will this work - or will there still be the possibility
of the system been blocked - due to DCOM or because of out-of-process calls
between asp.net and ManageConnectio ns???

Obviously this system could still fail - but the main idea of this
implementation was to limit the chances of a asp.net request hanging or
timeing out due to a non responsive remote application.

Would I be better off creating ManageConnectio ns in vb.net?? I have little
experience in this area - but I would guess the advantages would be in thread
management and the polling of the remote application.

To date this system has only been tested on 3-4 users and appears to be
working - but this will grow in the coming 12 months to 50-100 users and I
need to make sure the system will be stable before this happens.

Anyone with experience in doing something like this?? Any help would be
Nov 19 '05 #1
0 1482

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

by: kackson | last post by:
Hi. I would like to access my database outside of my company. I read many documents but they are all pertaining to accessing the database via ASP or some form of web application. Is there no single windows or linux application tht runs natively to access a remote SQL data base? Any advise is appreciated. Thanks!!
by: Terry Bell | last post by:
We've had a very large A97 app running fine for the last seven years. I've just converted to SQL Server backend, which is being tested, but meanwhile the JET based version, running under terminal server, has suddenly started running very slowly. The network engineer has thrown up his hands and said "It's Access 97". I've checked out lots of things including the Oplocks setting and other stuff from this NG, and I think I've done everything...
by: John | last post by:
Hi We have an access app (front-end+backend) running on the company network. I am trying to setup replication for laptop users who go into field and need the data synched between their laptops and the server upon return to the office. I am planning it this; Move all access tables to sql server and then link the tables to access front-end mdb app (using odbc?). Copy the same setup (access front end + sql backend) onto each laptop....
by: Tony Lee | last post by:
Some time a ago, on this newsgroup the following comments were made in recommending good references for Access (2003) >I used to recommend Dr. Rick Dobson's, "Programming Access <version>" for >people moving from power user to developer, but now I suggest you browse >it, >too. It strongly emphasizes ADO, which knowledgeable Microsoft insiders no >longer recommend, and the Access ADP client to SQL Server. He writes well, >and is a good...
by: James | last post by:
Dear Access Guru's, Hopefully you can help me (as Microsoft don't seem to be able to) We have an Access database on a Windows 2003 server with 5 CALS in our office. Access is loaded onto the server. We have 2 PC's connected to it on the LAN
by: Lyle Fairfield | last post by:
In a recent thread there has been discussion about Data Access Pages. It has been suggested that they are not permitted on many or most secure sites. Perhaps, that it is so, although I know of no site that has this prohibition, and I have uploaded DAPs to various sites and used them from those sites. I do not understand why any site manager would prohibit DAPs. To the best of my knowledge DAPs, as HTM files, are merely hosted on the...
by: Cheryl Langdon | last post by:
Hello everyone, This is my first attempt at getting help in this manner. Please forgive me if this is an inappropriate request. I suddenly find myself in urgent need of instruction on how to communicate with a MySQL database table on a web server, from inside of my company's Access-VBA application. I know VBA pretty well but have never before needed to do this HTTP/XML/MySQL type functions.
by: TerrenceJ | last post by:
Hi there I've configure our SBS 2003 server to allow remote access and Outlook over internet. The mail works fine, but when I try remote access, I am asked for username and password, which I complete and then I get this error. ____________________________________ Access to the path "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\remote\3f1585d2\3070828a" is denied. Description: An unhandled exception occurred...
by: Nymus | last post by:
I would like to use an access database as a shared database on a remote website. I don't know if it is possible, but this is what i would like to do with this database: - Use it to run a database driven website - Maintain it via a client application and via the website. As i would like to maintain it both locally and remote via website forms written in ASP, I don't want to sync the information between the server and a client database. I...
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.