B
BentleyInc
I wrote a DownloadRequestHandler to be used in http://server/DownloadDir and
I've made the correct IIS settings for DownloadDir.
Currently I'm having problem loading up some dependent assemblies. Here's my
web.config in the physical directory of DownloadDir.
Class myDownloadRequestHandler loads myRequestHandlers successfully but it
then complains it couldn't load myLogging. myLogg.dll does exist in
c:\inetpub\wwwroot\bin\.
Any ideas why it loads the first assembly but not the second one? I've
removed all the publicKeyToken tags so that it's less restrictive, but that
didn't help. I also viewed properties on myLogging.dll and the version is
1.0.0.0.
Any suggestions?
thanks,
Jingmei
Bentley Systems Inc.
<configuration>
<system.web>
<httpHandlers>
<add verb="GET" path="*" type="myDownloadRequestHandler,
myRequestHandlers, Version=1.0.0.0, Culture=neutral" />
</httpHandlers>
</system.web>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="myRequestHandlers"
culture="neutral" />
<codeBase version="1.0.0.0"
href="c:\inetpub\wwwroot\bin\myRequestHandlers.dll"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="myLogging"/>
<codeBase version="1.0.0.0"
href="c:\inetpub\wwwroot\bin\myLogging.dll"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>
I've made the correct IIS settings for DownloadDir.
Currently I'm having problem loading up some dependent assemblies. Here's my
web.config in the physical directory of DownloadDir.
Class myDownloadRequestHandler loads myRequestHandlers successfully but it
then complains it couldn't load myLogging. myLogg.dll does exist in
c:\inetpub\wwwroot\bin\.
Any ideas why it loads the first assembly but not the second one? I've
removed all the publicKeyToken tags so that it's less restrictive, but that
didn't help. I also viewed properties on myLogging.dll and the version is
1.0.0.0.
Any suggestions?
thanks,
Jingmei
Bentley Systems Inc.
<configuration>
<system.web>
<httpHandlers>
<add verb="GET" path="*" type="myDownloadRequestHandler,
myRequestHandlers, Version=1.0.0.0, Culture=neutral" />
</httpHandlers>
</system.web>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="myRequestHandlers"
culture="neutral" />
<codeBase version="1.0.0.0"
href="c:\inetpub\wwwroot\bin\myRequestHandlers.dll"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="myLogging"/>
<codeBase version="1.0.0.0"
href="c:\inetpub\wwwroot\bin\myLogging.dll"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>