Rational Clearcase Explorer has stopped working bug - clearcase

I'm using Clearcase 7.1.2 with Windows 7 64 bit.
I'm getting crashes repeatedly (seemingly when I use the scroll bar - though I'm not positive that is always the case).
Looking at the event log I see:
Faulting application name: clearexplorer.exe, version: 7.1200.0.214, time stamp: 0x4c87f2c3
Faulting module name: clearlist.ocx_unloaded, version: 0.0.0.0, time stamp: 0x4c87f0ab
Exception code: 0xc0000005
Fault offset: 0x03597c1f
Faulting process id: 0x16e4
Faulting application start time: 0x01cdb2ddb53e24d7
Faulting application path: C:\Program Files (x86)\IBM\RationalSDLC\ClearCase\bin\clearexplorer.exe
Faulting module path: clearlist.ocx
Report Id: f29793dd-1eda-11e2-b4a5-0023ae7ecd09
Can anyone suggest what needs to be done to fix this?
clearlist.ocx would seem to be the culprit, but I'm not sure what to do about it. ClearCase can crash every few minutes, which is driving me nuts.

The Admin manual does mention:
Rational ClearCase clients have several limitations when hosted on 64-bit Windows platform.
Most of these limitations are related to dynamic views.
For additional information about Rational ClearCase and 64-bit Windows platforms, see the IBM Software Support Web site for Rational ClearCase.
The Help page for 7.1.2 echoes that, albeit for Windows Xp (I suppose it extends to Windows 7 as well, but this is not confirmed):
Rational® ClearCase® clients have several limitations when hosted on 64-bit Windows platforms such as Windows XP Professional x64 Edition.
The Rational ClearCase integration with Windows Explorer does not work with the 64-bit version of Windows Explorer. To enable this integration, run the 32-bit version of Windows Explorer.
The Rational ClearCase remote client and other Eclipse-powered software is not supported on 64-bit Windows platforms.
This system requirements for ClearCase 7.1 does include several limitations, including the technote "
Known limitations using Rational ClearCase on 64-bit Windows platforms".
Ideally, ClearCase 8 has a better 64-bit support for Windows (even though you can find instruction to install ClearCase on Windows 64bits for CC7.1, 7.1.2 and 8).
The usual issue with ClearCase Explorer on Windows 64 bits is related to the contextual menu (not there).
But I only saw intermittent crashes in one case: dynamic view scanned by an antivirus (so try and see if the crashes still occur when - temporarily - de-activating the antivirus)

Create a C:\temp directory if you don't already have one.
Set your environment varibles for both User and System to C:\TEMP
Right click the C:\temp directoy and select properties.
Select the Security tab.
Grant the USERS FUll permissions.
Click OK.
Reboot the workstation.

Related

Error installing SAP mobile platform SDK 3.0

I am trying to install SAP Mobile Platform SMP 3.0 and i got the following error
i searched and found out that the cause could be my 32-bit running windows. is is the reason ? and how can i solve it using a workaround or something ?
Have you gone through the Sybase documentation on SMP3.0 SDK?
http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.dc01996.0301/doc/html/title.html
There are some restrictions on installing SMP components for 32-bit systems. Check the Product Availability Matrix on 'Mobile' (SAP S-number required) : https://websmp205.sap-ag.de/sap/support/pam
According to official SMP 3.0 installation link,
If User Account Control (UAC) is present in the version of Windows
where you are installing, disable it. Restart the system for this
change to take effect. Access the Control Panel option that manages
User Account Control on your version of Windows. Set the user account
to never be notified about changes to your computer. Reenable UAC
after completing this installation.
So try disabling the UAC before installation (assuming you are logged in as administrator for this installation)

Why ClearCase hangs when working with multiple machines?

