Compilation Error : UI.Web.Global' is defined in multiple places; using definition from 'c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\..\NiceMonitoringOperationSolution.DLL


I have got a problem.

When i compile my .net web modules, I get the following error:

Compiler Error Message: CS1595: 'NxGen.SnmpSolutions.NiceMonitoring.UI.Web.Global' is defined in multiple places; using definition from 'c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\nicemonitoringoperationsolution\a38b2052\fcc07767\assembly\dl2\3eeae226\def59e99_8cefc501\NiceMonitoringOperationSolution.DLL'

Source Error:

Line 26:    
Line 27:     [System.Runtime.CompilerServices.CompilerGlobalScopeAttribute()]
Line 28:     public class Global_asax : NxGen.SnmpSolutions.NiceMonitoring.UI.Web.Global {
Line 29:        
Line 30:         private static bool __initialized = false;

Source File: c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\nicemonitoringoperationsolution\a38b2052\fcc07767\smu_rc-t.0.cs    Line: 28


Show Detailed Compiler Output:

C:\WINDOWS\system32> "c:\windows\\framework\v1.1.4322\csc.exe" /t:library /utf8output /R:"c:\windows\assembly\gac\system.web\1.0.5000.0__b03f5f7f11d50a3a\system.web.dll" /R:"c:\windows\assembly\gac\system\1.0.5000.0__b77a5c561934e089\system.dll" /R:"c:\windows\assembly\gac\\1.0.5000.0__b03f5f7f11d50a3a\" /R:"c:\windows\\framework\v1.1.4322\temporary files\nicemonitoringoperationsolution\a38b2052\fcc07767\assembly\dl2\fa6562d4\00948557_8f88c501\microsoft.practices.enterpriselibrary.common.dll" /R:"c:\windows\assembly\gac\system.drawing\1.0.5000.0__b03f5f7f11d50a3a\system.drawing.dll" /R:"c:\windows\\framework\v1.1.4322\temporary files\nicemonitoringoperationsolution\a38b2052\fcc07767\assembly\dl2\3e876a0e\00c1b658_8f88c501\microsoft.practices.enterpriselibrary.configuration.dll" /R:"c:\windows\\framework\v1.1.4322\temporary files\nicemonitoringoperationsolution\a38b2052\fcc07767\assembly\dl2\d920f6a7\9aaaaaf8_97aec501\" /R:"c:\windows\\framework\v1.1.4322\temporary files\nicemonitoringoperationsolution\a38b2052\fcc07767\assembly\dl2\3eeae226\def59e99_8cefc501\nicemonitoringoperationsolution.dll" /R:"c:\windows\\framework\v1.1.4322\temporary files\nicemonitoringoperationsolution\a38b2052\fcc07767\assembly\dl2\72fcd3bf\3c847593_89efc501\nxgen.snmpsolutions.nicemonitoring.unittests.dll" /R:"c:\windows\assembly\gac\\1.0.5000.0__b03f5f7f11d50a3a\" /R:"c:\windows\assembly\gac\\1.0.5000.0__b77a5c561934e089\" /R:"c:\windows\\framework\v1.1.4322\temporary files\nicemonitoringoperationsolution\a38b2052\fcc07767\assembly\dl2\ce580419\00a2ac5e_8f88c501\microsoft.practices.enterpriselibrary.caching.dll" /R:"c:\windows\\framework\v1.1.4322\temporary files\nicemonitoringoperationsolution\a38b2052\fcc07767\assembly\dl2\501fb918\eaadb8fb_97aec501\" /R:"c:\windows\\framework\v1.1.4322\temporary files\nicemonitoringoperationsolution\a38b2052\fcc07767\assembly\dl2\bd75659d\00376769_8f88c501\" /R:"c:\windows\\framework\v1.1.4322\temporary files\nicemonitoringoperationsolution\a38b2052\fcc07767\assembly\dl2\2d47c518\984a0195_89efc501\nxgen.snmpsolutions.nicemonitoring.businesscomponents.dll" /R:"c:\windows\\framework\v1.1.4322\temporary files\nicemonitoringoperationsolution\a38b2052\fcc07767\assembly\dl2\b90275fe\9c6caf07_75eac501\nicemonitoringoperationssolution.dll" /R:"c:\windows\assembly\gac\system.enterpriseservices\1.0.5000.0__b03f5f7f11d50a3a\system.enterpriseservices.dll" /R:"c:\windows\\framework\v1.1.4322\temporary files\nicemonitoringoperationsolution\a38b2052\fcc07767\assembly\dl2\83e64fbe\9e61da08_98aec501\" /R:"c:\windows\assembly\gac\system.xml\1.0.5000.0__b77a5c561934e089\system.xml.dll" /R:"c:\windows\\framework\v1.1.4322\temporary files\nicemonitoringoperationsolution\a38b2052\fcc07767\assembly\dl2\7e1b54e4\007859c3_398dc501\nettiers.configuration.dll" /R:"c:\windows\\framework\v1.1.4322\temporary files\nicemonitoringoperationsolution\a38b2052\fcc07767\assembly\dl2\d92ed11c\0c10f58f_89efc501\nxgen.snmpsolutions.nicemonitoring.dataaccesslayer.dll" /R:"c:\windows\\framework\v1.1.4322\temporary files\nicemonitoringoperationsolution\a38b2052\fcc07767\assembly\dl2\130ec29e\e2f44192_89efc501\" /R:"c:\windows\\framework\v1.1.4322\temporary files\nicemonitoringoperationsolution\a38b2052\fcc07767\assembly\dl2\1f2d2903\6487da8a_89efc501\nxgen.snmpsolutions.nicemonitoring.entities.dll" /R:"c:\windows\\framework\v1.1.4322\mscorlib.dll" /out:"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\nicemonitoringoperationsolution\a38b2052\fcc07767\smu_rc-t.dll" /D:DEBUG /debug+ /optimize- /warnaserror /w:1  "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\nicemonitoringoperationsolution\a38b2052\fcc07767\smu_rc-t.0.cs"

Microsoft (R) Visual C# .NET Compiler version 7.10.6001.4
for Microsoft (R) .NET Framework version 1.1.4322
Copyright (C) Microsoft Corporation 2001-2002. All rights reserved.

c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\nicemonitoringoperationsolution\a38b2052\fcc07767\smu_rc-t.0.cs(28,32): error CS1595: 'NxGen.SnmpSolutions.NiceMonitoring.UI.Web.Global' is defined in multiple places; using definition from 'c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\nicemonitoringoperationsolution\a38b2052\fcc07767\assembly\dl2\3eeae226\def59e99_8cefc501\NiceMonitoringOperationSolution.DLL'


This error only occurs aft i included 2 web modules projects in 1 solution. Before that i was having those projects as 2 different solutions.

I have already deleted the temp folder in the .net framework folder. But, when i change the warningLevel to 0 in the machin.config file, i'm not getting this error as the compilation error is ignored. I sense that i cant possible be ignoring the error, as it may pose a problem when i deploy the web modules.

Thanks in advance for helping!


11/22/2005 8:13:21 PM 91979 articles. 4 followers. Follow

1 Replies

Similar Articles

[PageSpeed] 43

check your class names, you can't duplicate them.
11/23/2005 4:02:33 PM

Similar Artilces:

ISAPI 'C:\Windows\\Framework\v.1.1.4322\aspnet_isapi.dll' reported itself as unhealthy for the following reason: 'Deadlock detected'.
In our web application we are calling different XML Webservices and make approximately 25 calls every 10 minutes. We use a separate thread to call a the webservice (Crawler) and populate our cache -- our application then retrieves the data from the Cache -- the cache is set to expire in approximately 25 minutes -- but since the Crawler populates the cache every 10 minutes with the new data -- thus it never expires. In above scenario -- our webserver seems to stop responding after some hours and we noticed that somehow requests to Webservices were ...

Error 1 The type 'System.Web.UI.WebControls.LinqDataSource' exists in both 'c:\WINDOWS\assembly\GAC_MSIL\System.Web.Extensions\\System.Web.Extensions.dll' and 'c:\WINDOWS\asse
Once I build project. I encounter this error. Does someone experience this error?Error    1    The type 'System.Web.UI.WebControls.LinqDataSource' exists in both 'c:\WINDOWS\assembly\GAC_MSIL\System.Web.Extensions\\System.Web.Extensions.dll' and 'c:\WINDOWS\assembly\GAC_MSIL\System.Web.Extensions\\System.Web.Extensions.dll'    D:\Source Code\Linq_Lesson5\Default.aspx    1    1    D:\Source Code\Linq_Lesson5\  It appears tha...

Problem with AjaxControl kit error Compiler Error Message: CS0433: The type 'System.Web.UI.ScriptManager' exists in both 'c:\WINDOWS\assembly\GAC_MSIL\System.Web.Extensions\1.0.61025.0__31bf3856ad364
I'm trying to use the Tabs from the Ajaxcontrol kit.I have installed Ajax WebExtension 1.0 to the server i'm runnig the apps fromI'm sure the version of my Ajaxcontrol kit and the System.Web.Extensions i'm trying to use is 1.0.61025. But it seems the one on 3.5 is also there since the server has been updated to v3.5 .net framework I get this error below:  Compiler Error Message: CS0433: The type 'System.Web.UI.ScriptManager' exists in both 'c:\WINDOWS\assembly\GAC_MSIL\System.Web.Extensions\1.0.61025.0__31bf3856ad364e35\System.Web.Extensions.dll...

Error parsing C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\config\machine.config
Hello - While installing ASP.Net on Windows 2003 I am getting the followin error : Error parsing C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\config\machine.config Parser returned error 0x80070003. I find it its not creating the CONFIG folder and related files under it. Any idea how this can be resolved. Thanks, Rubal Jain Hi, You mean to say you get this error when you install Visual studio .net? Or when you try to access pages built in can you elaborate? thanks.regards,Harish

Can dll's compiled on a .Net machine be compiled in such a way that they will still run on a .Net 1.1 machine?
I know that this is probably an annoying question but I don't want to upgrade my system and not be able to get dll's that I create with .NET 2.0 to work with one of my service providers because they are still running .NET 1.1, but here goes:  if I install .NET 2.0 is there some sort of switch command that I can run when compiling dll's using vbc or cbc that will make sure the created dll will work on a system running .NET 1.1?Sorry for asking a question that I am sure you have been asked 100 times, but I just need to be sure that I can upgrade to .Net 2 without any problems. Thanks...

How to get new web app to use .NET 2.0 on Win2K server using .NET 1.1 as default framework?
I have .net framework1.1 and 2.0 on our server running win2K. i have existing applications that uses 1.1, i also have a new app that use 2.0.  how can i set my new .NET 2.0 app to point to 2.0 without messing up my existing .NET 1.1 apps? To specify the ASP .Net version fro a web application, do the followingIn IIS Manager select the web application -> Properties -> ASP.Net TabSelect  ASP.Net version you want to use for the applicationRegards,PrashantDont forget to click "Mark as Answer" on the post that helped you. But I am running Win2K...

Unable to find an entry point named 'Add' in DLL 'CPPDLL.dll'. while running a web application
  I have created a small web application using that calls a function from a dll file created in c++ the following are the files that i have used to create a dll file.. //CPPDLL.cpp file #include “stdafx.h” #include “CPPDLL.h” #include using namespace std; namespace CPPDLL { double Class1::Add(double a, double b) { return a + b; } } //CPPDLL.h file #pragma once using namespace System; namespace CPPDLL { public class Class1 { // TODO: Add your methods for this class here. public: static __declspec(dllexport) double Add(double a...

Error "Unable to access C:\Windows\\framework\1.1.4322
Help me! Why this happen? Explain your problem in detailGirijesh What was the process running when the error was encountered?Don't forget to click "Mark as Answer" on the post that helped you.This credits that member, earns you a point and marks your thread as Resolved so we will all know you have been helped. I have reinstalled my notebook. Windows XP Professional SP2 and Asp 2.0 Before this I've installed ASP 1.1 In IIS Ihave created web site pointing to my site folder. When I try to browse web site this is the error. ASP.NET user is in l...

"Error loading XML file :\windows\\framework\v1.0.3705"...does this mean v.1.1 code trying to run in a v.1.0 app?
I uploaded some new files into my existing third-party hosted site, including a .DLL into \BIN\, which is running AS.NET v.1.0. I got the following error message when browsing to one of the pages using the code in the namespace defined in the DLL: Error loading XML file c:\windows\\framework\v1.0.3705\Config\machine.config Request for the permission of type System.Security.Permissions.StrongNameIdentityPermission, mscorlib, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 failed. (c:\windows\\framework\v1.0.3705\Config\machine.config) ...

.DLL compiled with .NET 1.1 to be used in Web app done in .NET 2.0
Hi all,If I have a bunch of business objects that where compiled in .NET version 1.1, would it be possible for my ASP.NET (done in .NET 2.0) application to pick up these objects (.dll file) and start to use them?(Would be great if some-one could provide some form of documentation on this)ThanksTryst Hi Tryst, This should work fine.  In general, you can use V1.1 assemblies with V2.0 applications.  The reverse, though, is not true. Hope this helps, Scott ok, cool.ThanksTryst Comparative study on VS .Net 2003 and VS.Net 2005 .Net Framework versions used are ver...

Sending SMS using or using or
Hi  My requirement is I hav one csv file with these fields id,mobilenum,messgae,status.intiallu staus is 0. once i read the all fileds and take that mobile number.using tat mobile number  i need to send sms .after sending sms i shuld change status as 1 How to send sms thru coding (please dont provide any links.if it is provide also please give working links becox i checked codeproject .i didnt get any nice link. and also provide the how to update the status field im csv file   Thank ssandhya   To send SMS, you need some third party SMS providers. if you consul...

Developed WebService 1.1 for Client 1.1. Getting error "Server was unable to process the Request" Pls Help
Hi., I developed Microsoft Web Services2003 for the Client Application 2003. When it runs in 5 machines it gives good performance and has no errors. But if i run the same application in about 80 client machines. Getting error "Server was unable to process the request". I use Sql Server 2005 as my database. I get error even when i login at a time for about 25 users. Tried modifying machine.config too. But went unsuccessful. Live Server is 2003 using IIS 6.0 I use very expensive data handling.  Its very urgent pls help. Have to post in Live Server. Thank u., ...

Compile Errors: "'ASPNET.StarterKit.Portal.ModuleSettings' Is defined in multiple places; using definition from"
I have been working with the ASP.NET Starter Portal for a couple of weeks now and, just starting today, it fails to build with the following error: C:\Program Files\ASP.NET Starter Kits\ASP.NET Portal (CSVS)\PortalCSVS\Components\DesktopControls.cs(140): 'ASPNET.StarterKit.Portal.ModuleSettings' is defined in multiple places; using definition from 'C:\Program Files\ASP.NET Starter Kits\ASP.NET Portal (CSVS)\PortalCSVS\Components\Configuration.cs' It logs 51 build errors are very similar complaining about different things, i.e.: C:\Program Files\ASP.NET Starter Kits\ASP.NET Porta...

Getting 'System.Web.UI.Control' does not contain a definition for 'DataItem' error on controls when placed inside an update panel which is in a template.
Using the June CTP, I;ve got an updatepanel inside the itemtemplate of a datalist which is now suppopsed to be supported (it works). I also have some asp controls (imagebutton, label) which get their values dynamically (DataBinder.Eval(Container.DataItem, "fieldname").ToString(). This would work fine before putting the updatepanel in the datalist itemtemplate, I now get the error in the title when building ('System.Web.UI.Control' does not contain a definition for 'DataItem') for each control... How can I dynamically assign the values to the controls in the datalist when also using upd...

Trying to create .net assembly
I'm just migrated a pfc based application from 10.5 to 12.1. The main reason for the migration was to reuse code in a .net application. To that end I've attempted to create a .net assembly. After adding the .net assembly target using the existing app I then tried to deply it but get the following error: Error when compiling generated C# code: a_madcst(4,16): error CS0101: The namespace '<global namespace>' already contains a definition for 'c__a_madcst' Any help you can give me would be much appreciated. Thank You , Mike Mike, Please cla...

Web resources about - Compilation Error : UI.Web.Global' is defined in multiple places; using definition from 'c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\..\NiceMonitoringOperationSolution.DLL -

Resources last updated: 12/30/2015 3:28:09 PM