# Build 889 - View Artifacts as variables Bug

**URL:** https://www.finalbuilder.com/forums/t/build-889-view-artifacts-as-variables-bug/5731
**Category:** Bugs
**Created:** [September 19, 2012, 1:18am UTC](https://www.finalbuilder.com/forums/t/build-889-view-artifacts-as-variables-bug/5731 "2012-09-19T01:18:55Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Jenasys](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/jenasys/32/888_2.png) [@Jenasys](https://www.finalbuilder.com/forums/u/Jenasys)
#### Post date: [September 19, 2012, 1:18am UTC](https://www.finalbuilder.com/forums/t/build-889-view-artifacts-as-variables-bug/5731/1 "2012-09-19T01:18:55Z")

</div>

If I want to view the artifacts as variables, I get an unexpected error. I suspect the artifacts are not getting populated correctly, as the raw view show nothing.

![ContinuaCI_889_Artifact_View_Bug.jpg](https://www.finalbuilder.com/forums/uploads/default/original/2X/e/e1eed81db149bbb0af220024486b9f6be45812b1.jpeg)

---

<div class="post-metadata">

### Author: ![Jenasys](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/jenasys/32/888_2.png) [@Jenasys](https://www.finalbuilder.com/forums/u/Jenasys)
#### Post date: [September 19, 2012, 5:24am UTC](https://www.finalbuilder.com/forums/t/build-889-view-artifacts-as-variables-bug/5731/2 "2012-09-19T05:24:21Z")

</div>

The event log includes the following.   
 The web server reported the following error:   
 System.Exception: Unable to load file : J:\Customers\Jenasys\JDContinuaCIServer\Ws\DNN\_Metro\_Skin\_on\_Codeplex\12\_\_variables\VariableNamespaces.xml   
 at Continua.Web.Builds.Controllers.BuildsController.ViewArtifactViewerType(Int32 id, Guid artifactId, String viewType)

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [September 19, 2012, 5:46am UTC](https://www.finalbuilder.com/forums/t/build-889-view-artifacts-as-variables-bug/5731/3 "2012-09-19T05:46:39Z")

</div>

What do you have as your Workspace rules for the stages? I suspect a workspace rule is causing the variables files to be deleted. I’m about to look into this, the variables xml files are synced using hidden workspace rules, it’s possible they are running before instead of after your rules, need to check.

---

<div class="post-metadata">

### Author: ![Jenasys](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/jenasys/32/888_2.png) [@Jenasys](https://www.finalbuilder.com/forums/u/Jenasys)
#### Post date: [September 19, 2012, 7:41am UTC](https://www.finalbuilder.com/forums/t/build-889-view-artifacts-as-variables-bug/5731/4 "2012-09-19T07:41:12Z")

</div>

Vincent,

I've got all the defaults for the workspace. I only realized after one of your comments about artifacts that you could go into a stage and edit things like the workspace and artifacts. I figured that wasn't worth playing around with...yet.

![ContinuaCI_889_StageOptions_Workspace.jpg](https://www.finalbuilder.com/forums/uploads/default/original/2X/2/2c5a84289b8e839dedfb376c08553e1c994df315.jpeg)

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [September 19, 2012, 9:40am UTC](https://www.finalbuilder.com/forums/t/build-889-view-artifacts-as-variables-bug/5731/5 "2012-09-19T09:40:44Z")

</div>

I made a minor change to ensure that the variable files artifact workspace rule (which is a hidden rule) is always run last. I tried but wasn’t able to cause the error you are seeing. Please try again with the next build (running now). It should be uploaded in 25 minutes or so… NBN won’t be here for 3 years so we’re stuck with 1Mb upload ☹
