Server Error in '/' Application.
--------------------------------------------------------------------------------Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: CS0433: The type 'ProfileCommon' exists in both 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8fb0cf6f\e0501efc\App_Code.4bv-fwxe.dll' and 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8fb0cf6f\e0501efc\assembly\dl3\6fa94b6a\9ebd48b3_7ae5c801\jingsan.DLL'Source Error: Line 118: }
Line 119:
Line 120: protected ProfileCommon Profile {
Line 121: get {
Line 122: return ((ProfileCommon)(this.Context.Profile));
Source File: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8fb0cf6f\e0501efc\App_Web_topusercontrol.ascx.c8a18792.bnkcx-po.0.cs Line: 120
为什么在本地正常的.一打包放到服务器上就会出错.如果放源代码都放上去.那么他就不会出这种错了.请各位高手解决..急
--------------------------------------------------------------------------------Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: CS0433: The type 'ProfileCommon' exists in both 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8fb0cf6f\e0501efc\App_Code.4bv-fwxe.dll' and 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8fb0cf6f\e0501efc\assembly\dl3\6fa94b6a\9ebd48b3_7ae5c801\jingsan.DLL'Source Error: Line 118: }
Line 119:
Line 120: protected ProfileCommon Profile {
Line 121: get {
Line 122: return ((ProfileCommon)(this.Context.Profile));
Source File: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\8fb0cf6f\e0501efc\App_Web_topusercontrol.ascx.c8a18792.bnkcx-po.0.cs Line: 120
为什么在本地正常的.一打包放到服务器上就会出错.如果放源代码都放上去.那么他就不会出这种错了.请各位高手解决..急
解决方案 »
- 如何设置解决方案,使得两个exe按设定次序运行
- 求助
- 纯语言问题:《C#本质论》(第二版)中关于Orderby和Thenby顺序调用时的一处疑问
- 读取数据库绑定到Treeview的问题,求高手指点
- winform,如何在DataGrid中删除当前选中的记录?
- 下载文件时就弹出输入网络口令窗口,要求输入用户名和密码.
- pop协议程序请教
- linq to Entity的使用和存储过程的对比。。。高手来看看。。
- 求助,关于窗体!
- 再加一个Inside_c#英文版电子书的url!
- 网站地图能不能不用aspx页面?
- 第一次发贴,求教个奇怪的问题,困扰好久了,是关于HTTPS的SSL证书问题的,达人帮忙看下吧
有篇文章
http://www.cnblogs.com/huobazi/archive/2007/06/06/HowToUserProfileInWebSiteProjectInVs2005Sp1.html
希望对你有用.