H
hhp
Hi,
I have a web service with a method like:
public string InsertData(string type, byte[] content)
{ ... }
and a client which calls the method similar to:
using (BinaryReader reader=new BinaryReader(new FileStream(name,..)))
{
byte[] data = reader.ReadBytes((int) reader.BaseStream.Length);
webSvr.InsertData("file", data);
}
It's all ok but the data of content exceeds about 4 MByte of size. Then the
client gets an 404 http error. It's the same on XP and Vista.
What could happen here? Thanks in advance for any help.
Harald Pitro
I have a web service with a method like:
public string InsertData(string type, byte[] content)
{ ... }
and a client which calls the method similar to:
using (BinaryReader reader=new BinaryReader(new FileStream(name,..)))
{
byte[] data = reader.ReadBytes((int) reader.BaseStream.Length);
webSvr.InsertData("file", data);
}
It's all ok but the data of content exceeds about 4 MByte of size. Then the
client gets an 404 http error. It's the same on XP and Vista.
What could happen here? Thanks in advance for any help.
Harald Pitro