Link to home
Start Free TrialLog in
Avatar of stevenjs
stevenjs

asked on

Microsoft Visual C++ Runtime Library Error terminates Dreamweaver MX 2004 ??

Greetings,

DWMX 2004 opens on WinXP, no problem. File opens okay. Go to make a change to a form on page, the following succession of error messages:

First:

Microsoft Visual C++ Runtime Library
Program: . . . ram Files\Macromedia\Dreamweaver Mx 2004\Dreamweaver.exe
This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information.

Then:

Dreamweaver.exe Application Error
The instruction at "0x77f5b2ab" referenced memory at "0x00000028." The memory could not be "read."
Click Okay to terminate the program.

I tried closing and restarting the computer, no such easy fix.

Any ideas?

-------------------------
regards,

stevenjs
_________________________
"I am but an egg."
--Stranger in a Strange Land
Avatar of hewittg
hewittg

This is just a shot in the dark, but I saw a reference to this once and Norton Anti Virus was the issue.  Stop it from scanning your Macromedia folder.

Glenn
Avatar of stevenjs

ASKER

Thanks, but I'm not running Norton. And if I were, I would not know how to stop it from scanning a particular folder.

I did however run scans after finding the problem using iolo's system mechanic for spyware and Panda anti-virus, thinking this was an infection. Scans all came up clean. Problem persists.

stevenjs
By the way, I have Dreamweaver MX as well as DW MX 2004, and the DWMX does not cause a problem, neither does Flash MX 2004, all in the Macromedia folder.

Thanks anyway.

stevenjs
I would test the memory modules in the machine. There may be a problem with the way the application is trying to reference memory locations, thus you get the error about unable to read...

Windows Memory Diagnostic
http://oca.microsoft.com/en/windiag.asp

Exceprt:
The Windows Memory Diagnostic tests the Random Access Memory (RAM) on your computer for errors. The diagnostic includes a comprehensive set of memory tests. If you are experiencing problems while running Windows, you can use the diagnostic to determine whether the problems are caused by failing hardware, such as RAM or the memory system of your motherboard. Windows Memory Diagnostic is designed to be easy and fast. On most configurations, you can download the diagnostic, read the documentation, run the test and complete the first test pass in less than 30 minutes.
Greetings gemarti,

Thank you for the information.

You said:
"There may be a problem with the way the application is trying to reference memory locations, thus you get the error about unable to read..."

That sounds exactly right, but then the problem is with the application, no?

The windows memory diagnostic, on the other hand, can only tell me I have "failing hardware, such as RAM or the memory system of your motherboard."

This does not seem likely, as this one application is the only one giving this problem.

The System Mechanic utility I have provides a "defragment RAM" tool which I also ran to no avail.

Apart from it not seeming likely the problem is caused by failing hardware, I unfortunately cannot boot from a floppy and do not have a CD burner, which the Windows Memory Diagnostic requires. My bootable floppy drive is out of service and it will be a long time before I can replace it. ;-0

Any other way of getting at the problem?

stevenjs
Sounds like: time for another version of MFC42.DLL? (Microsoft Visual C++ Runtime Library)
You could try removing and reinstalling DWMX2004 ....
How would I go about getting another version of MFC42.DLL, whatever that is?

Reinstalling is the last resort, I have all the sites configured, and there's a lot of work there that will be lost.

Curiouser and Curiouser . . .

Now I find that it is only one file which produces this RAM error, a .cfm (ColdFusion) file that uses a particular DW extension for handling form to email conversions. None of the other .cfm files are producing this problem.

I've tried renaming the file, copying the code content to a new file and saving under a new name, etc. to no avail.

Any ideas?

The .cfm page content begins on the next line:
<cfif (CGI.REQUEST_METHOD EQ "POST") AND (CGI.HTTP_REFERER CONTAINS CGI.SCRIPT_NAME)>
  <cfmail subject="Product Suggestion" from="#IIf(isDefined("Form.replyEmail"),"Form.replyEmail",DE(""))#" server="64.37.122.199" port="25" timeout="60" type="HTML" to="stevenjs@mindspring.com"><cfsilent>
  </cfsilent>#Form.whatCalled#<br>
#Form.description#<br>
#Form.howMuch#<br>
#Form.myCut#<cfsilent>
  </cfsilent></cfmail>
</cfif>
<cfif isDefined("WA_Universal_Email_Redirect") AND WA_Universal_Email_Redirect NEQ "">
  <cflocation url="#WA_Universal_Email_Redirect#"/>
