Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 496779
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T05:43:06+00:00 2026-05-13T05:43:06+00:00

In my asp.net mvc site, I’m loading flash files using swfobject. These files work

  • 0

In my asp.net mvc site, I’m loading flash files using swfobject. These files work fine, locally, using Visual Studio 2008 server (F5). But, when deployed to the Test server, they don’t load at all. My routing table looks like this:

routes.MapRoute(
    "Default",
    "{controller}.aspx/{action}/{id}/{title}",
    new {controller = "Home", action = "Index",id = "",title=""});
routes.MapRoute(
   "Root",
   "",
   new {controller = "Home",action = "Index",id = "",title = ""});

And I’m loading the swfs like:

<div id="home-container">
    <div id="flash-content" style="outline:none;position:absolute; top:0px">
        <h1>GET THE LATEST FLASH PLAYER TO VIEW THIS SITE.</h1>
        <a href="http://www.adobe.com/go/getflashplayer">
            get it now
        </a>
    </div>        
</div> 
<script type="text/javascript">
    // Embed the SWF
    var flashvars = {}; 
    var attributes = {id: "whole-grains-home", name: "whole-grains-home", style:"outline:none;"};
    var params = { allowscriptaccess: "always", menu: "false", wmode: "transparent", swliveconnect: "true" };
    var flashFile = '<%= Url.Content("~/files/flash/Homepage/R9IN03_PostH&W_Homepage.swf") %>';
    swfobject.embedSWF(flashFile, "flash-content", "990", "538", "9.0.0", "expressInstall.swf", flashvars, params, attributes);
</script>

I’m suspecting that root route is to blame, but I just can’t figure out why this works locally, but not on the server.

Anyone have any ideas?

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T05:43:06+00:00Added an answer on May 13, 2026 at 5:43 am

    I noticed that one of my files did work. I then looked at that file, as compared to the others and noticed that the ones that did NOT work had “&” in their filename (like the example above).

    Taking that out seems to have solved this issue.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to get the OpenIdPortableArea to work in my ASP.NET MVC site using
I am using elmah with an asp.net mvc 3 site and it works fine
I have an asp.net mvc 3 site running locally and everything works fine. I
I've started to work a bit with master pages for an ASP.net mvc site
I know this site is written using ASP.Net MVC and I do not see
I'm creating an Asp.net MVC site using the Entity Framework and am wondering how
I have a ASP.NET MVC site using Membership Provider. I have trouble testing some
When I run my asp.net mvc site in visual studio 2008 is it running
I'm writing an ASP.NET MVC site where I'm using LINQ to SQL to access
I'm building an ASP.NET MVC site where I'm using Lucene.Net for search queries. I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.