473,385 Members | 1,602 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Slow Intranet performance apparently due to CAB file

I've developed an Intranet app that among other things creates form letters
using a VB dll, via a cab file, to access Word functions. It works perfectly
and performs well when asked to create the Word documents.

However my problem is that it takes >30 seconds for the initial page to
display. If I comment out the "<OBJECT>" definition and as a consequence
all lines/function referencing that object, the page displays <3 seconds.
The object is defined as:
<OBJECT ID="docobject" CLASSID="CLSID:9735B64A-792C-8167-5912-18A4B729BBA36"
CODEBASE="DOCCAB.CAB#version=-1,-1,-1,-1" HEIGHT="0" WIDTH="0"></OBJECT>

All machines inc IIS are XP Pro, unfortunately, they are also SP2. I believe
the security settings are fine as it allows the download of the cab file
without pop up and the execution of the dll. The site is set up globally as
a trusted site. Should I move to Intranet site?

Any help is greatly appreciated.

Craig
Jul 19 '05 #1
2 2304
"NEtsdpace news" <cd*********@cde-pl.com.au> wrote in message
news:cj***********@otis.netspace.net.au...
I've developed an Intranet app that among other things creates form
letters
using a VB dll, via a cab file, to access Word functions. It works
perfectly
and performs well when asked to create the Word documents.

However my problem is that it takes >30 seconds for the initial page to
display. If I comment out the "<OBJECT>" definition and as a consequence
all lines/function referencing that object, the page displays <3 seconds.
The object is defined as:
<OBJECT ID="docobject"
CLASSID="CLSID:9735B64A-792C-8167-5912-18A4B729BBA36"
CODEBASE="DOCCAB.CAB#version=-1,-1,-1,-1" HEIGHT="0" WIDTH="0"></OBJECT>

All machines inc IIS are XP Pro, unfortunately, they are also SP2. I
believe
the security settings are fine as it allows the download of the cab file
without pop up and the execution of the dll. The site is set up globally
as
a trusted site. Should I move to Intranet site?

Any help is greatly appreciated.


FWIW, this has nothing to do with ASP.

Once the client has obtained the CAB it should not need to download again.
What's with "#version=-1,-1,-1,-1"? That's what the client uses to
determine if it needs to download the object, and they're not usually
negative one's ...

--
Tom Kaminski IIS MVP
http://www.microsoft.com/windowsserv...y/centers/iis/
http://mvp.support.microsoft.com/
http://www.iisfaq.com/
http://www.iistoolshed.com/ - tools, scripts, and utilities for running IIS
http://www.tryiis.com
Jul 19 '05 #2

"Tom Kaminski [MVP]" <tomk (A@T) mvps (D.O.T) org> wrote in message
news:cj********@kcweb01.netnews.att.com...
"NEtsdpace news" <cd*********@cde-pl.com.au> wrote in message
news:cj***********@otis.netspace.net.au...
I've developed an Intranet app that among other things creates form
letters
using a VB dll, via a cab file, to access Word functions. It works
perfectly
and performs well when asked to create the Word documents.

However my problem is that it takes >30 seconds for the initial page to
display. If I comment out the "<OBJECT>" definition and as a consequence all lines/function referencing that object, the page displays <3 seconds. The object is defined as:
<OBJECT ID="docobject"
CLASSID="CLSID:9735B64A-792C-8167-5912-18A4B729BBA36"
CODEBASE="DOCCAB.CAB#version=-1,-1,-1,-1" HEIGHT="0" WIDTH="0"></OBJECT>

All machines inc IIS are XP Pro, unfortunately, they are also SP2. I
believe
the security settings are fine as it allows the download of the cab file
without pop up and the execution of the dll. The site is set up globally as
a trusted site. Should I move to Intranet site?

Any help is greatly appreciated.


FWIW, this has nothing to do with ASP.

Once the client has obtained the CAB it should not need to download again.
What's with "#version=-1,-1,-1,-1"? That's what the client uses to
determine if it needs to download the object, and they're not usually
negative one's ...

--
Tom Kaminski IIS MVP

I don't believe my problem is an ASP issue. The app is in ASP (obviously)
and I am just trying to eliminate coding as the issue. ie I am trying to
find if anyone thinks my code is incorrect. I dont think it is. If you
think it is please let me know where and why.
The "#version=-1,-1,-1,-1" means that the browsers compares the release
dates on the CAB files to determine whether to download and/or update the
local version of the CAB.
Quote from
http://msdn.microsoft.com/library/de...s/codebase.asp

"the component is downloaded from the server if the release date is later
than the installation date on the client computer. If the component is
installed on the client computer and the release date is the same or earlier
than the installation date, only an HTTP header transaction occurs."
OK maybe I should try an HTML/DHTML/XML group.
Jul 19 '05 #3

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

Similar topics

9
by: Neil | last post by:
I've been discussing here a SQL 7 view which scrolls slowly when linked to an Access 2000 MDB. After trying various things, I've distilled it down to the following: when the linked view has a...
3
by: Shawn H | last post by:
Hi guys, I've created a web application using ASP together with SQL Server as our db source, running through IIS 6 on a Winows Server 2003 platform. This application retrieves a list of...
12
by: Neil | last post by:
I previously posted re. this, but thought I'd try again with a summary of facts. I have an Access 2000 MDB with a SQL Server 7 back end. There is a view that is linked to the database via ODBC...
8
by: BlueBall | last post by:
I am writing some kind of network testing tool and I have wrote the following code in ASP.NET with C# int size= 10048576; // around 10 MB data string buffer = ""; for (int j=1; j<=1024;...
0
by: Pascal Gineste | last post by:
Hello, I try to find information related to the performance problem we encountered on this newgroups, but I didn't find any solution, whereas it seems that we are not the only one who met this...
11
by: Andy_Khosravi | last post by:
My problem: I'm having trouble with a query taking much too long to run; a query without any criteria evaluating only 650 records takes over 300 seconds to run (over the network. On local drive...
6
by: DevX | last post by:
Hello, I have a big intranet that I run with IIS 6.0. I need to log the client's machine names, and I found on the web istruction on how to use REMOTE_HOST server variable while enabling...
7
by: colin | last post by:
Hi, Ive written a 3dmodel editor, and it works fairly well it harldy uses any cpu exept when its loading a texture from bitmap in the debugger, at all other times it hardly uses any cpu but from...
3
by: james | last post by:
WATYF <WATYF1@gmail.comwrote in news:eb43eb6a-afaa-4e39-ac0b-850afdb6d1e4@r66g2000hsg.googlegroups.com: It gets complicated. First, a reference:...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.