The type '' exists in both 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET

Hey guys,

today I ran over this bug in our ASP .Net WebApplication.

After hours of searching and trying every solution which has been described in the www, the error was still there.

Then I have an idea, we have added a new ashx file. This file was named Handler1.ashx, a user renamed this to Handler23 but only the reference in the *.ashx.cs file were updated.

Not the directive in the *.ashx file.

<%@ WebHandler Language="C#" CodeBehind="Handler23.ashx.cs" Class="WebApplication.Handler1" %>

So I have manually edit this file so that the class name match the renamed name of the handler.

And now the error is gone!!

 

greets

 


Posted Nov 25 2008, 01:28 PM by Nadine Storandt
Filed under: ,

Comments

ahmed wrote re: The type '' exists in both 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
on 05-12-2011 0:53

i have the same problem

developers.de is a .Net Community Blog powered by daenet GmbH.