Take the 2-minute tour ×
Tridion Stack Exchange is a question and answer site for Tridion developers and administrators. It's 100% free, no registration required.

I just came across this most unusual error in Tridion 2011 SP1 HR1. A user created a page named "Auxiliary Aids..." with file name "aux". When we try to publish this page, we get the following error on the publishing queue: "FileStream will not open Win32 devices such as disk partitions and tape drives. Avoid use of "\\.\" in the path."

enter image description here

It works fine if you preview the page or if you run it through Template Builder. The cause appears to be the name of the file "aux" when publishing only. If I rename it to anything else, it publishes fine.

It doesn't look like it (http://msdn.microsoft.com/en-us/library/x53a06bb.aspx), but is "aux" a reserved keyword in C#? If it is, I'm not familiar with it.

Has anyone come across this before? If you create a blank page with file name "aux", do you get the error? Can you reproduce it in Tridion 2013 too?

share|improve this question

1 Answer 1

up vote 6 down vote accepted

It is indeed windows file system reserved word: http://ionicflux.wordpress.com/2006/09/02/windows-reserved-words/

Just try to create any file with this name

share|improve this answer
    
I remember reading that COM+ was originally going to be called COM3, but that would have been problematic for the same reason. Can't remember where I read it though. –  Dominic Cronin Feb 25 at 21:16

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.