Solved

dreamweaver freeze on insert sb code change

Posted on 2006-06-14
9
304 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
Comment Utility
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
Comment Utility
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
Comment Utility
Request thatelvis posts an update to the situation, and the answer if one was found.
0
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 
LVL 25

Expert Comment

by:Rouchie
Comment Utility
No objections to PAQ/refund.
0
 
LVL 70

Expert Comment

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

Author Comment

by:thatelvis
Comment Utility
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
Comment Utility
Closed, 500 points refunded.
Netminder
Site Admin
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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…
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…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

744 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

13 Experts available now in Live!

Get 1:1 Help Now