We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Using XLSIO Component to generate Excel sheets as attachments within Email

Thread ID:

Created:

Updated:

Platform:

Replies:

74126 May 30,2008 08:58 AM Jun 2,2008 05:40 AM Windows Forms 1
loading
Tags: XlsIO
Raghu
Asked On May 30, 2008 08:58 AM

Hi There

In one of my projects, I've been using a trial version of XLSIO component for both Web based application and Windows Service. The XlsIO.Web component generates an Excel Sheet from a dataset and sends an Excel sheet to the browser.

However, my application runs a set of nightly jobs and sends out emails to users with an Excel Sheet as an attachment. I tried to use the XlsIO.Windows component to generate the Excel Sheet within the Windows Service (My service interacts with the desktop).

However, my application event logs records the following exception and no email is sent.

Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application.

My Dev environment is VS 2008 and the target framework is MS.NET 2.0. The version of XlsIO I'm using is 6.202.0.40

Is there some way I can bypass this exception? Am I missing something?

TIA

Raghu Penumarthi


Yavanaarasi G [Syncfusion]
Replied On June 2, 2008 05:40 AM

Hi Raghu,

Thank you for your interest in Syncfusion products.

In order to build a project developed with Syncfusion assemblies in Windows application, you need to have licenses.licx file with an entry for Syncfusion assemblies (Syncfusion.Core.Licensing.LicensedComponent, Syncfusion.Core) along with your application. You can also just include this below file(licenses.licx) in your project and set it as an embedded resource and recompile your application:

http://www.syncfusion.com/Support/user/uploads/licenses_69f6304.zip

Please try adding this licx file and let me know if the issue still exists.

Regards,
G.Yavana


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;