I am working on a project with another developer using C#, .NET 3.5. We have come across a problem where the code works on my machine, but when it is ran on his we get the following 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 '._Default'.
The actual header from Default.aspx looks as follows:
<%@ Page Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="<myApplication>._Default" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
We have tried the following so far:
- Undoing any changes he had made so he had the last server version
- Clearing browser cache
- Resetting IIS
When that didn't work we even went so far as to remove his version of the website from his local machine and reload it directly from TFS. That didn't work either...
This problem only happened late yesterday afternoon - prior to that it was working correctly. He had made some changes but nothing that should have caused this and especially considering he has the latest version from TFS (which works on my machine) then I can't understand how it isn't working.
One other thing is that if we publish it to the website from his machine then it works, so it certainly suggests an issue at his end, but I am at a loss as to what it could be.