By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,466 Members | 1,309 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,466 IT Pros & Developers. It's quick & easy.

Problems with embedded dotNET control in IE

P: n/a
I have a question regarding embedded controls in IE. We are looking to
replace a small VB ActiveX control with something written in C#. We have
written the control and it instantiates correctly in IE using the <object>
tag. My question is this. When the browser visits the pages and requests
the object from the server, it appears to be making many unnecessary
requests for configuration files and resources files as well. I am using
the ieHTTPHeaders program, and here is what I am observing:

<snip>
GET urlhere/zmRawClient.dll HTTP/1.1
Accept: */*
Referer: https://URL
Accept-Language: en-us
Accept-Encoding: gzip, deflate
If-Modified-Since: Fri, 06 Feb 2004 22:01:44 GMT
If-None-Match: "802abbcefcecc31:994"
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR
1.0.3705; .NET CLR 1.1.4322)
Connection: Keep-Alive

HTTP/1.1 304 Not Modified
Server: Microsoft-IIS/5.0
Date: Mon, 09 Feb 2004 12:00:00 GMT
ETag: "802abbcefcecc31:994"
Content-Length: 0
GET /en-US/zmRawClient.resources.DLL HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR
1.0.3705; .NET CLR 1.1.4322)
Connection: Keep-Alive

HTTP/1.1 404 Object Not Found
Server: Microsoft-IIS/5.0
Date: Mon, 09 Feb 2004 12:16:01 GMT
Connection: close
Content-Length: 4040
Content-Type: text/html
GET /en-US/zmRawClient.resources/zmRawClient.resources.DLL HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR
1.0.3705; .NET CLR 1.1.4322)
Connection: Keep-Alive

HTTP/1.1 403 Forbidden
Server: Microsoft-IIS/5.0
Date: Mon, 09 Feb 2004 12:16:01 GMT
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 1528
GET /bin/en-US/zmRawClient.resources.DLL HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR
1.0.3705; .NET CLR 1.1.4322)
Connection: Keep-Alive

HTTP/1.1 403 Access Forbidden
Server: Microsoft-IIS/5.0
Date: Mon, 09 Feb 2004 12:16:01 GMT
Connection: close
Content-Length: 4214
Content-Type: text/htm
GET /bin/en-US/zmRawClient.resources/zmRawClient.resources.EXE HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR
1.0.3705; .NET CLR 1.1.4322)
Connection: Keep-Alive

HTTP/1.1 403 Access Forbidden
Server: Microsoft-IIS/5.0
Date: Mon, 09 Feb 2004 12:18:26 GMT
Connection: close
Content-Length: 4126
Content-Type: text/html
</snip>

Additionally, the IIS log file also shows repeated requests for these files:
(Watch for wrapping)
<snip>
2004-02-09 12:16:01 192.168.3.5 - 192.168.3.21 443 GET
/en-US/zmRawClient.resources.DLL - 404
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+.NET+CL R+1.0.3705;+.NET+C
LR+1.1.4322)
2004-02-09 12:16:01 192.168.3.5 - 192.168.3.21 443 GET
/en-US/zmRawClient.resources - 403
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+.NET+CL R+1.0.3705;+.NET+C
LR+1.1.4322)
2004-02-09 12:16:01 192.168.3.5 - 192.168.3.21 443 GET
/bin/en-US/zmRawClient.resources.DLL - 403
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+.NET+CL R+1.0.3705;+.NET+C
LR+1.1.4322)
2004-02-09 12:16:01 192.168.3.5 - 192.168.3.21 443 GET
/bin/en-US/zmRawClient.resources - 403
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+.NET+CL R+1.0.3705;+.NET+C
LR+1.1.4322)
2004-02-09 12:16:01 192.168.3.5 - 192.168.3.21 443 GET
/en-US/zmRawClient.resources.EXE - 404
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+.NET+CL R+1.0.3705;+.NET+C
LR+1.1.4322)
</snip>

I have no idea why these requests are being made, or if I can do anything to
stop them. The requests also happen with EVERY visit to the page that hosts
the object, not just the first visit. This object is heavily used in our
system, and for users that do not have a high speed connection the delay in
instantiating the client while requesting these non-existent files makes an
embedded control a problem, especially given that this delay happens with
every page visit. A rough count of requests from the IIS log files show one
request for the correct DLL and then 45+ additional requests for
non-existent files.

Has anyone else seen this behavior? Is there anything I can do to stop it?

Nov 15 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.