Problem writing file using .Net FileStream.Write to SGI fileserver

D

Daniel

Hello

Since our client upgraded the CIFS fileshare server software (HELIOS
PCShare) on their SGI, our software written using the .Net Framework has
been unable to write to the CIFS shares, throwing a "Not enough storage is
available to process this command." when we attempt a FileStream.Write().
The full stacktrace and other system information is included below.

We have found the following:
(1) A 0 byte file is created in the SGI's CIFS folder.
(2) Using the same .Net software and pointing it at another UNIX machine,
the file is written successfully (isolating the cause as being the SGI
HELIOS upgrade).
(3) Executing a file copy from the Windows Explorer Shell to the SGI box
using the same security context /is/ successfull!

Is the Windows Explorer shell executing different Win32 APIs to the .Net
FileStream.Write() method?

Has anybody at Microsoft or elsewhere come across this before?

Thanks
Daniel



Exception and Stack:
Header: Base Exception
Type: System.Exception
Message: Could not
save:\\10.0.0.3\sgi_packaging\mistest\betapdfs%0\pdf_v1_s363.pdf. Error:Not
enough storage is available to process this command.
.. Stack: at System.IO.__Error.WinIOError(Int32 errorCode, String str)
at System.IO.FileStream.WriteCore(Byte[] buffer, Int32 offset, Int32
count)
at System.IO.FileStream.Write(Byte[] array, Int32 offset, Int32 count)
at System.Web.HttpPostedFile.SaveAs(String filename)
at AppFramework.Web.ElementFile.FormSave().
Source: AppFrameworkWeb
Target Site: Void FormSave()

SGI System Software:
IRIX64 kestrel 6.5 01091821 IP27
HELIOS PCShare 3.1.0

Windows Server Software:
OS Name Microsoft Windows 2000 Server
Version 5.0.2195 Service Pack 4 Build 2195
OS Manufacturer Microsoft Corporation
System Manufacturer Intel
System Model SE7500WV2
System Type X86-based PC
Processor x86 Family 15 Model 2 Stepping 4 GenuineIntel ~1994 Mhz
BIOS Version SWV20 v2.01
Windows Directory C:\WINNT
System Directory C:\WINNT\system32
Boot Device \Device\Harddisk0\Partition1
Locale United States

..Net Runtime: 1.1.4322
 
T

Tian Min Huang

Hello Daniel,

Thanks for your post. According the error message "Not enough storage is
available to process this command", would you please check whether the size
of the uploaded file and make sure that it is not big enough.

Hope this helps.

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 
S

Stanley Feng \(MSFT\)

Some suggestions on debugging this:

1. Capture the network trace between client and server for both failure
(.NET) and success (shell explorer) cases. Compare the traffice and find out
the reasons.

2. My guess is that the SGI server refused client's request. But for the
shell explorer, it may set some additional security settings/credentials
before it issues a "write" request to the server.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top