Dreamweaver CS3 SQL code

I have a working application that was created using DW
2004MX. I just upgraded to CS3 and am finding that code blocks
created before are changed by CS3 (if I update some characteristic)
and no longer function. A simple example is a recordset that uses
the SQL "IN" operator with a list of numbers (indexes) passed in a
URL parameter. When I create the recordset, the test function works
fine; however, when the page is operating the page will only
function if there is just one piece of data in the URL. If there is
more than one there is no response. I have attached a simple
example from both 2004 and CS3, I can edit the code to work but I'd
like to understand what's going on. Any ideas would be greatly
appreciated.

HGRMTT wrote:
> I have a working application that was created using DW
2004MX. I just upgraded
> to CS3 and am finding that code blocks created before
are changed by CS3 (if I
> update some characteristic) and no longer function. A
simple example is a
> recordset that uses the SQL "IN" operator with a list of
numbers (indexes)
> passed in a URL parameter. When I create the recordset,
the test function
> works fine; however, when the page is operating the page
will only function if
> there is just one piece of data in the URL. If there is
more than one there is
> no response. I have attached a simple example from both
2004 and CS3, I can
> edit the code to work but I'd like to understand what's
going on. Any ideas
> would be greatly appreciated.
>
> Under 2004 MX
> <%
> Dim rs_donations__MMColParam
> rs_donations__MMColParam = "1"
> If (Request.QueryString("DonationID") <> "") Then
> rs_donations__MMColParam =
Request.QueryString("DonationID")
> End If
> %>
> <%
> Dim rs_donations
> Dim rs_donations_numRows
>
> Set rs_donations =
Server.CreateObject("ADODB.Recordset")
> rs_donations.ActiveConnection = MM_connHGRM_STRING
> rs_donations.Source = "SELECT * FROM Donations WHERE
DonationID IN (" +
> Replace(rs_donations__MMColParam, "'", "''") + ") ORDER
BY LastName, FirstName"
> rs_donations.CursorType = 0
> rs_donations.CursorLocation = 2
> rs_donations.LockType = 1
> rs_donations.Open()
>
> rs_donations_numRows = 0
> %>
>
> Under CS3
> <%
> Dim rs_donations
> Dim rs_donations_cmd
> Dim rs_donations_numRows
>
> Set rs_donations_cmd = Server.CreateObject
("ADODB.Command")
> rs_donations_cmd.ActiveConnection = MM_connHGRM_STRING
> rs_donations_cmd.CommandText = "SELECT * FROM Donations
WHERE DonationID IN ("
> + rs_donations__MMColParam + ")"
> rs_donations_cmd.Prepared = true
> rs_donations_cmd.Parameters.Append
rs_donations_cmd.CreateParameter("param1",
> 5, 1, -1, rs_donations__MMColParam) ' adDouble
>
> Set rs_donations = rs_donations_cmd.Execute
> rs_donations_numRows = 0
> %>
>
When Dreamweaver went to 8.02 there were some major changes
introduced
to recordsets. It prevents the code from being susceptible to
SQL
injection attacks which was a well needed update, but this
means that
all recordsets need to be created from scratch.
See this:
http://kb.adobe.com/selfservice/viewContent.do?externalId=4e6b330a&sliceId=2
Steve

Similar Messages

  • Dreamweaver CS3 reforderss ColdFusion templates

    Dreamweaver CS3 reorders ColdFusion template code without
    being asked
    When opening a Dreamweaver 8 ColdFusion page, Dreamweaver CS3
    will reorder some ColdFusion tags.
    For example:
    1. <cfswitch expression="#response.errorcode#">
    2. <cfcase value = "10602">
    3. "..Some Code..."
    4. </cfcase>
    5. <cfdefaultcase>
    6. "...Some_Other_Code.."
    7. </cfdefaultcase>
    8. </cfswitch>
    9. <CFQUERY username="#request.dbuser#"
    password="#request.dbpass#" DATASOURCE="#attributes.DSN#">
    10. Blah blah
    11 .</cfquery>
    Saved as a Dreamweaver 8 page and then subsequently opened in
    Dreamweaver CS3, the code becomes jumbled as:
    1. <cfswitch expression="#response.errorcode#">
    2. <cfcase value = "10602">
    3. "...Some_Code.."
    4.
    5. </cfcase><cfdefaultcase>
    6. "...Some_Other_Code.."
    7. </cfswitch>
    8. </cfdefaultcase><CFQUERY
    username="#request.dbuser#" password="#request.dbpass#"
    DATASOURCE="#attributes.DSN#">
    9. ..blah..blah..
    10. </CFQUERY>
    (Note the juxtaposition of the </cfdefaultcase> and
    </cfswitch> tags on lines 7 & 8)
    The Command "Clean up XHTML" has no effect.
    This behavior occurs on every Mac running DWCS3 in our
    office, but doesn't occur on Macs running DW8.
    If the CF page is opened in a Text Editor and saved as a Text
    doc and then opened in DWCS3 as a Text doc, the code stays intact
    and is not scrambled.
    However, as soon as the page is saved with the ".cfm"
    extension, DWCS3 scrambles the </cfdefaultcase> and
    </cfswitch> tags.
    Adobe Dreamweaver Support has duplicated the error but has no
    fix as of yet, so Dreamweaver CS3 is completely useless to me as a
    CF editor.
    Does anyone have any ideas?

    Dreamweaver CS3 reorders ColdFusion template code without
    being asked
    When opening a Dreamweaver 8 ColdFusion page, Dreamweaver CS3
    will reorder some ColdFusion tags.
    For example:
    1. <cfswitch expression="#response.errorcode#">
    2. <cfcase value = "10602">
    3. "..Some Code..."
    4. </cfcase>
    5. <cfdefaultcase>
    6. "...Some_Other_Code.."
    7. </cfdefaultcase>
    8. </cfswitch>
    9. <CFQUERY username="#request.dbuser#"
    password="#request.dbpass#" DATASOURCE="#attributes.DSN#">
    10. Blah blah
    11 .</cfquery>
    Saved as a Dreamweaver 8 page and then subsequently opened in
    Dreamweaver CS3, the code becomes jumbled as:
    1. <cfswitch expression="#response.errorcode#">
    2. <cfcase value = "10602">
    3. "...Some_Code.."
    4.
    5. </cfcase><cfdefaultcase>
    6. "...Some_Other_Code.."
    7. </cfswitch>
    8. </cfdefaultcase><CFQUERY
    username="#request.dbuser#" password="#request.dbpass#"
    DATASOURCE="#attributes.DSN#">
    9. ..blah..blah..
    10. </CFQUERY>
    (Note the juxtaposition of the </cfdefaultcase> and
    </cfswitch> tags on lines 7 & 8)
    The Command "Clean up XHTML" has no effect.
    This behavior occurs on every Mac running DWCS3 in our
    office, but doesn't occur on Macs running DW8.
    If the CF page is opened in a Text Editor and saved as a Text
    doc and then opened in DWCS3 as a Text doc, the code stays intact
    and is not scrambled.
    However, as soon as the page is saved with the ".cfm"
    extension, DWCS3 scrambles the </cfdefaultcase> and
    </cfswitch> tags.
    Adobe Dreamweaver Support has duplicated the error but has no
    fix as of yet, so Dreamweaver CS3 is completely useless to me as a
    CF editor.
    Does anyone have any ideas?

  • Dreamweaver CS3 and sql injection....

    Any news if Dreamweaver CS3 will have the same "problems"
    brought on by the
    8.0.2 update to Dreamweaver 8?
    Thanks!

    Excellent...glad to hear it and I look forward to getting
    CS3. I held off
    on 8 because of the so called problems.
    "Murray *ACE*" <[email protected]> wrote
    in message
    news:[email protected]...
    > Yes, that's what I do. Honestly, I've not seen any
    problems there.
    >
    > --
    > Murray --- ICQ 71997575
    > Adobe Community Expert
    > (If you *MUST* email me, don't LAUGH when you do so!)
    > ==================
    >
    http://www.dreamweavermx-templates.com
    - Template Triage!
    >
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    >
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    > ==================
    >
    >
    > "Pizza Good" <[email protected]> wrote in
    message
    > news:[email protected]...
    >>I think it comes up more when you have a form and
    pass the values to a
    >>recordset which uses those values to query and filter
    a recordset.
    >>
    >>
    >> "Murray *ACE*"
    <[email protected]> wrote in message
    >> news:[email protected]...
    >>>I am processing form input, which I believe is
    where SQL injection comes
    >>>in.
    >>>
    >>> --
    >>> Murray --- ICQ 71997575
    >>> Adobe Community Expert
    >>> (If you *MUST* email me, don't LAUGH when you do
    so!)
    >>> ==================
    >>>
    http://www.dreamweavermx-templates.com
    - Template Triage!
    >>>
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >>>
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    >>>
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    >>> ==================
    >>>
    >>>
    >>> "Pizza Good" <[email protected]> wrote
    in message
    >>> news:[email protected]...
    >>>> That's good, or perhaps you are not building
    the types of sites that
    >>>> may encounter the so called problems?
    >>>>
    >>>>
    >>>> "Murray *ACE*"
    <[email protected]> wrote in message
    >>>> news:[email protected]...
    >>>>>I have to say that I've used 8.0.2 with
    such things quite a bit and not
    >>>>>encountered *any* of the posted problems.
    >>>>>
    >>>>> --
    >>>>> Murray --- ICQ 71997575
    >>>>> Adobe Community Expert
    >>>>> (If you *MUST* email me, don't LAUGH
    when you do so!)
    >>>>> ==================
    >>>>>
    http://www.dreamweavermx-templates.com
    - Template Triage!
    >>>>>
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >>>>>
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    >>>>>
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    >>>>> ==================
    >>>>>
    >>>>>
    >>>>> "Paul Whitham AdobeCommunityExpert"
    <[email protected]> wrote in
    >>>>> message
    news:[email protected]...
    >>>>>> Using stored procedures is a good
    safe guard against SQL injection
    >>>>>> because you have to define your
    parameter types, in much the same way
    >>>>>> that the parameters in the 8.0.2
    worked.
    >>>>>>
    >>>>>> Yes it did break a number of
    extensions because the underlying code
    >>>>>> was completely rewritten but it is
    my understanding that most of
    >>>>>> these were subsequently patched to
    work with it.
    >>>>>>
    >>>>>> --
    >>>>>> Paul Whitham
    >>>>>> Certified Dreamweaver MX2004
    Professional
    >>>>>> Adobe Community Expert - Dreamweaver
    >>>>>>
    >>>>>> Valleybiz Internet Design
    >>>>>> www.valleybiz.net
    >>>>>>
    >>>>>> "Pizza Good"
    <[email protected]> wrote in message
    >>>>>>
    news:[email protected]...
    >>>>>>>I think what he is referring to
    is the sql injection "prevention"
    >>>>>>>code that was introduced in the
    8.0.2 update. I read a bunch of
    >>>>>>>issues related to the way
    recordsets were coded and that a page that
    >>>>>>>was coded lets say in ASP using
    8.0.1 that had used QueryString
    >>>>>>>values that were passed into the
    recodset for filtering/searching no
    >>>>>>>longer worked. I also read that
    8.0.2 "broke" a lot of extensions
    >>>>>>>because of the fix.
    >>>>>>>
    >>>>>>> I am still using MX2004, but I'm
    curious if the supposed problems
    >>>>>>> that came up with 8.0.2 could be
    totally avoided if a programmer
    >>>>>>> used Stored Procedures?
    >>>>>>>
    >>>>>>> Hopefully that makes sense.
    >>>>>>>
    >>>>>>>
    >>>>>>> "Paul Whitham
    AdobeCommunityExpert" <[email protected]> wrote in
    >>>>>>> message
    news:[email protected]...
    >>>>>>>> Most of the change that was
    made to the recordset in 8.0.2 was to
    >>>>>>>> eliminate SQL injections.
    What specifically are you refering to as
    >>>>>>>> an issue now
    >>>>>>>>
    >>>>>>>> --
    >>>>>>>> Paul Whitham
    >>>>>>>> Certified Dreamweaver MX2004
    Professional
    >>>>>>>> Adobe Community Expert -
    Dreamweaver
    >>>>>>>>
    >>>>>>>> Valleybiz Internet Design
    >>>>>>>> www.valleybiz.net
    >>>>>>>>
    >>>>>>>> "Brendon"
    <[email protected]> wrote in message
    >>>>>>>>
    news:[email protected]...
    >>>>>>>>> Those that are beta
    testing it would know - if they were doing
    >>>>>>>>> serverside/sql related.
    It wouldn't be speculation at all - in
    >>>>>>>>> fact it would be pretty
    straight forward to test.
    >>>>>>>>> I'd be very surprised if
    they havn't fixed the issue - in fact I
    >>>>>>>>> thought it was fixed in
    the 8.0.2 update, but I could be wrong.
    >>>>>>>>>
    >>>>>>>>> Brendon
    >>>>>>>>>
    >>>>>>>>> "Deaf Web Designer"
    <[email protected]> wrote in
    >>>>>>>>> message
    news:[email protected]...
    >>>>>>>>>> DW CS3 is not here
    as yet.
    >>>>>>>>>>
    >>>>>>>>>> Only time will tell
    once you have DW CS3 installed on your
    >>>>>>>>>> platform and find
    >>>>>>>>>> out if that is the
    case.
    >>>>>>>>>>
    >>>>>>>>>> At this point, it is
    all speculation without knowing the fact of
    >>>>>>>>>> the problem.
    >>>>>>>>>> Try to be a bit more
    patient until official release of product
    >>>>>>>>>> sometime this
    >>>>>>>>>> spring.
    >>>>>>>>>>
    >>>>>>>>>
    >>>>>>>>>
    >>>>>>>>
    >>>>>>>>
    >>>>>>>
    >>>>>>>
    >>>>>>
    >>>>>>
    >>>>>
    >>>>>
    >>>>
    >>>>
    >>>
    >>>
    >>
    >>
    >
    >

  • Code view not in synch with Design view (Dreamweaver CS3)

    Hello All,
    On my main work PC, I am running Dreamweaver CS3. When I am
    working in split view (with both Design and Code view visible) when
    I click on an element (say, a button) in Design view, the code view
    automatically shows me the code for the element that I am working
    on. That way, if I need to manually edit the code, I can click on
    the Code view and make the appropriate changes.
    On my laptop I am also running Dreamweaver CS3 However, when
    I am working in split view and I click on a element in Design view,
    my code view does NOT update itself and continues to show the last
    bit of code I was working on in Code view. While this could come in
    handy at times where i want design view and code view to show me
    two different things, I mostly would like code view to update
    automatically. Currently the only way I can get code view to update
    on my laptop is to hit the "refresh design view (F5)" button. Is
    there a way to do this automatically? Is this an option in
    Dreamweaver preferences because I don't see it anywhere.
    Thanks so much for your help.

    Ethereal_Mike wrote:
    > Does the new version of Dreamweaver CS3 print the code
    in color?
    No. If you feel that it's an important enhancement that you
    would like
    to see in future versions, submit a feature request:
    http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
    The more people who request a specific feature, the more
    likely it is to
    be implemented.
    David Powers, Adobe Community Expert
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • IE shows code from dreamweaver CS3 after uploading

    Hi guys
    Need help.
    I have coded a site in Dreamweaver CS3 and after I upload through the automatic upload everything goes perfectly fine until I view the site online through Internet Explorer. Through all other browsers the website comes through fine ie Firefox, iron for PC and Mac etc. Its just the PC Internet Explorer that shows the actual code.
    This is my code:
    br />
    &#x2022 Resume / CV<br />
    <br />
    What it sows is the code of the dots (&#x2022) only.
    The link is http://www.naissant.ca/becomeadesigner.html
    Hope someone can help with the problem.
    Thanks

    Can't see any code in IE7, IE8 or IE9 at the link you supplied.......maybe you have fixed it?
    Correction I was looking for a bit more code. Change this &#x2022 to &bull;
    or add semi-colon after code ; as shown below (not sure if this is genuine as I have'nt use that particular code to produce a bullet point)
    &#x2022;

  • Dreamweaver CS3 Code Hints

    Has anyone experienced problems with DW CS3's code hints for
    ColdFusion? I've installed the CF8 extensions, but the code hints
    don't work properly in Windows XP (My Mac version works fine).
    Basically, the "hints" for tags work, but only to an extent.
    For example, I've found the code hints for CFWINDOW do not provide
    the color picker for bgcolor in the style attribute. Funny quirks
    such as that.

    are you implying that the newer versions of IIS might be more up to date than the cs3 dreamweaver and that is where my problems will arise? 
    I am not implying anything.  I am simply wondering if the IIS is configured properly.  Have you tried creating a basic static page and load it in your browser to see if it loads OK? 
    Obviously, without looking at your code it is almost impossible to say anything meaningful.  However, I suggest post your query at this link:
    <http://forums.adobe.com/community/dreamweaver/dreamweaver_development?view=discussions&sta rt=0&numResults=30>
    <http://tinyurl.com/7vk6ccw>
    Hope this helps and Happy New Year to you.

  • Using Spry how to stop Dreamweaver CS3 from Changing Code

    Hi
      I am using Dreamweaver CS3 to build/maintain a website www.ghoter.net. I started using Spry to insert data from an xml file as I need the data in the xml file to show up on several different pages, includeing the home page. The data in the xml file changes from time to time. This is working wery well. But I am having a problem with Dreamweaver automaticly  changing a line of code in the html files every time I make a change to the html file. The line of code that is being changed is in the head of the program.
    This is the line of code that is being changed: The xml's name is data-3.xml The date from the xml file goes at the top of the left collumn.
    The good code is:  var ds1 = new Spry.Data.XMLDataSet("data-3.xml", "customers/customer",{distinctOnLoad:true});
    The above line of code is automaticly being changed to this below, which does not work:
    var ds1 = new Spry.Data.XMLDataSet("data-3.xml", "customers/customer",<MM:BeginLock translatorClass="MM_SPRY" type="MM_SPRY_DATA_REFERENCE" orig="{distinctOnLoad:true}" ><MM_DYNAMIC_CONTENT DYNAMICDATA=1><MM:DECORATION HILITECOLOR="Dyn Untranslated Color">{distinctOnLoad:true}</MM:DECORATION></MM_DYNAMIC_CONTENT></script><MM:EndLock>);
    I can replace the bad line of code with the good code just befor saving the html file and the good line of code will be saved with the file and the web page works as it should.
    Any help would be appricated. Thanks
    Jack Burn

    Hi Jack,
    I think (not sure though) that the Library Item is causing the problem. I never use the Library Item because server side includes are far more efficient and need less maintenance.
    Have a look here http://foundationphp.com/tutorials/sprymenu/ssi.php
    If you have PHP serverside scripting language, use DW to add serverside includes using PHP.
    Getting back to your original problem, try without the Library Item and see if DW still changes the code.
    I hope this helps.
    Ben

  • Dreamweaver CS3 Code Formatting broken

    Hello, I am experiencing a huge deal of frustration with the
    way Dreamweaver improperly formats code. In particular, the UL / LI
    tags do not format correctly. Here is what I am trying to achieve:
    <ul>
    <li>
    TEXT
    </li>
    </ul>
    Now this pattern seems to correspond exactly to the preview
    that you see when you go to Preferences > Code Format > Tag
    Libraries, select the LI tag and choose Line Breaks: Before,
    Inside, After and Contents: Formatted and Indented.
    I have done this. I have also manually checked the .vtm file
    in username > Application Data > Adobe > Dreamweaver >
    Configuration etc.... and it corresponds to what I have set in the
    Prefs.
    However, when I use Design View to create the unordered list,
    OR even if I just TOUCH a properly formatted list in Design View,
    everything gets squeezed onto one line. I get this sort of thing:
    <ul> <li>TEST</li> <li>MORE
    TEST</li> </ul>
    Here is what I have tried unsuccessfully to date:
    1. Prefs > Code Formatting > Edit Tag Libraries...
    2. Prefs > Code Format > UNCHECK Do not include a break
    inside TD tag (I know, that's for TD, but I'm just trying
    everything(
    3. Prefs -> line breaks (tried Unix, Windows)
    4. Commands > Apply Source Formatting (messes up my entire
    code by putting everything inside the BODY tag on one line - in
    other words, my entire page goes on one line now!)
    5. Automatic Wrapping After Column 76 - this one is really
    stupid, it just does a HARD break on each line so when you turn it
    back off you have to go in and manually delete all these hard
    breaks now...
    There's a bunch of other small things I have tried, but
    needless to say, nothing appears to be working.
    Has no one else experienced this? Can you get Design View to
    properly format UL / LI tags? If so, then something on my computer
    is messed. But when I look at code generated by DW on some of my
    co-workers' computers, they also have the same problem - I just
    guess their tolerance for crappy code is higher than mine.
    I'm using DW 9.0 (CS3) build 3481.
    Please help! I have no hair left on my head to tear out and I
    may have to go further afield.... ouch!
    Thanks,
    Tom

    I just checked on DW CS4 and it's working as expected. If I
    change my LI
    entry in the Tag Libraries to Line Breaks: Before, Inside,
    After and
    Contents like you, I get your desired effect. Moreover, it
    doesn't revert -
    or worse if any changes are made, whether in Design or Code
    view. I know
    this doesn't help you verify or correct your CS3 issue, but
    at least you
    know there is an upgradeable light at the end of the tunnel.
    Best - Joe
    Joseph Lowery
    VP of Product Management, WebAssist -
    http://www.webassist.com
    Author, Dreamweaver CS3 Bible -
    http://www.idest.com/dreamweaver/
    "tomaugerdotcom" <[email protected]> wrote
    in message
    news:[email protected]...
    > Hello, I am experiencing a huge deal of frustration with
    the way
    > Dreamweaver
    > improperly formats code. In particular, the UL / LI tags
    do not format
    > correctly. Here is what I am trying to achieve:
    >
    >
    > TEXT
    > </li>
    >
    >
    > Now this pattern seems to correspond exactly to the
    preview that you see
    > when
    > you go to Preferences > Code Format > Tag
    Libraries, select the LI tag and
    > choose Line Breaks: Before, Inside, After and Contents:
    Formatted and
    > Indented.
    >
    > I have done this. I have also manually checked the .vtm
    file in username >
    > Application Data > Adobe > Dreamweaver >
    Configuration etc.... and it
    > corresponds to what I have set in the Prefs.
    >
    > However, when I use Design View to create the unordered
    list, OR even if I
    > just TOUCH a properly formatted list in Design View,
    everything gets
    > squeezed
    > onto one line. I get this sort of thing:
    >
    TEST</li>
    MORE TEST</li>
    >
    > Here is what I have tried unsuccessfully to date:
    >
    > 1. Prefs > Code Formatting > Edit Tag Libraries...
    > 2. Prefs > Code Format > UNCHECK Do not include a
    break inside TD tag (I
    > know,
    > that's for TD, but I'm just trying everything(
    > 3. Prefs -> line breaks (tried Unix, Windows)
    > 4. Commands > Apply Source Formatting (messes up my
    entire code by putting
    > everything inside the BODY tag on one line - in other
    words, my entire
    > page
    > goes on one line now!)
    > 5. Automatic Wrapping After Column 76 - this one is
    really stupid, it just
    > does a HARD break on each line so when you turn it back
    off you have to go
    > in
    > and manually delete all these hard breaks now...
    >
    > There's a bunch of other small things I have tried, but
    needless to say,
    > nothing appears to be working.
    >
    > Has no one else experienced this? Can you get Design
    View to properly
    > format
    > UL / LI tags? If so, then something on my computer is
    messed. But when I
    > look
    > at code generated by DW on some of my co-workers'
    computers, they also
    > have the
    > same problem - I just guess their tolerance for crappy
    code is higher than
    > mine.
    >
    > I'm using DW 9.0 (CS3) build 3481.
    >
    > Please help! I have no hair left on my head to tear out
    and I may have to
    > go
    > further afield.... ouch!
    >
    > Thanks,
    >
    > Tom
    >

  • Dreamweaver CS3 Connecting To SQL Express 2005

    Hi Guys,
    I'm having problems connecting
    Dreamweaver CS3 to
    SQL Express 2005, the error message that comes back is not
    very helpful, "An Unidentified Error has Occurred"
    Have any of you successfully connected
    Dreamweaver CS3 to
    SQL Express 2005 ?
    Thanks
    Jay

    > I'm having problems connecting
    Dreamweaver CS3 to
    SQL Express
    > 2005, the error message that comes back is not very
    helpful, "An
    > Unidentified Error has Occurred"
    >
    > Have any of you successfully connected
    Dreamweaver CS3 to
    SQL
    > Express 2005 ?
    Yes, the connection string is not dependant upon the software
    used to create
    the website. Here's a couple of examples, or you can find
    more at
    http://www.connectionstrings.com:
    Provider=sqloledb;Data Source=computer_name_or_IP;Initial
    Catalog=database_name;UID=username;PWD=password
    DRIVER={SQL
    Server};SERVER=Computer_name\instance_name;DATABASE=database_name;UID=username;PWD=passwo rd

  • Dreamweaver cs3 code accuracy

    Hi,  have dreamweaver cs3 and i am a beginner. just started to use it again and want to have dynammic web pages. trying asp for dynamic pages using data from an access database.  running into many parser and compiler errors when testing on localhost.  Is there a problem with the accuracy of cs3 code written?  has the syntax changed in the past few years?  or must i spend significant time learning the basics of writing code to determine the accuracy of cs3?
    an example:  with asp.net vb   there is an error in line one...
    ctive Server Pages error 'ASP 0221'
    Invalid @ Command directive
    /PPG_asp/databasetest.asp, line 1
    The specified 'Page Language="VB" ContentType="text/html" ResponseEncoding="utf-8" ' option is unknown or invalid.
    have tried other formats with variable results; some get farther down the code;
    would appreciate some help so i don't go nuts......thank you

    are you implying that the newer versions of IIS might be more up to date than the cs3 dreamweaver and that is where my problems will arise? 
    I am not implying anything.  I am simply wondering if the IIS is configured properly.  Have you tried creating a basic static page and load it in your browser to see if it loads OK? 
    Obviously, without looking at your code it is almost impossible to say anything meaningful.  However, I suggest post your query at this link:
    <http://forums.adobe.com/community/dreamweaver/dreamweaver_development?view=discussions&sta rt=0&numResults=30>
    <http://tinyurl.com/7vk6ccw>
    Hope this helps and Happy New Year to you.

  • Dreamweaver CS3- Add this button code help

    Hi, I have a problem in Dreamweaver CS3. The problem is that when I insert my add this button code, in to the codeing area, it does not work.
    When I open my page in chrome, it simply says 'more shraeing services'. I will copy the code, in to this discussion. I would be greaftful if someone
    can help me resolve this problem, so I can get the add this button to work on my site. The final bits of code are as follows-
    <!-- AddThis Button BEGIN -->
    <div class="addthis_toolbox addthis_default_style addthis_32x32_style">
    <a class="addthis_button_preferred_1"></a>
    <a class="addthis_button_preferred_2"></a>
    <a class="addthis_button_preferred_3"></a>
    <a class="addthis_button_preferred_4"></a>
    <a class="addthis_button_compact"></a>
    <a class="addthis_counter addthis_bubble_style"></a>
    </div>
    <script type="text/javascript">var addthis_config = {"data_track_addressbar":true};</script>
    <script type="text/javascript" src="http://s7.addthis.com/js/300/addthis_widget.js#pubid=ra-4dd57258352fac8e"></script>
    <!-- AddThis Button END -->
    <!-- Place this tag where you want the +1 button to render -->
    <g:plusone></g:plusone>
        </div>
       </form>
    <script type="text/javascript" src="http://www.google.com/jsapi"></script>
    <script type="text/javascript">google.load("elements", "1", {packages: "transliteration"});</script>
    <script type="text/javascript" src="http://www.google.com/cse/t13n?form=cse-search-box&t13n_langs=am%2Cel%2Cml%2Cpa%2Cta%2Car% 2Cgu%2Cmr%2Cru%2Cte%2Cti%2Csa%2Cne%2Chi%2Cbn%2Cen%2Ckn%2Cfa%2Csr%2Cur"></script>
    <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&lang=en"></script>
    <script type="text/javascript" src="http://www.google.com/cse/query_renderer.js"></script>
    <div id="queries"></div>
    <script src="http://www.google.com/cse/api/partner-pub-5783950232732081/cse/4522012035/queries/js?oe=UT F-8&callback=(new+PopularQueryRenderer(document.getElementById(%22queries%22))).render"></script>
      </div>
      <div align="center"></div>
    </div>
    <script type="text/javascript">var addthis_config = {"data_track_clickback":true};</script>
    <script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=ra-4dd57258352fac8e"></script>
    <!-- AddThis Button END -->
    </div>
    <script type="text/javascript">
    <!--
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    //-->
    </script>
    </body>
    </html>
    Is there anything in this piece of code I should edit in order to make the add this button work? Many thanks

    A link to your page would be the best possible way to get help with this. 
    Code fragments don't tell the whole story.
    Nancy O.

  • Stop Dreamweaver CS3 rewriting my code

    I dearly hope one of you lovely people can help me as this program is driving me nuts!
    I need to find a way of stopping Dreamweaver CS3 from rewriting my code. I know it's a good thing for it to check for errors (unclosed tags, etc) and I have no problem with that, but what I need to stop is the way Dreamweaver keeps running closing tags on to the end of the previous line!
    For example, I type:
    <div>
        <div>
            <a href="link">
                <img src="piccy" />
            </a>
        </div>
    </div>
    which is lovely and structured and, above all, easy to read, but as soon as I edit an element's propery, Dreamweaver makes it:
    <div>
        <div>
            <a href="link">
                <img src="piccy" />        </a>    </div>
    </div>
    which is so annoying!
    I've tried turning off all code rewriting in the preferences, but to no avail.
    Please can someone save what little hair I have left?
    Thanks in desperation
    Peter

    I guess my problem is not directly related to yours after all, as I discovered a hack to live with DW's bad behavior in my case. I found this when I used DW to try to collapse the tags that were getting fouled up and seeing it not know exactly what to do.
    The solution below tricks DW into thinking that my HTML tags are all nested properly, and it no longers rewrites the code in my CFC's function. Because nesting fixed it, I'm guessing the original poster's spacing issue is unrelated.
    Nevertheless, here's what I did:
    <cffunction ... >
        <cfset var strHTML = "">
            <!--- a memorable and always false condition --->
        <cfset var hellfreezesover = False>
        <cfsavecontent variable="strHTML">
        <ul>
            <li>first level
            <!--- Trick DW into submission --->
            <cfif hellfreezesover></li></ul></cfif>
            <cfloop ...>
                <!--- Trick DW into submission --->
                <cfif hellfreezesover><li></cfif>
                <cfif closeit>
                    </li>
                <cfelse>
                </cfif>
            </cfloop>
            <!--- Trick DW into submission --->
            <cfif hellfreezesover><ul><li></cfif>
            </li><!--- close last open li --->
        </ul>
        </cfsavecontent>
        <cfreturn strHTML>
    </cffunction>

  • Dreamweaver CS3 and Coldfusion Errors

    is anyone experiencing errors when using the coldfusion
    inbuilt tools within dreamweaver cs3? I am getting errors when
    using the insert record server beahaviour. Also i have noticed that
    some sql code is not genrated correctly within cs3. This was not as
    a problem in versions MX and 8.

    Have you posted this question in the Cold Fusion Forums?
    http://forums.adobe.com/community/coldfusion
    I don't use CF myself and the few CF coders I know have long since moved to Eclipse/ColdFusion Builder. 
    Nancy O.

  • Adobe Dreamweaver CS3 with ASP coldfusion and PHP search?

    I am working through Adobe Dreamweaver CS3 with ASP
    coldfusion and PHP with the intent of creating a data base site
    that primarily requires a search engine on the index page. The
    search page in the book uses specific search criteria ensuring that
    there will always be a match to the data base but I need to create
    an input text field search engine. My Q, if there is no data within
    the data base that match the variable, will it return with an error
    requiring an argument in the code to respond to no matching data.
    Hopefully there are comprehensive online recourses for these search
    engines as they are so common. I am a complete newby to all aspects
    of web development and code so it will need to be a thorough
    explanation, an idiots guide. ANY HELP GREATLY APPRECIATED

    Rob,
    Let me try to answer your questions, understanding that my
    answers are laced with my experience and therefore my bias.
    1. For the most part the SQL that you write for Access, MS
    SQL or MySQL is going to be the same. I won't make that claim about
    Oracle or PostgreSQL because I have limited or no experience in
    those areas. To be sure when you head down the road with any DBMS
    there are finer points on 'value added' features (to over simplify
    things like MS SQL's Transact SQL), but for the most part when you
    are pulling out, inserting or deleting records the SQL that you
    write will be the same. In fact, I don't think I had to make any of
    the SQL in the book different to deal with the back end db.
    2. As for your host steering you away from MySQL, I don't
    know why that would be. It is MUCH more stable and robust than
    Access for web development. My research showed that you can use
    MySQL just fine with ASP though that clearly wouldn't be
    Microsoft's first choice.
    3. A quick aside, the fact that you are building ASP on a Mac
    would seem to indicate that you are developing on your production
    server. That's never a good idea. Go local if you can. If you have
    a newer Intel Mac you can use VM Fusion, Parallels or even Boot
    Camp to run Windows in a virtual environment and develop there,
    only moving your code to production when you are happy with it.
    There is of course the fact that they two environments would not be
    identical and you may need to change a few references, but it is
    still a better practice than developing on your live site. Some web
    hosts give you the ability to set up a subdomain. If yours does,
    you could set one up with a duplicate of your site and develop
    there.
    4. Let me try to pull your 'rant-let' apart into two issue. I
    begin with a question. I'm not sure what the Mac part has to do
    with it. The primary language I work in at my day job is
    ColdFusion. The majority of the most serious developers I know in
    the CF world work on Macs. I am forced into the PC world because of
    a cultural bias at the business school where I work. Having said
    that, the only time I have felt there was ANY difference in the
    tools, resources, choices I had was in any way affected by platform
    was when Adobe still had not released Flex Builder 2 for the Mac.
    Now that is behind us as well. This reaction of mine may be based
    on the fact that Access never comes into play in the work that I
    do. I regularly work with MS SQL and MySQL. (OK, so SQL Enterprise
    Manager, the MS tool of choice to talk to MS SQL is Windows only,
    but I only use that at the day job. But even there you can find
    cross-platform, free tools like Aqua Data Studio to talk from a Mac
    to MS SQL.) If I'm missing your point on the Mac, please let me
    know. Since the advent of the Intel Mac I think it is hands-down
    the best choice for a web developer. You can have Mac, Windows and
    Unix all on one machine. It doesn't get any better (providing you
    have the RAM :-)).
    As for the security question, it is somewhat analogous to the
    war on viruses and spyware. As the defenses get better, so do the
    attacks. Most languages have developed functions for vetting user
    input variables and best practices for building these things. It is
    mainly a user education issue. When I took over the book you are
    working out of, the one thing Jeffrey told me it needed was more
    security. I did my best to put more in under the constraints of the
    publisher. They didn't want the book to be any longer than the
    previous version. I did my best to modify the code used to include
    "string safe" functions and to add verbiage about the importance of
    security. It was clear that I could not add as much as was needed
    and I said so in the book. Much more is needed for a serious
    treatment of the subject and not acknowledging that would have been
    a disservice to the readers. I've been working as a developer for
    over a decade and I don't know all there is to know about it. It's
    a constantly changing field, just like all of web development. In
    fact next week I'm going through a 2-day SANS Web Application
    Security workshop in hopes of learning more. So at the risk of
    sounding like an industry apologist, I don't think it's a
    shortcoming of the development community. It is, as they say, "a
    developing situation".
    HTH,
    Bob
    http://bobflynn.info/

  • My first look at Dreamweaver CS3

    Hi all, just got CS3 Web Standard install on my PC. The
    installation was good with no problems, so far. Only open
    Dreamweaver and Fireworks. I do not see any slow down from running
    Dreamweaver CS3, and Fireworks CS3.
    Good
    I work with classics ASP daily for work, I noticed the code
    view is high lighting correctly now, compare to DW8. The Design
    display looks bad, but that is expected since my asp file is a
    master file. This is a big plus for me.
    Wondering Why
    The Check CSS function did find two parsing errors, and a lot
    of min-height in the style sheet. I right click on the error and
    selected more info. DW did point out the problem but the more info
    option only took me to the Home page of CSS Advisor, and not to any
    articles related to min-height. I knew CSS Advisor existed already
    before and have it in my Bookmarks. I was thinking it would take me
    directly to a solution with out searching for it. Not a big deal,
    just a point
    Over all Dreamweaver CS3 looks similar to 8, I am very very
    very please with the code highlighting for asp. I hand code
    everything for work including SQL and database connection. It would
    be nice to see a SQL code page under other for highlighting the
    code.
    Did anybody every get the email back for the free gift after
    registering, I have not.
    David Pearson
    www.websalestool.com

    On Tue, 24 Apr 2007 23:50:33 +0000 (UTC), "DEPearson"
    <[email protected]> wrote:
    >
    > David Pearson
    > www.websalestool.com
    David, you might want to have an editor proofread your site.
    On your
    home page:
    WebSalesTool is a suite of online communications tools that
    work with
    an organizations marketing team to provide innovative ways to
    create
    and manage their online marketing (things like websites,
    email, sms,
    text).
    communications should be communication
    organizations should be organization's
    We offer the WebSalesTool suite through a network of
    advertising and
    marketing creative agencys who work directly with their
    customers to
    build comprehensive, results-driven online marketing
    strategies and
    campaigns.
    agencys should be agencies
    WebSalesTool is proud to say we have partnered with some of
    the best
    technology product and service companies in the business to
    extend our
    range of services to make your customers online marketing
    even more
    successful.
    customers should be either customer's or customers' depending
    on
    whether you are talking about one customer or several
    customers
    I didn't look at any other pages.
    Win
    Win Day, Wild Rose Websites
    http://www.wildrosewebsites.com
    [email protected]
    Skype winifredday

Maybe you are looking for