Results 1 to 23 of 23

Thread: Error 429 when installing clean installation

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2006
    Posts
    8

    Post Error 429 when installing clean installation

    I wrote a ftp aplplication in vb and linked to the mswinsck.ocx file via the "references" tab? Now the program works fine on my pc even if I uninstall vb, but as soon as I do a clean installation on a other pc it gives me an error 429.

    Else the program does not give me an error 429 if I link to the mswinsck.ocx file via the "components" tab, but then my functionalities does not work. So the program start up but the functions don't work!

    What I can see is that in the Object Browser in the first senario the MSWinsockLib point to mswinsck.ocx while in the second senario the MSWinsockLib points to mswinsck.oca?

    But I can't seem to link to both?

    Thus far I have worked through every example in the MSDN library concerning Error 429, and I have packaged my application more than 40 times, including both or trying different ways to include files, or even making a dependency file that includes the MSWinsck.oca file? Don't know if I did it right though...

    Can someone please assist me!

  2. #2
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: Error 429 when installing clean installation

    I will assume you are using PDW You probably do not have all the dependencies that you need for your app to run.

  3. #3
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Error 429 when installing clean installation

    You should be using the Component for winsock and not setting a reference. If your app does not work that way then its more possibly a coding issue.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  4. #4
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: Error 429 when installing clean installation

    You can use Winsock as a reference also... but it requires a little more coding.

    Does your program work in the IDE?

  5. #5
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Error 429 when installing clean installation

    Well I guess you could say its a matter of preference but it depends on how it was coded too. To me it seems better to use it as a component but thats my preference.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  6. #6

    Thread Starter
    New Member
    Join Date
    Nov 2006
    Posts
    8

    Re: Error 429 when installing clean installation

    Thanks for all the replies.

    Yes the program works fine in the IDE when I use the winsock via the reference tab, but as soon as I use the PDW and install on another computer it gives me the error though it works fine on my computer even with the clean installation.

    I have made use of the winsock via the components tab also and used the PDW then the program starts on the other computer but as I said then my functions don't work? It does not connect to the ftp site.

    So I also thought I am not including all my dependencies but if I go to the CAB file in both instances all the same files are present and all the files are referenced the same, so I then thought it must be a programming error?

    Actually I really don't know where I am going wrong...

  7. #7
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Error 429 when installing clean installation

    Do you have any error handling in your program? If so which event/procedure is it bombing on?
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  8. #8
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: Error 429 when installing clean installation

    What are you using to guage that all the dependencies are there????

    If it works in the IDE the reasons it would not work as an exe would be timing or lack of dependencies.
    Last edited by randem; Nov 13th, 2006 at 02:02 AM.

  9. #9
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: Error 429 when installing clean installation

    Have you attempted to run the exe from the same location as your project?

  10. #10

    Thread Starter
    New Member
    Join Date
    Nov 2006
    Posts
    8

    Re: Error 429 when installing clean installation

    I have an "on error" procedure and it goes there as soon as I connect to the ftp server if I use winsock via the components tab but it never has an error if I run the application and connect winsock via the reference tab.

    I also now made use of ISS to see if that would help and can see that it does not include the following two files in my PDW shdocvw.dll and SHELL32.dll but as soon as I try to include these two files it gives me unsafe error...

    It seems though that these two files are not the problem since they are on the other PC but I am not really sure about the SHELL32.dll file that it works the same but it is there. But it seems to me the problem still lies with the winsock file and how I connect to it.

    As I stated earlier the on time MSWinsockLib refers to mswinsck.ocx if I use the reference tab and the other time MSWinsockLib refers to mswinsck.oca when I use the components tab...

    Maybe it would also help to state that I used a class module where I have coded my ftp part and from where I reference the MSWinsockLib?
    Last edited by 41trut5r; Nov 13th, 2006 at 09:21 AM.

  11. #11
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: Error 429 when installing clean installation

    Post #9?????

  12. #12

    Thread Starter
    New Member
    Join Date
    Nov 2006
    Posts
    8

    Re: Error 429 when installing clean installation

    Sorry, yes I have run the exe from the project location and it still works fine...

  13. #13
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: Error 429 when installing clean installation

    Then it is a dependency issue. you are running the exe on another machine when it fails, Yes?

  14. #14

    Thread Starter
    New Member
    Join Date
    Nov 2006
    Posts
    8

    Re: Error 429 when installing clean installation

    Yes, that is correct and I have tried anything I can think of to include dependency files but I don't seem to be able to get it to work correctly after an installation on another computer.

    All I can think is that I am not including my dependency files correctly?

  15. #15
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: Error 429 when installing clean installation

    Check your PM

  16. #16
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: Error 429 when installing clean installation

    Here is a listing of all the dependencies that you should have in your list and get registered:

    Code:
    ; ********** Version 5.4  Build 1
    ; Randem Systems, Inc.
    ; Copyright 2003-2006
    ; website:  http://www.***********
    ; support:  http://www.**********.com/cgi-bin/discus/discus.cgi
    
    ; Date: November 16, 2006
    
    ;              VB Runtime Files Folder:   C:\Program Files\Randem Systems\**********\********** 5.4\VB 6 Redist Files\
    ;     Visual Basic Project File (.vbp):   C:\Work\41trut5r\FTP\FTP.vbp
    ; Inno Setup Script Output File (.iss):   C:\Work\41trut5r\FTP\FTP.iss
    
    ; ------------------------
    ;        References
    ; ------------------------
    
    ; Visual Basic runtime objects and procedures - (MSVBVM60.DLL)
    ; Standard OLE Types - (OLEPRO32.DLL)
    ; OLE Automation - (STDOLE2.TLB)
    ; Microsoft Internet Controls - (shdocvw.dll)
    ; Microsoft Shell Controls And Automation - (SHELL32.dll)
    
    
    ; --------------------------
    ;        Components
    ; --------------------------
    
    ; Microsoft Winsock Control 6.0 (SP6) - (MSWINSCK.OCX)
    ; Microsoft Common Dialog Control 6.0 (SP6) - (comdlg32.ocx)
    ; Microsoft Rich Textbox Control 6.0 (SP6) - (richtx32.ocx)
    ; Microsoft Windows Common Controls 6.0 (SP6) - (mscomctl.ocx)
    
    
    [Setup]
    AppName=AffiliateFTP
    AppVerName=AffiliateFTP 2.8.3
    AppPublisher=Endopi Enterprises
    AppVersion=2.8.3
    VersionInfoVersion=2.8.3
    AllowNoIcons=yes
    DefaultGroupName=Affiliate FTP
    DefaultDirName={pf}\AffiliateFTP
    AppCopyright=Endopi Enterprises 2006
    PrivilegesRequired=Admin
    MinVersion=4.0,4.0sp6
    Compression=lzma
    OutputBaseFilename=Affiliate FTP283Release
    
    [Tasks]
    
    [Files]
    Source: c:\program files\randem systems\**********\********** 5.4\vb 6 redist files\msvbvm60.dll; DestDir: {sys}; Flags:  sharedfile; 
    Source: c:\program files\randem systems\**********\********** 5.4\vb 6 redist files\oleaut32.dll; DestDir: {sys}; Flags:  sharedfile; 
    Source: c:\program files\randem systems\**********\********** 5.4\vb 6 redist files\olepro32.dll; DestDir: {sys}; Flags:  sharedfile; 
    Source: c:\program files\randem systems\**********\********** 5.4\vb 6 redist files\asycfilt.dll; DestDir: {sys}; Flags:  sharedfile; 
    Source: c:\program files\randem systems\**********\********** 5.4\vb 6 redist files\stdole2.tlb; DestDir: {sys}; Flags:  regtypelib; 
    Source: c:\program files\randem systems\**********\********** 5.4\vb 6 redist files\comcat.dll; DestDir: {sys}; Flags:  sharedfile; 
    Source: c:\windows\system32\mswinsck.ocx; DestDir: {sys}; Flags:  regserver restartreplace sharedfile; 
    Source: c:\windows\system32\comdlg32.ocx; DestDir: {sys}; Flags:  regserver restartreplace sharedfile; 
    Source: c:\windows\system32\richtx32.ocx; DestDir: {sys}; Flags:  regserver restartreplace sharedfile; 
    Source: c:\windows\system32\mscomctl.ocx; DestDir: {sys}; Flags:  regserver restartreplace sharedfile; 
    Source: c:\work\41trut5r\ftp\affiliate ftp.exe; DestDir: {app}; Flags:  ignoreversion; 
    
    [INI]
    Filename: {app}\Affiliate FTP.url; Section: InternetShortcut; Key: URL; String: 
    
    [Icons]
    Name: {group}\AffiliateFTP; Filename: {app}\Affiliate FTP.exe; WorkingDir: {app}
    Name: {group}\AffiliateFTP on the Web; Filename: {app}\Affiliate FTP.url
    Name: {group}\Uninstall AffiliateFTP; Filename: {uninstallexe}
    
    [Run]
    Filename: {app}\Affiliate FTP.exe; Description: Launch AffiliateFTP; Flags: nowait postinstall skipifsilent; WorkingDir: {app}
    
    [UninstallDelete]
    Type: files; Name: {app}\Affiliate FTP.url

  17. #17
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: Error 429 when installing clean installation

    BTW: You also have Data Control Issues. You should think about not using them.

  18. #18

    Thread Starter
    New Member
    Join Date
    Nov 2006
    Posts
    8

    Re: Error 429 when installing clean installation

    I have received the iss file, thank you, I am away for the weekend, will test on Tuesday.

    Thanks in advance

  19. #19
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: Error 429 when installing clean installation

    You will still have problems until you sort out the data control problems...

  20. #20

    Thread Starter
    New Member
    Join Date
    Nov 2006
    Posts
    8

    Re: Error 429 when installing clean installation

    Hi,

    I tried the new inno script but I still have the same error...

    Mayba I am still missing something?

    Thank you for the support though

  21. #21
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: Error 429 when installing clean installation

    Post your project. I only got DC errors and could not continue....

    You could be dynamically creating objects or your DC's are calling something.
    Last edited by randem; Nov 23rd, 2006 at 02:19 PM.

  22. #22

    Thread Starter
    New Member
    Join Date
    Nov 2006
    Posts
    8

    Re: Error 429 when installing clean installation

    I decided to rewrite my code using the components rather than to reference it. It would take me a day or two but I suppose it would work then.

    I see it is searching for the license file of VB because I didn't make use of the Winsock control.

    So I would leave it like this for now say it as resolved until further notice.

    Thanks for all the assistance.

  23. #23
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: Error 429 when installing clean installation

    Yes, Now I remember if you use it as a reference it requires a license to use it but if you use it as a control you can use it and distribute it free.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width