I really don't understand your description of your environment. What version do you have installed in which database, as what user?
It's not best practice to name any of the databases "sde", and it's not best practice to ever load spatial data as user SDE. And it's also not best practice to use application servers, much less on a third host (which introduces additional licensing cost).
Can you please describe how you are attempting to create the raster dataset? Which tools are you using and which parameters are you specifying? Please also describe your source data, specifically in terms of file format and projected coordinate system.