How to create licence of Powerbuilder 12.6 for virtual Machine? - powerbuilder

How to create licence for Powerbuilder 12.6 for virtual Machine? I think there is a different procedure to create licence for Local Machine and Virtual Machine. Please help me out from this.
Thanks in Advance

In my experience, I haven’t been able to get this to work because the Sybase’s/SAP’s SySam licensing won’t work under Remote Desktop. (I suppose the fear was install one IDE centrally and multiple people using it.) If there’s a way around this, I haven’t heard of it.
Don’t think this will be applicable to the Appeon versions of PowerBuilder and their new licensing scheme, from what I’ve heard, but I don’t have firsthand knowledge.

I have worked places where PowerBuilder 12.6 is used on virtual machines.
You need to have a user id to access SAP support articles and software.
Establish a SYSAM server that is visible to the virtual machine. (Software download link is included in full article details below.)
Generate SAP PowerBuilder license keys and download the file to the $SYBASE/SYSAM-2_0/licenses which for me was c:\sybase\SYSAM-2_0\licenses (More information here: https://launchpad.support.sap.com/#/notes/2667250)
Restart the SYSAM server
This article provides full details.
https://blogs.sap.com/2016/11/08/installing-and-administering-sysam-server-for-powerbuilder-infomaker/

Related

Does anyone know about issues between Citrix and Delphi 2007 applications? (And perhaps other development languages?)

The situation is simple. I've created a complex Delphi application which uses several different techniques. The main application is a WIN32 module but a few parts are developed as .NET assemblies. It also communicates with a web service or retrieves data from a specific website. It keeps most of it's user-data inside an MS Access database with some additional settings inside the Registry. In-memory, all data is converted inside an XML document, which is occasionally saved to disk as backup in case the system crashes. (Thus allowing the user to recover his data.) There's also some data in XML files for read-only purposes. The application also executes other applications and wants for those to finish. All in al, it's a pretty complex application.
We don't support Citrix with this application, although a few users do use this application on a Citrix server. (Basically, it allows those users to be more mobile.) But even though we keep telling them that we don't support Citrix, those customers are trying to push us to help them with some occasional problems that they tend to have.
The main problem seems to be an occasional random exception that seems to pop up on Citrix systems. Never at the same location and often it looks related to some memory problems. We've p[lenty of error reports already and there are just too many different errors. So I know solving all those will be complex.
So I would like to go a bit more generic and just want to know about the possible issues a Delphi (2007) can have when it's run on a Citrix system. Especially when this application is not designed to be Citrix-aware in any way. We don't want to support Citrix officially but it would be nice if we can help those customers. Not that they're going to pay us more, but still...
So does anyone know some common issues a Delphi application can have on a Citrix system?
Does anyone know about common issues with Citrix in general?
Is there some Silver Bullet or Golden Hammer solution somewhere for Citrix problems?
Btw. My knowledge about Citrix is limited to this Wikipedia entry and this website... And a bit I've Googled...
There were some issues in the past with Published Delphi Applications on Citrix having no icon in the taskbar. I think this was resolved by the MainFormOnTaskbar (available in D2007 and higher). Apart from that there's not much difference between Terminal Server and Citrix (from the Application's perspective), the most important things you need to account for are:
Users are NEVER administrator on a Terminal or Citrix Server, so they no rights in the Local Machine part of the registry, the C drive, Program Folder and so on.
It must be possible for multiple users on the same system to start your application concurrently.
Certain folders such as the Windows folder are redirected to prevent possible application issues, this is also means that API's like GetWindowsFolder do not return the real windows folder but the redirected one. Note that this behaviour can be disabled by setting a particular flag in the PE header (see delphi-and-terminal-server-aware).
Sometimes multiple servers are used in a farm which means your application can run on any of these servers, the user is redirected to the least busy server at login (load balancing). Thefore do not use any local database to store things.
If you use an external database or middleware or application server note that multiple users will connect with the same computername and ip address (certain Citrix versions can use Virtual IP addresses to address this).
Many of our customers use our Delphi applications on Citrix. Generally speaking, it works fine. We had printing problems with older versions of Delphi, but this was fixed in a more recent version of Delphi (certainly more recent than Delphi 2007). However, because you are now running under terminal services, there are certain things which will not work, with or without Citrix. For example, you cannot make a local connection to older versions of InterBase, which use a named pipe without the GLOBAL modifier. Using DoubleBuffered would also be a really bad idea. And so on. My suggestion is to look for advice concerning Win32 apps and Terminal Services, rather than looking for advice on Delphi and Citrix in particular. The one issue which is particular to Citrix that I'm aware of is that you can't count on having a C drive available. Hopefully you haven't hard-coded any drive letters into your code, but if you have you can get in trouble.
Generally speaking, your application needs to be compatible with MS Terminal Services in order to work with XenApp. My understanding is that .NET applications are Terminal Services-compatible, and so by extension should also work in a Citrix environment. Obviously, as you're suffering some problems, it's not quite that simple, however.
There's a testing and verification kit available from http://community.citrix.com/citrixready that you may find helpful. I would imagine the Test Kit and Virtual Lab tools will be of most use to you. The kit is free to use, but requires sign-up.
Security can be an issue. If sensitive folders are not "sandboxed" (See Remko's discussion about redirection), the user can break out of your app and run things that they shouldn't. You should probe your app to see what happens when they "shell out" of your app. Common attack points are CHM Help, any content that uses IE to display HTML, and File Open/Save dialogs.
ex: If you show .chm help, the user can right-click within a help topic, View Source. That typically opens Notepad. From there, they can navigate the directory structure. If they are not properly contained, they may be able to do some mischief.
ex: If they normally don't have a way to run Internet Explorer, and your app has a clickable URL in the about box or a "visit our web site" in the Help menu, voila! they have access to the web browser. If unrestrained, they can open a command shell by navigating to the windows directory.

BHO developer licence - unkown publisher

I have developed a BHO for Internet Explorer and it can be installed successfully by users.
However, when users install the BHO they are presented with a dialog which declares then the add on is from an 'unknown' publisher.
Is it possible to become a 'known' or registered developer of BHO's? If so how?
You'll want to digitally sign your BHO (and its installer). This also enables you to develop reputation for SmartScreen.
The process isn't overly difficult, but it can seem so due to the number of details. #EricLaw has a nice introduction to the process and the reasoning.
The current version of the MSDN article is slightly dated, but contains a fair amount of background that can fill in some of the blanks.
An older blog post offers some direct tips that seem relevant.
Be aware that ActiveX extensions are a legacy technology that will not be supported in Microsoft Edge (formerly known as Project Spartan), the browser that replaces IE in Windows 10.
Hope this helps.

How to include .NET framework library in executable

I've recently made a Windows Forms Application in VS 2010 Express. When running on my machine it works fine but on other machines it needs to install the .NET framework first. Is there anyway around this? By including the library in my executable? By not using the .NET framework?
I would really appreciate some help.
Typically this kind of problem would be handled by your Windows Forms Application's installation package.
Opinions vary but I'd suggest the safest/most polite thing to do is to treat .NET as a prerequisite. If .NET is not present, display a message that it is required before the install will succeed and perhaps point to a Microsoft download page like this one or this one. The risk is that you point them to an obsolete download page or that the page moves and invalidates your link.
That said, I would have expected most machines to have some version of the .NET Framework installed (by Windows Update for example) so it's a bit surprising that you're being told it needs to be installed.
I suggest you follow the instructions in How to: Determine Which .NET Framework Versions Are Installed to check one of your failing machines to confirm that .NET is not installed (very unlikely) or to determine which version (or versions) of .NET is (are) installed.
Update 6/21/2015 From the comment below, we have evidence of two systems without .NET installed so my "very unlikely" comment above is a bit off base!
Update 7/4/2015 I have a bad habit of forgetting that not everyone configures their Windows systems exactly the same way I configure mine. From this blog post it seems that the .NET Framework is 'only' a Recommended Update.

Developing NAP-NPS Plugin

I am trying to develop a NAP-NPS Plugin. We have been looking for examples in internet, msn, tech net, etc, but we have not found documentation and examples that can explain this kind of develop.
There is an article at written Dan Griffin, Windows Vista Security Series: Building Plug-ins for Network Access Protection http://msdn.microsoft.com/en-us/library/bb945062.aspx, that illustrated it with a sample code but unfortunately link to this sample code is broken in Microsoft WEB. Is there any way to download it ?
Can help me with some samples or any article in web to show this develop
The object of this plugin will be:
Verify and force clients computers to install last versión of Antivirus software.
Verify and force to install some software on client computer.
Verify software on client computer and not permit network access with unauthorized software.
Regards.
S. Beu
TS.
I guess, you've checked Dan Griffin site?
http://www.jwsecure.com/2013/10/07/building-plug-ins-for-network-access-protection/
BTW: Google is your friend

Replacing ASTA as a middletier solution

I'm currently using Delphi7 along with ASTA to handle my client server communications to an Advantage DB.
I'm moving to Rad Studio XE Enterprise and am looking to switch to a different but similar solution as the future of ASTA has become somewhat uncertain. As this will be a large investment in time, and probably money, I've been researching the options but have reached a trees vs forest situation.
I'll list some basic points on what I need, and if anyone can suggest a specific combination of technologies and products I should focus on that may help meet those needs, I will greatly appreciate it. I really just need to replace and/or improve the communication and encryption abilities that ASTA has provided with something current and under active development and support.
-I'll be using Delphi XE.
-Applications will be Win32, server will run on Windows.
-IIS is not allowed.
-VPN requirement is not allowed.
-Socket communication must support AES encryption natively or through third party addon.
-Some basic browser based application access would be a bonus, IF it is capable of strong security.
-Support for linux, mac, mobile is a very low priority.
-I'll need to be able to meet NIST 800-53/FIPS 140-2 compliancy, but won't need certification. (as they pertain to communication and encryption)
As this is my first question, please let me know if I can better phrase or detail what I need.
Thanks for any direction you guys can give.
Disclaimer: i work for RemObjects Software.
-I'll be using Delphi XE.
Data Abstract supports Delphi 7 and Delphi 2007 thru XE, and we regularly add support for new versions of Delphi as soon as possible (ie when XE2 comes)
-Applications will be Win32, server will run on Windows.
We support that yes.
-IIS is not allowed.
Hosting in IIS is an option in data Abstract, nut not a requirement. in fact, our preferred/suggested model is using standalone server executables, which you could install a service or run manually, that open their own orts and are full servers. these could be based on HTTP, or on other protocols (such as out more "to the metal" TCP or Super TCP channels)
-VPN requirement is not allowed.
DA wont need (but will of course work thru) VPNs.
-Socket communication must support AES encryption natively or through third
party addon.
DA supports AES out of the box, as well as HTTPS (the latter depending on the underlying communication methods you choose).
-Some basic browser based application access would be a bonus, IF it is
capable of strong security.
DA servers can provide access via JSON and REST/OData in addition to the regular client/server communication that DA provides for its own clients. this way, you don;t have to compromise wrt how your "real" desktop clients talk to your server, but still have the flexibility to let other clients (including web based ones) talk to your server as well, using open standards.
-Support for linux, mac, mobile is a very low priority.
DA/Delphi supports Linux thru FPC (Mac too, but we consider Mac/FPC to be rougher territory ;), and will add support for Linux and Mac via Delphi once Embarcadero ships that.
Of course we also have separate editions of DA for native Mac/iOS development (in Xcode) and for .NET (which thru Mono is a good way to support Linux), if you ever need to go there.
-I'll need to be able to meet NIST 800-53/FIPS 140-2 compliancy, but
won't need certification. (as they
pertain to communication and
encryption)
that's the only question i don;t have an answer to, as i'm not aware of the details of this standard. But if you have specific technical questions with regard to that, please don't hesitate to contact me, or our support team via support#remobjects.com
hope this helps!
We recently finished rewriting our application using DataAbstract from RemObjects. It's a little bit of a learning curve, but once you're over it you'll find it a highly rewarding experience. Here are the questions I can answer:
I'll be using Delphi XE - XE is
supported.
Applications will be Win32, server
will run on Windows - DA works with
Windows and MAC.
IIS is not allowed - No need for IIS
Socket communication must support AES
encryption natively or through third
party addon - AES is supported out of
the box.
We use RemObjects SDK for our thin client software:
thin client with TMS Smooth Controls, written in D2010
communication (binary, TCP) with server (D2010, Windows Service)
With RO SDK you can easily create your own (remote) functions, with
special parameters, return values, etc. All business logic is server side.
we do not use DataAbstract (very database/table oriented, don't like to use Javascript for business rules)
compression/encryption is supported, but we do not use them (internal network)
you can also use HTTP+SOAP, we use IndyHTTPServer component with some special handling to create some simple webpages too. Link: http://blog.delphiaddict.com/?p=171
RO SDK works very good and is of high quality!
I will suggest to talk directly to vendors:
RemObjects regarding RO SDK + DA - support#remobjects.com
Components4Developers regarding kbmMW - support#components4developers.com
RealThinClient regarding RTC SDK - devsupport#realthinclient.com
Sure, they will give you detailed answers.

Resources