C# – Error when publishing .NET c# application

cdeploymentframeworksnetpublish

It has been two days and I haven't been able to make this application work in the hosting computer. This application is in a subdirectory and is written in C# the other application is C#. It work just fine down here in my development computer. I have been trying the following.

  1. 1.I made the changes to the web.config so it doesn't conflict.
    (seems to be fine)
  2. When I created the application was created with Version 3.5. I downgrade to 2.0
  3. I have been recompiling, being sure that the .aspx file and the .cs file it's under the directory.
    Waht Am I missing.

Any ADVISE/Comments or questions please let me know. This is frustrating. Below is the link and the error I get

http://www.martinesexpress-inc.com/PhoneControl/Default.aspx

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 'ElLogPh._Default'.

Source Error:

Line 1: <%@ Page Language="C#"
AutoEventWireup="true"
CodeBehind="Default.aspx.cs"
Inherits="ElLogPh._Default" %>
Line 2:

Line 3:
Source File: /PhoneControl/Default.aspx Line: 1
Version Information: Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET
Version:2.0.50727.3053

Best Answer

You're publishing to a sub directory (PhoneControl) of the application root (http://www.martinesexpress-inc.com/). If PhoneControl is not an application in IIS, then it will won't look for assemblies in http://www.martinesexpress-inc.com/PhoneControl/bin but http://www.martinesexpress-inc.com/bin.