|
 |
aspx_beginners thread: Beginning ASP.Net - Getting Started - problems!
Message #1 by "Dominic Robinson" <Dominic.Robinson@b...> on Wed, 27 Feb 2002 10:31:15 -0000
|
|
This is a multi-part message in MIME format.
------=_NextPart_000_0001_01C1BF79.E5CEFC20
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
I have just started the book 'Beginning ASP.NET' and I am having
problems browsing to my first aspx page -
http://localhost/5040/ch01/punctual.aspx
I get the following error message:
************************************************************************
*
Beginning of error message
************************************************************************
*
Server Error in '/5040' Application.
------------------------------------------------------------------------
--------
Configuration Error
Description: An error occurred during the processing of a configuration
file required to service this request. Please review the specific error
details below and modify your configuration file appropriately.
Parser Error Message: File or assembly name Component1VB, or one of its
dependencies, was not found.
Source Error:
Line 3: <compilation>
Line 4: <assemblies>
Line 5: <add assembly="Component1VB" />
Line 6: </assemblies>
Line 7: </compilation>
Source File: C:\BegASPNET\web.config Line: 5
Assembly Load Trace: The following information can be helpful to
determine why the assembly 'Component1VB' could not be loaded.
Server Error in '/5040' Application.
------------------------------------------------------------------------
--------
Configuration Error
Description: An error occurred during the processing of a configuration
file required to service this request. Please review the specific error
details below and modify your configuration file appropriately.
Parser Error Message: File or assembly name Component1VB, or one of its
dependencies, was not found.
Source Error:
Line 3: <compilation>
Line 4: <assemblies>
Line 5: <add assembly="Component1VB" />
Line 6: </assemblies>
Line 7: </compilation>
Source File: C:\BegASPNET\web.config Line: 5
Assembly Load Trace: The following information can be helpful to
determine why the assembly 'Component1VB' could not be loaded.
LOG: Post policy reference: Component1VB
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.0.2914/Temporary%20ASP.NET
%20Files/5040/4d570175/604a0d1f/Component1VB.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.0.2914/Temporary%20ASP.NET
%20Files/5040/4d570175/604a0d1f/Component1VB/Component1VB.DLL.
LOG: Attempting download of new URL
file:///C:/BegASPNET/bin/Component1VB.DLL.
LOG: Attempting download of new URL
file:///C:/BegASPNET/bin/Component1VB/Component1VB.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.0.2914/Temporary%20ASP.NET
%20Files/5040/4d570175/604a0d1f/Component1VB.EXE.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.0.2914/Temporary%20ASP.NET
%20Files/5040/4d570175/604a0d1f/Component1VB/Component1VB.EXE.
LOG: Attempting download of new URL
file:///C:/BegASPNET/bin/Component1VB.EXE.
LOG: Attempting download of new URL
file:///C:/BegASPNET/bin/Component1VB/Component1VB.EXE.
*************************************************
End of error message
*************************************************
The book instructs readers to got to the Microsoft web site and
download MDAC and VB.Net. I did not do this as I assumed that my VS.Net
Beta 2 installation would include all files needed by VB.Net and
ASP.Net. Is this an incorrect assumption?
Please can someone help - I'm itching to get into ASP.NET asap!
Many thanks in anticipation
Dominic Robinson
Message #2 by "Chris Goode" <chrisg@w...> on Thu, 28 Feb 2002 12:42:24
|
|
Hi Dominic,
You need to open the file described in this error message,
c:\BegASPNET\Web.Config, and delete the line it's having trouble with.
That configuration file will come in handy when you get to the later
chapters, but for the moment, you should delete the following from the
fifth line of the file:
<add assembly="Component1VB" />
That should fix your problem.
hope that helps,
Chris
>
> I have just started the book 'Beginning ASP.NET' and I am having
> problems browsing to my first aspx page -
> http://localhost/5040/ch01/punctual.aspx
>
> I get the following error message:
>
....
> Configuration Error
> Description: An error occurred during the processing of a configuration
> file required to service this request. Please review the specific error
> details below and modify your configuration file appropriately.
>
> Parser Error Message: File or assembly name Component1VB, or one of its
> dependencies, was not found.
>
> Source Error:
>
>
> Line 3: <compilation>
> Line 4: <assemblies>
> Line 5: <add assembly="Component1VB" />
> Line 6: </assemblies>
> Line 7: </compilation>
>
>
> Source File: C:\BegASPNET\web.config Line: 5
>
|
|
 |