Error #2044: Unhandled ioError: With .DAE file in Papervision

I got the classic  #2044 Error today when I moved a project I have been working on from local to test environment.  Usually you receive this error because the file doesn't exist.  That wasn't the case for me. 

I am building a papervision project and the file that was causing the #2044 error was the Collida .DAE file.  Since the test environment was IIS, I had to add the .DAE file the the MIME Map.  After I added the .DAE file to the MIME Map I was able to load my Collida .DAE into my PaperVision project.

Add the following code to your Web.config file

<system.webServer>
<staticContent>
<mimeMap fileExtension=".dae" mimeType="application/octet-stream"/>
</staticContent>
</system.webServer>
This is is more common when trying to dynamically load a .flv file on the server.

 

What did you think of this article?




Trackbacks
  • No trackbacks exist for this post.
Comments
  • No comments exist for this post.
Leave a comment

Submitted comments are subject to moderation before being displayed.

 Name

 Email (will not be published)

 Website

Your comment is 0 characters limited to 3000 characters.