Solved

dreamweaver freeze on insert sb code change

Posted on 2006-06-14
9
305 Views
Last Modified: 2010-04-25
Hello,
I have been using dw8 with all updates, I am on xp sp2 and my db is mySql

I have a page i added an insert SB to it, all is fine, I then go and change the code slightly.

    'MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param9", 5, 1, -1, MM_IIF(Request.Form("whowho"), Request.Form("whowho"), null)) ' adDouble
   
 above is the orignal line which i have commented out

below is the same line but slightly changed by hand

   MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param9", 5, 1, -1, MM_IIF(session("kt_login_id"), Session("kt_login_id"), null)) ' adDouble

my questino is why does this freeze dreamweaver when I try and reopen the page at a later date, I thought one could change dw eneric code a little.

does this happen to every one else or is it just what i have done is so tottally crap that dw has to freeze.

kenny
0
Comment
Question by:thatelvis
9 Comments
 
LVL 1

Author Comment

by:thatelvis
ID: 16905870
Hello, Could some one be so kind as to check this for me.
I have dw 8 with the latest .o2 update, I have added an insert server behaviour to my page. here is one of the inputs

 MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param9", 5, 1, -1, MM_IIF(Request.Form("whowho"), Request.Form("whowho"), null)) ' adDouble

the above  shows the ASP input from a hiddenfield on my page, this all works, I then desided I would prefer to have it as a session variable.  so I change the code as follows

 MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param9", 5, 1, -1, MM_IIF(Session("whowho"), Session("whowho"), null)) ' adDouble


I test it and it all works, but then I close the page, when I later try and reopen the page dreamweaver freezes, I then reboot dreamweaver and then try and reopen it, and yet again dw freezes, it is only when i go in with note pad and change the above line to its orignal state.

my q is, is this what I can now expect from dw when I try and change a small bit of its code, does dreaweaver now realy only for the amature who just wants the code that dreamweaver createds and nothing else, this is a right bummer. I just did a total reinstall to find out was it my pc but then I find nothing has changed, it would be nice to have other peoples view on this.

regards

kenny

0
 
LVL 25

Expert Comment

by:Rouchie
ID: 16918586
Dreamweaver acts as a bridge between the user and server-side code.  Therefore it is never recommended to alter what dreamweaver is trying to create under the hood because there's a lot more going on in the PC's memory that's handling the changes.
I don't actually know what the numbers are after the parameter name, but that's probably got something to do with it.

Try deleting this parameter entirely using the wizard and then re-creating it again, referencing the session variable from within dreamweaver's wizard dialog.
0
 
LVL 25

Expert Comment

by:Rouchie
ID: 17088492
Request thatelvis posts an update to the situation, and the answer if one was found.
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 25

Expert Comment

by:Rouchie
ID: 17101910
No objections to PAQ/refund.
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 17113336
Actually, this would be delete/no refund as there is no confirmation on the answer.
0
 
LVL 1

Author Comment

by:thatelvis
ID: 17113672
I did a total reload of DW and all worked fine, for some reason my DW was courrped and that caused me the problems.

regards

Kenny
0
 
LVL 5

Accepted Solution

by:
Netminder earned 0 total points
ID: 17125248
Closed, 500 points refunded.
Netminder
Site Admin
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For those who don't know, Adobe Dreamweaver is a popular commercial web editor that enables you to design, build and manage complex websites. The editor is a WYSIWYG (What You See Is What You Get) web editor, which means that you can create your web…
Adobe Dreamweaver CS5 is a WYSIWYG web page editor that has advanced HTML, CSS, and Javascript rendering functionality and is probably the most well-known HTML editor available. Much of Dreamweaver's appeal centers around the Design View interfac…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now