</cfif>
<html>
<head>
<title>Nothing for Sale !  Suggest a Product !</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="description" content="Nothing for sale! The only site where nothing is actually sold, where you can get
nothing for a dollar donation, where nothing comes in its own click and rotate 3D box." />
<meta name="keywords" content="nothing for sale, buy nothing, nothing here, nothing, 3D box, click rotate,
click and rotate, being and nothingness, 3D, click and rotate 3D box, three dimensional, dimensional, being,
nothingness, nothing nothing, nichts, nothing impossible, nothing limited, rien, whole lotta nothing,
nothing from outer space, nothing special, nothing so strange, money for nothing, no nothing, know nothing,
doing nothing, apparently nothing, absolutely nothing, nothing as usual, gifts, rotations, nothing less,
nothing nice, little nothing, gift, all or nothing, expect nothing, fear nothing, nothing good, much ado about,
understanding nothing, big nothing, gift list, nada, nothing to do, perfect gift, nothing but, noting ventured,
nothing gained, buy nothing day, about nothing" />
<meta name="robots" content="index,follow">
<meta name="revisit-after" content="15 days">
<meta name="classification" content="3d box">
<meta name="abstract" content="click and rotate 3D boxes containing nothing">
<meta name="distribution" content="global">
<meta name="copyright" content="steven james silva 2004">
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_displayStatusMsg(msgStr) { //v1.0
  status=msgStr;
  document.MM_returnValue = true;
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
//-->
</script>

</head>
<body>
  <table width="600" border="1" align="center" cellpadding="3" cellspacing="0">
    <tr>
      <td width="270" rowspan="4" align="center"><h1>Nothing for Sale !</h1></td>
      <td width="312">&nbsp;</td>
    </tr>
    <tr>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td>&nbsp;</td>
    </tr>
  </table>
  <table width="600" border="1" align="center" cellpadding="3" cellspacing="0">
    <tr>
      <td><a href="index.cfm" onMouseOver="MM_displayStatusMsg('Home');return document.MM_returnValue">Product
          Home</a>
         | <a href="#" onClick="MM_openBrWindow('http://stevenjs.com/index.html','home','scrollbars=yes,resizable=yes,width=800,height=600')" onMouseOver="MM_displayStatusMsg('Design Services Available');return document.MM_returnValue" >Design
          Services</a></td>
      <td align="center"> Suggest a Product </td>
    </tr>
</table>
<br>
    <form name="newProduct" method="post" action="">
  <table width="600" border="1" align="center" cellpadding="3" cellspacing="0">
    <caption align="left">
    <strong>Product Suggestion</strong>
    </caption>
    <tr>
      <td width="197" align="right">*What's it called? : </td>
      <td width="400"><input name="whatCalled" type="text" id="whatCalled" value="" size="60" maxlength="60"></td>
    </tr>
    <tr>
      <td align="right">*Describe it : </td>
      <td><textarea name="description" cols="60" rows="5"></textarea></td>
    </tr>
    <tr>
      <td align="right">*Sell for how much? : </td>
      <td><input name="howMuch" type="text" id="howMuch" value="$" size="60" maxlength="60"></td>
    </tr>
    <tr>
      <td align="right">*What's my cut? : </td>
      <td><input name="myCut" type="text" id="myCut" value=" % of selling price." size="60" maxlength="60"></td>
    </tr>
    <tr>
      <td align="right">*Your email : </td>
      <td><input name="replyEmail" type="text" id="replyEmail" size="60" maxlength="60"></td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td align="right"><input type="submit" name="Submit" value="Submit"></td>
    </tr>
  </table>
  </form>
</body>
</html>
Do what you wish stevenjs . If the memory module is bad and the address referenced in the application is in the bad part of the memory then it will throw the error. I don't understand your logic.
Okay, now I understand yours (I think ;-).

But my "logic" is, there's no shortage of memory. The application is not born with a RAM address. It acquires one. No?

Why can't it unlearn the one it's acquired and find an untroubled spot?

Nothing else seems so hell bent on one single bit of RAM.

And the "app" makers are this mickey mouse bunch of wanna bees, who happen to be extremely useful. I don't believe they somehow intentionally targeted a particular bit of RAM. No app does that, does it?

Please advise.

regards,

stevenjs
I already did. :)  If that doesn't verify my suspicions then we move on to something else. I prefer taking one step at a time.
Well, I've ordered a new internal floppy drive that will be bootable.

I do not agree in taking one step at a time, particularly when that one step does not make the most sense to me, and cannot be performed for some time to come.

Even though I am no expert, I think every step should be taken simultaneously, especially in light of the fact that I have today discovered it is this Dreamweaver extension itself, integrated into DW via the Extension Manager, that is the problem. Only the file with that extension object applied produced this problem. And, when the extension is uninstalled from DW via the Extension Manager, even that ill behaving file with the object applied stops producing the error, along with all the other DW (.cfm) files which never did produce the error.

I don't pretend to understand all this, I need to be advised why Random Access Memory might suddenly no longer in one instance be addressed randomly, how this problem could possibly lie with the physical RAM, which after all, is not exactly a moving part that is prone to breaking or a or curruptible file.

One last irregularity. For a few hours, I had the computer turned off. When I turned it on again, and opened DW, then the file with the problem extension object applied, I no longer received that sequence of error messages. Instead, I got a Dreamwever error message that I was "Out of Memory." Which I okayed, and went on to work on the file using the extension with no problem other than the occasional reoccurrence of that "out of memory" message. I saved the changes (you can actually go to http://stevenjs.com/newProduct.cfm and see the now operational form/email where it used to say "under construction") and then, for no apparent reason, the Runtime/RAM errors reappeared and shut the application. Thereafter, I deduced the extension might be the culprit and discovered it was.

stevenjs
ASKER CERTIFIED SOLUTION
Avatar of ee_ai_construct
ee_ai_construct
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial