Portal Home > Knowledgebase > Articles Database > Get Error like Could not load type


Get Error like Could not load type




Posted by rajuchandran, 06-01-2007, 08:01 AM
Hi, When i upload my site directly it works fine,when create directory named demo and put my files there it is not working,ie www.domainname.com/demo/index.aspx it gives the error like 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 'EPHD.Index'. Source Error: Line 1: <%@ Page language="c#" Codebehind="Index.aspx.cs" AutoEventWireup="false" Inherits="EPHD.Index" %>Line 2: Line 3:

Posted by TCP/IP Warrior, 06-01-2007, 10:58 AM
Two things you can try: 1) Recompile your web project in VS to include the /demo folder. 2) Make the /demo folder an application root in IIS. Good luck.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
syn flood - help (Views: 482)
question (Views: 517)