Localizaion problem of embedded Windows User Control in IE

Hallo, I have a small localization problem. My Application My.dll will be loaded in IE
Here the html code:
<html>
<head>
<link rel="Configuration" href="http://myserver/mycontext/My.dll.config"/>
...
</head>
<body>
<object id="My" width="230" height="150" classid="http:My.dll#My.MainCtrl" VIEWASTEXT/>
...
</body>
</html>

The application will be loaded and it's running without problems.
But, while loading of dll the .NET Framework sends a lot of invalid get requests, here the log entries:

"GET /mycontext/de-DE/mscorlib.resources.DLL HTTP/1.1" 404 779
"GET /mycontext/de-DE/mscorlib.resources/mscorlib.resources.DLL HTTP/1.1" 404 836
"GET /mycontext/bin/de-DE/mscorlib.resources.DLL HTTP/1.1" 404 791
"GET /mycontext/bin/de-DE/mscorlib.resources/mscorlib.resources.DLL HTTP/1.1" 404 848
"GET /mycontext/de-DE/mscorlib.resources.EXE HTTP/1.1" 404 779
"GET /mycontext/de-DE/mscorlib.resources/mscorlib.resources.EXE HTTP/1.1" 404 836
"GET /mycontext/bin/de-DE/mscorlib.resources.EXE HTTP/1.1" 404 791
"GET /mycontext/bin/de-DE/mscorlib.resources/mscorlib.resources.EXE HTTP/1.1" 404 848
"GET /mycontext/de/mscorlib.resources.DLL HTTP/1.1" 404 770
"GET /mycontext/de/mscorlib.resources/mscorlib.resources.DLL HTTP/1.1" 404 827
"GET /mycontext/bin/de/mscorlib.resources.DLL HTTP/1.1" 404 782
"GET /mycontext/bin/de/mscorlib.resources/mscorlib.resources.DLL HTTP/1.1" 404 839
"GET /mycontext/de/mscorlib.resources.EXE HTTP/1.1" 404 770
"GET /mycontext/de/mscorlib.resources/mscorlib.resources.EXE HTTP/1.1" 404 827
"GET /mycontext/bin/de/mscorlib.resources.EXE HTTP/1.1" 404 782
"GET /mycontext/bin/de/mscorlib.resources/mscorlib.resources.EXE HTTP/1.1" 404 839

16 invalid GET requests!!!!

The problem of these invalid requests is the performance, the requests need 2-4 seconds.
They are the performancekiller of my applictaion.
What kind of solution exits for this problem

After installation of language pack (German) for .NET 1.1, there are 8 invalid requests but the same timespan (2-4 sec).

Here shortly description of OS, application etc.
OS: WinXP Prof. German;
.Net Framework 1.1 english;
My.dll: Localizable = False; Language = Default;
html-context: see above
My.dll.config:
<configuration>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="My" culture=""/>
<codeBase href="http://myserver/mycontext/My.dll"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>

The application will be loaded in IE, the dll's and configfile will be donwloaded from the server:
"GET /mycontext/My.dll HTTP/1.1" 200 1003520
"GET /mycontext/My.dll.config HTTP/1.1" 200 556
these requests are ok but not the next 16 invalid GET Requests (see above).

Can somebody help me

best regards

klaser123



Answer this question

Localizaion problem of embedded Windows User Control in IE

  • msauper

    I think you don't have to use

    <link rel="Configuration" href="http://myserver/mycontext/My.dll.config"/>
    since you only use one assembly "My.dll".

    when you use <object id="My" width="230" height="150" classid="http:My.dll#My.MainCtrl" VIEWASTEXT/> the IE can automaticly load your dll .


  • Delphi

    Hallo,

    I need the config file because I have a several appendend dll's which will be loaded also. The config file My.dll.config contains the storage place of these dll's.

    Any other ideas

    best regards


  • bigrockshow

    I have another way to work out this problem .But it's a little complex. You can contact me on MSN: yukuai1981@hotmail.com
  • Localizaion problem of embedded Windows User Control in IE