CS0433 - Type 'Resources.Labels' Exists In Both?
Jan 24, 2011
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS0433: The type 'Resources.Labels' exists in both 'c:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary ASP.NET Files
ootd9ace1d695732362assemblydl398f3595ee41180f9_c5bbcb01App_GlobalResources.DLL'
and 'c:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary ASP.NET Files
ootd9ace1d695732362App_GlobalResources.btptzh7p.dll'
Source Error:
[Code]....
Source File: c:HostingSpacessamplesample.comwwwrootApp_CodeMJXWebUIWebControlsValidationSummary.cs Line: 69
View 4 Replies
Similar Messages:
Dec 2, 2010
I just upgraded my blog [URL] to BlogEngine 1.6.1 (from 1.6.0) in order to use the reCaptcha extension. I upgraded my local code from 1.6.0 to 1.6.1, then published via FTP through WebMatrix. After the upgrade, I am getting this error:
Compiler Error Message: CS0433:
The type 'Resources.labels' exists in both
'c:windowsMicrosoft.NETFrameworkv2.0.50727Temporary ASP.NET Files
oot9fd92f8745a2ba06assemblydl3a64307f6f14811b8_0291cb01App_GlobalResources.DLL'
and
'c:windowsMicrosoft.NETFrameworkv2.0.50727Temporary ASP.NET Files
oot9fd92f8745a2ba06App_GlobalResources.md7pit6m.dll'
The source file and line number where it breaks varies, but it is always the same basic message. What differs is the "md7pt66m" section of the App_GlobalResources.md7pit6m.dll (the second file path in the error message). I was able to fix the error locally by deleting the Temporary ASP.NET Files, but I can't do this on my hosting server (GoDaddy). Is there something I can do to fix the error? Based on suggestions from the codeplex discussion page, I have edited web.config file in order to cycle the app pool, and renamed BlogEngine.Core.dll to BlogEngine.Core2.dll and then back in order to restart the blog. I have also added batch="false" to the <compilation> tag in web.config (based on this post). I have turned custom errors off, so you can see the error on my site now.
View 1 Replies
Dec 6, 2010
I have been reading many other posts on this and can not find the resolution to my issue. My problem is that i'm trying to create a visual studio project for a application that was created years ago with no project. So I have a class file in the app_code directory and I have set it's build action to "Compile" because one of my aspx pages did not find the class that was being accessed. After doing this and running the application I get the CS0433: The type '*********' exists in both error. Both paths go through the temp asp net files. The developer of this app has this call in a aspx page
MyUtils utils = new MyUtils();
Then in the global.asax he has
MyUtils Util = new MyUtils(); This is where the error occurs.
View 1 Replies
Mar 24, 2011
In a MVC2 project I moved a file from App_code to Content folder, compile it. Then move it back again to App_Code and then changer its Build Action to "Compile". Now I get this error and I don't know how to fix this to make my program work again:
CS0433: The type 'Helper' exists in both 'c:Users...AppDataLocalTempTemporary ASP.NET Files oot00d4b7d2553f9cApp_Code.zowyklar.dll' and 'c:Users...AppDataLocalTempTemporary ASP.NET Files oot00d4b7d2553f9cassemblydl35c6d353719f85663_cde9cb01MyProject.DLL'
View 1 Replies
May 19, 2010
I have started getting this very strange error first on the development server and then on production and almost out of ideas,
Platform:
Windows 2003 sp2
ASP.NET 2.0
IIS 6.0
No Ajax on the page.
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 'ASP.pdfcalendar2_ascx' exists in both 'c:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary ASP.NET Filesepwfactivator4018c8c986d178b5App_Web_qtq_qvda.dll' and 'c:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary
ASP.NET Filesepwfactivator4018c8c986d178b5App_Web_zcht2x1u.dll'
Source Error:
[Code]....
Source File: c:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary ASP.NET Filesepwfactivator4018c8c986d178b5App_Web_searchcriteria.aspx.cdcab7d2.uuer7iw7.0.cs
Line: 1022
View 3 Replies
Jan 10, 2011
I am using VS 2010 with an ASP.Net web application (FW: 3.5). When I run the app in VS, I get the following message:
c:WindowsMicrosoft.NETFrameworkv2.0.50727Temporary ASP.NET Files
oote7d09027703efd1App_Web_commandmodule.aspx.98f065d9.hwdz-ui2.0.cs(150): error CS0433: The type 'ASP.commandmodule_command_master' exists in both 'c:WindowsMicrosoft.NETFrameworkv2.0.50727Temporary
ASP.NET Files
oote7d09027703efd1App_Web_command.master.98f065d9.5f4zhfs0.dll' and 'c:WindowsMicrosoft.NETFrameworkv2.0.50727Temporary ASP.NET Files
oote7d09027703efd1App_Web_ltl_wu4_.dll'
I have deleted the temporary files/folders and as soon as I run the app, I get the same message and the files reappear. This is a show stopper and I do not know where to turn. I have searched the web, but the only thing I found was suggestion to delete the folders, which did not work.
View 3 Replies
Aug 1, 2010
I upgraded my web application from visual studio 2003 to 2008. When I want to create a report in visual studio 2008 and receiving this error at runtime. I am able to compile but when runnning thats when I am getting this error. How can I solve this problem?
Server Error in '/IRPSDEV' 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 'CrystalDecisions.Web.CrystalReportViewer' exists in both
'c:WINDOWSassemblyGAC_MSILCrystalDecisions.Web10.5.3700.0__692fbea5521e1304CrystalDecisions.Web.dll' and 'c:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary
ASP.NET Filesirpsdev9e97e0a994a2ecdassemblydl3151eb571�0df56e1_6064c201CrystalDecisions.Web.DLL'
Source Error:
[Code]....
Line 161:
Line 162: [System.Diagnostics.DebuggerNonUserCodeAttribute()]
Line 163: private global::CrystalDecisions.Web.CrystalReportViewer @__BuildControlCrystalReportViewer1() {
Line 164: global::CrystalDecisions.Web.CrystalReportViewer @__ctrl;
Line 165:
Source
File: c:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary ASP.NET
Filesirpsdev9e97e0a994a2ecdApp_Web_customsapprovedcalimsreport.aspx.cdcab7d2.qc0hdu8q.0.cs
Line: 163
Show
Detailed Compiler Output:
View 2 Replies
Dec 1, 2010
I'm trying to pass email addresses from an array to a stored procedure, then display the results in my gridview. I get the following error:No mapping exists from object type System.String[] to a known managed provider native type.On this line: Dim DR As SqlDataReader = MyCommand.ExecuteReader
[Code]....
View 4 Replies
May 8, 2010
The type sp.DBOperations' exists in both c:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary ASP.NET Files
ootaf585a885de14bd0assemblydl3966aa64b5c4f1868_c3eeca01sp.DLL' and 'c:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary ASP.NET Files
ootaf585a885de14bd0App_Code.m9kl32ja.dll'
View 2 Replies
Mar 2, 2011
this is the error i get
[Code]....
View 2 Replies
Jun 22, 2010
I've just gone thru a large-ish project and renamed A LOT of namespace directives. Everything works fine on my developer box - deploy it to stage and I get:
Compiler Error Message: CS0433: The type 'ASP.usercontrols_pageheader_ascx' exists in both
'c:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary ASP.NET Files
oot89252a5f7305b927App_Web_hodsbmv3.dll' and '
c:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary ASP.NET Files
oot89252a5f7305b927App_Web_pageheader.ascx.6bb32623.bs4iljip.dll'
Yuck. Very similar to this: Deployment Project dlls cause 'type x exists in both' errors, but must be coming from a different cause.
I have none of the problems I've seen mentioned in other articles (App_Code / CodeFile directive). Worked out why it works on my machine: the website has no problem when it is in a vdir. If I remove the "PageHeader" usercontrol from the masterpage it lives on everthing is fine. If I rename "PageHeader" everything is fine. Updated: renaming the usercontrol doesn't help.
I'd had a look at the assemblies mentioned in the error in reflector; App_Web_hodsbmv3.dll contains dynamic classes for all the usercontrols in my project. App_Web_pageheader.ascx.6bb32623.bs4iljip.dll' contains the same code just for the PageHeader usercontrol. Why would ASPX decide to create the same class in two assemblies?
View 2 Replies
Sep 15, 2010
I'm making the leap to move from vb.net to C#, and I'm getting this crazy error when I try to execute one sp, set a value, and then execute another sp based on the value. proc_GetSectionDetails is my first stored procedure. From that, I get a value for SectionID, and then use it for the second sp called proc_GetSectionDetails
[Code]....
View 2 Replies
Apr 7, 2010
Solution,I had also moved ashx and asmx files at the same time as this. The Class attribute of the WebService/WebHandler directives were pointed at the wrong namespace. The moral of the story is to make sure you view the markup for all as*x files you change the namespace for by right-clicking on them and choosing "View Markup".
I'm experiencing the same problem as in this question and this link, but none of the answers fixed my problem. (edit: Setting the web.config batch attribute works, but that's a coverup, not a solution)
The problem I'm having is with a User Control that I moved from the root directory to a subdirectory within the same Web Application project. It used to work fine before I moved it. When I moved it it started giving me the error message.
It's saying that the class name exists in two dll files in Temporary ASP.NET Files. Sure enough, when I open Reflector, it's in two dlls.
If I rename the class and ascx file, everything works fine. No usages of the original name exist within any of the files in my entire application. When I rename the file, I opened all of the dll files in Temporary ASP.NET Files with Reflector, and no references to the original class name exists.
So where's this phantom reference coming from how can I fix this?
Edit: I literally grepped every file in my working directory for the solution and my temp directory for the old class name and deleted every file that contained it. I then renamed back to the original, broken name and I still get the error.
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 ssage: CS0433: The type 'ASP.dashboard_badusercontrol_ascx exists in both 'c:Docunts and SettingsmeLocal
SettingsTempTemporary ASP.NET Files oot3c2b7e1f2e8a7620App_Web_badusercontrol.ascx.a57ad085.iljdmp1p.dll' and 'c:Docunts and SettingsmeLocal SettingsTempTemporary ASP.NET Files oot3c2b7e1f2e8a7620App_Web_bhdqaimy.dll'
Source Error:
Line 1098: Line 1099:
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
Line 1100: private[code].....
Edit:Ok, so I did some more testing on what works and doesn't work.Let's say the original file name was "BadUserControl.ascx" in namespace "MyNamespace".
I moved the file to a directory called "NewDirectory" and changed the namespace to "MyNamespace.NewDirectory". There are no copies of "BadUserControl.ascx" anywhere else on my HDD. I double-checked my TFS history to ensure the ONLY difference is the addition of ".NewDirectory" to the namespace in the markup and code-behind files.
Inside of this namespace are two other user controls named "OtherUserControl" and "AnotherUserControl".
This situation fails:
I have 2 Register directives:
<%@ Register src="BadUserControl.ascx" tagname="BadUserControl" tagprefix="uc1" %>
<%@ Register src="OtherUserControl.ascx" tagname="OtherUserControl" tagprefix="uc2" %>
These situations work:
1) I keep "BadUserControl.ascx" named as is.
I have 1 Register directive on a page in the same namespace:
<%@ Register src="BadUserControl.ascx" tagname="BadUserControl" tagprefix="uc1" %>
2) I change "BadUserControl.ascx" to "GoodUserControl.ascx"
I have 2 Register directives:
<%@ Register src="GoodUserControl.ascx" tagname="GoodUserControl" tagprefix="uc1" %>
<%@ Register src="OtherUserControl.ascx" tagname="OtherUserControl" tagprefix="uc2" %>
3) 2 Register directives without BadUserControl.ascx at all:
<%@ Register src="AnotherUserControl.ascx" tagname="AnotherUserControl" tagprefix="uc1" %>
<%@ Register src="OtherUserControl.ascx" tagname="OtherUserControl" tagprefix="uc2" %>
View 8 Replies
Oct 25, 2010
I have a page with a datalist on it, with an image button and some labels in the datalist item(1,2)..
I have some more labels on the page which get their values from querystrings(17,18)..
I have more labels which are empty (34,35)
On image click in the datalist item, i want the labels from that item to add with the labels outside of the datalist, and the last lot of labels to show this number..
Currently it doesnt do this. Here is my code:
protected void Page_Load(object sender, EventArgs e)
{
Label17.Text = Request["b1"];
Label18.Text = Request["b2"];
}
protected void ImageButton1_Click(object sender, ImageClickEventArgs e)
{
DataListItem item = ((Control)sender).NamingContainer as DataListItem;
Label Label1 = item.FindControl("Label1") as Label;
Label Label2 = item.FindControl("Label2") as Label;
Label34.Text = (int.Parse(Label1.Text) + int.Parse(Label17.Text)).ToString();
Label35.Text = (int.Parse(Label2.Text) + int.Parse(Label18.Text)).ToString();
View 3 Replies
Feb 3, 2011
I have recently upgraded to VS 2010 and converted my web site into a web application. Now, when I attempt to build, I receive the error:
Resource name '<name>.Resources.resources' cannot be used more than once.
There is no page name or anything, and I have completely exhausted all that Google has to offer.
View 2 Replies
Dec 13, 2010
I would like to check whether a folder exists or not if not create. I'm sure this folder exists, but for some reason I get "false" when I check with "Exists" method.
The only reason I think could be because of the W: drive? I moved this application to production site and even there it returns false.
while I'm type in Windows explorer on my localhost and on the server "W:/Webs/ASPPages/cropper/uploads" it opens this folder. So my localhost and IIS server has W: mapping.
for test I tried to create the folder then it says can't find the path...
userFolderName = @"W:/Webs/ASPPages/cropper/uploads"
//I also tried @"W:WebsASPPagescropperuploads"
//I also tried @"W:WebsASPPagescropperuploads"
//I also tried "W:\Webs\ASPPages\cropper\uploads"
DirectoryInfo dirInfo = new DirectoryInfo(userFolderName);........
View 3 Replies
Jul 31, 2010
When I run my web applicatin it is giving this compilation error..
CS0433: The type
'BusinessLayer.Videos' exists in both
'c:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary
ASP.NET
Files
oot888033a8963ffe48App_Code.zsu4f9h7.dll'
and
'c:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary
ASP.NET
Files
oot888033a8963ffe48assemblydl35f298b28c3d2b1f_0c98ca01BusinessLayer.DLL'
Line 36: static string VideoId;
Line 37: public int count;
Line 38: Videos obj = new Videos();
Line 39: TopRated clsTopratedBL = new TopRated();
Line 40: protected void Page_Load(object sender, EventArgs e)
View 2 Replies
Oct 25, 2010
I keep getting this error randomly while testing an website that Im building. Can anyone give me insight into what is causing it.
[Code]....
View 1 Replies
Feb 21, 2011
I faced a problems that after converted a old program from asp.net 1.1 to asp.net 2.0 it display the following error,
CS0433: The type 'ASP.DataGridPagingControl' exists in both 'c:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary ASP.NET Files smo8f39c19aea2b217App_Web_otcbkd2c.dll' and 'c:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary
ASP.NET Files smo8f39c19aea2b217App_Web_urowyvuj.dll'
I had search from google about this error and try a lot of solution but still getting the error.
I had tested the following solution
1.) Delete the temp folder in C:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary ASP.NET Files and rebuild the project
2.) Double check did any duplicate files name and dll in the same folder.
3.) remove dll files in bin folder manually and rebuild the project.
View 3 Replies
Nov 12, 2010
I am not sure if I have found the right forum for this one.
the problem is:
I have a .licx file in my rootfolder.
I am getting the error:
Error 53 Unable to resolve type ' <add type="TabStrip" version="7.0" />' C:inetpubwwwrootCrop_ApplicationCrop_Applicationeo_web.licx 7 Crop_Application
,which I get for all the types that are in the xml file(i just gave one of them).
A friend told me that I have to add the type .licx in the MIME type in the IIS .
The problem is that I find the MIME type, I add the extension type .licx but I do not know the MIME type for .licx
View 1 Replies
Mar 11, 2011
how can i get resources value
View 4 Replies
Jul 6, 2010
I'd like to take the standard "List View" view in an ASP.NET MVC application, and convert all of the "Labels" to "TextBoxes" and then save any changes made to each record.The end result would function very similar to the List View in Access. I couldn't find anybody doing this, To be clear, I do not want an Edit/Delete button for each record, I want one "Save" button for ALL records at once.
View 1 Replies
Oct 12, 2010
td align="right" valign="top" style="width: 130px">
Answer: <asp:Label
ID="lblanswer"
runat="server"
[code]...
I want it to say "Answer:*" with only the asterisk in red. How to do that if I want Answer to be inside the <asp:label/>.
View 1 Replies
Sep 6, 2010
I have a FormView that allows a user to register for a company event. I want to do a couple of things with this form.
1. I need to write this data to a MS SQL database
2. I need to send an email confirmation of their registration to their email.
I know how to do both of these things, but i am having trouble doing both at the same time.
It would be nice if I could do it in one click, but I coded it into two pages to try to help simplify it.
The first page allows the user to input their information into a formview and when they click the submit button, it places those answers into session variables:
[Code]....
[Code]....
The Second page confirms the users information by taking those session variables and placing them into labels:
[Code]....
[Code]....
However, after I place information into the formview on the first page, it throws up this error:
"Conversion from type 'TextBox' to type 'String' is not valid".
View 3 Replies
Mar 5, 2011
I'm trying to create a validation layer that will contain methods to validate all my objects (in my Business Objects layer) .. but when I try to reference both the validation and business objects to each other I get a circular dependency error .. so I've decided to create a new layer (BLL) to validate the objects for me and I'll be able to reference both the validation and the object layers.
so I want to build some kind of class/interface -I don't know what fits more- to be like a generic type or a parent type that my method could accept it as a parameter and check for it's Name/ID property. Instead of defining a new method overload for each object type I have
Simplification
View 1 Replies