Hi Schneider,
From your description, in your ASP.NET webservice application, you always
get the following error when try building the project, correct?
" The type 'VPMEventViewerUtil.DataTransferObject' exists in
both............"
Based on my experience, this error is often caused by some certain types
has been duplicated in multiple places. For your scenario, the error
message indicate that some types are duplicated in the following two
assemblies:
VpmEventViewerServer.DLL
SR.Matrix.VpmEventViewer.Server.DLL
Have you checked how are those two ones generated? is one of them
statically referenced from another project(in the private "bin" dir)? Or is
one of the assembly generated by dynamic page content or App_code source?
Also, if the project is a bit too large or complex, I suggest you creating
a new one and remove some unrelated pages or sources to repro the problem
and then concencrate on the simplified project.
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we
can improve the support we provide to you. Please feel free to let my
manager know what you think of
the level of service provided. You can send feedback directly to my manager
at:
ms****@microsoft.com.
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subs...#notifications.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
Reply-To: "eschneider" <es********@community.nospam>
From: "eschneider" <es********@community.nospam>
Subject: More Webservice issues..
Date: Tue, 12 Aug 2008 17:56:53 -0500
I get the following error when I build, anyone know what the problem is?
Error 1 The type 'VPMEventViewerUtil.DataTransferObject' exists in both
'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Tem porary ASP.NET
Files\vpmeventswebservice\8c9c80a1\1aef049\assembl y\dl3\8c26e22b\fd667eb1_fe
f7c801\VpmEventViewerServer.DLL'
and 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Tem porary ASP.NET
Files\vpmeventswebservice\8c9c80a1\1aef049\assembl y\dl3\ad48c5dd\8b354f9a_cd
fcc801\SR.Matrix.VpmEventViewer.Server.DLL'
C:\projects\SR_VPM_Synch.root\VPMEventsWebService\ App_Code\VPMEventsService.
asmx.cs
95 10 C:\...\VPMEventsWebService\
Error 2 The type 'VPMEventViewerUtil.CommentItem' exists in both
'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Tem porary ASP.NET
Files\vpmeventswebservice\8c9c80a1\1aef049\assembl y\dl3\8c26e22b\fd667eb1_fe
f7c801\VpmEventViewerServer.DLL'
and 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Tem porary ASP.NET
Files\vpmeventswebservice\8c9c80a1\1aef049\assembl y\dl3\ad48c5dd\8b354f9a_cd
fcc801\SR.Matrix.VpmEventViewer.Server.DLL'
C:\projects\SR_VPM_Synch.root\VPMEventsWebService\ App_Code\VPMEventsService.
asmx.cs
160 62 C:\...\VPMEventsWebService\
Thanks,
Schneider