?
Solved

dreamweaver freeze on insert sb code change

Posted on 2006-06-14
9
Medium Priority
?
312 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

 
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

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 article is very specific and is only intended to help if you are installing Dreamweaver 8 in a Windows 7 environment with Office 2007 installed.   I'm not sure why Microsoft tends to release OS' that should not be released but they do.  Windows…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses
Course of the Month9 days, 13 hours left to enroll

762 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