Microsoft MVP성태의 닷넷 이야기
SmartClient에서의 배포 문제에 대해 [링크 복사], [링크+제목 복사],
조회: 14880
글쓴 사람
장강현 (khjang10 at freechal.com)
홈페이지
첨부 파일
 

안녕하세요!!

요새 저희가 SmartClient환경으로 ChartFX.NET을 사용하여 개발을 하고 있는데

ChartFx가 제대로 로딩이 되지 않습니다..

처음에는 licenseexception이 발생하여 원인을 찾아보니 licenses.licx를 화일을 생성하여 프로젝트에 첨부하여 배포하라는

글을 읽고 그대로 해봐도 자꾸 똑같은 에러가 발생합니다..
(참고로 저희는 DLL를 구성하여 웹페이지에 포함시키는 방식으로 구현했습니다)

그래서 간단하게 웹페이에 그냥 ChartFX 하나 올린 DLL을 생성하여 위의 방법처럼 license.licx를 포함해서 컴파일해서 포함시켜도

페이지가 뜨지 않습니다..

혹시 아시는 바가 있으면 조언을 부탁드립니다..

이것때문에 2일동안 아무것도 못하고 있네요~~

밑의 글은 ChartFX홈페이지에서 발췌한 글입니다..

Q6101001. How to deploy a WinForms Application when it contains a wrapper object using Chart FX for .NET
The information on this article applies to

Chart FX for .NET Windows Form

Summary
This article discusses how to properly license and deploy an application that contains an embedded wrapper object (e.g. Class Library, Windows Control Library, etc.) that uses Chart FX for .NET.
Description

This article describes a procedure that could potentially breach the Chart FX for .NET License agreement (Sections 3. REDISTRIBUTABLE CODE and 4. DISTRIBUTION REQUIREMENTS). Please contact Software FX to discuss your specific needs of wrapping ChartFX for .NET and to obtain authorization to do so.

The problem is that even though the wrapper object you created has a ChartFX license that license is not inherited to the parent application or exe. In order to fix this issue you need to have the application or exe also license ChartFX even if it directly does not use ChartFX.Net.

Step by Step
1) You need to add a reference in your application's project to ChartFX.dll, ChartFX.base.dll and ChartFX.Borders.dll.

2) You will then need to create a licenses.licx file and place the following text in it.

SoftwareFX.ChartFX.Chart, ChartFX, Version=6.2.1342.0, Culture=neutral, PublicKeyToken=a1878e2052c08dce

3) Add the licenses.licx file to your exe project.

Background Information
There are two possible choices when it comes to embedding the license information inside a dll:

Option A) A component that wraps other components includes the license information whiting itself. This license info contributes to the context of the program that uses the wrapper.

This option would allow a programmer to develop controls that just wrap functionality from other controls bypassing the original license. In this scenario, the licensing would be very weak as a developer could easily expose a subset of the API of the original control (or the control itself) from a wrapper control. An end user using the this wrapper control would not know that it is illegally using Chart FX for development purposes.

Option B) A component that wraps other components does not contribute to the license context of the program that is using it. In other words, in order for an executable (EXE) to use a control it must contain its license regardless of whether the control is being used directly or indirectly through a wrapper control.

This does not make building wrappers a feasible solution if you really need generic add-ins because the target EXE needs to know in advance the licenses it will need. In reality most programs would not use an unlimited number of add-ins using multiple third-party licensed controls.

Microsoft .NET uses Option B.











[최초 등록일: ]
[최종 수정일: 9/14/2005]


비밀번호

댓글 작성자
 



2005-09-14 09시42분
저 같은 경우에... UltraGrid 를 쓰면서 licenses.licx 파일을 사용해 본적이 있는데요. 정상적으로 사용이 되던데요. ^^;

참고로... 그냥 파일 추가하면 안되고, "포함리소스" 유형으로 해야 정상동작했던 것 같습니다. 지금 확인할만한 상황이 아니라 정확히는 답변 못드리지만. ^^
techsharer
2005-09-28 02시59분
[장강현] ChartFX는 IE에 embedding되는 방식으로 구현된것은 동작이 안된다고 하네요~~
SoftwareFX에서 확인한겁니다..

답변 감사합니다.
[guest]

1  2  3  4  5  6  7  8  9  [10]  11  12  13  14  15  ...
NoWriterDateCnt.TitleFile(s)
5732kss10/8/202212127c# socket.poll 버그인가요? [2]파일 다운로드1
5731kss10/8/202211433c# socket.poll 버그인가요? [3]
5730김재환10/7/202213145WPF에서 디스플레이 배율이 100%가 아닌 경우, Window의 포지션 정보가 부정확해지는 문제 [2]
5729김기헌10/2/202212243안녕하세요 선생님 뮤텍스 관련 질문 드립니다 [2]
5728김경환9/29/202211987그리드뷰관련마지막질문하나드리겠습니다선생님 [5]파일 다운로드1
5727김경환9/26/202211593c# 윈폼 tcp/ip 기반 데이터그리드뷰질문하나드리겟습니다 [3]
5726양승조 donator9/22/202212552C# dll 과 C++ 간 배열 전달. SafeArray [10]파일 다운로드1
5725김기헌9/21/202211069안녕하세요 선생님 윈폼 컨트롤 Dispose 관련 질문드립니다 [2]
5724감사합니...9/19/202211437스레드와 스레드 안전한 객체 사용관련 문의드립니다. [5]
5723드리렁9/13/202211019Pinned Object에 대해서 질문이 있습니다. [2]
5722김인태9/8/202211592대화상자에서 alt + tab 후킹 작업 [1]
5721우종9/7/202210952C++ DLL 과 C# 연동 문의 [2]
5720한예지 donator9/6/202210650학습 방법 질문 있습니다. [7]
5719김경한9/6/202211161안녕하세요 질문하나만드리겠습니다...! [10]
5718김민아9/2/202210962안녕하세요 생성자 호출 시 초기화 순서 질문드립니다 [2]
5716iili...8/26/202211214WinDbg 커널 디버깅에서의 thread freeze [2]
5715에릭8/19/202212256WMI 쿼리 결과값이 Windows Service와 Console 출력에서 상이한 이유가 있을까요? [9]파일 다운로드1
5714허니빠8/18/202211937.net6 hint path 를 프로젝트 단위로 지정할 수 있는 방법을 알고싶습니다 [8]
5713김기헌8/17/202211494안녕하세요 rgb 계산 오차가 있는데 원인을 모르겠습니다.. [3]
5712하태8/17/202211466안녕하세요 background service에서 user32dll 접근 질문 드리겠습니다.! [2]
5711하태8/16/202210743안녕하세요! 윈도우즈 해상도 관련 질문 드립니다. [1]
5710장성욱8/12/202210818c# 시리얼 통신 관련 질문 [3]
5709초보8/12/202210381WPF 커맨드 관련 질문 [2]
5708민성8/11/202211091안녕하세요 c#에서 화면의 배율 및 레이아웃을 변경할려면 어떻게 해야 할까요? [2]파일 다운로드1
5707민성8/10/202210410WPF 엣지 컨트롤에서 화면이 안보이는 현상 [2]파일 다운로드1
5706종규8/7/202213608WPF 에서 SVG 아이콘 사용 방법 문의 [2]
1  2  3  4  5  6  7  8  9  [10]  11  12  13  14  15  ...