DotNet and SDK install issue

M

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
 
M

Mark Fitzpatrick

You need to make sure that the web application is using the 2.0 version of
the framework. You can set this through the IIS MMC, then setting the
ASP.Net version on the properties dialog for the web application. Your
application is using the 1.1 framework for that web and just needs to be set
to use the 2.0 framework. The 2.0 framework is designed so that it just
doesn't automatically take over every application since it could break
existing web applications.

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - FrontPage
 

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,995
Messages
2,570,226
Members
46,815
Latest member
treekmostly22

Latest Threads

Top