velmalavender
New Member
I have a Web Site with an Service.svc file, i created this using the Add New Item -> AJAX-enabled WCF Service, for weeks, everything works fine.Today, i imported the EPplus.dll to generate some excel files. When i try to compile i get this error\[code\]Error 1 Reference.svcmap: Failed to generate code for the service reference 'QUAY.Tractebel.COP.Servicos'.Cannot import wsdlortType Detail: An exception was thrown while running a WSDL import extension:System.ServiceModel.Description.DataContractSerializerMessageContractImporterError: Type 'OfficeOpenXml.ExcelRangeBase' is a recursive collection data contract which is not supported. Consider modifying the definition of collection 'OfficeOpenXml.ExcelRangeBase' to remove references to itself. XPath to Error Source: //wsdl:definitions[@targetNamespace='']/wsdlortType[@name='Servicos'] App_WebReferences/QUAY/Tractebel/COP/Servicos/ \[/code\]I have no idea how to solve it, someone can help me?