Answer Question
OXC control is not populated on IIS
My code contains OXC control which populate itself from registry. This OXC is runing on STA thread. While I am running this application from Visual studio it runs as expected. But when I am trying to run the application after deploying it on IIS it is not working. The OXC control is populated with all values as empty.
Could you please check with this issue.
The code sniffet is as bellow;
protected void btnViewOfferSCR9NXFer_Click(object sender, EventArgs e)
{
Thread tNITransfer = new Thread(new ThreadStart(NITransferCall));
tNITransfer.SetApartmentState(ApartmentState.STA);
tNITransfer.Start();
}
private void NITransferCall()
{
AxtsARC objAxtsARC;
objAxtsARC = new AxtsARC();
objAxtsARC.CreateControl();
objAxtsARC.XferToCampaign(12, true, 0, true);
}
TEXT
Uploading file and scanning for virus...
Please Wait