on 12-01-2014 9:06 AM
Hi,
we are implemented projects in Visual studio ,one is for User Interface using MVC and another one is Web service. This service will get the information from UI and create a invoices in SAP.
I have configured Application pools and web sites in IIS,
by using IIS i am getting the error 'You are not connected to a company',
but executing projects from Visual studio it is creating invoices fine.
Thanks and Regards,
Aravind.
Hi Aravind,
Problem is not IIS.
i think May i know..
you are adding document in DIAPI or DI server.
Thanks,
P.T.sampath.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Aravind,
Are you using DI API or DI Server?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Aravind,
Check the http://localhost/B1WS/WebReferences/LoginService.wsdl.
becoz its only connecting to sap b1 through web service.
***
<s:enumeration value="dst_MSSQL"/>
<s:enumeration value="dst_DB_2"/>
<s:enumeration value="dst_SYBASE"/>
<s:enumeration value="dst_MSSQL2005"/>
<s:enumeration value="dst_MSSQL2008"/>
<s:enumeration value="dst_MSSQL2012"/>
<s:enumeration value="dst_MAXDB"/>
***
check the "dst_MSSQL2012" if not please add and then check it.
I hope it will help..
Thanks & Regards,
P.T.Sampath
HI Sucharitha,
I am using DI API,
The code which i written is working from Visual studio,
After Publishing this project, I have configured IIS in windows 2012 server,
if i use this project from IIS then it is showing 'You are not connected to a company',
I don't know is any more settings required on IIS.
Can you please help me,
Please post your code on how you connect to SBO Company.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
connecting to SAP using this code
private const string sapServer = "192.168.64.4";
private const string sapLicenseServer = "192.168.64.4:30000";
private const string sapDatabase = "TEST";
private const string sapUser = "manager";
private const string sapPassword = "open";
private const string dbUser = "sa";
private const string dbPassword = "pass1234!";
private const DB_TYPE dbServerType = DB_TYPE.MSSQL_2012;
User | Count |
---|---|
104 | |
12 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.