on 07-05-2022 12:31 PM
I am using SAP B1 9.2 PL:08. I have written code in vb.net for updating the master details. In my code , I have used port 30000.
The url of system landscape directory is,
https://motwane-rdp-vm:30010/ControlCenter
In the b1-local-machine.xml from DI API, it is specified as ,
<leaf kind="single" name="SLDAddress" type="String">
<value>192.155.1.6:40000</value>
</leaf><br>
I have used the port 30000 and I can update the data of masters. But sometimes I am getting error as,
-226- - The specified resource name cannot be found in the image file.
-10- - The specified resource name cannot be found in the image file.
I searched and found that port is wrong. So I tried changing the port i.e. 40000 and 30010. But it did not worked . Only 30000 is working and suddenly it starts giving error.
Which port should I use in my SDK code 30000,30010 or 40000 ? How do I fix this problem ?
This is my code of vb.net
Dim objCompany As New SAPbobsCOM.Company
objCompany.Server = "192.155.1.7"
objCompany.LicenseServer ="192.155.1.6:30000"
objCompany.DbServerType = SAPbobsCOM.BoDataServerTypes.dst_MSSQL2016
objCompany.UserName = "manager"
lngStatus = objCompany.Connect()
Dear Ankit,
Thanks for your reply. I have hosted SAP B1 on Azure cloud. IP of database server is 192.155.1.7 and of SAP server is 192.155.1.6. I have developed a website in ASP.NET and it is deployed on 192.155.1.6. In this website, I have used SAP B1 SDK for updating the master data. All the users are using this website for updating data from SAP.
objCompany.LicenseServer ="192.155.1.6:30000"
This code works for some time and when the traffic on the server increases , the website starts giving error as,
-226- - The specified resource name cannot be found in the image file.
-10- - The specified resource name cannot be found in the image file.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi dilipkumbhar,
Can you make sure that the IIS Settings are managed as mentioned in SAP Note 2207964?
Hope it helps!
Kind regards,
ANKIT CHAUHAN
SAP Business One Support
Hi dilipkumbhar,
There are few things to check:
1. Server property should have the same value as it appears in SLD.
2. If you are using SAP HANA:
3. If you are using MS SQL:
Hope it helps!
Kind regards,
ANKIT CHAUHAN
SAP Business One Support
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
97 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
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.