Jump to content
Software FX Community

Using WinForm dll inside Web Form codebehind (license problem)


User (Legacy)

Recommended Posts

I am using your WinForm dll inside of a ASP.NET project to generate chart 

images in the code behind. Everything works on my development machine, but

when I deploy the web project to the production server I get the "Couldn't

get run time license for SoftwareFX.ChartFX.Chart" error. The ASP.NET

project has the appropriate licensing information for the WinForm dll. How

can I make this work without installing ChartFX onto the production server?

Link to comment
Share on other sites

The Chart FX for .NET Windows Forms component is designed to be used inside 

a Windows Forms application, not a Web Forms. Chart FX, such as any licensed

control, requires a license on the caller executable. When you create a

Windows Forms application, Visual Studio automatically embeds the license in

the executable. In your case, obviously the caller process is not an

executable with a Chart FX license embedded, and as such it fails at

run-time. It works on your development computer because the Chart FX

installer adds a license to the registry for design-time purposes, and Chart

FX uses such license when it fails to obtain the license from the caller

executable. Since you are not allowed to run the Chart FX installer on a

Production server you will need an alternate licensing scheme. Please

contact us sales@online.softwarefx.com (remove online) for further licensing

options.

On the other hand, we have a product specifically designed to be used on web

servers, which is the Chart FX for .NET Web Forms component. This product is

a server component, with all the functionality required for such

environment, and optimized for its use on web server environments, such as

support for web farms, multiple rendering formats, etc. We recommend you to

consider replacing the Windows Forms component in your application. If you

decide to continue using the Windows Forms component, please contact us for

further licensing details.

---

Ivan Giugni

Product Manager

Software FX

"Pete Lavelle" <plavelle@welis.com> wrote in message

news:mBatTQysFHA.1992@webserver3.softwarefx.com...

>I am using your WinForm dll inside of a ASP.NET project to generate chart

>images in the code behind. Everything works on my development machine, but

>when I deploy the web project to the production server I get the "Couldn't

>get run time license for SoftwareFX.ChartFX.Chart" error. The ASP.NET

>project has the appropriate licensing information for the WinForm dll. How

>can I make this work without installing ChartFX onto the production server?

>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...