How do I know if the correct .NET platform is installed?

I am a developer and am trying to create a very simple "Hello World" .NET 3.5 web application. However, whenever I publish the code, I get the following error.

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 the assembly 'App_Web_default.aspx.cdcab7d2'. Make sure that it is compiled before accessing the page.

Source Error: 


Line 1:  <%@ page language="C#" autoeventwireup="true" inherits="_Default, App_Web_default.aspx.cdcab7d2" %>
Line 2:  
Line 3:  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

Here are the steps I'm taking.

  • Open VS2008 and create a new website using C # and the .NET Framework 3.5.
  • Update Default.aspx to say "Hello World"
  • Make the following changes to web.config ** add <customErrors mode="Off"/> ** comment<authentication mode="Windows" />
  • Publish a site by checking the boxes for "Allow updating this precompiled site" and "Use fixed names and individual sites"

What I would like to know is what I am doing wrong or something that our network administrator has installed incorrectly.

- , /bin?

+3
5

, , . , , bin . .

0

, , , - ASP.NET. Framework :

: Microsoft.NET Framework: 2.0.50727.3053; ASP.NET: 2.0.50727.3053

+3

. , -, :

, .net , :

C:\Windows\Microsoft.NET\Framework

, :

v1.0.3705
v1.1.4322
v2.0.50727
v3.0
v3.5

IIS .net 2.0, aspnet_regiis .net IIS:

C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis -i

, IIS v1.1.4322 v2.0.50727 (.net v3 v3.5 v2.0). v2.0.50727.

You will also want to make sure that the account of your web application is working (usually the network service on the servers) has the correct permissions in the folder containing the files of your web application (reading should be sufficient for your test).

0
source

Source: https://habr.com/ru/post/1709673/


All Articles