• Installer missing MS VC++ 2012.1ReDistributable

    By Peter Rosenberg 1 decade ago

    Hi after trying an install on my Win7 32 bit, I got this System Error prompt when I tried to start NSFAnalyzer:

    The program can't start because MSVCR110.DLL is missing from you computer. Try reinstalling the program to fix the problem.  

    After some searching, I found this forum post on MSDN, that looked to be covering the same:

     

    <a href="http://social.msdn.microsoft.com/Forums/en-US/vclanguage/thread/c65c56e7-ac1c-473f-a97a-27fdcaee6108">http://social.msdn.microsoft.com/Forums/en-US/vclanguage/thread/c65c56e7-ac1c-473f-a97a-27fdcaee6108</a></div>
    
    which suggests one should download:
    
    <a href="http://www.microsoft.com/en-us/download/details.aspx?id=30679">http://www.microsoft.com/en-us/download/details.aspx?id=30679</a></div>
    
    which apparently should have been linked (or delivered) with the Installer you created using VS2012.
    
    I picked the package, and installed it. And I got a bit further.<br/>
    I had to update my %PATH% to include Notes Run-Time (so it could find nnotes.dll) which I never had to since Notes 7 or something (when Multiple Notes Clients was banned on one boot partition).</div>
    

    I then came to the settings dialog where I had to specify Server & DB.

    I says, when I try to browse for a Server...:

    No Servers Found - Check Connection

    when I try to open a Local DB, I get: Error in pNSFDBOpen

    ErrorCode 535, Reason 535. Unable to Open database.

    What could be wrong ?

    I have a suspicion, that I might need other MS VC++ components, such as a specific .NET or something. 

    Haven't tried to use the former verson 1.03 yet.

    • I have uninstalled 1.0.4 and installed 1.0.4.1

      By Peter Rosenberg 1 decade ago

      but I still get my Connectivity problem, shown in attached screenshot.

      Cannot select any (known) servers, in the drop down list, and if I type a know server, I also get the Error 535.

      I also have shared my ID-file for add-ins such as PC Nokia Suite or NSFAnalyzer, if you need this info.

      Log file is empty..

       

      • questions about your notes.ini

        By Timothy B Nichols 1 decade ago

        In your notes.ini, what is the value of "Location" ?

        This location should be the name of the location you normally use for accessing notes dbs on your network. (e.g. rather than using an disconnected or island setup). If not, switch your current location accordingly, then re-try.

         

        Still an issue? Then check Notes.ini for "MAILSERVER"? Verify this value is a correct server, because I am using this server to find your list of all servers. If not, correct and re-try.

         

        Is the name of your domino directory "names.nsf" ? If not, that would be a problem. Otherwise when you open the Servers view in this database, do you see values?

         

        This are basically the steps the application takes to build this server list, so checking it manually could help find a problem.

         

        Before any of this happens, I do try to temporarily add notes.exe path to your path environment variable. However, if you have already done this - no other side effects should be experienced. 

        To find your notes path, I look at Classes path in registry. I look for .nsf subkey. I look at Shell\Open\Command and pull out the path where notes.exe resides. Since this part failed, I would be curious as to what you see here in your registry under this key as well.

         

        Also, check the logs while the application is open. I think I got over-excited and clean them up whenever you relaunch the app. But looking at them while the app is still open should show everything it logged.

         

        Finally, if you have more than one version of LNotes installed on this machine, that would be interesting to know. I have run it like this without any issues - it interfaces w/ the nnotes.dll of last one I installed. But... if you have more than one notes exe path listed in your PATH environment variable, that might cause an issue.

         

        • Ahaa,you pointed me to %PATH% which I believe has reached max. size !

          By Peter Rosenberg 1 decade ago

          Ok thanks,

          MailServer and other notes.ini stuff seems to work - I am usually online with my Notes Client, but only replicating when I tell it to.

          I believe the culprit is my %PATH% environment variable ! Funny enough I thought this was resolved when I got the 'cannot find nnotes.dll' and added my Notes EXE folder to %PATH%. But now, the string of this environment var. has grown somewhat beyond 300 chars.

          In the settings, without %WINDIR%, %ProgramFiles% and %SystemRoot% expanded, its 372 chars.

          And in the Commandline, I cannot see the end of it... its truncated.

          I have pointed the start-folder for NSFAnalyzer to be in, my Notes Data path, so it can pick up the notes.ini from 'Current Path'.

          Could the size of %PATH% be the cause ?

           

          • PATH too long

            By Timothy B Nichols 1 decade ago

            Yes, I suppose that would be a problem.

             

            I wonder if placing a copy of nnotes.dll and notes.ini to your exe path for nsfanalyzer.exe would do it. You could  give it a try, for your case.


            From command line, you could type:

            PATH > path.txt | more path.txt

             

            to see it all - to see if it is in fact actually truncated.

             

            But it certainly does appear there is a 32k limit:

            http://blogs.msdn.com/b/oldnewthing/archive/2010/02/03/9957320.aspx

             

            Stack Overflow shows a helper thread on how to help avoid this limit:

            http://stackoverflow.com/questions/4405091/how-avoid-over-populate-path-environment-variable-in-windows

             

            Bottom line is... the application has to link to DLL entry points... inside nnotes.dll, so it's gotta know where that DLL is.

            • I think we are into a dead-end ..

              By Peter Rosenberg 1 decade ago

              thanks for suggestions.

              I was caught in this situation described here: PATH not expanding when non-Admin

              When I checked opening CMD in Admin mode, I could see the right (delayed) Environment Variable substitution worked correct.
              And it didn't clip the settings, either. I use whenever possible the %ProgramFile% variable to hold the path to normal Windows app folders.

              However, I copied the nnotes.dll to the NSFAnalyzer exe folder, but that didn't change the behaviour.
              I did try to enter a named server and path into the NSFAnalyzer settings, and that gave me a hope for 3 sec. before this came up (attached as ScreenShot). I still couldn't pick a list of wellknown domino servers, NSFAnalyzer said : Check Connectivity.

              My Notes client is working fine in all other aspects , including my Nokia PC Suite which is sync'ing my Calendar etc.

              What do have have as options ? Is there a hidden Debug Switch I can turn on ?

               

              • Better

                By Timothy B Nichols 1 decade ago

                If you can pick servers and databases, you cleared a hurdle.

                 

                I have seen one single case where this program threw a similar exception when scanning a database that had a corrupted note in it. It was one of those databases, whenever you opened anything in design-mode, warned that it had been modified in a later release. It would scan items, then when it hit one design note in particular - it would blow up. The NSFSearch (or its cb function)  would immediately kill the application before I could do anything graceful. 

                 

                Have you been able to scan anything? Even a local copy of your personal address book - as a test.

                 

                To see what's going on, you'd either have get info from the application's error log, or else send the db to me, or else d/l the source, lnotes c api, and visual studio 12 express... and take a look. All of the software is free.

                 

                • Well,the hurdle was not really passed..

                  By Peter Rosenberg 1 decade ago

                  I had hardtyped Server (fullname) and path to database (which is a template).

                  I tried, what you suggested to point it to my personal NAB, and I figured out you would need a Notes.INI access somehow.

                  Before I installed NSFAnalyzer, I moved my Notes.INI to my data folder (to keep things together), and re-pointed my shortcuts with parameters.

                  So how, using the PATH would you ever be able to find the Notes.INI ? I decided to copy it (for a trial) into the NSFAnalyzer exe folder, and now things happened - not to the best !

                  I crashed my Notes Client rather quick, so now I have a dump - I'm too old to look in those I did it in the early 90'ties... In the Notes 3 days.

                  If you want to have my dump-file, I can get it to U somehow.

                  I wait at least a while before I play with other untried combinations. Are you sure it should work on 32-bits Windows 7 and with Notes 8.5.3 FP2 ? I believe this is quite common - since we havent seen Notes Client upgrades for some time..  

          • I think the proper fix is to get the system path worked out

            By Timothy B Nichols 1 decade ago

            See resolution here, where we broke out the path into two variables.

            http://www.openntf.org/internal/home.nsf/defect.xsp?action=openDocument&documentId=415E4659039952F486257B46006DF62A

             

            This is similar to how people normally install other execs, such maven, ant, java, etc.