[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

dreamweaver freeze on insert sb code change

Posted on 2006-06-14
9
Medium Priority
?
314 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
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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

Tech or Treat! - Giveaway

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

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…
I still run into .cgi files every now and then. In some instances, I actually prefer the simplicity of a .cgi script to other options. Since I use DreamWeaver extensively, what I needed was a way to open .cgi scripts in Dreamweaver. And I wanted to …
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …

650 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