The 2d argument are options for the MapServer's layer, and the 3rd argument are options for the OpenLayers's layer.
Try:
var layern2 = new OpenLayers.Layer.MapServer("Tech",
"ServerPathTo_mapserv.exe",
{
map: "ServerPathTo_My.map",
layer: "Layer1",
version: "1.1.1",
transparent: "true"
},
{
isBaseLayer: false,
visibility: true
});