Login  
Search All Forums
Dart Home | PowerTCP Web Enterprise for ActiveX | Custom Development Reply | PowerTCP Web Enterprise for ActiveX Topics | Forums   
AuthorForum: PowerTCP Web Enterprise for ActiveX
Topic: Get() does not return
amccombs

From: Bedford, MA USA
Posts: 10
Member Since: 09/13/05
posted September 16, 2005 3:35 PM

I have a problem that I can reproduce on my computer in that the raw_Get() causes an exception but the function does not return.

For me to reproduce this error, I restart the IIS server after successfully getting a page; then Get the page again.

I attempted to use the Head() function to see if I could use it as a work-around, but it also did not return after an exception occured.

WindowsXP SP1,
Microsoft VC6,
DartWebASP.dll 1.8.0.4

Any other suggestions for work-arounds?
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted September 19, 2005 9:40 AM

I am unsure what the "raw_Get()" function is. Is this a function that you wrote?

Is there a way that you can tell me how to duplicate this using the sample PageFetch app?
amccombs

From: Bedford, MA USA
Posts: 10
Member Since: 09/13/05
posted September 19, 2005 10:38 AM

the raw_Get is from the DartWebAsp.tli file.
inline HRESULT IWebASP::Get ( ) {
  HRESULT _hr = raw_Get();
  if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  return _hr;
}

To reproduce, After I receive a page I restart the IIS server to loose the socket connection, and attempt to get the page again.

I can see is Visual Studio debug window that an exception has occured when I try to step into the raw_Get(); but the raw_Get() does not return.

Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted September 19, 2005 10:49 AM

Ok, let's forget the Visual Studio window and stepping for a minute. Please tell me what I should see when I run the PageFetch sample outside of the debugger and do what say. Also, is it a specific page that has the problem or any page at all?
amccombs

From: Bedford, MA USA
Posts: 10
Member Since: 09/13/05
posted September 19, 2005 11:14 AM

I have not gotten PageFetch to reproduce this error. But if it did like in my application does then it would be like this.:

Type in a URL and hit enter. Notice your page is there. Stop IIS. Start IIS. Type in a URL and hit enter. Notice nothing happens.
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted September 19, 2005 11:24 AM

Please let me know when you find the steps required to duplicate the problem with the sample.

If you can't, then take a look at the code and try to determine why it behaves differently then your application.

amccombs

From: Bedford, MA USA
Posts: 10
Member Since: 09/13/05
posted September 19, 2005 12:15 PM

I cannot becuase PageFetch is only a single threaded app that can only get one page and show a stupid save-as dialog box. It's not like our applications that many threads which get many pages at once.
Is this Forum support for PageFetch or support for the Dart dll's?
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted September 19, 2005 1:18 PM

Can you write a simple, stand-alone app that duplicates the problem? If so, please zip the app up and email it to support@dart.com. Please make sure you include your serial number in the email (if you own the tool)

If possible, eliminate multi-threading from the equation. Many times when threads are involved, the problem is caused by something be incorrectly done with the threading rather than our DLL.
amccombs

From: Bedford, MA USA
Posts: 10
Member Since: 09/13/05
posted September 20, 2005 9:26 AM

My project is too big to zip it.

Can you tell me which exceptions IWebASP::Get() will throw?
I have a PowerTCP.chm from somewhere on your website that does not say. Also, it's all VB syntax, do you have a .chm file in C++ syntax?
Because I am also having difficulty implementing the Event's in my project and I am copying the stuff from PageFetch, but it's not working; so I must be missing somthing.
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted September 20, 2005 9:42 AM

I'm not going to be able to troubleshoot a problem of this complexity on the forum. If you think that you have found a bug, please create a very simple demo that shows it (I did not mean to imply you send your app) and mail it as described above.

If you are not able to isolate this and still need assistance you will need to contact support@dart.com to discuss other support options.

Reply | PowerTCP Web Enterprise for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX