Microsoft MVP성태의 닷넷 이야기
SmartClient에서의 배포 문제에 대해 [링크 복사], [링크+제목 복사],
조회: 14884
글쓴 사람
장강현 (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)
5706종규8/7/202213608WPF 에서 SVG 아이콘 사용 방법 문의 [2]
5705김기헌8/6/202211489안녕하세요 선생님 싱글톤 패턴 간단 질문 [2]
5704따봉이8/4/202211466EventHandler 관련 [1]
5703조민준8/3/202210827안녕하세요 정적 멤버 초기화 관련 간단한 질문 [2]
5702석우8/3/202210690C# WPF Ribbon IsMinimized 프로퍼티 변경 감지 방법문의 [2]파일 다운로드1
5701김기헌8/1/202211264foreach 문으로 컬렉션을 열거할 때 궁금한 점 [2]
5699갓경섭7/29/202211843C# 프로그램 느려짐 현상 [2]
5698kss7/29/202212945ValueTask 질문입니다. [5]
5697스팸7/28/202214325윈도우서버 Port 고갈문제 (Event ID 4227, 4231) [3]파일 다운로드1
5696유석7/27/202213645닷넷 4.X 와 닷넷 6.0 버전 차이 [6]
5695초보코더7/26/202213516[WCF] EndpointNotFoundException 기본 연결이 닫혔습니다. 원격 서버에 연결할 수 없습니다. [1]
5693차가워7/22/202212314socket 종료 시 reveive수신부에서 에러 나는거 처리 문의 [5]
5692도비7/21/202211541Ubuntu LVM 확장 관련 [1]파일 다운로드1
5691따봉이7/21/202212277Task 비동기 UI 크로스 쓰레딩 Err 관련 [1]
5690훈이7/20/202210726wpf질문입니다 [2]
5689질문7/20/202210719비동기 함수를 사용하는 방법에 대한 질문입니다 [1]
5688김정현7/11/202210118소스 디버깅(F5)시 프로그램 켜지지 않고 디버깅 가능한 상태 [1]
5687규철7/6/202210614개발업무 문서 관리 방법 문의 [3]
5686권용완7/5/202210465Linq Entites 에서 string[]에 담긴 데이터를 제외하는 방법 문의 [3]
5685차가워7/4/202211390메모리 선택 문의 [1]
5683김민혁7/1/202211916HttpWebRequest POST 전송 관련해서 질문 드립니다. [4]파일 다운로드1
5682김기헌6/20/202211207안녕하세요 서로 다른 스레드에서 동일 인스턴스의 메소드를 호출할때 질문드립니다 [2]
5681미래는투...6/19/202211150VC++ 빌드 관련 문의 (h파일이 바뀌었는데 컴파일을 꼭 하지 않아도 되나요?) [1]
5680Syong6/12/202212109EXE파일에 속성값 추가하는 방법이 있나요? [2]파일 다운로드1
5679차가워6/8/202211481tcpip socket 여러 랜카드 사용 시 연결 문의 [1]
5678차가워6/7/202211332원자적 실행 문의 [3]
1  2  3  4  5  6  7  8  9  10  [11]  12  13  14  15  ...