M
mqsash
Hi,
I have a simple C# assembly ( .dll ) which I deployed
through an HTML.The complete assembly is as simple as this
using System;
using System.Windows.Forms;
namespace testAssemblyNS
{
public class Class1
{
public Class1()
{
MessageBox.Show("ctor");
}
}
}
here is the complete html
<html> <body >
<OBJECT ID="myAssembly"
classid="testAssembly.dll#testAssemblyNS.Class1">
</OBJECT>
testAssembly
</body> </html>
When I invoke the html page, everything works fine, I see
the "ctor" messagebox. YET the "Assembly Binding Log
Viewer" (Fuslogw) shows the following error, any idea why?
Is there really something wrong?
----------------------------------------------------------
*** Assembly Binder Log Entry (12/3/2003 @ 11:24:46 AM)
***
The operation failed.
Bind result: hr = 0x80070002. The system cannot find the
file specified.
Assembly manager loaded from:
C:\WINNT\Microsoft.NET\Framework\v1.1.4322\fusion.dll
Running under executable C:\Program Files\Internet
Explorer\iexplore.exe
--- A detailed error log follows.
=== Pre-bind state information ===
LOG: DisplayName = testAssembly, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=null
(Fully-specified)
LOG: Appbase = http://samir2k
LOG: Initial PrivatePath = bin
LOG: Dynamic Base = NULL
LOG: Cache Base = NULL
LOG: AppName = NULL
Calling assembly : (Unknown).
===
LOG: Processing DEVPATH.
LOG: DEVPATH is not set. Falling through to regular bind.
LOG: Policy not being applied to reference at this time
(private, custom, partial, or location-based assembly
bind).
LOG: Post-policy reference: testAssembly, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=null
LOG: Attempting download of new URL
http://samir2k/testAssembly.DLL.
LOG: Attempting download of new URL
http://samir2k/testAssembly/testAssembly.DLL.
LOG: Attempting download of new URL
http://samir2k/bin/testAssembly.DLL.
LOG: Attempting download of new URL
http://samir2k/bin/testAssembly/testAssembly.DLL.
LOG: Attempting download of new URL
http://samir2k/testAssembly.EXE.
LOG: Attempting download of new URL
http://samir2k/testAssembly/testAssembly.EXE.
LOG: Attempting download of new URL
http://samir2k/bin/testAssembly.EXE.
LOG: Attempting download of new URL
http://samir2k/bin/testAssembly/testAssembly.EXE.
LOG: All probing URLs attempted and failed.
I have a simple C# assembly ( .dll ) which I deployed
through an HTML.The complete assembly is as simple as this
using System;
using System.Windows.Forms;
namespace testAssemblyNS
{
public class Class1
{
public Class1()
{
MessageBox.Show("ctor");
}
}
}
here is the complete html
<html> <body >
<OBJECT ID="myAssembly"
classid="testAssembly.dll#testAssemblyNS.Class1">
</OBJECT>
testAssembly
</body> </html>
When I invoke the html page, everything works fine, I see
the "ctor" messagebox. YET the "Assembly Binding Log
Viewer" (Fuslogw) shows the following error, any idea why?
Is there really something wrong?
----------------------------------------------------------
*** Assembly Binder Log Entry (12/3/2003 @ 11:24:46 AM)
***
The operation failed.
Bind result: hr = 0x80070002. The system cannot find the
file specified.
Assembly manager loaded from:
C:\WINNT\Microsoft.NET\Framework\v1.1.4322\fusion.dll
Running under executable C:\Program Files\Internet
Explorer\iexplore.exe
--- A detailed error log follows.
=== Pre-bind state information ===
LOG: DisplayName = testAssembly, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=null
(Fully-specified)
LOG: Appbase = http://samir2k
LOG: Initial PrivatePath = bin
LOG: Dynamic Base = NULL
LOG: Cache Base = NULL
LOG: AppName = NULL
Calling assembly : (Unknown).
===
LOG: Processing DEVPATH.
LOG: DEVPATH is not set. Falling through to regular bind.
LOG: Policy not being applied to reference at this time
(private, custom, partial, or location-based assembly
bind).
LOG: Post-policy reference: testAssembly, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=null
LOG: Attempting download of new URL
http://samir2k/testAssembly.DLL.
LOG: Attempting download of new URL
http://samir2k/testAssembly/testAssembly.DLL.
LOG: Attempting download of new URL
http://samir2k/bin/testAssembly.DLL.
LOG: Attempting download of new URL
http://samir2k/bin/testAssembly/testAssembly.DLL.
LOG: Attempting download of new URL
http://samir2k/testAssembly.EXE.
LOG: Attempting download of new URL
http://samir2k/testAssembly/testAssembly.EXE.
LOG: Attempting download of new URL
http://samir2k/bin/testAssembly.EXE.
LOG: Attempting download of new URL
http://samir2k/bin/testAssembly/testAssembly.EXE.
LOG: All probing URLs attempted and failed.