View Single Post
Old 05-31-2009, 05:16 PM   #2 (permalink)
jamiemac2005
Design Team Member
 
jamiemac2005's Avatar
 
Join Date: Jul 2007
Location: Coventry, UK
Posts: 1,880
OS: Vista, various linux distros


Re: C# Error while trying to create text file

Hey, have you checked the file exists//is created by the program? Basically you need to narrow down the error to a specific function call. If you can't do that then i suggest you go about changing your script to include the File.exists function to check that it exists, then that you can open it, etc. (Examples here: http://msdn.microsoft.com/en-us/libr....readline.aspx)...

Also are you running this straight from your IDE? It could be a local permissions problem because of that, run it from the command line (making sure it's your user's session).

Cheers,
Jamey
__________________

Myspace
jamiemac2005 is offline   Reply With Quote