[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.aspnet.webservices

Re: WebService : CS1595: 'System.Runtime.CompilerServices.CompilerGlobalScopeAttribute' is defined in multiple places; using definition from 'C:\winnt\microsoft.net\framework\v1.0.3705\mscorlib.dll'

(CSharpner)

12/26/2002 3:32:00 AM

What did you do? I'm having the same problem.

"Steve Haemelinck" <steve.haemelinck@pandora.be> wrote in message news:<vY0B9.2709$Ti2.645@afrodite.telenet-ops.be>...
> Solved
>
> "Steve Haemelinck" <steve.haemelinck@pandora.be> wrote in message
> news:pV0B9.2705$Ti2.665@afrodite.telenet-ops.be...
> > We developed a webservice which needs deploying om mulitple machines. On
> > most machines the deployment works without a problem, but on one machine
> > when we try to access the service it syas:
> >
> >
> > Server Error in '/services/hrwebworx/_default/personalData' 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: CS1595:
> > 'System.Runtime.CompilerServices.CompilerGlobalScopeAttribute' is defined
> in
> > multiple places; using definition from
> > 'C:\winnt\microsoft.net\framework\v1.0.3705\mscorlib.dll'
> >
> > Source Error:
> >
> >
> > Line 25:
> > Line 26:
> > Line 27:
> > [System.Runtime.CompilerServices.CompilerGlobalScopeAttribute()]
> > Line 28: public class Global_asax : personalData.Global {
> > Line 29:
> >
> > Source File: C:\WINNT\Microsoft.NET\Framework\v1.0.3705\Temporary ASP.NET
> >
> Files\services_hrwebworx__default_personaldata\c5191ce6\3299e1b4\f7je9z0m.0.
> > cs Line: 27
> >
> >
> >
> > Show Detailed Compiler Output:
> >
> > C:\WINNT\system32> "c:\winnt\microsoft.net\framework\v1.0.3705\csc.exe"
> > /t:library /utf8output
> > /R:"c:\winnt\assembly\gac\system\1.0.3300.0__b77a5c561934e089\system.dll"
> >
> /R:"c:\winnt\assembly\gac\system.web\1.0.3300.0__b03f5f7f11d50a3a\system.web
> > .dll"
> >
> /R:"c:\winnt\assembly\gac\system.data\1.0.3300.0__b77a5c561934e089\system.da
> > ta.dll" /R:"c:\winnt\microsoft.net\framework\v1.0.3705\temporary asp.net
> >
> files\services_hrwebworx__default_personaldata\c5191ce6\3299e1b4\assembly\dl
> > 2\967585c4\0092fbde_ae84c201\be.sd.vision.logging.dll"
> >
> /R:"c:\winnt\assembly\gac\system.xml\1.0.3300.0__b77a5c561934e089\system.xml
> > .dll" /R:"c:\winnt\microsoft.net\framework\v1.0.3705\temporary asp.net
> >
> files\services_hrwebworx__default_personaldata\c5191ce6\3299e1b4\assembly\dl
> > 2\595f6fa9\00aa2af7_0524c201\system.data.oracleclient.dll"
> > /R:"c:\winnt\microsoft.net\framework\v1.0.3705\temporary asp.net
> >
> files\services_hrwebworx__default_personaldata\c5191ce6\3299e1b4\assembly\dl
> > 2\25794b99\00481232_5b86c201\be.sd.vision.hrwebworx.personaldata.dll"
> > /R:"c:\winnt\microsoft.net\framework\v1.0.3705\temporary asp.net
> >
> files\services_hrwebworx__default_personaldata\c5191ce6\3299e1b4\assembly\dl
> > 2\7ff79510\00ec5de1_ae84c201\be.sd.vision.general.dll"
> > /R:"c:\winnt\microsoft.net\framework\v1.0.3705\temporary asp.net
> >
> files\services_hrwebworx__default_personaldata\c5191ce6\3299e1b4\assembly\dl
> > 2\9001d653\0085596b_ae84c201\be.sd.vision.database.dll"
> > /R:"c:\winnt\microsoft.net\framework\v1.0.3705\temporary asp.net
> >
> files\services_hrwebworx__default_personaldata\c5191ce6\3299e1b4\assembly\dl
> >
> 2\b873c41b\00eeaf2f_5b86c201\be.sd.vision.hrwebworx.personaldata.hrwwpersona
> > ldataservice.dll"
> >
> /R:"c:\winnt\assembly\gac\system.enterpriseservices\1.0.3300.0__b03f5f7f11d5
> > 0a3a\system.enterpriseservices.dll"
> >
> /R:"c:\winnt\assembly\gac\system.drawing\1.0.3300.0__b03f5f7f11d50a3a\system
> > .drawing.dll"
> >
> /R:"c:\winnt\assembly\gac\system.web.services\1.0.3300.0__b03f5f7f11d50a3a\s
> > ystem.web.services.dll"
> > /R:"c:\winnt\microsoft.net\framework\v1.0.3705\mscorlib.dll"
> > /out:"C:\WINNT\Microsoft.NET\Framework\v1.0.3705\Temporary ASP.NET
> >
> Files\services_hrwebworx__default_personaldata\c5191ce6\3299e1b4\f7je9z0m.dl
> > l" /D:DEBUG /debug+ /optimize- /warnaserror /w:1
> > "C:\WINNT\Microsoft.NET\Framework\v1.0.3705\Temporary ASP.NET
> >
> Files\services_hrwebworx__default_personaldata\c5191ce6\3299e1b4\f7je9z0m.0.
> > cs"
> >
> >
> > Microsoft (R) Visual C# .NET Compiler version 7.00.9466
> > for Microsoft (R) .NET Framework version 1.0.3705
> > Copyright (C) Microsoft Corporation 2001. All rights reserved.
> >
> > C:\WINNT\Microsoft.NET\Framework\v1.0.3705\Temporary ASP.NET
> >
> Files\services_hrwebworx__default_personaldata\c5191ce6\3299e1b4\f7je9z0m.0.
> > cs(27,6): error CS1595:
> > 'System.Runtime.CompilerServices.CompilerGlobalScopeAttribute' is defined
> in
> > multiple places; using definition from
> > 'C:\winnt\microsoft.net\framework\v1.0.3705\mscorlib.dll'
> >
> >
> >
> >
> > Show Complete Compilation Source:
> >
> > Line 1:
> >
> //--------------------------------------------------------------------------
> > ----
> > Line 2: // <autogenerated>
> > Line 3: // This code was generated by a tool.
> > Line 4: // Runtime Version: 1.0.3705.288
> > Line 5: //
> > Line 6: // Changes to this file may cause incorrect behavior and
> will
> > be lost if
> > Line 7: // the code is regenerated.
> > Line 8: // </autogenerated>
> > Line 9:
> >
> //--------------------------------------------------------------------------
> > ----
> > Line 10:
> > Line 11: namespace ASP {
> > Line 12: using System;
> > Line 13: using System.Collections;
> > Line 14: using System.Collections.Specialized;
> > Line 15: using System.Configuration;
> > Line 16: using System.Text;
> > Line 17: using System.Text.RegularExpressions;
> > Line 18: using System.Web;
> > Line 19: using System.Web.Caching;
> > Line 20: using System.Web.SessionState;
> > Line 21: using System.Web.Security;
> > Line 22: using System.Web.UI;
> > Line 23: using System.Web.UI.WebControls;
> > Line 24: using System.Web.UI.HtmlControls;
> > Line 25:
> > Line 26:
> > Line 27:
> > [System.Runtime.CompilerServices.CompilerGlobalScopeAttribute()]
> > Line 28: public class Global_asax : personalData.Global {
> > Line 29:
> > Line 30: private static bool __intialized = false;
> > Line 31:
> > Line 32: public Global_asax() {
> > Line 33: if ((ASP.Global_asax.__intialized == false)) {
> > Line 34: ASP.Global_asax.__intialized = true;
> > Line 35: }
> > Line 36: }
> > Line 37: }
> > Line 38: }
> > Line 39:
> >
> >
> > What is wrong?
> >
> > I do not understand it
> >
> >