 |
|
 |
|
Next: Re-adding SMTP virtual to IIS after Lockdown ?
|
| Author |
Message |
External

Since: Sep 03, 2003 Posts: 1
|
(Msg. 1) Posted: Wed Sep 03, 2003 11:21 am
Post subject: slow .DLL, but fast .ASP Archived from groups: microsoft>public>inetserver>iis (more info?)
|
|
|
Hello,
I have a ASP-page which uses a VB ActiveX (.DLL). I have
tested it on my computer with W2k pro, IIS with the latest patches. It works
fine, and I have tested it on another computer with W2k pro and it works
fine there too.
But, on a W2k SRV SP4 the script takes about 90sec longer. There is no
error, but it is slower. The entire server is slower. When I use a
ASP-script with the same code/functionality everything works as fast as
ever.
Somewhere in the ActiveX the page stops for about 40-90 sec.
The script creates some files, then waits with a loop for a file beeing
created by another program. I think this is where the delay is, but in my
ASP-script which uses the same code everything floats on great.
... code ...
Set fs = CreateObject("Scripting.FileSystemObject")
start = Timer
Do
If fs.FileExists("file.cll") Then Exit Do
nu = Timer
' ----- If no file is found after timeout (45 sec) an error is
displayed
If nu - start >= timeout Then
ASPresponse.Write "</DIV><BR>Error, " & ordername & ".CLL could
not be found.<BR>"
ASPresponse.Write "</BODY></HTML>"
Set fs = Nothing
ASPresponse.End
End If
Loop
... code ...
Anyone know where I can start looking to fix this, I'd rather use the
ActiveX
than the ASP in this case?
Regards,
/Mikael S >> Stay informed about: slow .DLL, but fast .ASP |
|
| Back to top |
|
 |  |
External

Since: Aug 23, 2003 Posts: 180
|
(Msg. 2) Posted: Thu Sep 04, 2003 1:47 am
Post subject: Re: slow .DLL, but fast .ASP [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
"Mikael" <mikael.DeleteThis@slk.nu> wrote in message
news:uoz7bOecDHA.3080@TK2MSFTNGP11.phx.gbl...
> Hello,
>
> I have a ASP-page which uses a VB ActiveX (.DLL). I have
> tested it on my computer with W2k pro, IIS with the latest patches. It
works
> fine, and I have tested it on another computer with W2k pro and it works
> fine there too.
>
> But, on a W2k SRV SP4 the script takes about 90sec longer. There is no
> error, but it is slower. The entire server is slower. When I use a
> ASP-script with the same code/functionality everything works as fast as
> ever.
>
> Somewhere in the ActiveX the page stops for about 40-90 sec.
> The script creates some files, then waits with a loop for a file beeing
> created by another program. I think this is where the delay is, but in my
> ASP-script which uses the same code everything floats on great.
>
> ... code ...
> Set fs = CreateObject("Scripting.FileSystemObject")
> start = Timer
>
> Do
> If fs.FileExists("file.cll") Then Exit Do
> nu = Timer
>
> ' ----- If no file is found after timeout (45 sec) an error is
> displayed
> If nu - start >= timeout Then
>
> ASPresponse.Write "</DIV><BR>Error, " & ordername & ".CLL
could
> not be found.<BR>"
> ASPresponse.Write "</BODY></HTML>"
>
> Set fs = Nothing
> ASPresponse.End
> End If
>
> Loop
>
> ... code ...
>
> Anyone know where I can start looking to fix this, I'd rather use the
> ActiveX
> than the ASP in this case?
Security has been changed. How is the MSVBVM60.DLL configured on NTFS and
how did you configure your activex DLL (vb dll)?
Do you happen to run anti-virus checkers on your server?
Regards,
> Regards,
>
> /Mikael S
>
><!-- ~MESSAGE_AFTER~ --> >> Stay informed about: slow .DLL, but fast .ASP |
|
| Back to top |
|
 |  |
External

Since: Sep 02, 2003 Posts: 912
|
(Msg. 3) Posted: Tue Sep 09, 2003 8:10 am
Post subject: RE: slow .DLL, but fast .ASP [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Also look for URLscan, however, it should completely fail if that were the case. Try the asp.components team. Also might run filemon
to see what is going on, from www.sysinternals.com.
Thank you. I hope this information is helpful.
Tim Coffey [MSFT]
This posting is provided “AS IS” with no warranties, and confers no rights. You assume all risk for your use. © 2001 Microsoft
Corporation. All rights reserved.
--------------------
| From: "Mikael" <mikael.DeleteThis@slk.nu>
| Subject: slow .DLL, but fast .ASP
| Date: Wed, 3 Sep 2003 08:21:22 +0200
| Lines: 50
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 5.50.4922.1500
| X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4925.2800
| Message-ID: <uoz7bOecDHA.3080.DeleteThis@TK2MSFTNGP11.phx.gbl>
| Newsgroups: microsoft.public.inetserver.iis
| NNTP-Posting-Host: 212.247.234.17
| Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP11.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.inetserver.iis:273571
| X-Tomcat-NG: microsoft.public.inetserver.iis
|
| Hello,
|
| I have a ASP-page which uses a VB ActiveX (.DLL). I have
| tested it on my computer with W2k pro, IIS with the latest patches. It works
| fine, and I have tested it on another computer with W2k pro and it works
| fine there too.
|
| But, on a W2k SRV SP4 the script takes about 90sec longer. There is no
| error, but it is slower. The entire server is slower. When I use a
| ASP-script with the same code/functionality everything works as fast as
| ever.
|
| Somewhere in the ActiveX the page stops for about 40-90 sec.
| The script creates some files, then waits with a loop for a file beeing
| created by another program. I think this is where the delay is, but in my
| ASP-script which uses the same code everything floats on great.
|
| ... code ...
| Set fs = CreateObject("Scripting.FileSystemObject")
| start = Timer
|
| Do
| If fs.FileExists("file.cll") Then Exit Do
| nu = Timer
|
| ' ----- If no file is found after timeout (45 sec) an error is
| displayed
| If nu - start >= timeout Then
|
| ASPresponse.Write "</DIV><BR>Error, " & ordername & ".CLL could
| not be found.<BR>"
| ASPresponse.Write "</BODY></HTML>"
|
| Set fs = Nothing
| ASPresponse.End
| End If
|
| Loop
|
| ... code ...
|
| Anyone know where I can start looking to fix this, I'd rather use the
| ActiveX
| than the ASP in this case?
|
| Regards,
|
| /Mikael S
|
|
| >> Stay informed about: slow .DLL, but fast .ASP |
|
| Back to top |
|
 |  |
| Related Topics: | | Slow IIS6 compared to IIS5 - Hi all I've just moved one of our websites from Win2000 IIS5 to Win2003 IIS6. The site runs some asp that querys a database. On IIS5, the querys take about 2 seconds to complete. On IIS6 it takes about 5 minutes. What can be causing this ? Thanks in.. |
|
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|
 |
|
|