Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 698
  • Last Modified:

Production Issue - .flv problem - IIS not serving file????

In development I successful created a video player using the flex VideoComponent, and .flv flash video file.

when I deployed to production, I received a "Cannot call reconnect on an http connection" error. The .flv isn't loaded...

When I access the .flv directly in the browser locally "http://localhost..." it allows me to download. On production, I don't get anything.

Are these issues related? Anyone know what's going on?
0
coldchillin
Asked:
coldchillin
1 Solution
 
ChristoferDutzCommented:
I recently recommended to use Firexox+Firebug or Chrome (developer tools) to have a look at what HTTP-Requests are actually executed and what the responses were. Usually Problems of your sort are related to files not being loaded from where they should be.
0
 
coldchillinAuthor Commented:
Thank you for responding! I am on the web server right now, and the file is absolutely there. I am loading the other files and swfs, and can also navigate to them directly.

I'm only having issues with the .flv file.

Any other ideas?
0
 
Dave BaldwinFixer of ProblemsCommented:
I would use Firefox and LiveHTTP headers to see what MIME type is being returned.  Then I'd check to see if IE recognizes it.
0
What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

 
Dave BaldwinFixer of ProblemsCommented:
I mean does IIS server up that type properly.
0
 
coldchillinAuthor Commented:
Thanks all, the solution I used was similar to shalabhsharma's answer.

I added a MIME type to IIS for .flv file types as flv-application/octet-stream

http://www.bennadel.com/blog/866-FLV-404-Error-On-Windows-2003-Server.htm

*note: restart IIS to see the changes.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now