在ie address打一下的链接:http://192.168.1.135/EOS video.swf
显示正常。现在在aspx的文件加入<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="1000" height="700" title="testflash">
  <param name="movie" value="http://192.168.1.135/EOS video.swf" />
  <param name="quality" value="high" />
  <embed src="http://192.168.1.135/EOS video.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="1000" height="700"></embed>
</object>
打开该aspx文件,
提示错误:Server Error in '/' Application.
--------------------------------------------------------------------------------Runtime Error 
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".
<!-- Web.Config Configuration File --><configuration>
    <system.web>
        <customErrors mode="Off"/>
    </system.web>
</configuration>
 Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.
<!-- Web.Config Configuration File --><configuration>
    <system.web>
        <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
    </system.web>
</configuration>
 

解决方案 »

  1.   

    这是告诉你错误原因不能显示,
    把web.config文件里的customErrors 改成下面这样,
    <customErrors mode="Off"/>先看看详细错误是什么
      

  2.   

    问问,在aspx网页内嵌入一个flash和html网页内嵌flash,有什么不同?
    一直提示我 web.config有错。
    加入代码在html运行良好
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase=" http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="1000" height="700" title="testflash">
      <param name="movie" value=" http://192.168.1.135/EOS video.swf" />
      <param name="quality" value="high" />
      <embed src=" http://192.168.1.135/EOS video.swf" quality="high" pluginspage=" http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="1000" height="700"></embed>
    </object>
      

  3.   

    问题解决。html与asp.net下内嵌flash代码一样。是我其他设置出现问题。