Please don't ever just tell us that an error occurs. If there's an error then there's an error message and it is provided to help you diagnose the issue.
That said, looking at the System.IO.Ports.SerialPort class, I see no member of any kind named Settings, so it seems like you're just trying to invent a property that doesn't exist. That could be an issue.