Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > Other .NET > Windows Communication Foundation
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old September 4th, 2009, 03: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?
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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 09: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 06:44 AM
WCF endpoint error when wrapping WCF service with jdawg1979 Visual Studio 2008 0 July 8th, 2008 12:56 PM
Converting WSSF to WCF bijgupt ASP.NET 2.0 Professional 0 May 21st, 2007 02:00 AM



All times are GMT -4. The time now is 07:28 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.