Author: Rajnish Kaur | Posted on: 10/5/2010 7:56:54 AM | Views : 501

Dear All,
I have an OCX in my web application i have embedded it on my aspx page :
<object id ="VPlotLarge"  codebase="http://192.168.2.83/newesanj/Bin/vitalPlot.ocx" classid="clsid:A15726DB-FA28-48C6-A811-41C2CF4E159C"  style="z-index: 102; left: 0px; position: absolute; top: 0px;" onprerender="Resize()"  >
                        </object>
As it works from virtual directory but when I deploy this page on web server then its Codebase Atribute change to my domain name like :
<object id ="VPlotLarge"  codebase="http://beta.esanjeevani.in/Bin/vitalPlot.ocx" classid="clsid:A15726DB-FA28-48C6-A811-41C2CF4E159C"  style="z-index: 102; left: 0px; position: absolute; top: 0px;" onprerender="Resize()"  > ...

Go to the complete details ...