HELP! - Problem Streaming swfs via ADODB.Stream

We are streaming flash swfs from a secure folder using an ASP
script. All has been working well for some time, but now fails with
Flash Player 10.
Following is a portion of the ASP code in the script that
streams a swf. Can anyone see why this might not work with Player
10? -- Thanks....
Set objFSO =
Server.CreateObject("Scripting.FileSystemObject")
Set objFile = objFSO.GetFile(strFullPathofFile)
Response.AddHeader "Content-Disposition", "attachment;
filename=" & objFile.Name
Response.AddHeader "Content-Length", objFile.Size
Response.ContentType = application/x-shockwave-flash
Set objStream = Server.CreateObject("ADODB.Stream")
objStream.Open
objStream.Type = adTypeBinary
objStream.LoadFromFile strFullPathofFile
Response.BinaryWrite objStream.Read
objStream.Close
Set objStream = Nothing
regards,
Geofff

We have the same problem as well and it has broken our site
completely. VB.NET code below. Any help/insight would be greatly
appreciated. One thing I have noticed is that it does not seem to
be a problem with .flv files, only .swf. The strange thing about
this is that when playing the movie in CS3 it loads and plays fine
on my local machine getting the streamed content from the remote
server which leads me to believe that this is a security issue.
Crossdomain.xml file is set to allow all domains and resides in the
root of the web server.
' Open the file.
iStream = New System.IO.FileStream(filePath,
System.IO.FileMode.Open, _
IO.FileAccess.Read, IO.FileShare.Read)
' Total bytes to read:
dataToRead = iStream.Length
totalFileSize = iStream.Length
Response.ContentType = "application/octet-stream"
Response.AddHeader("Content-Disposition", "attachment;
filename=" & filename)
Response.AddHeader("Content-Length", totalFileSize.ToString)
' Read the bytes.
While dataToRead > 0
' Verify that the client is connected.
If Response.IsClientConnected Then
' Read the data in buffer
length = iStream.Read(buffer, 0, 10000)
' Write the data to the current output stream.
Response.OutputStream.Write(buffer, 0, length)
' Flush the data to the HTML output.
Response.Flush()
ReDim buffer(10000) ' Clear the buffer
dataToRead = dataToRead - length
Else
isPartialFile = True
'record the data read in the database HERE (partial file)
totalDelivered = totalFileSize - dataToRead
'prevent infinite loop if user disconnects
dataToRead = -1
End If
End While

Similar Messages

  • Help connecting to Oracle via ADODB in MS Access 2003

    I'm attempting to use vb within Microsoft Access to return a recordset.
    I can connect, but I when I execute my select statement, I get the following message:
    Run-time error '-2147217865 (80040e37)':
    [Microsoft][ODBC driver for Oracle][Oracle]ORA-00942: table or view does not exist.
    I've doublechecked the tablename in the select statement, and it is good. I've run the select statement directly from Access - using a linked table within Oracle, and it runs fine.
    I'm using Oracle Net Manager 10.2.0.0.0, and my ODBC driver is "Oracle in OraClient10g_home1" My OS is XP SP2
    Here is the connection (details obscured) info I'm using: Note. I don't get the error until I open the recordset.
    strConnect = "Driver={Microsoft ODBC for Oracle};Server=myoradb;Uid=userid;Pwd=pass;"
    sql = "select * from TABLE where SOMETEXTFIELD='sometextvalue'"
    Set conn = CreateObject("ADODB.Connection")
    Set rsSizing = CreateObject("ADODB.Recordset")
    conn.open strConnect
    rsSizing.open sql, conn, 3, 1
    Any help would be much appreciated,
    Joe

    962228 wrote:
    At our College, we have a server with Oracle installed and 33 clients connecting to the Oracle database on the server. This semester, for whatever reason, we're having an issue linking from MS Access 2013 (32-bit) to the Oracle database. We create the link and it seems to work fine after entering username and password (we are using the 32 bit ODBC drivers). However, when we connect, the window that shows the available tables to link to shows no tables. Its' completely blank. We can see the tables through the database side, and the drivers *seem* to be ok . . . has anyone seen this before? We're new to Oracle and are not sure what the problem could be. Any help is greatly appreciated. Thank you!
    I know this probably isn't much help, but many years ago I was faced with an issue that sounded somewhat similar.  User department had an Access application.  The .mdb file was on a file server, so everyone in the department was using the same file .. not indivdual copies that could have diverged.  Desktop PC configuration was tightly controlled by IT, so assumed the same for each.  Even though all seemed to connect to the Oracle db, some saw data and other saw "????".  Connection to the Oracle db was via ODBC.  In the end, the only solution we came up with was to configure some users with the Oracle ODBC driver and others with the MS ODBC for Oracle. 

  • Last week, I had no problems streaming my MacBook Pro to my sony Bravia with a logix hdmi cable. I came back from holidays and now it doesn't work anymore.  What settings should my computer be on and what settings should my tv be on?

    Last week, I had no problems streaming my MacBook Pro to my sony Bravia with a logix hdmi cable. I came back from holidays and now it doesn't work anymore.  What settings should my computer be on and what settings should my tv be on?

    TarahCurrie Sep 10, 2014 3:48 PM
    Restore From Time Machine Backup
    Reinstall OS X
    Get Help Online
    Disk Utility
    MacBook Pro, Mac OS X (10.5.8)
    You are running 10.5.8
    Did you try booting off your Install disk holding the c key down.  From here you can get to the drop down menu just a few clicks in (you are not going to install) and run  the Disk Utility>Repair Disk.  See if it will let you do this.

  • E1500 wireless router having problems streaming video and netflix

    We got a new E1500 router 2 nights ago. The internet works fine, but it has big trouble streaming videos and Netflix, those types of things. I have changed my MTU setting and all the settings suggested in the "Guide Me" section. My drivers are up to date on my router and on my pc. It just started happening with this router. We had a Netgear before and we have no problems streaming at all. I have rebooted and reset the router and cable modem.
    Does anyone else have some suggestions I can try?
    Thanks,
    Debbie

    The concern that you have is for both wired and wireless or just for the wireless? If it is for wireless then try these troubleshooting steps:
    A] With the help of Cisco Connect Software (if at all you have installed the router with the help of this software)
    1] Open the software and go to the option which says "Router Settings"
    2] Then click on the option which says "Advanced Settings" which will take you to the router's configuration page.
    3] Then go to the Wireless tab, change Channel width to 20 MHz only and change the Channel to 6, 9, 11...Save the settings..
    B] If you haven't installed Cisco Connect then you can log on to the router's user interface using it's default IP address in the browser which is 192.168.1.1 and type in 'admin' as the password leaving the username field blank. This will take you to the router's web interface and then follow steps as mentioned above to make the changes.
    Then check the status of streaming video and netflix.

  • Problem streaming to speakers

    Hello,
    Since having downloaded the new version of iTunes, I have been unable to stream wireless to my wireless speaker setup. When opening iTunes application, a error message pops up with, 'the iTunes volume is currently turned all the way down. To change the volume, drag the slider at the top of the iTunes window'.
    For some reason it turns itself down when the application is opened, and when I turn it back up, it seems to connect but no sound is emitted from the speakers...
    Please help!
    Thanks

    Hello susanm115. Welcome to the Apple Discussions!
    I have 1 airport express connected to the router and have no problems with wireless internet reaching my imac or laptop anywhere in the house.
    What is the make & model of the router the first AirPort Express Base Station (AX) is connected to? Is this router wireless? Do you have the AX connected to it by Ethernet? ... or wireless? If wireless, is the AX configured to "join" the other router's wireless network?
    I had a second airport express connect to the old stereo and had no problem streaming music to those speakers.
    How was this second AX configured? That is, was it configured to "join" the other router or the first AX's wireless network? ... or to extend the first AX?
    I plugged the 2nd airport express into the powered speakers.
    This alone should not have affected the AX. Did you happen to make any other configuration changes besides switching from the stereo to these speakers?

  • Problem streaming HD Movies to Apple TV through home network

    Got my new Apple TV yesterday but has some quirks. The biggest one is I'm in the middle of watching an iTunes HD movie I own -- streaming it to my Apple TV on my home network -- and the video starts stuttering halfway through the movie. It was playing with no sound, the video was jumpy, etc.
    I stopped the movie, unplugged the Apple TV, tried playing the movie again -- I did this a couple of times -- and same result. This issue didn't happen until about an hour into the movie -- for the first hour of the show it played perfectly. Just before the movie, I'd watched an HD TV show I downloaded from iTunes earlier in the day, and was streaming this to my new Apple TV over the home network, and it played fine.
    The other issue I'm seeing is it takes a looooooooooong time to load my iTunes Library from my computer. I selected my shared library, and then it takes about five times (or more) as long to load the list of movies compared to my older Apple TV (the previous generation 160GB hard drive model).
    Is anyone else seeing these issues, and is there a fix?

    I am having the same problem streaming HD anything, Movies or TV shows. It seems to try to buffer more of the video than when using SD video anything. When playing SD anything, it seems to start playing very soon after pressing play.
    My content is on a spring 2009 iMac
    CPU 2.93 GHz
    4GB RAM
    OS 10.5.8
    Network
    Wireless N (G,B 2.4 GHz) No G or be devices on network presently not switching to N only because iPhone 3GS doesnt 'support N.
    Airport Extreme (man BS) -> Airport Extreme (Extend Network mode) -> Airport Extreme (Join Network Mode).
    Thanks,
    Andy D

  • Problem inserting .swf in dreamweaver 8.Help!!

    Hi everybody.I have a problem since a lot of time jaja.I habe
    problems inserting .swf files in dreamweaver 8.I can insert, when I
    press f12 to see in Internet Explorer you see the movie, but when
    you put mouse over the banner I design.This has a bad behavior, it
    transform to hand, because the banner is a buttom, and again
    transform in default mode and it doesn`t stay in buttom form.When I
    did the flash, I saw the .sfw file in HTML, that generated the same
    Flash, and it look good, and had a hood behavior, but when I insert
    in dreamweaver 8 it doesn`t work correctly.I download the
    Dreamweaver 8 Update 2. Now I have Dreamveaver 8.0.2 or something
    like that.
    I think that the problems is in the form that Dreamweaver
    Insert the .swf file.
    My way is Insertar - Media - Flash.
    Somebody can help me? this problem I can´t resolved and
    I new whit this.
    English is not mi first Language, sorry if I had mistakes.

    ok....
    i installed php 5.2.10
    and downloaded php-5.2.10 zip file i found .dll
    its ok
    but in next help topic (testing PHP installation (Windows) )
    [http://livedocs.adobe.com/dreamweaver/8/using/gs_18_q7.htm]
    i didnt gt the result...
    what may be the problem?
    plz advice
    thanks in advacne

  • Problems streaming video (after 5-10 mins)

    Hi,
    I used to have no problems streaming video (hulu, espn3 etc), but recently my quality starts dropping out after 5-10 mins. It starts off fine but then the video starts getting jumpy then the audio starts to fuzz out. If I refresh the browser and even restart. the problem can still be there.
    Does anyone know what the problem could be? Is there any chance that this not an issue with my computer, but with my internet connection?
    Thanks!

    I too am having this same issue.  I have only started having it after installing Lion.  I am forced to restart my computer if I wish to watch a video.  I have no solutions!

  • Problem streaming podcast to iPhone/iPad

    Some of the listeners of my podcast (http://itunes.apple.com/us/podcast/instaflicka-podcast/id373911029)have been complaining that they are not able to stream it to the iPhone or iPad recently. They don't seem to have problems streaming other podcasts, just mine. I set it up with iTunes following all of the steps provided there and syndicate it using FeedBurner. Is there something else I need to be doing to resolve this issue?

    I have the same problem. Have you found a solution? Thanks.

  • Problems streaming neflix

    I have problems streaming some movies from neflix. network it's OK.

    Oh and I can't do anything on iMovie becaue the App runs slow and the movies audio isn't in sync with the video.

  • Problems migrating data via LSMW using the IDoc method

    Hello everybody,
    I got a very strange problem migrating data via the LSMW. I tried to map legacy data using the IDoc mapping method. I'm using the message type 'CRMXIF_PARTNER_SAVE_M ' and the basic IDoc type 'CRMXIF_PARTNER_SAVE_M01'.
    I can read the import data and convert it to IDoc structure as well as generate the IDoc. When I start processing the IDoc afterwards I get always the same error messages which I don't understand...
    The errors are:
    1) Error status 'A ' calling validation service (Status 51)
    2) Validation error occurred: Module CRM_BUPA_MAIN_VAL , BDoc type BUPA_MAIN (Status 51)
    3) Error_Time Dependency_Addresses CHECK_TABLE_MISSING (Status 51)
    4) Internal error when calling operation module BUA_CHECK_ADDRESS_VALIDITY_ALL : Check table missing (Status 51)
    5) Address moves ignored in the case of time-independent systems (Status 51)
    6) Partner data processed with key PartnerGUID 4BF67ADE9B9923BEE10000000A3500DB (Status 51)
    7) Partner (4BF67ADE9B9923BEE10000000A3500DB ): the following errors occurred (Status 51)
    I tried to import the following data:
    external ID
    Name1
    Name2
    Address data
    Telephone data
    Fax data
    Website data
    Can anybody tell me where those errors come from and how I can fix them. Would be great if somebody could help me!
    Thank you and best regards,
    Markus

    so apparently my issue with this was setting the time zone in the Address to the time zone of the user doing the conversion. You can find the time zone in SU01.
    Also you can create a BP in the WebUI then check t-code SMW01 and it will help you on passing the values to CRMXIF_PARTNER_SAVE
    Edited by: Akeem Lockett on Jul 8, 2010 7:44 AM

  • Post Moved BT Broadband Desktop help problem

    Post Moved to Other BB Queries http://community.bt.com/t5/Other-BB-Queries/BT-Broadband-Desktop-Help-problem/td-p/46973
    If you want to say thanks for a helpful answer,please click on the Ratings star on the left-hand side If the reply answers your question then please mark as ’Mark as Accepted Solution’

    Hi FrankC
    I am sorry this still a problem.
    If you could drop me an email please with your BT account and telephone number along with a link back to this thread I'll get this sorted out for you.
    Just send to the address in my profile. 
    With regards to the thread being marked as solved as the original poster you can unmark the thread as solved.  Just select 'Options' at the top right of the post.  KerryG has posted up a pretty useful guide on this here. 
    Cheers
    Craig
    BTCare Community Mod
    If we have asked you to email us with your details, please make sure you are logged in to the forum, otherwise you will not be able to see our ‘Contact Us’ link within our profiles.
    We are sorry but we are unable to deal with service/account queries via the private message(PM) function so please don't PM your account info, we need to deal with this via our email account :-)”
    td-p/30">Ratings star on the left-hand side of the post.
    If someone answers your question correctly please let other members know by clicking on ’Mark as Accepted Solution’.

  • Problems with sending via url

    Hi there, I've got a problem with sending via an URL. If I send and receive something I use a method called connect. This method works well, I construct a URL, connect and receive an ObjectStream.
    But as I only want to set some values in another use case I do not want to receive anything,
    But it doesn't work - my servlet does not receive any request.
    Could anyone please help me to solve this?
    Thank you.
    Regards
    Tarik
    private synchronized static void connectOneWay(String data)
                throws IOException, ClassNotFoundException {
            try {
                URLConnection connection = null;
                URL testServlet = null;
                Class classLock = ServletConnector.class;
                while (locked)
                    classLock.wait();
                locked = true;
                testServlet = new URL(servletURL + data);
                if (MMSCMSTree.debug)
                    System.out.println("Servlet URL: " + testServlet);
                connection = testServlet.openConnection();
                connection.setDoInput(false);
                connection.connect();
                locked = false;
                classLock.notify();
            } catch (InterruptedException e) {
                e.printStackTrace();
            }

    Hi
    There was not a problem with this, the problem was on the server side, infinite loop ... :-)
    Regards
    Tarik

  • Premiere Pro CS5: please help problem with importing a file error output "there was an error decompressing audio or video"

    please help problem with importing a file error output "there was an error decompressing audio or video"

    this is related to what adobe program/version?

  • Problems Capturing Video via FireWire

    I have had problems capturing video via firewire on my MacBook Pro. It is an early 2008 model. I have tried capturing video using multiple programs, cables and cameras. In both Final Cut Express and iMovie ('08 and '09) I loose the connection mysteriously. It just stops sensing my camera mid capture. I can shut the computer down, programs down and cameras down but nothing seems to work consistently in getting it to work. The weird part is that it does work some times. Recently I tried an auto capture of a whole miniDV tape through a sony handicam via iMovie '09. It got 20mins of the tape then stopped and rewound the tape. When trying it again it read "connection error". I could not get it to work. I put the computer to sleep and came back later. It worked but only captured about 10 minutes then shut down the whole camera and import completely. I switched to manual import and it will now only let me capture about 20 seconds at a time. What is going on? To me it seems like the port itself is malfunctioning and disconnecting the signal randomly. Has anyone else experienced this? What is the cause and what can I do about it?

    I've been reading the forums and it seems that there is an issue with the Firewire port in general. I have an external firewire 800 HD and when copying large files or a large number of files the HD gets dismounted unexpectedly. Your case seems similar in that we are both transferring large files via Firewire. Anyone have any fixes for this?

Maybe you are looking for