Question: I have a problem copying data from MemoryStream into Request Stream.

```
var Request = (HttpWebRequest.Create(Url) as HttpWebRequest);
Request.Method = "PUT";
Stream RequestStream = Request.GetRequestStream();

// write to MemoryStream
var MemStream = new MemoryStream();
byte[] Test = Encoding.ASCII.GetBytes("test000\r\n");
MemStream.Write(Test, 0, Test.Length);

// test writing correctly
byte[] B = MemStream.ToArray();
System.Windows.Forms.MessageBox.Show(Encoding.ASCII.GetString(B)); // shows data correctly

// copy data to request stream(not working!)
MemStream.CopyTo(RequestStream);

// add new data to request stream(working)
byte[] Test1 = Encoding.ASCII.GetBytes("test111");
RequestStream.Write(Test1, 0, Test1.Length);

```

Sent to the server only "test111". Got any ideas?

Answer: 
try to add this to your controller: 

```
use DBP\InterfazIcedbpBundle\Form\Type\PreferencesIcecatType;  

```

The error says that cant found your form class, so say it where it is.
Maybe there is a typo error. In your use in your controller, the name of your FormType file, the name of your FormType class. Check the namespaces.