Parse Error with FileUpload

M

Mark Sandfox

What is wrong?

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 50: <td><b><font face="Arial">Select a file to
upload:</font></b></td>
Line 51: <td><b><font face="Arial">
Line 52: <asp:FileUpload ID="upFirstPhoto" Runat="Server"/>
Line 53: </font></b></td>
Line 54: </tr>

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

Paul Henderson

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.

You seem to be using ASP.NET 1.0/1.1 on your server - version 2.0 is
required for the FileUpload control.
 
M

Mark Sandfox

I just upgraded it, but i will do it again. I thought the version number
looked wrong.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,066
Latest member
VytoKetoReviews

Latest Threads

Top