* 고객시스템명: LG CNS
* GAUCE 버젼 :GAUCE MTS 3.0
* WAS종류(WebLogin 등등) :COM+
* DB종류:Oracle
* 문의 유형(질문/요청/참조):질문
* 내용
기존에 사용을 했을경우 이와 같이 문제가 발생을 하지 않았는데 갑자 이번에 작업을 진행을 하면서
위와 같은 메세지 출력 됨을 확인할수 있었습니다.
먼저, 현 작업하고자 내용은 기존에 차트내용은 정적인 내용이었다면,
이번 작업 같은 경우는 동적으로 사용자에게 선택항목을 두어서 차트화 하는 작업입니다.
그런데 처음상태에서는 차트가 문제없이 출력을 하였는데, 지속적인 시간을 두고서 작업을 했을경우
이와 같은 메세지를 보입니다.
┌────────────────────────────────────────────┐
│ Iexplore │
│ │
│ Access violation at address 50444163 in module 'TeeChart5.ocx'.Read of address 6563698E" │
│ │
└────────────────────────────────────────────┘
현내용에 대해 확인부탁드립니다.
소스내용을 정리해서 보내드립니다.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title><%=TITLE%></title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
<link href="../css/price.css" rel="stylesheet" type="text/css">
<script language="javascript" src="../Script/Common.js"></script>
<script language="javascript" src="../Script/Gauce.js"></script>
<script language="JavaScript" type="text/JavaScript">
<!--
function Initialize()
{
var jsArgs ;
document.body.topMargin = 0;
document.body.leftMargin = 0;
/* Default checkBox checked (MKT,TP Adj,Adj TP) */
PriceOpt[4].checked = true; // MKT
PriceOpt[5].checked = true; // TP Adj
PriceOpt[6].checked = true; // Adj TP
jsArgs = window.dialogArguments;
jsShipFrom = jsArgs.get("SHIP_FROM");
jsBillFrom = jsArgs.get("BILL_FROM");
jsGbuCode = jsArgs.get("GBU_CODE");
jsDivisionCode = jsArgs.get("DIVISION_CODE");
jsProductCode = jsArgs.get("PRODUCT_CODE");
jsProductLineCode = jsArgs.get("PRODUCT_LINE_CODE");
jsGlobalModel = jsArgs.get("GLOBAL_MODEL");
jsGlobalSuffix = jsArgs.get("GLOBAL_SUFFIX");
jsSalesModel = jsArgs.get("SALES_MODEL");
jsSalesSuffix = jsArgs.get("SALES_SUFFIX");
jsLocationCode = jsArgs.get("LOCATION_CODE");
jsPriceType = jsArgs.get("PRICE_TYPE");
jsBranchCode = jsArgs.get("BRANCH_CODE");
G_addDataSet(dsList, null, gridList, null, "Effective Date Price Chart");
G_addDataSet(dsPrice, null, null, null, "Effective Date Price Chart");
G_Load(dsList, null);
Chart_Initialize1();
}
function OnLoadBefore(dataset)
{
if (dataset == dsList) //** List Print
{
dataset.DataID = "/Pricing/WPrEffectiveDatePriceChartMaster_S.ASP?DataSet=dsList" +
"&SHIP_FROM=" + jsShipFrom +
"&BILL_FROM=" + jsBillFrom +
"&GBU_CODE=" + jsGbuCode +
"&DIVISION_CODE=" + jsDivisionCode +
"&PRODUCT_CODE=" + jsProductCode +
"&PRODUCT_LINE_CODE=" + jsProductLineCode +
"&GLOBAL_MODEL=" + jsGlobalModel +
"&GLOBAL_SUFFIX=" + jsGlobalSuffix +
"&SALES_MODEL=" + jsSalesModel +
"&SALES_SUFFIX=" + jsSalesSuffix +
"&LOCATION_CODE=" + jsLocationCode +
"&PRICE_TYPE=" + jsPriceType +
"&BRANCH_CODE=" + jsBranchCode;
}
else if (dataset == dsPrice) //** Price Chart
{
dataset.DataID = "/Pricing/WPrEffectiveDatePriceChartMaster_S.ASP?DataSet=dsPrice" +
"&SHIP_FROM=" + jsShipFrom +
"&BILL_FROM=" + jsBillFrom +
"&GBU_CODE=" + jsGbuCode +
"&DIVISION_CODE=" + jsDivisionCode +
"&PRODUCT_CODE=" + jsProductCode +
"&PRODUCT_LINE_CODE=" + jsProductLineCode +
"&GLOBAL_MODEL=" + jsGlobalModel +
"&GLOBAL_SUFFIX=" + jsGlobalSuffix +
"&SALES_MODEL=" + jsSalesModel +
"&SALES_SUFFIX=" + jsSalesSuffix +
"&LOCATION_CODE=" + jsLocationCode +
"&PRICE_TYPE=" + jsPriceType +
"&BRANCH_CODE=" + jsBranchCode;
}
}
function OnLoadCompleted(dataset, rowcnt)
{
}
function Chart_Initialize1()
{
//**********[XChart초기화]**********//
XChart1.RemoveAllSeries();
//**********[XChart1 WallBgcolor 정보입력]**********//
XChart1.Panel.Color = XChart1.ToOLEColor("white");
XChart1.Panel.BevelInner = 0;
XChart1.Panel.BevelOuter = 0;
XChart1.Panel.BorderStyle = 0;
XChart1.Aspect.View3D = false;
XChart1.Axis.Bottom.GridPen.visible = false;
//**********[XChart1 Legend 정보입력]**********//
XChart1.Legend.Visible = 1;
XChart1.Legend.Alignment = 3;
XChart1.Legend.Font.Size = 9;
XChart1.Legend.Font.bold = true;
XChart1.Legend.ShadowSize = 0;
XChart1.Legend.Frame.Visible = false;
XChart1.Legend.ColorWidth = 20;
Mark = XChart1.Tools.Add (8);
//**********[XChart1 Zoom 정보입력]**********//
XChart1.Zoom.MouseButton = 0;
XChart1.Zoom.Pen.Style = 0;
XChart1.Zoom.Pen.Color = XChart1.ToOLEColor("Black");
var SeriesIdx = XChart1.AddSeries(0);
XChart1.Series(SeriesIdx).DataID = "dsPrice";
XChart1.Series(SeriesIdx).YValueColumn = "MKT_TP_ADJ_AMT";
XChart1.Series(SeriesIdx).Title = "MKT Adj Amt";
XChart1.Series(SeriesIdx).Color = "#0018FF";
XChart1.Series(SeriesIdx).Marks.Visible = true;
XChart1.Series(SeriesIdx).Marks.Transparent = true;
XChart1.Series(SeriesIdx).Marks.Font.Name = "Tahoma";
XChart1.Series(SeriesIdx).Marks.ArrowLength = 0;
XChart1.Series(SeriesIdx).Marks.Font.Color = XChart1.ToOLEColor("black");
XChart1.Series(SeriesIdx).asLine.LinePen.width = 2;
XChart1.Series(SeriesIdx).asLine.Pointer.Visible = true;
XChart1.Series(SeriesIdx).asLine.Pointer.HorizontalSize = 4;
XChart1.Series(SeriesIdx).asLine.Pointer.VerticalSize = 4;
XChart1.Series(SeriesIdx).asLine.Pointer.Style = 2;
XChart1.Series(SeriesIdx).asLine.Pointer.Pen.Style = 0;
XChart1.Series(SeriesIdx).asLine.Pointer.Brush.Color = XChart1.ToOLEColor("yellow");
var SeriesIdx = XChart1.AddSeries(0);
XChart1.Series(SeriesIdx).DataID = "dsPrice";
XChart1.Series(SeriesIdx).YValueColumn = "TP_ADJ_AMT";
XChart1.Series(SeriesIdx).Title = "TP Adj Amt";
XChart1.Series(SeriesIdx).Color = "#FFFF00";
XChart1.Series(SeriesIdx).Marks.Visible = true;
XChart1.Series(SeriesIdx).Marks.Transparent = true;
XChart1.Series(SeriesIdx).Marks.Font.Name = "Tahoma";
XChart1.Series(SeriesIdx).Marks.ArrowLength = 0;
XChart1.Series(SeriesIdx).Marks.Font.Color = XChart1.ToOLEColor("black");
XChart1.Series(SeriesIdx).asLine.LinePen.width = 2;
XChart1.Series(SeriesIdx).asLine.Pointer.Visible = true;
XChart1.Series(SeriesIdx).asLine.Pointer.HorizontalSize = 4;
XChart1.Series(SeriesIdx).asLine.Pointer.VerticalSize = 4;
XChart1.Series(SeriesIdx).asLine.Pointer.Style = 3;
XChart1.Series(SeriesIdx).asLine.Pointer.Pen.Style = 0;
XChart1.Series(SeriesIdx).asLine.Pointer.Brush.Color = XChart1.ToOLEColor("yellow");
var SeriesIdx = XChart1.AddSeries(0);
XChart1.Series(SeriesIdx).DataID = "dsPrice";
XChart1.Series(SeriesIdx).YValueColumn = "TRANSFER_PRICE";
XChart1.Series(SeriesIdx).Title = "Adj TP";
XChart1.Series(SeriesIdx).Color = "#CC5555";
XChart1.Series(SeriesIdx).Marks.Visible = true;
XChart1.Series(SeriesIdx).Marks.Transparent = true;
XChart1.Series(SeriesIdx).Marks.Font.Name = "Tahoma";
XChart1.Series(SeriesIdx).Marks.ArrowLength = 0;
XChart1.Series(SeriesIdx).Marks.Font.Color = XChart1.ToOLEColor("black");
XChart1.Series(SeriesIdx).asLine.LinePen.width = 2;
XChart1.Series(SeriesIdx).asLine.Pointer.Visible = true;
XChart1.Series(SeriesIdx).asLine.Pointer.HorizontalSize = 4;
XChart1.Series(SeriesIdx).asLine.Pointer.VerticalSize = 4;
XChart1.Series(SeriesIdx).asLine.Pointer.Style = 7;
XChart1.Series(SeriesIdx).asLine.Pointer.Pen.Style = 0;
XChart1.Series(SeriesIdx).asLine.Pointer.Brush.Color = XChart1.ToOLEColor("yellow");
var SeriesIdx = XChart1.AddSeries(0);
XChart1.Series(SeriesIdx).DataID = "dsPrice";
XChart1.Series(SeriesIdx).YValueColumn = "TRANSFER_PRICE";
XChart1.Series(SeriesIdx).LabelColumn = "EFFECTIVE_DATE";
XChart1.Series(SeriesIdx).ShowInLegend = false;
G_Load(dsPrice, null);
XChart1.Reset();
}
function Zoom_Rate()
{
XChart1.Zoom.Undo();
XChart1.Zoom.ZoomPercent(SEL_ZOOM_PRICING.value);
}
function btnUndo_onClick()
{
XChart1.Zoom.Undo();
}
function btnClose_onClick()
{
window.close();
}
/* 2007.01.08 정지현 */
function btnInquiry_onClick()
{
XChart1.RemoveAllSeries();
//**********[XChart1 WallBgcolor 정보입력]**********//
XChart1.Panel.Color = XChart1.ToOLEColor("white");
XChart1.Panel.BevelInner = 0;
XChart1.Panel.BevelOuter = 0;
XChart1.Panel.BorderStyle = 0;
XChart1.Aspect.View3D = false;
XChart1.Axis.Bottom.GridPen.visible = false;
//**********[XChart1 Legend 정보입력]**********//
XChart1.Legend.Visible = 1;
XChart1.Legend.Alignment = 3;
XChart1.Legend.Font.Size = 9;
XChart1.Legend.Font.bold = true;
XChart1.Legend.ShadowSize = 0;
XChart1.Legend.Frame.Visible = false;
XChart1.Legend.ColorWidth = 20;
Mark = XChart1.Tools.Add (8);
//**********[XChart1 Zoom 정보입력]**********//
XChart1.Zoom.MouseButton = 0;
XChart1.Zoom.Pen.Style = 0;
XChart1.Zoom.Pen.Color = XChart1.ToOLEColor("Black");
if (PriceOpt[0].checked == true)
{
var SeriesIdx = XChart1.AddSeries(0);
XChart1.Series(SeriesIdx).DataID = "dsPrice";
XChart1.Series(SeriesIdx).YValueColumn = "RETAIL_PRICE";
XChart1.Series(SeriesIdx).Title = "Retail Price";
XChart1.Series(SeriesIdx).Color = "#CC00CC";
XChart1.Series(SeriesIdx).Marks.Visible = true;
XChart1.Series(SeriesIdx).Marks.Transparent = true;
XChart1.Series(SeriesIdx).Marks.Font.Name = "Tahoma";
XChart1.Series(SeriesIdx).Marks.ArrowLength = 0;
XChart1.Series(SeriesIdx).Marks.Font.Color = XChart1.ToOLEColor("black");
XChart1.Series(SeriesIdx).asLine.LinePen.width = 2;
XChart1.Series(SeriesIdx).asLine.Pointer.Visible = true;
XChart1.Series(SeriesIdx).asLine.Pointer.HorizontalSize = 4;
XChart1.Series(SeriesIdx).asLine.Pointer.VerticalSize = 4;
XChart1.Series(SeriesIdx).asLine.Pointer.Style = 1;
XChart1.Series(SeriesIdx).asLine.Pointer.Pen.Style = 0;
XChart1.Series(SeriesIdx).asLine.Pointer.Brush.Color = XChart1.ToOLEColor("yellow");
}
if (PriceOpt[1].checked == true)
{
var SeriesIdx = XChart1.AddSeries(0);
XChart1.Series(SeriesIdx).DataID = "dsPrice";
XChart1.Series(SeriesIdx).YValueColumn = "DEALER_PRICE";
XChart1.Series(SeriesIdx).Title = "Dealer Price";
XChart1.Series(SeriesIdx).Color = "#CCBBCC";
XChart1.Series(SeriesIdx).Marks.Visible = true;
XChart1.Series(SeriesIdx).Marks.Transparent = true;
XChart1.Series(SeriesIdx).Marks.Font.Name = "Tahoma";
XChart1.Series(SeriesIdx).Marks.ArrowLength = 0;
XChart1.Series(SeriesIdx).Marks.Font.Color = XChart1.ToOLEColor("black");
XChart1.Series(SeriesIdx).asLine.LinePen.width = 2;
XChart1.Series(SeriesIdx).asLine.Pointer.Visible = true;
XChart1.Series(SeriesIdx).asLine.Pointer.HorizontalSize = 4;
XChart1.Series(SeriesIdx).asLine.Pointer.VerticalSize = 4;
XChart1.Series(SeriesIdx).asLine.Pointer.Style = 1;
XChart1.Series(SeriesIdx).asLine.Pointer.Pen.Style = 0;
XChart1.Series(SeriesIdx).asLine.Pointer.Brush.Color = XChart1.ToOLEColor("yellow");
}
if (PriceOpt[4].checked == true)
{
//* Mkt Adj.
var SeriesIdx = XChart1.AddSeries(0);
XChart1.Series(SeriesIdx).DataID = "dsPrice";
XChart1.Series(SeriesIdx).YValueColumn = "MKT_TP_ADJ_AMT";
XChart1.Series(SeriesIdx).Title = "MKT Adj Amt";
XChart1.Series(SeriesIdx).Color = "#0018FF";
XChart1.Series(SeriesIdx).Marks.Visible = true;
XChart1.Series(SeriesIdx).Marks.Transparent = true;
XChart1.Series(SeriesIdx).Marks.Font.Name = "Tahoma";
XChart1.Series(SeriesIdx).Marks.ArrowLength = 0;
XChart1.Series(SeriesIdx).Marks.Font.Color = XChart1.ToOLEColor("black");
XChart1.Series(SeriesIdx).asLine.LinePen.width = 2;
XChart1.Series(SeriesIdx).asLine.Pointer.Visible = true;
XChart1.Series(SeriesIdx).asLine.Pointer.HorizontalSize = 4;
XChart1.Series(SeriesIdx).asLine.Pointer.VerticalSize = 4;
XChart1.Series(SeriesIdx).asLine.Pointer.Style = 2;
XChart1.Series(SeriesIdx).asLine.Pointer.Pen.Style = 0;
XChart1.Series(SeriesIdx).asLine.Pointer.Brush.Color = XChart1.ToOLEColor("yellow");
}
if (PriceOpt[5].checked == true)
{
//*TP Adj
var SeriesIdx = XChart1.AddSeries(0);
XChart1.Series(SeriesIdx).DataID = "dsPrice";
XChart1.Series(SeriesIdx).YValueColumn = "TP_ADJ_AMT";
XChart1.Series(SeriesIdx).Title = "TP Adj Amt";
XChart1.Series(SeriesIdx).Color = "#FFFF00";
XChart1.Series(SeriesIdx).Marks.Visible = true;
XChart1.Series(SeriesIdx).Marks.Transparent = true;
XChart1.Series(SeriesIdx).Marks.Font.Name = "Tahoma";
XChart1.Series(SeriesIdx).Marks.ArrowLength = 0;
XChart1.Series(SeriesIdx).Marks.Font.Color = XChart1.ToOLEColor("black");
XChart1.Series(SeriesIdx).asLine.LinePen.width = 2;
XChart1.Series(SeriesIdx).asLine.Pointer.Visible = true;
XChart1.Series(SeriesIdx).asLine.Pointer.HorizontalSize = 4;
XChart1.Series(SeriesIdx).asLine.Pointer.VerticalSize = 4;
XChart1.Series(SeriesIdx).asLine.Pointer.Style = 3;
XChart1.Series(SeriesIdx).asLine.Pointer.Pen.Style = 0;
XChart1.Series(SeriesIdx).asLine.Pointer.Brush.Color = XChart1.ToOLEColor("yellow");
}
if (PriceOpt[6].checked == true)
{
//*Adj TP
var SeriesIdx = XChart1.AddSeries(0);
XChart1.Series(SeriesIdx).DataID = "dsPrice";
XChart1.Series(SeriesIdx).YValueColumn = "TRANSFER_PRICE";
XChart1.Series(SeriesIdx).Title = "Adj TP";
XChart1.Series(SeriesIdx).Color = "#CC5555";
XChart1.Series(SeriesIdx).Marks.Visible = true;
XChart1.Series(SeriesIdx).Marks.Transparent = true;
XChart1.Series(SeriesIdx).Marks.Font.Name = "Tahoma";
XChart1.Series(SeriesIdx).Marks.ArrowLength = 0;
XChart1.Series(SeriesIdx).Marks.Font.Color = XChart1.ToOLEColor("black");
XChart1.Series(SeriesIdx).asLine.LinePen.width = 2;
XChart1.Series(SeriesIdx).asLine.Pointer.Visible = true;
XChart1.Series(SeriesIdx).asLine.Pointer.HorizontalSize = 4;
XChart1.Series(SeriesIdx).asLine.Pointer.VerticalSize = 4;
XChart1.Series(SeriesIdx).asLine.Pointer.Style = 7;
XChart1.Series(SeriesIdx).asLine.Pointer.Pen.Style = 0;