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
Solved

Problem with Coldfusion development in HomeSite

Posted on 2006-07-14
6
505 Views
Last Modified: 2013-12-24
I am using Buedragon's Coldfusion for my application development. I am trying to append a string to a variable and enounter the following error message:

Access violation at address 00403A33 in Module 'Homesite+.exe'. Read of address 00000000.

In the below code, it does not like it when I replace the string "Please provide an Event_Date<br />" with "Please provide an Event Date<br />". All I am trying to do is to remove the "_" in the Event_Date and put a space instead to frame my sentence in simple english. But whenever I try to do it HomeSite+ pops up with the above error message.

<CFIF ISDEFINED("Event_Date")>
  <CFIF Event_Date EQ "">
    <CFSET flag=1>
    <CFSET Errormsg = Errormsg & "Please provide an Event_Date<br />">

0
Comment
Question by:xoxomos
  • 3
  • 2
6 Comments
 
LVL 9

Expert Comment

by:73Spyder
ID: 17112277
 <CFSET Errormsg = Errormsg & "Please provide an Event_Date">

The <br/>  is causing the issue
0
 
LVL 9

Expert Comment

by:73Spyder
ID: 17112281
Use it this way

<cfoutput>#errormsg#<br/></cfoutput>   Instead of adding it to  the string
0
 

Author Comment

by:xoxomos
ID: 17112299
Hi,
I am trying to append all the errors to a variable so I can display them later on the webpage. I believe your code will force me to output my error message directly instead. Any thoughts?
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 9

Assisted Solution

by:73Spyder
73Spyder earned 150 total points
ID: 17112521
Yes,   you could do this:

      
 <CFSET Errormsg = Errormsg & "Please provide an Event_Date  ,">

Then at the end, you can treat the string as a list and loop through the list to build the display.  As you loop through, you can put in the formatting that you want to.
0
 
LVL 13

Expert Comment

by:usachrisk1983
ID: 17117800
Are you doing a find and replace in Homesite, or is this when you try and backspace the underscore and replace it with a space?
0
 
LVL 13

Accepted Solution

by:
usachrisk1983 earned 150 total points
ID: 17117804
Also, no idea why Homesite would care of you put your <br> inside your string or not -- I put breaks in strings without problem, and also put other tags inside strings.  Here is an Adobe article on what to do for Access Violations.  It's basically just uninstall HomeSite, delete a registry key, and reinstall HomeSite.  If you have any trouble with the Windows Registry, please respond back with your version of Windows and I'd be happy to help:

http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_17507
0

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

In this short web based tutorial, I wanted to show users how they can still use the powers of FrontPage in conjunction with Expression Web 3.  Even though Microsoft eliminated the use of Web components, we can still use them with FrontPage and edit …
Lease-to-own eliminates the expenditure of hardware replacement and allows you to pay off the server over time. Usually, this is much cheaper than leasing servers. Think of lease-to-own as credit without interest.
The purpose of this video is to demonstrate how to manually back up a WordPress Database. This will be demonstrated using a Windows 8 PC. The Host used will be IPage.com Log into your Hosting account. IPage will be used for demonstration : Locat…
The purpose of this video is to demonstrate how to integrate Mailchimp with Facebook. This will be demonstrated using a Windows 8 PC. Mailchimp and Facebook will be used. Log into your Mailchimp account. : Click on your name. Go to Account Setti…

809 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