asp.net - Cannot create ActiveX component on SAP.Functions -


there error showing following on web application.

cannot create activex component.  [exception: cannot create activex component.]    microsoft.visualbasic.interaction.createobject(string progid, string servername) +469504    frmbarcodeeval.page_load(object sender, eventargs e) +268    system.web.ui.control.loadrecursive() +71    system.web.ui.page.processrequestmain(boolean includestagesbeforeasyncpoint, boolean includestagesafterasyncpoint) +3178 

this occurs when transfer web application new intranet webserver. looking on source code, points code:

dim r3 object r3 = createobject("sap.functions") ' error occurs here 

i tried adding reference object of sap, stated here, not work. tried installing sap gui not work too.



##### update

i found link can solve problem. however, cannot change target cpu x86. web site project. trying luck convert web application make target platform show x86.

enter image description here

if com/dcom object make sure have registered on server using regsvr32.

enter image description here

edit: if need run admin can create batch file includes command , select batch file , "run administrator". solve problem else iot 64-bit binary trying reg


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -