cancel
Showing results for 
Search instead for 
Did you mean: 

Sup 2.2 Windows Mobile: Could not connect to SCC

Former Member
0 Kudos

Hello,

I am practising SUP101 tutorial from sybase infocenter.

Here is my system info:

Windows 7 64 bit. Downloaded windows mobile device center, VS2008, .Net 3.5 framework for Mobile. Windows Mobile 6.5.3 professional emulator is working fine.

I see the initial screen on the emulator as designed. But when I click on Initialize application, it says SUP101.exe Application runtime exception. Error 550 message: Session Failed:

Sybase control center is running. SUP101 is deployed and application is set up correctly.

Same code,same screen design and the same SUP101 is working fine for Windows framework ( not mobile). I see sample.db customers info and details.

SUP101 is working fine on Android simulator too.

So wrong Ip address, user name & password can not be the reason.

I see that in lower versions of SUP 1.5 *,  windows emulators used to have sybase settings. Now I do not see those settings available on 6.5.3.

Should I use Active sync only? not Windows Mobile Device Center?

Am I missing some thing? Where should I check to resolve this issue.

Pls help.

here is the error log on windows emulator.

SUP101.exe Application runtime exception. Error 550 message: Session Failed:

       at Sybase.Mobile.Application.RegisterApplication(Int32 timeout)

       at SUP101WindowMobile.Customers.InitializeApplication_Click(Object sender, EventArgs e)

       at System.Windows.Forms.Control.OnClick(EventArgs e)

       at System.Windows.Forms.Button.OnClick(EventArgs e)

       at System.Windows.Forms.ButtonBase.WnProc(WM wm, Int32 wParam, Int32 lParam)

       at System.Windows.Forms.Control._InternalWnProc(WM wm, Int32 wParam, Int32 lParam)

       at Microsoft.AGL.Forms.EVL.EnterMainLoop(IntPtr hwnMain)

       at System.Windows.Forms.Application.Run(Form fm)

       at SUPMobileProject.Program.Main(String[]args)

Thanks

seenu

Accepted Solutions (0)

Answers (1)

Answers (1)

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

correct me if i am wrong:

your app is connected to sup server? are you seeing user status as Online in Sybase control center?

and


what do you see in server.log file?

default path for the server log file: C:\Sybase\UnwiredPlatform\Servers\UnwiredServer\logs

Please analyze logs for particular incident and share.

Rgrds,

Jitendra

Former Member
0 Kudos

Hi Jitendra,

Yes. I see my app on WM. Package, application is there in SCC. But I am not able to connect to SCC when I initialize the connection from app.

When I changed Windows Mobile Device center connection settings to 'Internet' instead of 'Work Network', it worked. May be because, my SCC is IP related and is on amazon web services.

Thanks

seenu