By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,667 Members | 1,219 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,667 IT Pros & Developers. It's quick & easy.

Sharing Violation on XSL Transform Output File

P: n/a
Hi There,

I'm running a System.Xml.Xsl.XslTransform and outputting an HTML file as the
result. Immediately after the transform, I try to open the resulting file using
either one of these three methods:

1) Open browser, try to open file
2) Find file in File Manager and double-click.
3) Use ProcessStartInfo and Process.Start() to 'shell' execute the file from
within my application.

It seems that for a certain length of time after my transform, the file is
locked because I get a "sharing violation" on all three methods above.

Anyone know what would cause this? I explicitly nullify the objects that might
hold onto the file, but I can't seem to crack this one.

TIA
-B

Nov 13 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
have you closed/diposed any stream used ?

"Baseman" <no****************@hotmail.com> a écrit dans le message de
news:ceFPa.1899$zd4.503@lakeread02...
Hi There,

I'm running a System.Xml.Xsl.XslTransform and outputting an HTML file as the result. Immediately after the transform, I try to open the resulting file using either one of these three methods:

1) Open browser, try to open file
2) Find file in File Manager and double-click.
3) Use ProcessStartInfo and Process.Start() to 'shell' execute the file from within my application.

It seems that for a certain length of time after my transform, the file is
locked because I get a "sharing violation" on all three methods above.

Anyone know what would cause this? I explicitly nullify the objects that might hold onto the file, but I can't seem to crack this one.

TIA
-B

Nov 13 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.