Home All Groups Group Topic Archive Search About
Author
19 Jan 2006 10:55 PM
Mark Sandfox
I am running a 2003 webserver that has DotNet 1.1 installed.  I have tried
several times to install DotNet FrameWork 2.0 and the SDK.  Although the
programs are there they are not recognized by the FileUpload Control and I
get the following error.


Server Error in '/' Application.
--------------------------------------------------------------------------------

Parser Error
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: Could not load type
System.Web.UI.WebControls.FileUpload from assembly System.Web,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a.

Source Error:

Line 52:             <td><b><font face="Arial">Select a file to
upload:</font></b></td>
Line 53:             <td><b><font face="Arial">
Line 54:             <asp:FileUpload ID="upFirstPhoto" Runat="Server"/>
Line 55:             </font></b></td>
Line 56:           </tr>

Source File: C:\Inetpub\wwwroot\SharpAutoBody\test_page.aspx    Line: 54


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET
Version:1.1.4322.2300

Author
20 Jan 2006 2:17 AM
Christopher Reed
You need to go into IIS, right click on this application and select
Properties.  In the Properties dialog, click on the ASP.NET tab.  You
probably still have this application configured for 1.1, so change it to
2.0.  Then your application will work.
--
Christopher A. Reed
"The oxen are slow, but the earth is patient."

Show quoteHide quote
"Mark Sandfox" <NoSpam@NoSpam.com> wrote in message
news:BNUzf.701$2O6.51@newssvr12.news.prodigy.com...
>I am running a 2003 webserver that has DotNet 1.1 installed.  I have tried
> several times to install DotNet FrameWork 2.0 and the SDK.  Although the
> programs are there they are not recognized by the FileUpload Control and I
> get the following error.
>
>
> Server Error in '/' Application.
> --------------------------------------------------------------------------------
>
> Parser Error
> 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: Could not load type
> System.Web.UI.WebControls.FileUpload from assembly System.Web,
> Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a.
>
> Source Error:
>
> Line 52:             <td><b><font face="Arial">Select a file to
> upload:</font></b></td>
> Line 53:             <td><b><font face="Arial">
> Line 54:             <asp:FileUpload ID="upFirstPhoto" Runat="Server"/>
> Line 55:             </font></b></td>
> Line 56:           </tr>
>
> Source File: C:\Inetpub\wwwroot\SharpAutoBody\test_page.aspx    Line: 54
>
>
> --------------------------------------------------------------------------------
> Version Information: Microsoft .NET Framework Version:1.1.4322.2300;
> ASP.NET
> Version:1.1.4322.2300
>