I am having a ClearCase dynamic view on Win-7 Machine, I added the ClearCase View Shortcut (Created in Win-7 Machine) to an XP machine.
When I try to compile my project from view mounted in WinXP machine, it hangs, and it requires hard reboot. I tried many times, but I got the same results.
Is there anything to do with Anti-virus settings?
Dynamic views can be an issue when scanned by anti-virus: it is best to add m:\ (the mounting point for dynamic views) to the exclusion list of said anti-virus.
I wouldn't recommend accessing a Win7 dynamic view from WinXp, but rather define a dynamic view directly on the Xp.
1. check the clearcase version is same on both windows 7 and windows XP.
2. check if you can use that dynamic view, which created in windows 7, to mount vobs, set config spec, and view the files properly.
3. Check if all clearcase services are started properly.
4. apply the latest windows patch and clearcase patch on both windows 7 and windows xp.
If above checks are fine, I don't think the problem is related with anti-virus. I run clearcase client with anti-virus without issue, and I can mount the dynamic view on windows xp which created in windows 7.

Using Clearcase and Eclipse for C++

I work on a large C/C++ project and the code base is maintained in Clearcase. Till date we primarily work in Linux environment and we don't extensively use IDE. We directly checkout and edit files through VI.
Since I got access to Clearcase for Windows access, I am now trying to access the sources files in Eclipse. I primarily want to use Eclipse for Editing and Code Navigation. I create views through my unix account. I am able to mount the same view on my Windows PC using Clearcase Explorer. I am able to access the code and make changes to the file that were checked out earlier.
Can someone familiar to Eclipse please let me know how I can view that code base in eclipse. I do NOT want to create copies of the code base in my local filesystem. If I try creating a new project with the code base drive as the root folder, the project wont get created since I don't have write permission in that folder.
Is there a workaround?
Thanks in Advance!
As long as you can mount your Linux filesystem on windows, you should be able to reference the sources directly from Eclipse.
The most important detail, for the ClearCase plugin to work is for the .project to and .classpath files to be right alongside the sources, in your snapshot view.
See:
"When committing projects should I include .project & .classpath?"
"imported Eclipse project not linking to ClearCase"
"Clearcase plugin for eclipse usage"
For that Unix view to be recognize from Windows, you would have to tag and register it in the Windows region: "ClearCase: Are views created in Unix not visible from Windows and vice versa?".
Note that the case of snapshot views (accessing Unix views from windows), as this help page details, any ClearCase operation might fail:
See "Before accessing snapshot views across different platforms"
You can access snapshot views across different platforms, but you cannot issue Rational ClearCase commands across platforms.
For example, you cannot check out files in snapshot views on UNIX workstations from Rational ClearCase hosts on Windows computers, nor can you create shortcuts to snapshot views on UNIX workstations from Rational ClearCase Explorer.
If you are on a Rational ClearCase host running on a Windows computer and you hijack a file in a UNIX snapshot view, the hijack is detected when you update the view from a Rational ClearCase host on a UNIX platform.
In your case, if by "mounting" you mean mount dynamic view, then you should be ok, as mentioned in this help page, use Region Synchronizer to import the Linux or UNIX view tag of the view into your Windows network region.

How to Resolve Quickbooks Interface Error: QBFC Error "Could Not Load File or Assembly Interop.QBFC7 or one of its dependencies"

