This topic is locked

articles_dbconnection.asp

6/23/2004 9:25:08 AM
ASPRunnerPro General questions
author

Hello,
On generation in /include I have a
<%

strConnection ="Provider=MSDataShape;Driver={MySQL};DNS=" & server.mappath("db\iiii") ..............

STMT=;"

%>
I remplace with a file containing
<%

strConnection = "DRIVER=MySQL;DATABASE=aaa;SERVER=iiii;UID=bbb;PWD=ccc;"

%>
And it is working.
But after generation I am obliged to change again ....

How can I have a correct build on articles_dbconnection.asp
<img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=696&image=1&table=forumtopics' class='bbc_emoticon' alt=':blink:' /> Thanks
Alphonse

S
Scruffy 6/26/2004

You could do what i do, if i know that the content shouldn't be changed after i generate my pages again, i just make them read only so they don't get overwritten with the new page(s), not the answer your looking for but works for me.