Blending life, nature and technology.
Posts tagged pdf
OpenOffice…
Mar 25th
I’ve been looking for a “free” alternative to Microsoft Office 2007 for general work on my laptop. I decided to try out OpenOffice which l know is installed on my Ubuntu linux partition. Theres a windows version which installs pretty quickly and with no problems on Windows 7 – l use Windows 7 64bit Home Premium on my laptop. You can download openoffice from here, and join in the currently over 100 million downloads so far tally.
Much to my surprise, l found out that l could open Word 2007 documents, as well as create PDF files from OpenOffice with no problem. Even Word 2007 has an option for saving your documents in the open document format. Now l can create word 2007 documents at my office, save these and reopen them on my laptop without worrying about data lose during conversion or between these 2 different programs. I’m probably going to be installing OpenOffice on any relatives computer l set up!
Render SSRS 2008 Report from Website to Adobe PDF
Jan 15th
This is a test project to see if l can successfully render to PDF from an asp.net website, using Report Control from a Visual Studio 2008 project.
First l created a simple sample table called MyContact from some files from the AdventureWorks database. Heres the code:
SELECT
[ContactID] ,[Title] ,[FirstName] ,[LastName]
,[EmailAddress] ,[Phone] ,[ModifiedDate]
into MyContacts
FROM [AdventureWorks].[Person].[Contact]
GO
If you wish to create the table directly, heres the code:
USE [AdventureWorks]
GO
/****** Object: Table [dbo].[MyContacts] Script Date: 01/15/2009 22:34:31 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[MyContacts](
[ContactID] [int] IDENTITY(1,1) NOT NULL,
[Title] [nvarchar](8) NULL,
[FirstName] [dbo].[Name] NOT NULL,
[LastName] [dbo].[Name] NOT NULL,
[EmailAddress] [nvarchar](50) NULL,
[Phone] [dbo].[Phone] NULL,
[ModifiedDate] [datetime] NOT NULL
) ON [PRIMARY]
GO
I’ll attach a link to a text file with data for populating this with over 19,000 rows, as well as a link to the entire source code.
Heres a link to the Report Webpage. (should be active soon)
Currently l’m trying to debug the error below:
Configuration Error
Parser Error Message: Could not load file or assembly ‘Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ or one of its dependencies. The system cannot find the file specified.
Source Error:
|
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].