Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

Error accessing directory when trying to read a content file

$
0
0

Hi,

  I have created a WPF application that uses  flow documents(as templates) to help generate reports. These flow documents are saved as content files. When running the application from code, i am able to make use of these flow documents to generate my reports. However, after I deploy the application (on a win XP machine ...I'm using win 7 64 bit for development), I get an exception when trying to generate reports. The scenario is something like this:

The first time i click generate report ... a report is generated and I'm able to access the report.

After this when i click generate report, the application is unable to access the flow document that i am using to create a template for my report.

What I mean is the first time everything works perfectly ...its on the second instance that my application throws an error.

I figured this by placing message boxes as well as by writing to the event log.

I however have not figured out the solution (but i think it could be related to security ....I'm just assuming)

Thank you,

Ashish


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>