我不明白的错误 [英] error i can not understand

查看:115
本文介绍了我不明白的错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

类型``User_Home''同时存在于``c:\ Windows \ Microsoft.NET \ Framework \ v2.0.50727 \ Temporary ASP.NET Files \ ffw \ 07cb83d5 \ c6e6c24 \ assembly \ dl3 \ 39bde011 \ 506aec24_9b2ecd01 \ App_Web_quvrjthf.DLL''和``c:\ Windows \ Microsoft.NET \ Framework \ v2.0.50727 \临时ASP.NET文件\ ffw \ 07cb83d5 \ c6e6c24 \ assembly \ dl3 \ 886bc408 \ 174e2a25_9b2ecd01 \ App_Web_cpo00dwi.DLL'' />
在IIS服务器中部署asp.net的网站后出现错误.所有页面都能正常工作,但一页会出现上述错误.


问候...
Mitesh

The type ''User_Home'' exists in both ''c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\ffw\07cb83d5\c6e6c24\assembly\dl3\39bde011\506aec24_9b2ecd01\App_Web_quvrjthf.DLL'' and ''c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\ffw\07cb83d5\c6e6c24\assembly\dl3\886bc408\174e2a25_9b2ecd01\App_Web_cpo00dwi.DLL''

error comes after the deploy the website of asp.net in IIS server. all pages work fine but in one page gives error like above.


Regards...
Mitesh

推荐答案

类似的问题,提供了几种解决方案,请尝试:
类型''''同时存在于''''和'''' [ ^ ]
[ ^ ]
Similar issue, couple of solutions provided, try out:
The type '''' exists in both '''' and ''''[^]
Where does error CS0433 "Type ''X'' already exists in both A.dll and B.dll " come from?[^]


当存在两个不同页面的相同公共部分类(.cs页面顶部)的名称(可能是您已重命名该页面)时,就会出现此错误.

重命名类名也与页面名相同...


肯定可以..
This error comes, when there is a same public partial class(top in .cs page) name of two different pages(might be you renamed the page).

rename the class name also same as the page name...


it will definitely work..


这篇关于我不明白的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