VI-Toolkit and Forms 2009

Archived support forum for customers who once purchased a PrimalForms product license. This forum is locked.
This topic is 14 years and 6 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
User avatar
rmutchler
Posts: 19
Last visit: Sun Aug 24, 2014 8:08 am

VI-Toolkit and Forms 2009

Post by rmutchler »

Yes.
When I run the packaged version:
1. Launch the package
2. Click Connect button (script in question)
3. Read-Host Prompt
4. uploads/31630/param.jpg
5. Powershell Credential Request
6. Script process and shows isConnected = false
User avatar
Alexander Riedel
Posts: 8479
Last visit: Thu Mar 28, 2024 9:29 am
Answers: 19
Been upvoted: 37 times

VI-Toolkit and Forms 2009

Post by Alexander Riedel »

Let's find out if that is the problem.
Can you create the credentials without prompting and pass them? Just to see if that is the culprit?
Alexander Riedel
SAPIEN Technologies, Inc.
User avatar
rmutchler
Posts: 19
Last visit: Sun Aug 24, 2014 8:08 am

VI-Toolkit and Forms 2009

Post by rmutchler »

I passed credentials, and I'm seeing where a connection is made. I get notices about the Security Certificate, but that is normal.
User avatar
Alexander Riedel
Posts: 8479
Last visit: Thu Mar 28, 2024 9:29 am
Answers: 19
Been upvoted: 37 times

VI-Toolkit and Forms 2009

Post by Alexander Riedel »

So that works then I take it?
It appears PowerShell calls the wrong Host override (Prompt instead of PromptCredentials) in that case. We will see if we can fix this form our end.

Alex
Alexander Riedel
SAPIEN Technologies, Inc.
User avatar
rmutchler
Posts: 19
Last visit: Sun Aug 24, 2014 8:08 am

VI-Toolkit and Forms 2009

Post by rmutchler »

No, does not work with credentials either.

It is still returning a false to my script, so my script thinks it is not connected. It doesn't make sense that I can take the exact same lines of code, and put them in an exported CE form and run via command line or in PowerGUI debugger and the script executes as expected.
User avatar
Alexander Riedel
Posts: 8479
Last visit: Thu Mar 28, 2024 9:29 am
Answers: 19
Been upvoted: 37 times

VI-Toolkit and Forms 2009

Post by Alexander Riedel »

Hmm, ok. Is there any way to get an error message as to why it is not connecting?
If you export the script from PrimalForms 2009 rather than the CE version, does that run?
Alexander Riedel
SAPIEN Technologies, Inc.
User avatar
rmutchler
Posts: 19
Last visit: Sun Aug 24, 2014 8:08 am

VI-Toolkit and Forms 2009

Post by rmutchler »

This isn't making sense to me now. Now that I've installed 2009 I cannot seem to get the scripts to work at all now. This stuff was working before I installed 2009.
User avatar
Alexander Riedel
Posts: 8479
Last visit: Thu Mar 28, 2024 9:29 am
Answers: 19
Been upvoted: 37 times

VI-Toolkit and Forms 2009

Post by Alexander Riedel »

PrimalForms 2009 doesn't change your PowerShell installation. Did you update anything else?
What exact OS (32/64 bit?) are you running and what PowerShell version?
Alexander Riedel
SAPIEN Technologies, Inc.
User avatar
rmutchler
Posts: 19
Last visit: Sun Aug 24, 2014 8:08 am

VI-Toolkit and Forms 2009

Post by rmutchler »

I'm running Windows 7 Enterprise Edition RTM 32bit. I'm running the stock Powershell that comes with the OS (I belive 2.0). No new updates. My laptop was sitting powered off in my bag all weekend.
User avatar
Alexander Riedel
Posts: 8479
Last visit: Thu Mar 28, 2024 9:29 am
Answers: 19
Been upvoted: 37 times

VI-Toolkit and Forms 2009

Post by Alexander Riedel »

Ok, so let's take a step back and evaluate.
Your script was running previously when you exported it from the CE version.
Now it doesn't work wether exported from the CE version or PrimalForms 2009 and regardless of how you run it, correct?

Actually it seems the script runs but cannot successfully connect to whatever it is you are connecting to? Is that correct?
Alexander Riedel
SAPIEN Technologies, Inc.
This topic is 14 years and 6 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.