Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
Installation Errors
 EXP Systems Forum : PDF reDirect : Installation Errors
Topic: DLL Error Number = 1801 Post Reply Post New Topic
Author Message
frank00
Newbie
Newbie


Joined: 12 Oct 10
Posts: 3
Quote frank00 Replybullet Topic: DLL Error Number = 1801
    Posted: 12 Oct 10 at 11:04AM
I am trying to the PDF writer on a Windows 7 x64 machine. I receive a DLL Error Number = 1801: The printer name is invalid error when installing. Below is the installation log. I have tried restarting the the print spooler and restarting the machine. Any ideas? 
 
Command Line is: -i -l1033 -e
Language to use is: English
Resolve APPDATA Folder
Checking if PDF reDirect is already installed......IT IS NOT.
Attempting to remove old pdf reDirect Printer Driver......NOT THERE.
Look for old pdf reDirect Port Monitor......NOT FOUND.
Remove old pdf reDirect Port Monitor......NOT REMOVED. (3000)
Minor or Expected Error 53/3000
Delete old Port Monitor DLL......SUCCESS.
Copy new pdf reDirect DLL......SUCCESS.
Installing new PDF reDirect Port Monitor......SUCCESS.
Installing PDF_REDIRECT_PORT:
Check if Port is installed.....NOT THERE
Installing PDF_REDIRECT_PORT:......DONE.
Determining Path to Printer Directory......SUCCESS.
Copy Postscript Printer Driver Files......DONE.
Installing Postscript Printer Driver......DONE.
Install Printer PDF reDirect v2...
Wait for Printer to be installed..............................................................
...Printer failed to install after 30 sec.
Error Occured as follows:
 - Error# =  0
 - DLLErr =  1801
***************************
*      ERROR MESSAGE      *
***************************
Sorry. An error occured while ...Printer failed to install after 30 sec.
   - Error Number = 0:
   - DLL Error Number = 1801: The printer name is invalid.
This error may occur if the Windows Print Spooler is currently "BUSY".
You can try the following:
   1. Reboot your computer and then try installing again, or
   2. Restart the Print Spooler Service and then try installing again.
If the error persists, you may not have permission to install/remove printers. You can:
   1. Contact your computer administrator for help, or
   2. Visit the forum on our web site for help.
Do you want to visit our support forum for help on installation errors?
 
***************************
*       MEMORY DUMP       *
***************************
 
pData() As Byte =
 0 = 0
End pData()
 
MyDriverInfo3 As DRIVER_INFO_3
  .cVersion As Long =  3
  .pConfigFile As String = PS5UI.DLL
  .pDataFile As String = PDFR_NST.PPD
  .pDefaultDataType As String = RAW
  .pDependentFiles As String = PSCRIPT.NTF
  .pDriverPath As String = PSCRIPT5.DLL
  .pEnvironment As String = Windows x64
  .pHelpFile As String = PSCRIPT.HLP
  .pMonitorName As String =
  .PName As String = PDF reDirect Pro
End MyDriverInfo3
 
MyPrinterInfo2() As PRINTER_INFO_2
  Index = 0
    .pPrinterName As String = PDF reDirect v2
    .pDriverName As String = PDF reDirect Pro
    .pServerName As String =
    .pShareName As String =
    .pPortName As String = PDF_REDIRECT_PORT:
    .pLocation As String =
    .pComment As String = PDF reDirect provided by EXP Systems
End MyPrinterInfo2()
 
MyMonitorInfo2 As MONITOR_INFO_2
  .pDLLName = PDFreDirectMon64.dll
  .pEnvironment =
  .PName = PDF reDirect Monitor
End MyMonitorInfo2
 
MyPrinterDefaults4Delete As PRINTER_DEFAULTS4Delete
  .pDatatype As Long = 0
  .DesiredAccess As Long = 983052
End MyPrinterDefaults
 
OSInfo As OSVERSIONINFO
  .dwBuildNumber As Long = 7600
  .dwMajorVersion As Long = 6
  .dwMinorVersion As Long = 1
  .dwOSVersionInfoSize As Long = 148
  .dwPlatformId As Long = 2
  .szCSDVersion As String * 128 =
End OSInfo
 
64bit CPU = 1
 
hPrinter As Long = 0
MyKey As String =
MyKeyString As String =
MyKeyValue As Long = 0
Result As Long = 0
MyError As String = Sorry. An error occured while ...Printer failed to install after 30 sec.
   - Error Number = 0:
   - DLL Error Number = 1801: The printer name is invalid.
This error may occur if the Windows Print Spooler is currently "BUSY".
You can try the following:
   1. Reboot your computer and then try installing again, or
   2. Restart the Print Spooler Service and then try installing again.
If the error persists, you may not have permission to install/remove printers. You can:
   1. Contact your computer administrator for help, or
   2. Visit the forum on our web site for help.
