473,788 Members | 2,751 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

dcom call thru asp invoked dll takes 2 minutes before ack. response

Here are the variables left by the time we found a
workaround for the problem:
Across subnet.
Across firewall.
DCOM call from a DLL used in an ASP page.

Two tests from a web server ("a") to another server ("b")
over the firewall and subnet:

First test ran a simple ASP page that created an object of
a local COM DLL. The local COM DLL then performed a DCOM
call to server a. Network Monitoring revealed a quick
response from server b back to the web server without
acknowledgement . A subsequent response approximately two
minutes later from server b was finally acknowledged by
server a. (Failure - takes too long because it should have
ackowledged the first response)

Second test ran a simple windows application that created
an object of a local COM DLL. The local COM DLL then
performed a DCOM call to server b. Network Monitoring
revealed a quick response from server b back to server a
with immediate acknowledgement . (Success - acknowledged
the first response)

Workaround:
Created local COM EXE with code from local COM DLL.
Ran first test creating new object of the local COM EXE
instead of the local COM DLL. (Success - the COM EXE
acknowledged the first response from server b)

Does IIS intercept all communication produced from it's
DLLHost.exes? Any other ideas as to what the root cause
of this problem may be????
Jul 19 '05 #1
0 1321

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

Similar topics

3
2038
by: Alex | last post by:
I'm having a problem porting an ASP solution to ASPX. In the ASP solution I'm accessing a DCOM server, create sub DCOM objects and call functions from VB script on the ASP pages. The DCOM object handles are stored in session variables. This works fine without a problem. Ported it to ASPX, accessing the same DCOM server from code behind pages. Still, usually no problems. However sometimes I'm seeing an error stating that the DCOM handle...
2
1734
by: | last post by:
I have a breakpoint in an aspx page that I'm using to try to trap some code to see what's going on. I'm translating a page that is working in a traditional ASP page, which takes several session variables, formats a header, and assigns a sql stored procedure to be run and a report generated in a web browser. The odd behavior occurs where I have my breakpoint, which is at the place where the variable "showblank" is set to = " ". ...
1
6292
by: Chris Morse | last post by:
WARNING: Verbosity: skip to the very bottom paragraph for succinct version of my question.) Hi- I can't seem to find an answer to this. I am playing around with a variation of the ".NET Framework Developer's Guide" (in the MSDN docs) "Using an Asynchronous Server Socket" sample. As usual with docs like this, the example isn't very good. I had to
13
5457
by: Kyle Adams | last post by:
I don't know where is the right place to ask this so I will start here. Can someone explain to me what these represent? I think they all have to do with the middleware level, but I really don't understand what a DCOM Server is or a Microsoft Transaction Server, etc. I have no idea.... Kyle
1
1707
by: Rick Sypriano | last post by:
Hello, I have a WebService that uses ADO.net to update a SQL database on a remote server. If the database operation takes less than 4 minutes everything works fine. If the database operation takes more than 5 minutes or so the service does not return to the client. The client hangs waiting for a response that never comes. I have written to a log file when the database operation finishes; so I know when the service should return. I...
2
3234
by: g | last post by:
we are evaluating CRM packages and are looking for information on the differences/simliarities, pros and cons of these architectures used by various CRM Vendors. We have been searching for more information online and have not really found any comparisons. Client Server ..NET ASP
0
1135
by: =?Utf-8?B?Um9nZXJzIEZlaQ==?= | last post by:
Sample code like this: //ServiceConfig config = new ServiceConfig(); //config.Transaction = TransactionOption.Required; //ServiceDomain.Enter( config ); InvokeComponent obj = new InvokeComponent(); //Here's a DCOM which can be created and invoked correctly. But when I uncomment the preceding statements, this line wil throw an exception: "You made a method call on a COM+ component that has a transaction that has already committed or...
2
3441
by: =?Utf-8?B?Q2hyaXN0aWFuIEhhdmVs?= | last post by:
Hi, in a existing application (DCOM server and client, both in VC++) we have very often problems with the DCOM-configuration. Is the requiered configuration (open ports) in applications using .NET remoting much more easier than in DCOM applications? What is with the performance, if the DCOM server has a .NET remoting object client and the DCOM client (VC++) uses the .NET remoting object as the server?
2
5571
by: =?Utf-8?B?SmltIE93ZW4=?= | last post by:
Hi John, Hopefully this post will find its way back to you - or perhaps be answered by someone else. As I mentioned in my last post on the earlier portion of this thread, changing the serialization settings for the build handled the initial slows we encountered when invoking the web service. Since that time, we ported the original VB.net code over to C# - this was done to make it cleaner easier to include the project in the rest of...
0
9656
marktang
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...
0
10366
Oralloy
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...
0
10173
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10110
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,...
0
9967
tracyyun
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...
0
6750
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5536
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3674
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2894
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.