R
Richard Lionheart
Hi All,
I'm trying to run the third example in Chap. 8 (Custom Controls) of
Prosise's "Programming Microsoft .NET". He provided a directory Hello1
containing two files
- Hello1.aspx
- Hello1.cs
and a "bin" directory containing Hello.dll.
I copied the Hello1 directory to www.root, renamed it
TestCustomControl_Hello1 to and ran
http://localhost/TestCustomControl_Hello1/Hello1.aspx in Firefox and IE
browsers. They returned identical results error messages shown below,
apparently indicating the browser couldn't find the assembly referenced on
line 2. But the Hello.dll in the bin directory is indeed an assembly if
ILDASM.exe is to be believed.
Any ideas about what's wrong?
--
Thanks in Advance,
Richard
================= Error Message ===================
Description: An error occurred during the parsing of a resource required to
service this request. Please review the following specific parse error
details and modify your source file appropriately.
Parser Error Message: File or assembly name HelloControl, or one of its
dependencies, was not found.
Source File: f:\inetpub\wwwroot\TestCustomControl_Hello1\Hello1.aspx
Line: 1
Assembly Load Trace: The following information can be helpful to determine
why the assembly 'HelloControl' could not be loaded.
=== Pre-bind state information ===
LOG: DisplayName = HelloControl
(Partial)
LOG: Appbase = file:///f:/inetpub/wwwroot
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===
[snip]
I'm trying to run the third example in Chap. 8 (Custom Controls) of
Prosise's "Programming Microsoft .NET". He provided a directory Hello1
containing two files
- Hello1.aspx
- Hello1.cs
and a "bin" directory containing Hello.dll.
I copied the Hello1 directory to www.root, renamed it
TestCustomControl_Hello1 to and ran
http://localhost/TestCustomControl_Hello1/Hello1.aspx in Firefox and IE
browsers. They returned identical results error messages shown below,
apparently indicating the browser couldn't find the assembly referenced on
line 2. But the Hello.dll in the bin directory is indeed an assembly if
ILDASM.exe is to be believed.
Any ideas about what's wrong?
--
Thanks in Advance,
Richard
================= Error Message ===================
Description: An error occurred during the parsing of a resource required to
service this request. Please review the following specific parse error
details and modify your source file appropriately.
Parser Error Message: File or assembly name HelloControl, or one of its
dependencies, was not found.
Source File: f:\inetpub\wwwroot\TestCustomControl_Hello1\Hello1.aspx
Line: 1
Assembly Load Trace: The following information can be helpful to determine
why the assembly 'HelloControl' could not be loaded.
=== Pre-bind state information ===
LOG: DisplayName = HelloControl
(Partial)
LOG: Appbase = file:///f:/inetpub/wwwroot
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===
[snip]