Do you want to visit our support forum for help on installation errors?
Level As Long = 2
pNeeded As Long = 76
I As Long = 11
InstallPrinter As Boolean =  True
ShowErrors As Boolean =  True
System_Dir As String = C:\Windows\system32\
MyUserAppPath As String = C:\Users\esporeb516\AppData\Roaming\PDF reDirect\
Monitor_DLL_Name As String = PDFreDirectMon64.dll
Printer_Driver_Dir As String = C:\Program Files (x86)\PDF reDirect\Drivers\Win XP64\
System_Printer_Dir As String = C:\Windows\system32\spool\DRIVERS\x64
Generic Error Code as Long =  0
DLL Error Code as Long =  1801
IP IP Logged
Michel_K17
Moderator Group
Moderator Group
Avatar
Forum Administrator

Joined: 25 Jan 03
Posts: 1673
Quote Michel_K17 Replybullet Posted: 12 Oct 10 at 10:50PM
Hi,

   I have not seen this in a while. or rather, I have not been contacted by e-mail on this in a long while, particularly since I incorporated a fix a couple of years ago.

   There is an older thread [here] which discusses this topic. Can you take a look to see if any of it applies to you, or if it helps you in troubleshooting? But , by all means, let me know if it does not help.

   Cheers!

Michel Korwin-Szymanowski
EXP Systems LLC
IP IP Logged
frank00
Newbie
Newbie


Joined: 12 Oct 10
Posts: 3
Quote frank00 Replybullet Posted: 13 Oct 10 at 9:24AM
I looked at the older thread and tried all the steps there.  Still no success in installing the PDF writer.  I still receive the same error as before.
IP IP Logged
Michel_K17
Moderator Group
Moderator Group
Avatar
Forum Administrator

Joined: 25 Jan 03
Posts: 1673
Quote Michel_K17 Replybullet Posted: 14 Oct 10 at 10:39PM
Hi,

   Which version of PDF reDirect are you trying to install? Are you trying the latest (v2.5) version?

   Thanks,


Michel Korwin-Szymanowski
EXP Systems LLC
IP IP Logged
frank00
Newbie
Newbie


Joined: 12 Oct 10
Posts: 3
Quote frank00 Replybullet Posted: 15 Oct 10 at 10:06AM
I am trying to install version 2.5.0.

Thank you.
IP IP Logged
Michel_K17
Moderator Group
Moderator Group
Avatar
Forum Administrator

Joined: 25 Jan 03
Posts: 1673
Quote Michel_K17 Replybullet Posted: 17 Oct 10 at 10:15AM
Hello Frank,

    I did some additional research and some testing. I can duplicate  the error by reducing permissions either to the registry or to the Printer Drivers System folder. Therefore, I believe that this is where the problem lies.

   In the post for things to check [here], I added two more things to check (if you want to find the problem manually). However there may be some alternate methods to get around the problem which you might find easier to use than the manual way, so you could try the following instead:

  • Try the Windows "Administrator" account
    1. Make sure that the Windows "Administrator" account is enabled/visible. If you do not know what I am talking about, see the instructions located [here] for Windows Vista & Win 7 (use [this] for Windows XP)
    2. Log off your computer.
    3. Log in using the Windows "Administrator" account.
    4. Install PDF reDirect
    5. Log off, and log back in using your normal account.

  • Try to pre-elevate the installer
    1. Right-click the PDF reDirect installer
    2. Choose "Run As Administrator"

  • Try "Safe" Mode
    1. Restart your computer.
    2. As the computer goes through the initial BIOS boot sequence, press the F8 key once per second until the Windows Boot options appears.
    3. Choose to boot in "Safe Mode"
    4. Login and install PDF reDirect.
    5. Restart your computer
 

   Hopefully one of the above will work for you. Let me know either way. Beyond that, the only option is to manually test your computer for permissions or other problem to see where the problem might be.

   Best regards,

Michel Korwin-Szymanowski
EXP Systems LLC
IP IP Logged
rhmitul
Newbie
Newbie
Avatar

Joined: 26 Oct 11
Posts: 1
Quote rhmitul Replybullet Posted: 26 Oct 11 at 7:19AM
Originally posted by Michel_K17

Hello Frank,

    I did some additional research and some testing. I can duplicate  the error by reducing permissions either to the registry or to the Printer Drivers System folder. Therefore, I believe that this is where the problem lies.

   In the post for things to check [here], I added two more things to check (if you want to find the problem manually). However there may be some alternate methods to get around the problem which you might find easier to use than the manual way, so you could try the following instead:

  • Try the Windows "Administrator" account
    1. Make sure that the Windows "Administrator" account is enabled/visible. If you do not know what I am talking about, see the instructions located [here] for Windows Vista & Win 7 (use [this] for Windows XP)
    2. Log off your computer.
    3. Log in using the Windows "Administrator" account.
    4. Install PDF reDirect
    5. Log off, and log back in using your normal account.

  • Try to pre-elevate the installer
    1. Right-click the PDF reDirect installer
    2. Choose "Run As Administrator"

  • Try "Safe" Mode
    1. Restart your computer.
    2. As the computer goes through the initial BIOS boot sequence, press the F8 key once per second until the Windows Boot options appears.
    3. Choose to boot in "Safe Mode"
    4. Login and install PDF reDirect.
    5. Restart your computer
 

   Hopefully one of the above will work for you. Let me know either way. Beyond that, the only option is to manually test your computer for permissions or other problem to see where the problem might be.

   Best regards,



your are really a genius . your post really helped me to understand everything..
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum