# NCoverExplorer Action

**URL:** https://www.finalbuilder.com/forums/t/ncoverexplorer-action/3201
**Category:** Bugs
**Created:** [December 18, 2009, 12:57pm UTC](https://www.finalbuilder.com/forums/t/ncoverexplorer-action/3201 "2009-12-18T12:57:24Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [December 18, 2009, 12:57pm UTC](https://www.finalbuilder.com/forums/t/ncoverexplorer-action/3201/1 "2009-12-18T12:57:24Z")

</div>

Execution of the NCoverExplorer action fails when executed with /report:1 (ModuleSummary) for Could not write to file

CommandLine: F:\Builds\Phoenix\PhoenixTrunkIntegrationBuild\*.tempCoverage.xml /project

---

<div class="post-metadata">

### Author: ![paulsamways](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/p/e8c25b/32.png) [@paulsamways](https://www.finalbuilder.com/forums/u/paulsamways)
#### Post date: [December 20, 2009, 9:36am UTC](https://www.finalbuilder.com/forums/t/ncoverexplorer-action/3201/2 "2009-12-20T09:36:42Z")

</div>

Hi Lee,   
  
 I believe the issue here is that the path to the file, ‘Lsr.Phoenix.DocumentManagement.Mappers.Functions.AddressFunctions.html’, is longer then 255 characters and this is why NCover is failing to write the file out. You’ll need to contact NCover support for this issue.   
  
 Regards,   
 Paul.

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [December 22, 2009, 6:53am UTC](https://www.finalbuilder.com/forums/t/ncoverexplorer-action/3201/3 "2009-12-22T06:53:04Z")

</div>

Paul,

It&nbsp;is the likely culprit, however that is not a path I am setting. In fact, I cannot find where to set that path.&nbsp; when I output any of the other reports, the path is correct, just not this one.

---

<div class="post-metadata">

### Author: ![paulsamways](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/p/e8c25b/32.png) [@paulsamways](https://www.finalbuilder.com/forums/u/paulsamways)
#### Post date: [December 22, 2009, 10:49am UTC](https://www.finalbuilder.com/forums/t/ncoverexplorer-action/3201/4 "2009-12-22T10:49:47Z")

</div>

Hi Lee,   
  
 I’ve just pinged the NCover guys as to whether this is a bug, I’ll post back when I know more about the issue.   
  
 Regards,   
 Paul.

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [December 23, 2009, 12:57pm UTC](https://www.finalbuilder.com/forums/t/ncoverexplorer-action/3201/5 "2009-12-23T12:57:04Z")

</div>

Lee,

I'm an engineer on the NCover team. I wanted to let you know that updating to the latest version of NCover 2 (http://www.ncover.com/download/version2), or to NCover 3 (http://www.ncover.com/download/current) should resolve your issue. We changed our scheme for the html report file names so that they would not pass the 255 character limit that Windows imposes.

Please don't hesitate to contact us through our support form at&nbsp;http://www.ncover.com/support if you have any other questions.

Thanks for using NCover!

Alan

---

<div class="post-metadata">

### Author: ![paulsamways](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/p/e8c25b/32.png) [@paulsamways](https://www.finalbuilder.com/forums/u/paulsamways)
#### Post date: [December 23, 2009, 9:14am UTC](https://www.finalbuilder.com/forums/t/ncoverexplorer-action/3201/6 "2009-12-23T09:14:16Z")

</div>

Thanks for responding Alan

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [January 20, 2010, 6:21am UTC](https://www.finalbuilder.com/forums/t/ncoverexplorer-action/3201/7 "2010-01-20T06:21:40Z")

</div>

Thank you for the response.&nbsp; I will upgrade our systems when we have the opportunity, in the meantime I found a workaround by using the execute program task (rather than the NCover task), which does just what I want and does not produced the same error.
