473,722 Members | 2,484 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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="DOCCA B.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 2321
"NEtsdpace news" <cd*********@cd e-pl.com.au> wrote in message
news:cj******** ***@otis.netspa ce.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="DOCCA B.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.netnew s.att.com...
"NEtsdpace news" <cd*********@cd e-pl.com.au> wrote in message
news:cj******** ***@otis.netspa ce.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="DOCCA B.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
2383
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 virtual primary key, it is slow; when there is no virtual primary key, it scrolls quickly. Looking at Profiler, I see that when there is no virtual primary key, Access sends a simple select command to SQL Server. However, when there is a virtual...
3
1909
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 customer codes from our db, so records returned could be as many as 2000+ for any single transaction. The application runs fine for users from the same state. However, our interstate colleagues have notice that it takes more than 3-4mins for
12
2637
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 and has been in place for several years without any performance problems. Recently I added a couple of fields to the output of the view, and it became very slow when scrolling. When just opened in the database window, the linked view takes about...
8
2337
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; j++) { buffer = String.Concat(buffer, "x"); // I tried buffer += "x"; same performance }
0
1274
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 problem described below: Configuratrion IIS5 locally instally on each developper platform W2K VS.net 2003 if we create a single .aspx page and we launch this page from IE, it took
11
3143
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 takes 120 seconds). The Setup: I'm running Access 97 non-developer edition. I have exactly zero other tools to use and no way to change that =(. My database is compiled and resides on a network drive. The database has not been split into a...
6
3591
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 Reverse DNS on IIS. Using also a query to the DNS retrieves only the names of machine that are registered in the DNS (like servers).
7
2102
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 the debugger even in release mode it takes a second or so to load a 65k texture, with a 2ghz pc this is 10k instructions per pixel ! I cant understand what its doing here, can anyone shed any light on this ? I have the d3d debug turned off...
3
3142
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: http://msdn.microsoft.com/en-us/library/cb6t8dtz(VS.80).aspx You might also try a:
0
8863
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
8739
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,...
0
9238
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
9157
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
9088
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
5995
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();...
1
3207
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2602
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2147
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.