01-27-2017 3:24 PM - edited 02-03-2024 6:44 PM
Hello Experts,
I am having below env on my machine -
OS - Windows 7 64 bit
SAP Business One 9.92 PL05 - 64 bit
Sql Server 2008 R2 Database
Development Env - VS 2008/VS 2015 (Debug mode - x64) (Framework 3.5/4.0)
My application (C#) was working fine but suddenly it started to give the below message
"SAP 9.92 - Connection - Could not find SBO that match the connection string"
in the last line written in the below written code.
SboGuiApi sboGuiApi = new SboGuiApi();
var connectionStr = Convert.ToString(Environment.GetCommandLineArgs().GetValue(1));
sboGuiApi.Connect(connectionStr);
I reinstall the client and DI API completely and clear all the temp dir and clean the related registry, then it worked again but after 1 day it was again started giving the same error. I again did the above process but this time i did not run and still giving the same error.
Please help.
Thanks!
Hi Vinay,
I assumed this is on debugging. Make sure :
1. When you have both 32 and 64 bit client installed on your PC, you run the same platform of add on this PC. ie if you are connecting to 32 bit SBO Client, target your add on on 32 bit, vice versa for the 64bit.
AND
2. If you run your SBO Client under Administrator mode, you need to start your VS using the same administrator mode.
Regards
Edy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Edy,
Option 1 worked for me.
Thanks
Selva
Hy Vinay Hatwal.
I had the same issue.
The only thing that solved the problem was running VS as an administrator.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you guys, It was coming just because I was not running my Visual Studio as Administrator. Once I ran it as administrator, it worked perfectly.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try this solutions.
1.Run Visual Studio and Sap in administration mode.
2.If you are running code in 64 bit SAP client then in visual studio go to
Tools>Options>Projects and Solutions>Web Projects
Then Mark Use the 64 bit version of express for web sites and projects to true.
Rohit Anekar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vinay,
I got the same situation yesterday on SAP B1 9.2 PL 4.
I restarted my machine and worked fine. But unfortunately I still didn't found the root cause.
Hope it helps.
Kind Regards,
Diego Lother
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
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.