This topic is locked

Header Error

7/31/2005 7:53:31 PM
ASPRunnerPro General questions
D
dbonates author

<img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=1686&image=1&table=forumtopics' class='bbc_emoticon' alt=':blink:' /> I did all I can, and i couldnt get it working online. On my computer XP PRO SP2, IIS, it worked fine, but online I see this error:
Response object error 'ASP 0156 : 80004005'
Header Error
/dbadminasp/include/commonfunctions.asp, line 8
The HTTP headers are already written to the client browser. Any HTTP header modifications must be made before writing page content.
<img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=1686&image=2&table=forumtopics' class='bbc_emoticon' alt=':blink:' /> ???? What I did that was wrong? Just uploaded??? <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=1686&image=3&table=forumtopics' class='bbc_emoticon' alt=':unsure:' />
(The server is Windows2003)

admin 8/1/2005

Hi,
you need to enable Buffering on the Administrative Web Site.

  1. In IIS Manager, double-click servername (local computer).
  2. Double-click Web Sites.
  3. Right-click the Administration Web site and then click Properties.
  4. Click Home Directory, click Configuration, and then click Options.
  5. Check the Enable buffering check box, and then click OK twice.

D
dbonates author 8/1/2005

<img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=5364&image=1&table=forumreplies' class='bbc_emoticon' alt=':huh:' />

Hey I cant do it? Its not on my computer. I fact I said that on my computer its working great, but when I upload it to the server, i ghot this error. Also, I cant igure out on how to do a working string connection. For example, I use the this one for work with dreamweaver:
xDb_Conn_Str = "Data Source=D:\SUBDOM\mysite.com\data\dbdados.mdb;Provider=Microsoft.Jet.OLEDB.4.0;"
But i cant figure out how can I access it from the app. to generate a valid code.
In fact, im expecting an error accessing the database, but before i got the header error...
do i need to ask my ISP to enable buffers? <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=5364&image=2&table=forumreplies' class='bbc_emoticon' alt=':unsure:' />

admin 8/1/2005

Yes, ask your ISP to enable buffering for ASP applications.
Also you can use connection string generated by ASPRunnerPro. There is no need to use your own connection string.
Just make sure you use Server.MapPath option and upload ASP files using FTP upload feature builtin into ASPRunnerPro.

D
dbonates author 8/1/2005

<img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=5374&image=1&table=forumreplies' class='bbc_emoticon' alt=':huh:' /> with the conn string i said, can you tellme a valid con string for me to use in the ASPRunnerPro dialog?

Im not a programmer, thats why i do so simple questions...sorry.
thxs,

db

admin 8/1/2005

ASPRunner builds connection string. There is no place to enter connection string manually. Are you sure you talking about ASPRunner?

D
dbonates author 8/1/2005

yes, thats why im asking, causing since im trying to figure it out the app, i didnt see any dialog for conn string. how can i tell to ASPRunner , that it must be
Provider=Microsoft.Jet.OLEDB.4.0;
and the path
dados/dados.mdb (outside from the www folder), to in the end it make a compatoble string like this:
Conn_Str = "Data Source=D:\SUBDOM\mysite.com\data\dbdados.mdb;Provider=Microsoft.Jet.OLEDB.4.0;"
I tried so many way, but it allways ask for a databse in my local Computer... <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=5377&image=1&table=forumreplies' class='bbc_emoticon' alt=':blink:' />

admin 8/2/2005

Just make sure you use Server.MapPath option and upload ASP files using FTP upload feature builtin into ASPRunnerPro.
When you upload ASP files you can tell ASPRunner to put database file to the separate folder. Connection string will be adjusted automatically in this case.
Just follow these instructions to make everything work.