ASP.NET
WebApiApplication error in global.asax when deploying to IIS 7
Gravatar is a globally recognized avatar based on your email address. WebApiApplication error in global.asax when deploying to IIS 7
  n/a
  All
  Oct 30, 2014 @ 08:54am
I've developed a prototype using ASP.NET MVC4 with AngularJs, and now attempting to deploy to IIS; however I'm getting a "Parser Error"

Here is the error text, also in screen shot below :

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 'RageSys.WebApiApplication'.

Source Error:


Line 1: <%@ Application Codebehind="Global.asax.cs" Inherits="RageSys.WebApiApplication" Language="C#" %>

Source File: /global.asax Line: 1

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.17929

My server VM specs are :

Windows 2008 Server R2 Enterprise, SP1
AMD Opteron Processor 6276
15.6GB RAM

And in IIS 7.5, my website's application pool is set to .Net Framework v4.0.30319


UPDATE:

I copied the website's DLL file over to the BIN folder, and my website came up !

© 1996-2024