I recently inherited a C# Winforms application that communicates with Quickbooks via their QBFC interface. The application contains a reference to the COM Server Interop.QBFC7.dll. The application works fine in our test environment and in several of our client's environments. Although, yesterday when I attempted to install it on a new customer's system I continued to get the following error:
Could Not Load File or Assembly 'Interop.QBFC, Version=8.0.0.87, Culture=neutral, PublicKeyToken=...' or one of its dependencies. The system cannot find the file specified.
I know that we have several customers running this application on various versions of Quickbooks (i.e. Quickbooks Pro, Premier and Enterprise between 2008 and Enterprise 11.0). To my knowledge, this is the first customer that we have attempted to deploy this application that has Enterprise 12.0.
I have attempted the following to resolve the issue with no success:
1) Install the QBFC7_Installer from the Intuit Developer Network Site
2) Install the Quickbooks SDK 10 Installer from the Intuit Developer Network Site
3) Verified that the Interop.QBFC7.dll file is present on the file system.
4) Attempted to manually register the COM object Interop.QBFC7.dll via the command prompt: regsvr32 Interop.QBFC7.dll (This fails as well and windows returns an error stating that it cannot find the object).
Does anyone have any suggestions or feedback about additional things that I can try to resolve this issue? I get the same error on 3 different machines at their site running different operating systems (i.e. Windows Server 2008, Windows 7, and Windows Vista)? I have also tried compiling in both x86 and 64-bit configurations to no avail.
Thanks in advance for any help.
First of all, you should be targeting an x86 build only. The QuickBooks SDK won't work if you target Any CPU or x64. Your main problem, though, is that you are looking for the wrong version of QBFC. Notice the version stamp on your error message:
Could Not Load File or Assembly 'Interop.QBFC, Version=8.0.0.87,
Culture=neutral, PublicKeyToken=...' or one of its dependencies. The
system cannot find the file specified
This is QBFC8, not QBFC7. So you should be able to fix the problem with the QBFC8 installer.
The version of QuickBooks should not make a difference, since QBFC 8 (or 7, for that matter) will work with the 2008 and Enterprise 11 or 12.
You should look into using a setup project to install your application in order to avoid this problem in the future. A setup project should detect the QBFC dependency automatically. Once you see this happening, go to SearchPath property of your setup project and add the MergeModule directory from the SDK that is installed on your machine. Once you do this, you should see that the QBFC and Xerces merge modules are added to your project automatically as dependencies. Of course, you'll also need to update your code to a more recent version of QBFC, but that's probably a good idea in any case.

Context Menus with Clearcase on Xp 64 Bit

If I run
C:\WINDOWS\SysWOW64\explorer.exe /separate,c:
the the 32 bit version of windows explorer comes up and I can use context menus.
If i go to C:\WINDOWS\SysWOW64 and double click on explorer I do not get context menues.
Does anyone know how to get a short cut to
C:\WINDOWS\SysWOW64\explorer.exe /separate,c:
I did put that command in a .cmd file and run from there but then I have cmd window up all the time.
The IBM technote swg21251833 does mention that the 64-bit Windows Explorer is not displaying ClearCase Context menus.
ClearCase is a 32-bit application, therefore, the ClearCase and Windows Explorer integration will only work in a 32-bit Windows Explorer.
You are using the workaround for Microsoft Windows XP and Windows Vista 64-bi, which indeed requires to invoke 32-bit version of Windows Explorer to access ClearCase.
You can define a shortcut on the desktop, instead of putting it in a .cmd file, as mentioned in the last answer of this thread, and detailed in this document:
It is important to launch this as a separate process from the Windows desktop.
In order to do that, you must specify the '/separate' parameter to Explorer.
You can create a shortcut to launch the 32-bit Explorer by doing the following
(Note: The following steps have not been shown to work on all versions of Windows.):
Right-click on your Windows desktop, selecting New and Shortcut.
Specify %windir%\SysWoW64\explorer.exe /separate as the location for the target.
You might want to add an initial directory for it to open as well.
In this example case, we want to use it to copy files to my Windows desktop so the following is used as the location for the shortcut:
C:\Windows\SysWOW64\explorer.exe /separate, c:\users\username\desktop /min
In this example, C:\users\username\desktop is the location where Windows 2008 Server saves the user's desktop.
Users, can then click on this icon and drag and drop spooled files and stream files into it, and they appear on the desktop.
There can be some confusion about whether or not an application is running is a 32-bit or 64-bit application. The Windows task manager can be used to identify 32-bit applications though.
If you have the Navigator and the 32-bit Windows Explorer running on a 64-bit version of Windows and open the task manager (press Ctrl+Shift+Esc), you will notice that the 32-bit applications have '*32' after the Image Name.
Note the final /min option, that the OP emptyshell details in the comment:
Without the /min, a command window will also pop up.
With the /win, no command window pops up.
I also discovered that if, in the windows explorer properties, Select Tools, Select Folder Options, Select View Tab, "Launch folder windows in a separate process" is selected, then:
if a person double clicks on C:\Windows\SysWoW64\explorer the ClearCase context menus will be there.
That would be because SysWoW64\explorer is launched as a separate process which is needed for context menus to work with the 32 Bit version of explorer. (Equivalent to the /seperate switch in the command line).

Resources