|
-
Nov 7th, 2005, 09:16 AM
#1
Thread Starter
Hyperactive Member
writing a file to a network fileshare **SOLVED**
Hey all,
I am trying to write a file to remote Fileshare on the Network. I mapped the Share as NetworkDrive. Now I am writing the file as usual using
FileStream streamWriter = File.Create(filepath);
streamWriter.Write(data, 0, size);
This works on a local drive but not on the Network drive.
I checked the Permissions on the Network Drive and did set those to Everyone Full Control.
Any idea what I can try to make this work?
Thanks, Stephan
Last edited by Sgt-Peppa; Nov 10th, 2005 at 07:19 AM.
Reason: **SOLVED**
Keep Smiling - even if its hard 
Frankie Says Relax, wossname Says Yeah!
wossname:--Currently I'm wearing a gimp suit and a parachute.
C# - Base64 Blog
-
Nov 7th, 2005, 08:56 PM
#2
Re: writing a file to a network fileshare
Are you getting an error message?
-
Nov 8th, 2005, 12:44 AM
#3
Re: writing a file to a network fileshare
How are you qualifying the address?
-
Nov 10th, 2005, 06:42 AM
#4
Thread Starter
Hyperactive Member
Re: writing a file to a network fileshare
Sorry for the delay of this answer. I found out that it has nothing to do with the .NET Framework or my Code.
I tried it in a regular C# Form and my Code works fine. I tried it in a C# Library called from Microsoft BizTalk Server 2004 and it did error. It had to do with permissions. Thanks for your help,
Stephan
Keep Smiling - even if its hard 
Frankie Says Relax, wossname Says Yeah!
wossname:--Currently I'm wearing a gimp suit and a parachute.
C# - Base64 Blog
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|