Results 1 to 5 of 5

Thread: Download?

  1. #1
    Jenny Guest

    Download?

    When I try to download the grid displayed with AspdbPro (from an Access DB)
    I get this error message:

    Asp 0156:80004005

    "Heading error"
    (with the row number that in my .asp file corresponds to the string "Mydb.aspDBPro&#34

    "The HTTP headings have already been sent to the client browser. If needed, modify the HTTP headings before writing the page".
    ????

    Help!

  2. #2
    Mark Guest

    Download? (reply)

    Hi Jenny,

    You might just need to add one statement at the very top of your program. See Example 11a at our Application Program Examples on our website at:
    http://208.196.181.86/

    I hope that helps.

    Mark.


    ------------
    Jenny at 3/15/01 9:17:30 AM

    When I try to download the grid displayed with AspdbPro (from an Access DB)
    I get this error message:

    Asp 0156:80004005

    "Heading error"
    (with the row number that in my .asp file corresponds to the string "Mydb.aspDBPro&#34

    "The HTTP headings have already been sent to the client browser. If needed, modify the HTTP headings before writing the page".
    ????

    Help!

  3. #3
    John Guest

    Download? (reply)

    Hi Jenny,

    Yes, the <% response.buffer=true %> must be the absolute first line in your file. Don&#39;t even put a blank line or space before it.

    That should do the trick.

    John


    ------------
    Jenny at 3/16/01 3:12:20 AM

    Thank you, Mark for your ready answer!
    What do you mean by &#34;the very top&#34;?
    Is it <% response.buffer=true %>?
    I already have it in my page.
    Thanks
    Jenny


    ------------
    Mark at 3/15/01 9:25:11 AM

    Hi Jenny,

    You might just need to add one statement at the very top of your program. See Example 11a at our Application Program Examples on our website at:
    http://208.196.181.86/

    I hope that helps.

    Mark.


    ------------
    Jenny at 3/15/01 9:17:30 AM

    When I try to download the grid displayed with AspdbPro (from an Access DB)
    I get this error message:

    Asp 0156:80004005

    &#34;Heading error&#34;
    (with the row number that in my .asp file corresponds to the string &#34;Mydb.aspDBPro&#34

    &#34;The HTTP headings have already been sent to the client browser. If needed, modify the HTTP headings before writing the page&#34;.
    ????

    Help!

  4. #4
    Jenny Guest

    Download? (reply)

    Hello John, yes, it&#39;s the very first line, without any space before.
    Do you think there can be another reason?
    It happens in every page I made, even if there is a very simple SQL (select any field from one single table)...

    But take a look...



    <% Response.Buffer=true %>
    <% applicazione=5100 %>

    <HTML>

    <HEAD>
    <META NAME=&#34;GENERATOR&#34; Content=&#34;Microsoft FrontPage 4.0&#34;>
    <title>Data view</title>
    </HEAD>

    <body bgcolor=&#34;#ffffff&#34; text=&#34;#663300&#34; leftmargin=&#34;0&#34; topmargin=&#34;0&#34; marginwidth=&#34;0&#34;>
    <table border=&#34;1&#34; width=&#34;100%&#34; cellspacing=&#34;0&#34; cellpadding=&#34;0&#34; bgcolor=&#34;#CDE0CC&#34; bordercolor=&#34;#CDE0CC&#34;>
    <TBODY>
    <tr>
    <td align=&#34;middle&#34; bgcolor=&#34;#cdeocc&#34;>
    <p align=&#34;center&#34;><big><big><font color=&#34;#FFFFFF&#34;><b>Forms</b></font></big></big></p>
    </td>
    </TR>

    <% Response.flush %>
    <p><font color=#0000a0&#34;>
    <%
    Set MyDb = Server.CreateObject(&#34;AspDB.Pro&#34
    Mydb.dbDSN = &#34;FILEDSN=Alitalia&#34;
    MyDb.dbSQL = &#34;SELECT Cod_age, Cognome, Nome, Cod_fisc, Num_polizza, Premio, Cod_mm, Verifica, Data FROM Campi_mm&#34;

    MyDb.DBColor = &#34;6598CB,6598CB,003366,white&#34;
    Mydb.dbOptions = &#34;CellFontTag=Size=2, HeaderFontTag=Size=3&#34;
    MyDb.DbMode = &#34;grid&#34;
    MyDb.dbImageDir=&#34;aspdb_img/&#34;
    Mydb.dbNavigation=&#34;top&#34;
    Mydb.dbNavigationItem=&#34;top, bottom, next, prev, gridrow&#34;
    Mydb.dbNavigationIcon=&#34;std&#34;

    Mydb.aspDBPro
    %>
    </table>
    </BODY>

    Thanks
    Jenny
    ------------
    John at 3/16/01 12:20:10 PM

    Hi Jenny,

    Yes, the <% response.buffer=true %> must be the absolute first line in your file. Don&#39;t even put a blank line or space before it.

    That should do the trick.

    John


    ------------
    Jenny at 3/16/01 3:12:20 AM

    Thank you, Mark for your ready answer!
    What do you mean by &#34;the very top&#34;?
    Is it <% response.buffer=true %>?
    I already have it in my page.
    Thanks
    Jenny


    ------------
    Mark at 3/15/01 9:25:11 AM

    Hi Jenny,

    You might just need to add one statement at the very top of your program. See Example 11a at our Application Program Examples on our website at:
    http://208.196.181.86/

    I hope that helps.

    Mark.


    ------------
    Jenny at 3/15/01 9:17:30 AM

    When I try to download the grid displayed with AspdbPro (from an Access DB)
    I get this error message:

    Asp 0156:80004005

    &#34;Heading error&#34;
    (with the row number that in my .asp file corresponds to the string &#34;Mydb.aspDBPro&#34

    &#34;The HTTP headings have already been sent to the client browser. If needed, modify the HTTP headings before writing the page&#34;.
    ????

    Help!

  5. #5
    Mark Guest

    Download? (reply)

    Jenny,
    You said you get the error when you try to &#34;download&#34; yet your source code doesn&#39;t include a download button!
    Also what is a <TBODY>?
    Also, your ASP-db code isn&#39;t inside a table TD tag. It&#39;s just kind of hanging between your last </TR> and your </table> tags. (That&#39;s illegal HTML)
    I suggest removing ALL your TABLE stuff and trying again.
    Mark.

    ------------
    Jenny at 3/19/01 2:31:46 AM

    Hello John, yes, it&#39;s the very first line, without any space before.
    Do you think there can be another reason?
    It happens in every page I made, even if there is a very simple SQL (select any field from one single table)...

    But take a look...



    <% Response.Buffer=true %>
    <% applicazione=5100 %>

    <HTML>

    <HEAD>
    <META NAME=&#34;GENERATOR&#34; Content=&#34;Microsoft FrontPage 4.0&#34;>
    <title>Data view</title>
    </HEAD>

    <body bgcolor=&#34;#ffffff&#34; text=&#34;#663300&#34; leftmargin=&#34;0&#34; topmargin=&#34;0&#34; marginwidth=&#34;0&#34;>
    <table border=&#34;1&#34; width=&#34;100%&#34; cellspacing=&#34;0&#34; cellpadding=&#34;0&#34; bgcolor=&#34;#CDE0CC&#34; bordercolor=&#34;#CDE0CC&#34;>
    <TBODY>
    <tr>
    <td align=&#34;middle&#34; bgcolor=&#34;#cdeocc&#34;>
    <p align=&#34;center&#34;><big><big><font color=&#34;#FFFFFF&#34;><b>Forms</b></font></big></big></p>
    </td>
    </TR>

    <% Response.flush %>
    <p><font color=#0000a0&#34;>
    <%
    Set MyDb = Server.CreateObject(&#34;AspDB.Pro&#34
    Mydb.dbDSN = &#34;FILEDSN=Alitalia&#34;
    MyDb.dbSQL = &#34;SELECT Cod_age, Cognome, Nome, Cod_fisc, Num_polizza, Premio, Cod_mm, Verifica, Data FROM Campi_mm&#34;

    MyDb.DBColor = &#34;6598CB,6598CB,003366,white&#34;
    Mydb.dbOptions = &#34;CellFontTag=Size=2, HeaderFontTag=Size=3&#34;
    MyDb.DbMode = &#34;grid&#34;
    MyDb.dbImageDir=&#34;aspdb_img/&#34;
    Mydb.dbNavigation=&#34;top&#34;
    Mydb.dbNavigationItem=&#34;top, bottom, next, prev, gridrow&#34;
    Mydb.dbNavigationIcon=&#34;std&#34;

    Mydb.aspDBPro
    %>
    </table>
    </BODY>

    Thanks
    Jenny
    ------------
    John at 3/16/01 12:20:10 PM

    Hi Jenny,

    Yes, the <% response.buffer=true %> must be the absolute first line in your file. Don&#39;t even put a blank line or space before it.

    That should do the trick.

    John


    ------------
    Jenny at 3/16/01 3:12:20 AM

    Thank you, Mark for your ready answer!
    What do you mean by &#34;the very top&#34;?
    Is it <% response.buffer=true %>?
    I already have it in my page.
    Thanks
    Jenny


    ------------
    Mark at 3/15/01 9:25:11 AM

    Hi Jenny,

    You might just need to add one statement at the very top of your program. See Example 11a at our Application Program Examples on our website at:
    http://208.196.181.86/

    I hope that helps.

    Mark.


    ------------
    Jenny at 3/15/01 9:17:30 AM

    When I try to download the grid displayed with AspdbPro (from an Access DB)
    I get this error message:

    Asp 0156:80004005

    &#34;Heading error&#34;
    (with the row number that in my .asp file corresponds to the string &#34;Mydb.aspDBPro&#34

    &#34;The HTTP headings have already been sent to the client browser. If needed, modify the HTTP headings before writing the page&#34;.
    ????

    Help!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •