?
Solved

Windows 7 Cisco VPN 5250 emulation session receiving CPF5140 error

Posted on 2011-05-04
10
Medium Priority
?
1,678 Views
Last Modified: 2012-05-11
We have been using the combination of Window XP, Cisco VPN, and Client Access 5250 Emulation for our remote users to connect with our iSeries (V5R4) with success for years.  

We just recently had our first remote user with a new Windows 7 Professional 32 bit machine, using Cisco VPN (5.0.01.0600) and Client Access 5250 (V5R4 mod level 0  Service level SI37892) attempt a VPN connection the iSeries.  The connection is made without issue, until the initial program found on the user profile is ran and then the session is disconnected receiving the CPF5140 error message.   The program being launched by the user profile has been around for years and unchanged as well.  

Windows 7 is the only new variable in the equation.  Any help solving this is greatly appriceiated, since we cannot get Windows XP anymore.

Vince K
0
Comment
Question by:vt-tc
  • 8
  • 2
10 Comments
 
LVL 8

Expert Comment

by:TheMak
ID: 35690118
Update your Cisco VPN to 5.0.07 latest available version because older version does not work with Windows 7 and they have compatibility issue with that version.

regards,
0
 

Author Comment

by:vt-tc
ID: 35690426
Thanks for the tip.  We updated, but it did not solve the issue.
0
 

Author Comment

by:vt-tc
ID: 35691355
Update....

I am finding that having the iSeries RPG display file compiled with RSTDDP(*YES) is causing problems.  If I run display files with RSTDSP(*NO), I can function, but not completely as we did before.

Running as described, our use of the SETATNPGM command does not work.  In fact, pressing the ESC key, now causes the disconnect to occur.

Hope this information helps solve the mystery.

Thanks,
Vince
0
A Cyber Security RX to Protect Your Organization

Join us on December 13th for a webinar to learn how medical providers can defend against malware with a cyber security "Rx" that supports a healthy technology adoption plan for every healthcare organization.

 

Author Comment

by:vt-tc
ID: 35691543
more info on RSTDSP(*YES) from a different forum:

RSTDSP
Specifies whether data being shown on a display by this display file is saved at the time the file is suspended (made temporarily inactive) so that another display file can show different data on the same device. If the data for this file is saved, it is restored to the display of the device when the file is used again.
*NO: The data being shown by this file is not saved when the file is suspended. When control is returned to the programs using this file, the data is not restored.
*YES: The data being shown when the file is suspended is saved so it can be shown on the display when the file is used again."

According to IBM, setting RSTDSP(*YES) causes a "significant system and data transmission overhead" because approximately 3,000 bytes of data must be transmitted between the system and the display device.

Is it possible there is a setting in Windows 7 that does not allow for the "suspension" aspect that is described?   Or is the problem, related to the extra data transmission mentioned?    Or both?

Vince
0
 

Author Comment

by:vt-tc
ID: 35691585
FYI...the same scenario without using a VPN connection (direct connect instead) works fine.

Vince
0
 

Author Comment

by:vt-tc
ID: 35697538
As we continue with our process of elimination, it is narrowed down to Windows 7.   We have proven that the Telnet session via Cisco VPN, works just fine.  When Windows 7 is added to the equation, that is when we get the disconnect.  

Still looking for any help that can be offered

Thanks,
Vince
0
 
LVL 8

Expert Comment

by:TheMak
ID: 35697599
Try these below options,

disable User Account control setting from Control Panel\User Accounts

Disable Internet Connection Sharing if its enabled on Windows 7

Disable your antivirus
0
 

Author Comment

by:vt-tc
ID: 35706197
We believe we have it narrowed down to the Cisco VPN Adapter and how its working with Windows 7.  

All works fine with Windows 7, until we add the VPN component.

All works fine with Windows XP, even with the very same VPN component.

So, something has changed compatibility wise with the VPN and Windows 7.

We do have a call into Cisco on the matter, but if this sheds any light on the issue for help by anyone else, we welcome it.

Sincerely,
Vince
0
 

Accepted Solution

by:
vt-tc earned 0 total points
ID: 35731180
We believe we have it solved, after working with Cisco.  The MSS size was being exceeded.

They have a work around:

Cisco MSS exceeded workaround

Thanks for all your help,
Vince K.
0
 

Author Closing Comment

by:vt-tc
ID: 35763155
No one else could solve it.
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
While working, an annoying popup showing below will come and we cannot cancel or close it form the screen. The error message will come again and again.
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
Suggested Courses

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question