Solved

dreamweaver freeze on insert sb code change

Posted on 2006-06-14
9
309 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: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying 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

Suggested Solutions

Title # Comments Views Activity
mobile friendly link not working 4 268
Dreamweaver - Spell check extension 4 493
Edit Muse Website with Dreamweaver 6 1,473
Best code editor tool for PC 4 132
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 …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

749 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