0

i'm trying to add asp.net feature on windows 7 i tried to turn it on using turn windows features on or off but it fails every time

so i download web platform installer and try it that way and it fails also

next i uninstall .net framework 4 restart again! and reinstall it and try again the previous steps but it fails the same

i need this installed so i can view it on iis7

anyone know what i can do with this to get it working i've searched and searched and everything fails

i get this error on the web platform installer Failed with 0x80070643 – Fatal Error during installation

please help i cant do my work with out it working :(

ok i did a few things now get this error

Server Error in '/pulse' 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 'pulsesite.MvcApplication'.

Source Error: Line 1: <%@ Application Codebehind="Global.asax.vb" Inherits="pulsesite.MvcApplication" Language="VB" %>

Source File: /pulse/global.asax Line: 1 Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET

Version:4.0.30319.1

i know its ust about changing the code but i'm not good with c# anyone know how?

8
  • what are you trying to install with "web platform installer" that give you that error? What windows 7 do you have?
    – Shadow Wizard
    Nov 23, 2010 at 12:50
  • asp.net im trying to install as it would not work on windows features im using windows 7 64bit home premium
    – sam
    Nov 23, 2010 at 13:00
  • @sam - You can't install ASP.NET - you can install IIS or .NET framework. so which of those is it? Also, did you follow the exact steps described here? technet.microsoft.com/en-us/library/cc731911.aspx
    – Shadow Wizard
    Nov 23, 2010 at 13:05
  • iis is installed by those steps the trouble is enabling asp.net in windows features
    – sam
    Nov 23, 2010 at 13:07
  • 1
    @sam your new error is 100% different issue please start new question.
    – Shadow Wizard
    Nov 23, 2010 at 15:03

3 Answers 3

1

this might help somebody else... I just spent 10 minutes trying to figure out this same issue.

Check if your project is actually marked for Build in Configuration Manager. For some reason my MVC4 project was not checked.

0

You might wanna register asp.net with iis. So install iis using the features and then execute the command "aspnet_regiis.exe -i" with the Visual Studio Command Prompt.

3
  • ok i did that and it says aspnet_regiis.exe -i is not recognised as and internal or external sommand operable program or batch file???
    – sam
    Nov 23, 2010 at 12:56
  • Try navigating to the folder "C:\Windows\Microsoft.NET\Framework\v4.0.30319" with the VS Command Prompt. It's located in that folder.
    – Fabian
    Nov 23, 2010 at 13:28
  • says the samething as before
    – sam
    Nov 23, 2010 at 13:31
0

Check the System Event log for ASP.NET and related events. Then you can confidently search the web for information on the relevant errors you find.

Also, the path to the ASP.NET 4.0 IIS tool is:

%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -i

Another method is to browse to the v4.0.30319 directory and find the file. If you can find it, hold down the shift key and right-click aspnet_regiis.exe. Choose copy as path, then paste into the command prompt with the -i flag. If it isn't in the directory, you have other problems. ;)

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .