Question

Variable ######### is undefined

Asked by: Von-Cooke

Hey Experts,

Forgive my ignorance and vague description - any help would be awesome. We had a Web Application developed for us.  We originally had it setup on a Hosted Dedicated Server.  We are in the process of moving the app to one of our local servers for better performance and greater bandwidth. It runs on CF 8 and has a SQL DB.  I installed CF 8 and SQL server on our local machine (I verified that all software was the same version as was orignally used).  Since moving the app over I keep getting an Variable is undefined error.  I can not imagine this to be a code issue as it works just fine on the hosted server.  My guess is that it is a permissions issue.  Has anybody had a similar experience - move an app over and get undefined variable errors.  Are there any wierd permissions that I may be overlooking?  Again, I apologize if my description is too vague and any little scrap of an idea is greatly appreciated.  Thanks

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2009-04-17 at 12:17:08ID24332893
Tags

Coldfusion 8

,

MS SQL Server

Topics

ColdFusion Application Server

,

MS SQL Server

,

SQL Server 2005

Participating Experts
2
Points
500
Comments
13

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. Variable Undefined
    I'm just learning CF but I'm sure this is a simple one. Using the cfquery below, I get a " Variable TRACKINGREFERRER is undefined." message. I'm using CF MX7. The Access table is named "ClientTracker" with a structure of: ID autonumber TrackingClientI...
  2. Variable Undefined
    I'm getting a variable undefined error as follows any help would be great Element VIN is undefined in QMYRECORD. The error occurred in C:\ColdFusion8\wwwroot\automotive\member\upload.cfm: line 7 5 : </cfquery> 6 : </cfif> 7 : <cfset myvin=#qMyRecord.vin#&g...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: erikTsomikPosted on 2009-04-17 at 12:22:14ID: 24171152

where does Case_file_name get setup. IS taht applicatiuon.cfm. MAke sure all the files got moved. Including Custom tags, cfc and so on, the mapping is still the same

 

by: _agx_Posted on 2009-04-17 at 12:24:49ID: 24171177

Yes, unfortunately you need to provide more information. Like some sample code that shows where the variable case_file_name is defined.   Without more information it is impossible to say what is causing the error.

 

by: Von-CookePosted on 2009-04-17 at 12:36:54ID: 24171305

The Custom Tags File is the exact same as on the hosted server and I did not see any mappings present on the hosted server so I did not set any up on the local one.  CFC?  Sorry - This stuff is outside my normal realm

 

by: _agx_Posted on 2009-04-17 at 12:39:13ID: 24171323

Post the code for the page above.

 

by: _agx_Posted on 2009-04-17 at 12:42:43ID: 24171354

Von-Cooke,

Unfortunately, an undefined variable exception could be caused by a thousand things.  Without knowing what type of variable it is, how it is defined ... we can only make guesses about the cause.  Most likely wrong.  Seeing the code would help experts provide quicker and more accurate answers.

 

by: Von-CookePosted on 2009-04-17 at 12:45:54ID: 24171390

I believe this is the right file - I copied the entire dashboard.cfm file


<cfif IsDefined("Form.Viewing")>
	<cfset Session.Viewing = Form.Viewing>
	<cfset Session.LoggedOnCID = Form.Viewing>
<cfelseif Not IsDefined("Form.Viewing") AND Not IsDefined("Session.Viewing")>
	<cfset Session.Viewing = 0>
	<cfset Session.LoggedOnCID = 0>
</cfif>
 
<!--- <cfoutput>
Session.Viewing: <cfif IsDefined("Session.Viewing")>[#Session.Viewing#]</cfif><br />
Form.Viewing: <cfif IsDefined("Form.Viewing")>[#Form.Viewing#]</cfif><br />
</cfoutput> --->
 
<cfif IsDefined("Form.Status")>
	<cfset Session.Status = Form.Status>
<cfelseif Not IsDefined("Form.Status") AND Not IsDefined("Session.Status")>
	<cfset Session.Status = 0>
</cfif>
 
<cfstoredproc procedure="pr_get_Dashboard_PrivateUsers" datasource="#Application.CDP_DSN#">
	<cfprocresult name="rsDB_Users">
</cfstoredproc>
 
<cfstoredproc procedure="pr_get_Dashboard_CaseFileStatuses" datasource="#Application.CDP_DSN#">
	<cfprocresult name="rsDB_Statuses">
</cfstoredproc>
 
<!--- Defaults for SORTING --->
<cfparam name="session.SortDB" default="Case">
<cfparam name="session.nextDir" default="asc"><!--- desc --->
 
<cfif IsDefined("form.ChangeSorts") and form.ChangeSorts is "yes">
	<cfset session.SortDB = form.SortDB>
	<cfif form.Dir IS "asc">
        <cfset session.nextDir = "desc">
    <cfelseif form.Dir IS "desc">
        <cfset session.nextDir = "asc">
    </cfif>
</cfif>
 
<!--- <cfparam name="form.SortDB" default="Case">
<cfparam name="form.Dir" default="desc">
<cfif form.Dir IS "asc">
	<cfset Variable.nextDir = "desc">
<cfelseif form.Dir IS "desc">
	<cfset Variable.nextDir = "asc">
</cfif> --->
 
<!--- <cfoutput>Session.Viewing [#Session.Viewing#]<br />
Session.Status [#Session.Status#]<br />
session.SortDB [#session.SortDB#]<br /><!--- form --->
session.nextDir [#session.nextDir#]<br /><!--- variable --->
rsDB_Statuses.RC: [#rsDB_Statuses.recordCount#]</cfoutput> --->
 
<cfstoredproc procedure="pr_get_Dashboard_CaseFiles" datasource="#Application.CDP_DSN#">
	<!--- Session.Viewing represent the currently chosen CDP Admin (mimic function). --->
	<cfprocparam type="In" cfsqltype="CF_SQL_INTEGER" value="#Session.Viewing#" null="No">
	<cfprocparam type="In" cfsqltype="CF_SQL_INTEGER" value="#Session.Status#" null="No">
    <cfprocparam type="In" cfsqltype="CF_SQL_VARCHAR" value="#session.SortDB#" null="No"><!--- Form --->
    <cfprocparam type="In" cfsqltype="CF_SQL_VARCHAR" value="#session.nextDir#" null="No"><!--- Variable --->
	<cfprocresult name="rsDB_CFs">
</cfstoredproc>
 
<!--- Effect the SORTING on the Procedure Result.
<cfquery name="rsDB_CFs" dbtype="query">
	SELECT	CaseFileName, RB_RequestDate, RB_DueDate, CaseStatus, CaseFile_ID, 
			ThreatDays, StatusDays, New_SL, StatusDisplay, StatusColor, ThreatColor
	FROM	rsDB_CFs_Unsorted
	<cfswitch expression="#Form.Sort#">
		<cfcase value="Due">
  			ORDER BY RB_DueDate #Variable.nextDir#, CaseFileName #Variable.nextDir#
        </cfcase>
		<cfcase value="Case">
        	ORDER BY CaseFileName #Variable.nextDir#
        </cfcase>
  		<cfcase value="Request">
  			ORDER BY RB_RequestDate #Variable.nextDir#, CaseFileName #Variable.nextDir#
        </cfcase>
	</cfswitch>
</cfquery> --->
 
<cfif Session.Viewing gt 0>
    <cfstoredproc procedure="pr_get_Dashboard_Alerts" datasource="#Application.CDP_DSN#">
        <cfprocparam type="In" cfsqltype="CF_SQL_INTEGER" value="#Session.Viewing#" null="No">
        <cfprocresult name="rsDB_Alerts">
    </cfstoredproc>
    
    <!--- <cfstoredproc procedure="pr_get_Dashboard_PrivateMessages" datasource="#Application.CDP_DSN#">
        <cfprocparam type="In" cfsqltype="CF_SQL_INTEGER" value="#Session.Viewing#" null="No">
        <cfprocresult name="rsDB_PMs">
    </cfstoredproc> --->
    
    <cfparam name="Form.searchAction" default="last25">
    <cfif Form.searchAction eq "last25">
        <cfstoredproc procedure="pr_InHouse_SelectNotes" datasource="#Application.CDP_DSN#">
            <cfprocparam type="In" cfsqltype="CF_SQL_INTEGER" value="#Session.Viewing#" null="No">
            <cfprocresult name="rsDB_IHNs">
        </cfstoredproc>
    <cfelseif Form.searchAction eq "wild">
    	<cfstoredproc procedure="pr_InHouse_SelectNotes_Wild" datasource="#Application.CDP_DSN#">
            <cfprocparam type="In" cfsqltype="CF_SQL_INTEGER" value="#Session.Viewing#" null="No">
            <cfprocparam type="In" cfsqltype="CF_SQL_VARCHAR" value="%#Form.search_IHN#%" null="No">
            <cfprocresult name="rsDB_IHNs">
        </cfstoredproc>
    </cfif>
<cfelseif Session.Viewing eq 0>
    <cfstoredproc procedure="pr_get_Dashboard_HelpRequests" datasource="#Application.CDP_DSN#">
        <cfprocresult name="rsDB_HRs">
    </cfstoredproc>
</cfif>
 
<cfoutput>
<table border="0" cellpadding="0" cellspacing="1">
	<tr>
		<td valign="top" align="left" width="630" style="padding:0px">
		
<table border="0" cellspacing="0" class="login-table" width="630">
	<tr><th>&nbsp;</th>
		<th align="left">
			Viewing:&nbsp;
			<select name="Viewing" onchange="nv.TB.value='T';nv.P.value='DB';nv.Dir.value='desc';nv.submit();">
				<option value="0" <cfif Session.LoggedOnCID eq 0>selected</cfif>>-- New Case Files --</option>
				<cfloop query="rsDB_Users">
					<option value="#Contact_ID#" <cfif Session.LoggedOnCID eq Contact_ID>selected</cfif>>#FirstName# #LastName#</option>
				</cfloop>
			</select>&nbsp;&nbsp;&nbsp;
            #rsDB_CFs.recordCount#&nbsp;
            Cases
			</th>
		<th align="right">
			<cfif Session.Viewing GT 0>
				Status&nbsp;
				<select name="Status" onchange="nv.TB.value='T';nv.P.value='DB';nv.submit();">
					<option value="0" <cfif Session.Status eq 0>selected</cfif>>Rush &amp; Open</option>
					<cfloop query="rsDB_Statuses">
						<option value="#CaseStatus_ID#" <cfif Session.Status eq CaseStatus_ID>selected</cfif>>#CaseStatus#</option>
					</cfloop>
				</select>
			</cfif>
			</th>
		<th>&nbsp;</th>
		</tr>
</table>
 
<input type="Hidden" name="SortDB" value="#session.SortDB#"><!--- form --->
<input type="hidden" name="Dir" value="#session.nextDir#"><!--- Variable --->
<input type="hidden" name="ChangeSorts" value="">
 
	<SCRIPT LANGUAGE = "JavaScript">
        <!--
        function fn_changeColumn(name) {
			document.nv.TB.value = 'T';
			document.nv.P.value = 'DB';
			document.nv.SortDB.value = name;
			document.nv.ChangeSorts.value = 'yes';
			document.nv.submit();
		}
        //-->
    </SCRIPT>
 
<div style="height:460px; overflow:auto;" style="border-bottom:double;border-bottom-color:##FFFFFF">
<table border="0" cellspacing="0" class="login-table" width="610">
	<tr><th>&nbsp;</th>
		<th align="left" nowrap><a href="##" onclick="javascript:fn_changeColumn('Case');" class="whiteText">Case File Name</a></th>
		<th align="left" nowrap><a href="##" onclick="javascript:fn_changeColumn('Request');" class="whiteText">Req. Date</a></th>
		<th align="left" nowrap><a href="##" onclick="javascript:fn_changeColumn('Due');" class="whiteText">Due Date</a>&nbsp;</th>
		<th align="left" nowrap>Status&nbsp;</th>
        <cfif Session.Status neq 5>
        	<th align="left" nowrap>Past Due&nbsp;</th>
        <cfelse>
        	<th align="center" nowrap>Closed&nbsp;</th>
        </cfif>
		<th>&nbsp;</th>
		</tr>
	<input type="Hidden" name="CF_ID" value="">
    <cfif rsDB_CFs.recordCount gt 0>
        <cfloop query="rsDB_CFs">
            <cfif currentRow mod 2 eq 1>
                <tr bgcolor="#Application.DarkRow#">
            <cfelse>
                <tr bgcolor="#Application.LightRow#">
            </cfif>
                <td></td>
                <td align="left"><a href="##" onclick="nv.TB.value='BAC';nv.P.value='RC';nv.CF_ID.value=#CaseFile_ID#;nv.submit();">#CaseFileName#</a>&nbsp;
                	<cfif New_SL>(<font color="##FF0000" style="font-weight:bold">New SL</font>)</cfif>
                	</td><!--- [#CaseFile_ID#] [#ThreatDays#-#ThreatColor#][#StatusDays#-#StatusColor#] --->
                <td align="left" nowrap>#DateFormat(RB_RequestDate,"m/d/yy")#</td>
                <td align="left" bgcolor="#ThreatColor#" nowrap>&nbsp;#DateFormat(RB_DueDate,"mm/dd/yy")#</td>
                <td align="left" nowrap>#CaseStatus#</td>
                <td align="center" nowrap valign="middle">
                	<cfif CaseStatus neq "Closed">
                        <cfif (StatusDays gt 4 and CaseStatus eq "open") OR (StatusDays gt 2 and CaseStatus eq "rush")>
                            <cfif currentRow mod 2 eq 1>
                                <img src="assets/images/Storm_Blue.gif" border="0" height="18" width="18" /> #StatusDays# days
                            <cfelse>
                                <img src="assets/images/Storm.gif" border="0" height="18" width="18" /> #StatusDays# days
                            </cfif>
                        </cfif>
                    <cfelseif CaseStatus eq "Closed">
                    	&nbsp;#DateFormat(ClosedDate,"mm/dd/yy")#
                    </cfif>
                    </td>
                <td></td>
                </tr>
        </cfloop>
    <cfelse>
    	<tr bgcolor="#Application.DarkRow#">
        	<td></td>
            <td colspan="4">There are no Case Files for this Status.</td>
            <td></td>
        </tr>
    </cfif>
</table>
</div>
 
<!--- <cfif Session.Viewing gt 0>
<table border="0" cellspacing="0" class="login-table" width="500">
	<tr><th>&nbsp;</th>
		<th align="left" width="49%">In-House Notes</th>
        <th align="right" width="49%">
        	<input type="button" value="Create New" onclick="window.open('Popup_InHouse_Add.cfm?ihn_ocid=#Session.Viewing#',
'newInHouse','location=0,status=0,toolbar=0,menubar=0,scrollbars=o,height=440,width=720,left=200,top=100');" />
            </th>
		<th>&nbsp;</th></tr>
</table>
 
<div style="height:125px; overflow:auto;">
<table border="0" cellspacing="0" class="login-table" width="480">
	<input type="Hidden" name="ihn_id" value="">
	<tr><th>&nbsp;</th>
		<th align="left" nowrap width="80%">Title</th>
        <th align="left" nowrap width="20%">Last Updated</th>
		<th>&nbsp;</th></tr>
    <cfif rsDB_IHNs.recordCount gt 0>
        <cfloop query="rsDB_IHNs">
            <cfif currentRow mod 2 eq 1>
                <tr bgcolor="#Application.DarkRow#">
            <cfelse>
                <tr bgcolor="#Application.LightRow#">
            </cfif>
                <td></td>
                <td align="left"><a href="##" onclick="window.open('Popup_InHouse_Edit.cfm?ihn_id=#InHouseNote_ID#',
'editInHouse','location=0,status=0,toolbar=0,menubar=0,scrollbars=o,height=440,width=720,left=200,top=100');">#Title#</a></td>
                <td align="left" nowrap>#DateFormat(DateLastUpdated,"m/d/yy")# #TimeFormat(DateLastUpdated,"h:mm tt")#</td>
                <td></td>
                </tr>
        </cfloop>
    <cfelse>
    	<tr bgcolor="#Application.DarkRow#">
        	<td></td>
            <td colspan="2">You have no In-House Notes.</td>
            <td></td>
        </tr>
    </cfif>
</table>
</div>
</cfif> --->
 
	</td>
	<td style="padding:0px" valign="top" align="left">
	
<cfif Session.Viewing gt 0>
<!--- Begin: AAAAA --->
 
<table border="0" cellspacing="0" class="login-table" width="370">
	<tr><th>&nbsp;</th>
		<th align="left">Uncleared-Incomplete Alerts</th>
		<th>&nbsp;</th></tr>
</table>
	
<div style="height:310px; overflow:auto;" style="border-bottom:double;border-bottom-color:##FFFFFF">
<table border="0" cellspacing="0" class="login-table" width="350">
	<tr><th>&nbsp;</th>
		<th align="left">Date</th>
		<th align="left">Time</th>
		<th align="left">Type</th>
		<th align="left">Alert</th>
		<th>&nbsp;</th>
		</tr>
	<input type="Hidden" name="aid" value="">
	<input type="Hidden" name="origin" value="dash">
    <cfif rsDB_Alerts.recordCount gt 0>
        <cfloop query="rsDB_Alerts">
            <cfif currentRow mod 2 eq 1>
                <tr bgcolor="#Application.DarkRow#">
            <cfelse>
                <tr bgcolor="#Application.LightRow#">
            </cfif>
                <td></td>
                <td align="left" nowrap>#DateFormat(AlertDate,"m/d/yy")#&nbsp;</td>
                <td align="left" nowrap>#TimeFormat(AlertTime,"h:mm tt")#&nbsp;</td>
                <td align="left" nowrap>#AlertType#&nbsp;</td>
                <td align="left"><a href="##" onclick="nv.TB.value='BAM';nv.P.value='AL_V';nv.aid.value=#Alert_ID#;nv.submit();">#AlertTitle#</a></td>
                <td></td>
            </tr>
        </cfloop>
    <cfelse>
    	<tr bgcolor="#Application.DarkRow#">
        	<td></td>
            <td colspan="4">There are no Pending Alerts.</td>
            <td></td>
        </tr>
    </cfif>
</table>
</div>
 
 
<!--- IN-HOUSE NOTES BEGIN --->
<cfif Session.Viewing gt 0>
<table border="0" cellspacing="0" class="login-table" width="370">
	<tr><th>&nbsp;</th>
		<th align="left" width="29%">In-House Notes</th>
        <th align="right" width="79%" valign="middle">
        	<input type="hidden" name="searchAction" value="wild" />
        	<input type="text" name="search_IHN" size="10" />
            <input type="Submit" value="Search" onclick="nv.TB.value='T';nv.P.value='DB';nv.searchAction.value='wild';" />
            &nbsp;&nbsp;
        	<a href="##" onclick="nv.TB.value='T';nv.P.value='DB';nv.searchAction.value='last25';nv.submit();"><img src="assets/images/recent_25.gif" border="0" align="absmiddle" /></a>
			&nbsp;&nbsp;
            <a href="##" onclick="window.open('Popup_InHouse_Add.cfm?ihn_ocid=#Session.Viewing#&sH=#session.screenHeight#',
'newInHouse','location=0,status=0,toolbar=0,menubar=0,scrollbars=o,height=#session.screenHeight#,width=720,left=100,top=0');"><img src="assets/images/add_green.gif" border="0" /></a>
			&nbsp;
        	<!--- <input type="button" value="Create New" onclick="window.open('Popup_InHouse_Add.cfm?ihn_ocid=#Session.Viewing#',
'newInHouse','location=0,status=0,toolbar=0,menubar=0,scrollbars=o,height=440,width=720,left=200,top=100');" /> --->
            </th>
		<th>&nbsp;</th></tr>
</table>
<div style="height:130px; overflow:auto;">
<table border="0" cellspacing="0" class="login-table" width="350">
	<input type="Hidden" name="ihn_id" value="">
	<tr><th>&nbsp;</th>
		<th align="left" nowrap width="80%">Title</th>
        <th align="left" nowrap width="20%">Last Updated</th>
		<th>&nbsp;</th></tr>
    <cfif rsDB_IHNs.recordCount gt 0>
        <cfloop query="rsDB_IHNs">
            <cfif currentRow mod 2 eq 1>
                <tr bgcolor="#Application.DarkRow#">
            <cfelse>
                <tr bgcolor="#Application.LightRow#">
            </cfif>
                <td></td>
                <td align="left"><a href="##" onclick="window.open('Popup_InHouse_Edit.cfm?ihn_id=#InHouseNote_ID#&sH=#session.screenHeight#',
'editInHouse','location=0,status=0,toolbar=0,menubar=0,scrollbars=0,height=#session.screenHeight#,width=720,left=100,top=0');">#Title#</a></td>
                <td align="left" nowrap>#DateFormat(DateLastUpdated,"m/d/yy")# #TimeFormat(DateLastUpdated,"h:mm tt")#</td>
                <td></td>
                </tr>
        </cfloop>
    <cfelse>
    	<tr bgcolor="#Application.DarkRow#">
        	<td></td>
            <td colspan="2">You have no In-House Notes.</td>
            <td></td>
        </tr>
    </cfif>
</table>
</div>
</cfif>
<!--- IN-HOUSE NOTES BEGIN --->
 
<!--- 
<table border="0" cellspacing="0" class="login-table" width="370">
	<tr><th>&nbsp;</th>
		<th align="left">In-House Notes</th>
		<th>&nbsp;</th></tr>
</table>
 
<div style="height:225px; overflow:auto;">
<table border="0" cellspacing="0" class="login-table" width="350">
	<tr><th>&nbsp;</th>
		<th align="left">Date</th>
		<th align="left">Subject</th>
		<th>&nbsp;</th>
		</tr>
	<input type="Hidden" name="pmid" value="">
    <input type="Hidden" name="senderReceiver" value="receiver">
    <input type="hidden" name="reply" value="Y">
    <input type="hidden" name="nav" value="dash">
    <input type="hidden" name="page" value="DB">
    <cfif rsDB_PMs.recordCount gt 0>
        <cfloop query="rsDB_PMs">
            <cfif currentRow mod 2 eq 1>
                <tr bgcolor="#Application.DarkRow#">
            <cfelse>
                <tr bgcolor="#Application.LightRow#">
            </cfif>
                <td></td>
                <td align="left" nowrap>#DateFormat(DateSent,"m/d/yy")#&nbsp;</td>
                <td align="left"><a href="##" onclick="nv.TB.value='BPM';nv.P.value='MV';nv.pmid.value=#PM_ID#;nv.submit();">#SubjectLine#</a></td>
                <td></td>
            </tr>
        </cfloop>
    <cfelse>
    	<tr bgcolor="#Application.DarkRow#">
        	<td></td>
            <td colspan="2">There are no Unread Private Messages.</td>
            <td></td>
        </tr>
    </cfif>
</table>
</div> --->
 
<!--- End: AAAAA --->
<cfelseif Session.Viewing eq 0>
<!--- Begin: BBBBB --->
 
<table border="0" cellspacing="0" class="login-table" width="370">
	<tr><th>&nbsp;</th>
		<th align="left">Help Requests</th>
		<th>&nbsp;</th></tr>
</table>
 
<div style="height:400px; overflow:auto;">
<table border="0" cellspacing="0" class="login-table" width="350">
	<tr><th>&nbsp;</th>
		<th align="left">Date / Time</th>
		<th align="left">Subject</th>
		<th>&nbsp;</th>
		</tr>
	<input type="Hidden" name="hrid" value="">
    <cfif rsDB_HRs.recordCount gt 0>
        <cfloop query="rsDB_HRs">
            <cfif currentRow mod 2 eq 1>
                <tr bgcolor="#Application.DarkRow#">
            <cfelse>
                <tr bgcolor="#Application.LightRow#">
            </cfif>
                <td></td>
                <td align="left" nowrap>#DateFormat(DateSent,"m/d/yy")#&nbsp;#TimeFormat(DateSent,"h:mm tt")#&nbsp;</td>
                <cfif ReadIt eq 0>
                	<td align="left"><a href="##" onclick="nv.TB.value='T';nv.P.value='HRV';nv.hrid.value=#HR_ID#;nv.submit();"><strong>#SubjectLine#</strong></a></td>
                <cfelse>
                	<td align="left"><a href="##" onclick="nv.TB.value='T';nv.P.value='HRV';nv.hrid.value=#HR_ID#;nv.submit();">#SubjectLine#</a></td>
                </cfif>
                <td></td>
            </tr>
        </cfloop>
    <cfelse>
    	<tr bgcolor="#Application.DarkRow#">
        	<td></td>
            <td colspan="2">There are no Help Requests.</td>
            <td></td>
        </tr>
    </cfif>
</table>
</div>
<!--- End: BBBBB --->
</cfif>
		</td>
	</tr>
</table>
</cfoutput>

                                              
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
113:
114:
115:
116:
117:
118:
119:
120:
121:
122:
123:
124:
125:
126:
127:
128:
129:
130:
131:
132:
133:
134:
135:
136:
137:
138:
139:
140:
141:
142:
143:
144:
145:
146:
147:
148:
149:
150:
151:
152:
153:
154:
155:
156:
157:
158:
159:
160:
161:
162:
163:
164:
165:
166:
167:
168:
169:
170:
171:
172:
173:
174:
175:
176:
177:
178:
179:
180:
181:
182:
183:
184:
185:
186:
187:
188:
189:
190:
191:
192:
193:
194:
195:
196:
197:
198:
199:
200:
201:
202:
203:
204:
205:
206:
207:
208:
209:
210:
211:
212:
213:
214:
215:
216:
217:
218:
219:
220:
221:
222:
223:
224:
225:
226:
227:
228:
229:
230:
231:
232:
233:
234:
235:
236:
237:
238:
239:
240:
241:
242:
243:
244:
245:
246:
247:
248:
249:
250:
251:
252:
253:
254:
255:
256:
257:
258:
259:
260:
261:
262:
263:
264:
265:
266:
267:
268:
269:
270:
271:
272:
273:
274:
275:
276:
277:
278:
279:
280:
281:
282:
283:
284:
285:
286:
287:
288:
289:
290:
291:
292:
293:
294:
295:
296:
297:
298:
299:
300:
301:
302:
303:
304:
305:
306:
307:
308:
309:
310:
311:
312:
313:
314:
315:
316:
317:
318:
319:
320:
321:
322:
323:
324:
325:
326:
327:
328:
329:
330:
331:
332:
333:
334:
335:
336:
337:
338:
339:
340:
341:
342:
343:
344:
345:
346:
347:
348:
349:
350:
351:
352:
353:
354:
355:
356:
357:
358:
359:
360:
361:
362:
363:
364:
365:
366:
367:
368:
369:
370:
371:
372:
373:
374:
375:
376:
377:
378:
379:
380:
381:
382:
383:
384:
385:
386:
387:
388:
389:
390:
391:
392:
393:
394:
395:
396:
397:
398:
399:
400:
401:
402:
403:
404:
405:
406:
407:
408:
409:
410:
411:
412:
413:
414:
415:
416:
417:
418:
419:
420:
421:
422:
423:
424:
425:
426:
427:
428:
429:
430:
431:
432:
433:
434:
435:
436:
437:
438:
439:
440:
441:
442:
443:
444:
445:
446:
447:
448:
449:
450:
451:
452:
453:

Select allOpen in new window

 

by: erikTsomikPosted on 2009-04-17 at 12:49:30ID: 24171422

the name of the variable that see is CaseFileName on the error message that you sent is Case_File_Name. So if this is the case i believe you got naming wrong

 

by: Von-CookePosted on 2009-04-17 at 12:54:36ID: 24171478

Ya, I noticed that too but why would it work on another server using the exact same code?

 

by: erikTsomikPosted on 2009-04-17 at 12:57:36ID: 24171508

may there is another place in the diff files where it get set. the file name you need to give us is intra\dashboard.cfm

 

by: _agx_Posted on 2009-04-17 at 12:59:52ID: 24171532

That is not the same page/code as what is causing the error.  

 

by: Von-CookePosted on 2009-04-17 at 13:09:27ID: 31571612

You guys are absolutely right, Looks like the code had changed from the source files I had.  I replaced those files with the updated ones and it seems to be functioning now - thanks for your help and sorry to waste your time

 

by: _agx_Posted on 2009-04-17 at 13:10:44ID: 24171619

> Von-Cooke:
> Ya, I noticed that too but why would it work on another server using the exact same code?

Either you posted the wrong page or the two sites are not using the same code.  Otherwise, the variable names should match:  #CaseFileName# versus #Case_File_Name#

 

by: _agx_Posted on 2009-04-17 at 13:11:31ID: 24171626

Ah, Okay.  Glad it is solved.

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...