Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > Windows Communication Foundation
|
Windows Communication Foundation Discussion of the beta version of Windows Communication Foundation formerly know as codename "Indigo"
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Windows Communication Foundation section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 4th, 2009, 02:03 AM
Registered User
 
Join Date: Aug 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Error: Converting Office file to XPS in WCF service

Hi,

I have created the WCF service which will convert the Office document into XPS file. I did using Microsoft Interop assembly
Microsoft.Office.Interop.Word.dll
Microsoft.Office.Interop.Excel.dll
I am using silverlight application to show the XPS file. When i run the silverlight application with WCF is in same solution it is working fine. I was able to convert to XPS and show in silverlight. But i host the service in IIS 7.0and run the application, i am getting following error.

Microsoft Office Excel cannot access the file 'C:\Windows\ServiceProfiles\NetworkService\AppData \Local\Temp\DataStreamPOC\Download\XPS\517d7310-8cd2-4bd2-9984-f1841ba858c9\Daily Tracker.xlsx'. There are several possible reasons: • The file name or path does not exist. • The file is being used by another program. • The workbook you are trying to save has the same name as a currently open workbook.


File name is proper and it is not used by any one. I anm getting same error or all office document. How can i solve this issue?





Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 29 WCF problems with Service KSumerford BOOK: Professional ASP.NET 3.5 : in C# and VB ISBN: 978-0-470-18757-9 0 June 24th, 2009 08:35 PM
call WCF Service using JQuery but without using AJAX informit BOOK: Professional WCF Programming: .NET Dev with Windows Communication Found ISBN: 9780470089842 0 February 23rd, 2009 01:33 AM
WCF service issue geoscaria BOOK: Professional WCF Programming: .NET Dev with Windows Communication Found ISBN: 9780470089842 0 August 12th, 2008 05:44 AM
WCF endpoint error when wrapping WCF service with jdawg1979 Visual Studio 2008 0 July 8th, 2008 11:56 AM
Converting WSSF to WCF bijgupt ASP.NET 2.0 Professional 0 May 21st, 2007 01:00 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.