04-28-2006 07:31 AM
Thanks for the quick reply. I probably was not clear enough. I tried the recommendations in this thread. I removed all 3 SCC entries in LabVIEW.ini. I also renamed LabView.ini. I did clear out entries while LabVIEW was not running to ensure that they were deleted. The entries did get added after I configured SCC. They were still there when I re-started LabView. I was able to easily confirm that I was in fact loading the correct LabVIEW.ini file. However.... each time I start up LabVIEW, my SCC provider is set to <none> with all the fields greyed out - and, sadly, there are no error messages.
Once I re-establish the connection to VSS, I am back to full functionality.
04-28-2006 07:59 AM
1. Once you configure, if you go back to Tools>>Options>>Source Control, are your setting still present? Can you create multiple LabVIEW projects and work with your files with no problems (errors, etc)?
2. The error you described that comes up when you see the problem (provider set to None and you don't reconfigure) makes me wonder if the configuration data has problems. Would you post what the ini entries are after you configure successfully (if that is possible)?
Thanks for your patience. Debugging these kind of problems are tricky, but hopefully we'll narrow this down.
04-28-2006 08:32 AM
Yup - once I get to the startup screen, re-establish SCC Provider, I can open projects, close projects, open other projects ad nauseum. The only issue that I see is that once I exit labview, next time I start up, back to no SCC provider.
The relevant settings in the .ini are...
SCCConfigData="fredb;"$/CRS Test Exec", SLFAAAAA;C:\AAATESTEXECHOME;\\usdanrmmd1ms018\mfgvss\Mfg_Eng_Vss,"
SCCProviderName="Microsoft Visual SourceSafe"
SCCProviderLocation="WinCI"
I can send you the whole thing if you'd like.
The best way to describe the symptom is as a feature! I've somehow managed to enable the 'clear SCC provider on exit' option.
thanks,
fredb.
04-28-2006 08:45 AM
04-28-2006 09:47 AM
Ok - here we go...
Started LV, connected to VSS. Opened up a new VI, dropped in a few SCC toys as you suggested with the following results.
Was able to connect and check file status. Very cool stuff - did not know it would be so easy to do this - this solves a problem I've been deferring - so thanks for that - I know have more work to do 🙂 (I'm attempting to force strict revision controls on a library, so we can qualify it, deploy it, and during runtime (as an exe) verify that we are running a qualified library - unfortunaly vi server does not preserve this info - so I've developed a home brew scheme and have taken over the process of building the exe - but that's not getting us any closer - just me getting excited that I can now check the revision vi out, modify it, check it back in - run the build. Woo hoo!
Ok - back to reality here.
So - the SCC VI's are able to connect and play nicely with VSS after I set it up. BUT - when I went to save the VI, I got the same -2976 error. It did save the VI.
I then started LV again - did NOT connect to VSS, opened up the SCC vi I saved above, ran it, but this time, received an error - was not able to obtain the source control reference.
When I connected to SCC (via the tools menu of the VI), I got the -2976 error again, actually - I got it a whole bunch of times. Once I got past all the error dialogs, I then ran the VI, and it worked correctly, returning the status of the file I have under SCC.
FYI - when I exited the VI, got back to the Getting Started page, I checked into the SCC, and it now had the configuration. Just for chuckles, I decided to exit LV, get back in - and sure enough - back to <none>.
Thanks for your patience with this. Hopefully you'll be able to narrow it down. I'm still thinking that it may be related to an entry in the registry that is preventing the SCC from loging me in - such as a missing password. Probably just another red herring.
fredb.
04-28-2006 10:27 AM
04-28-2006 11:01 AM
I hate doing this stuff via e-mail!
Glad you attached the picture. In fact, that is exactly what I am getting! I thought you were asking earlier if I was getting any over error messages and therefore assumed that the note at the bottom was of no interest.
By the way - I am the VSS administrator. Oh joy!
Sorry about that,
fredb.
04-28-2006 11:01 AM
One of these days I'll learn to type too. I meant to say 'overt' error messages.
04-28-2006 11:05 AM
04-28-2006 11:19 AM
Phew? No - wait!
VSS never did prompt for a password when it is linked to labview. It must be tucking it away somewhere. I would simply start up labview, and it would re-establish the connection. I could go ahead and uninstall LV, totally wipe out the registry items, re-install, but do not want to do this unless I know for sure that LV is tucking SCC stuff in the registry. I doubt it has anything to do w/ my source control - I was able to replicate the problem by crashing out of LV. VSS was running in the background while all this took place. It was happy before the crash, happy after the crash, in fact - still happy.
Any thoughts?