Hello
In a Vista Windows with activated UAC the following thing takes place:
The creation of driver of Amyuni impression v2.50c is made correctly through our program described with a Windows Vista Manifest.
When we are making the impression through driver Amyuni the error "Printer not activated. Error code -30" is launched.
We have verified that the error is launched before the printer activates in the EnablePre event of our program, that manage the developer license.
This scenario works correctly when Windows Vista UAC is disabled, but we can't obligate our customers to disable that Windows feature.
How can we avoid this error?
Thanks
JosepM
Windows Vista Printer not activated, error -30
Hello,
We are currently using PDF Converter. This is used when we try to print though this Amyuni driver.
The scenario follows this steps:
1 . Print a report though this Amyuni driver.
2 . The error "Printer not activated, error -30" is raised.
3 . When it works ok, the event EnablePre is fired to activate the developer license. Here is our problem. We can't catch this event.
4 . When it works ok, the report is printed.
thanks
JosepM
We are currently using PDF Converter. This is used when we try to print though this Amyuni driver.
The scenario follows this steps:
1 . Print a report though this Amyuni driver.
2 . The error "Printer not activated, error -30" is raised.
3 . When it works ok, the event EnablePre is fired to activate the developer license. Here is our problem. We can't catch this event.
4 . When it works ok, the report is printed.
thanks
JosepM
Hello,
No, if we run our application 'as Administrator', this error is not raised.
However, this issue does not occur only with our application. If we try to print with the Notepad.exe though the Amyuni driver created by our application, it also fails!
To avoid this, we must execute Notepad.exe 'as Administrator', although we think that is not the best solution.
Thanks
No, if we run our application 'as Administrator', this error is not raised.
However, this issue does not occur only with our application. If we try to print with the Notepad.exe though the Amyuni driver created by our application, it also fails!
To avoid this, we must execute Notepad.exe 'as Administrator', although we think that is not the best solution.
Thanks
Hello Joseph,
When UAC is turned on, every action needs explicit confirmation. (Accessing the registry, installing a printer,...)
What could be happening is that when the application is trying to enter the activation code in the registry, the confirmation message box is raised in the background and the 'ok' button of this messge box is never checked.
If this is the case, then please note that this is something we are checking to see what is the best way to deal with the new UAC option.
I didn't get point 3 in your above scenario, also i am not sure if you are logging to Vista as User or as Administrator.
When UAC is turned on, every action needs explicit confirmation. (Accessing the registry, installing a printer,...)
What could be happening is that when the application is trying to enter the activation code in the registry, the confirmation message box is raised in the background and the 'ok' button of this messge box is never checked.
If this is the case, then please note that this is something we are checking to see what is the best way to deal with the new UAC option.
I didn't get point 3 in your above scenario, also i am not sure if you are logging to Vista as User or as Administrator.
Hello Joan
In the point 3 of our scenario, we are logged in 'as Administrator' when it goes ok. Only when we are logged in as 'standar user', the activation fails.
Related to the confirmation message on the background, none message is shown in our case, so we have no possibility to click the ok button.
Please, can you confirm if your PDF Converter need administrator privileges to run correcly? All test we had run, points to this direction.
Thanks
In the point 3 of our scenario, we are logged in 'as Administrator' when it goes ok. Only when we are logged in as 'standar user', the activation fails.
Related to the confirmation message on the background, none message is shown in our case, so we have no possibility to click the ok button.
Please, can you confirm if your PDF Converter need administrator privileges to run correcly? All test we had run, points to this direction.
Thanks
The PDF Converter needs to have access rights to the registry, specially the Hkey-Current-Config key. Under Vista when you are logged in as a User with UAC enabled you will be asked for administrator credentials when trying to do any task that requires administrative rights.
This is why the activation code is not written properly to the registry when you are logged in as User. I will check this issue furthermore and post any additional information i might find.
This is why the activation code is not written properly to the registry when you are logged in as User. I will check this issue furthermore and post any additional information i might find.
-
- Posts: 1
- Joined: Mon Jun 11 2007
In order to be able to install correctly you will need version 2.50g-4 of the PDF Converter. The version that you have (2.50c) is not compatible with Windows Vista and we cannot guarantee that it will work on Vista.
In Windows Vista, the PDF Converter's EnablePre event fires when the user is logged in as either an Administrator or Non-Admin. It will also fire with UAC turned on or off.
To have the event fire you will need to make sure that this option is enabled in your application e.g.
'Enable capturing of events
pdfEvent.CaptureEvents (1)
We would recommend upgrading from the version that you currently have to one that is compatible with Vista.
In Windows Vista, the PDF Converter's EnablePre event fires when the user is logged in as either an Administrator or Non-Admin. It will also fire with UAC turned on or off.
To have the event fire you will need to make sure that this option is enabled in your application e.g.
'Enable capturing of events
pdfEvent.CaptureEvents (1)
We would recommend upgrading from the version that you currently have to one that is compatible with Vista.