Microsoft MVP성태의 닷넷 이야기
SmartClient에서의 배포 문제에 대해 [링크 복사], [링크+제목 복사],
조회: 14878
글쓴 사람
장강현 (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)
5834guest2/24/20239615Python IDE - 비주얼스튜디오 [3]
5833무지남2/23/20239011Async 메서드 그리고 나서 Bool 메서드 [5]
5832김지우2/21/20239632event와 delegate의 차이 , event를 써야하는 이유 [1]
5831이우람2/20/202310479ref 전역변수가 pinned가 될수 있나요? [2]
5830냉수마찰2/19/20239909C# GridView에 Column별 데이터 추가하는 방법에 대해 [1]
5829수박942/19/202310869키움 API를 윈폼과 WPF의 네임스페이스 없이 콘솔이나 WinUI3에서 사용할 수 있는 방법이 있나요? [2]파일 다운로드1
5828김재영2/19/202310500장기적으로는 this 구문을 안쓰는게 맞을까요? [2]
5827lee2/18/202311414파이썬 설치 오류 질문입니다 [1]
5826Syong2/14/202311364Socket 관련 Leak (OverlappedAsyncResult, OverlappedData) 관련 문의 [7]파일 다운로드1
5825박성원2/14/202310953Listview 컨트롤의 화면 전환 시 갱신 속도 [1]
5823검은콩2/13/202312490catch(Exception ex)의 line번호를 쉽게 알 수 없는지요? [7]
5822김지우2/11/202312524책을 보면서 sync, async 이해가 되지 않는 부분이 있습니다. [5]파일 다운로드2
5821검은콩2/9/202310044Async 신뢰성과 소켓데이터 [4]
5820차가워2/8/202310052다른 프로세스 실행 후 포커스 가져오기 [3]
5819취준생2/7/202310093WPF 관련 실무가 궁금합니다. [3]
5818윤길2/7/20239163ObservableCollection 에서 INotifyPropertyChanged 구현해야하나요? [2]
5817흰털너부리2/7/20239218배포 시 winform 실행 콘솔로그 보는 방법 [1]
5816흰털너부리2/6/20239230.net core json array validation 질문 드립니다. [1]
5815김재영2/6/20239263종단간 암호화에 대해 시나리오인데 타당한 시나리오일까요? [2]
5814한예지 donator2/6/202310238decompile? [9]
5813김재영2/5/202310057openssl genrsa 2048시 키 생성이 다르게 됩니다. - 파일첨부 [4]파일 다운로드1
5812김재영2/5/202310442openssl genrsa 2048시 키 생성이 다르게 됩니다. [2]
5811치르바2/3/202310216MiniDumpWriteDump API로 덤프수집을 했는데요.. [3]
5810이건우1/31/202310626윈도우서비스를 통한 웹통신관련 질문입니다 [3]
5809이상훈1/31/202310977다채널 영상 디스플레이어 개발 관련 질문입니다. [3]
5808근우1/30/202310772WPF 에서 UserControl 과 ControlTemplate 의 차이점은 무엇인가요? [6]
1  2  3  4  5  [6]  7  8  9  10  11  12  13  14  15  ...