Last post Jul 23, 2018 10:54 AM by mgebhard
Jul 23, 2018 10:36 AM|gani7787|LINK
I am developing ASP.NET Application. I used one form which contains SAP component to fetch data from SAP to our SQL DB.
Fetching data from SAP to SQL DB it's working fine in my local system.
But, when execute in server, i am getting below error.
System.Exception: Cannot create ActiveX component.
Error : StringConn = CreateObject("Sapgui.ScriptingCtrl.1")
What is the error..?
Jul 23, 2018 10:51 AM|PatriceSc|LINK
Seems you are trying to programmatically control a SAP application? It would require the application to be installed on the web server and it could be difficult. You may have a better approach (try perhaps a SAP forum).
This is a common catch when you start as you are coding on a machine that is both the web server and the browser client and so it happens to realize late that it adds additional constaints on the server side or even that your design just can't work at all
(for example here if you though you could take control on a client side application).
Jul 23, 2018 10:54 AM|mgebhard|LINK
There can be several reasons for this error. The ActiveX component is not installed on the server. The ActiveX app is installed but no registered. The component is not granted proper authorization. The ActiveX component is 32-bit but you app is running
in 64-bit mode. The ActiveX component is not designed for use in a web application.
Ultimately, you're in the wrong support forum. This is an ASP.NET forum not ActiveX and surely not Sapgui.ScriptingCtrl.1 support. Contact
SAP support and read the documentation for the component you are using. Make sure the component is installed and configured correctly.