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




Comments