Reputation: 575
When I transfer my project to a server, I now get this error message. What does it mean and how do I fix it?
Server Error in '/HD' 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 'HD._Default'.
Source Error:
Line 1: <%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Default.aspx.vb" Inherits="HD._Default" %>
Line 2:
Line 3: <%@ Register Assembly="FormControls" Namespace="FormControls" TagPrefix="FC" %>
Source File: /helpdeskform/HD/default.aspx Line: 1
Upvotes: 0
Views: 4390
Reputation: 499072
The @Page
directive included this attribute: Inherits="HD._Default"
.
This means that there is a class _Default
in the HD
namespace associated with this page.
The error means that this class cannot be found.
A fix depends on how the site is setup and deployed:
I prefer using the deployment tool - you can deploy to a local folder to ensure all dependencies are there, then upload to a server if you are not comfortable or able to use the direct to server options.
Upvotes: 1