Wednesday

Access violation error in Quality Center

Issue#1 :


Access violation error

When I try to edit some test case in test plan. I'm getting access violation error.

Can someone please help me resolve this issue.

"Access Violation at address 0B2DF128 in module 'QCLIE~1.OCX'. Read of address 000000E0"



Probable Solutions :


1. suspect that the OCX file needs to be registered.

How to Register an OCX file

If you are receiving errors about an ocx file, registering the
file may solve the problem. To register an ocx file simply
follow the simple steps below.


* the file using windows explorer or My Computer.

Alternatively search for the filename.

* down the shift key and right click on the file. Then click

'Open With...' from the menu.

* 'Open With' dialog box should appear. Click the button

'Other...'.

* to your windowssystem32 directory and select the file

'RegSvr32.exe'. Do a file search for it if you have trouble
locating the exact folder. On Windows 2000 it is typically
located in c:WINNTSystem32. Click Open to select the file.
Then click OK on the 'Open With' dialog.

* should see a message indicating the file was successfully

registered. If you see an error message, try restarting your
computer and going through the above process again.

Bonus : visit : stqadiscussions.blogspot.com for all QC errors

Let me know if this resolves your issue


2. Remove TEMP files, browser history , Cookies and close opened other applications and restart the system then try,let me know if this resolves your prob.


3.Do you have versioning enabled on that project? If so, I wonder if maybe the item has a "checked-out " status somewhere? This may not be the case but a couple of things you can do are.

1. Run Verify & Repair (if needed) on the project.
2. Check for checked out status. In the project, set your filter to show all items that are set as "checked-out". This should show you all that are checked out. Be sure to look in the hidden areas of the filter screen as there are a couple of other places the version status field is located.
3. Bounce your server. If it's a Windows box, the ultimate "fix-all" provided by Microsoft usually works. ;-)


4.First off, to answer your questions, No, doing a V&R won't impact existing integration. Well I should say it shouldn't. The only thing I can think of that could possibly be impacted would be any custom code that has been used for the integration. Although I highly doubt it would be impacted but there is always that 1 in a billion chance it could. What I would suggest is to backup (or export) the project before you run the V&R just in case. We have one project that is highly customized and has a lot of code in it and so far it hasn't been affected by the V&R. The V&R mostly corrects any data integrity issues.

Checked out items will only be available if your project has versioning enabled. You can check for this in the Admin side by selecting your project and look at the menu bar above the project in the main body. (I'm sure there is a technical term for that but I can't think of what it is.) and you'll see an option for versioning. (At least in QC 10 and 11, I don't know about 9.) It will tell you if versioning is enabled or not. If not, then you don't need to worry about it.

The Long way:
If versioning is enabled, then log out of the admin and log into QC under your project that does have versioning enabled. (Under Requirements, Test Lab, Test Plan, Test Rescources, and Defects you can do this.) use your filter and look for "Version Status" as one of your selections. Choose the "Checked_Out" option. Now you can use the "=" symbol off to the left if you want but I haven't really noticed any difference in not using it.

On some areas there is a minimized section, this may also contain a version status selection on some of the areas, be sure to select it as well.

Once you click it will display all the checked out items.

Another way to do it is in the administrator section. (a lot easier in my opinion)

Go to your project.
Expand it to see the database columns.
You can click on the VER_CTRL column to get a quick overview of what is checked in or checked out.

There are a couple of other columns you may want to look at as well. These are:
VC_TEST
VC_REQ
TEST
REQ

In columns that have a lot of results, you can create a SQL script to find just the checked out ones.

This will also give you the related items to it like test ID, Father ID and so on. Once you have that, you can then do a search by using the filter for those items and check them in. (the undo Checkout option in the project side.)

If you haven't, I would definitely read through the admin and user guides as they actually do have a lot of good information in them. If you can't find the answers you need there then this group is awesome for getting help as there are a lot of really knowledgeable people here. Also check out the HP and Vivit forums as there is another really good source of info.

Administrating QC isn't really that difficult until you get into custom content. From my experience I find it easier to use the "out of the box" approach. if you can avoid customizing then do. It makes your job a lot easier. QC does have some "archaic" interfaces and could use an upgrade in those areas, you'll discover those as you work in the application.

Some key skills you should probably look into for administrating QC are SQL and VBScript. These are two areas that you'll find a lot of use. I'm not to great at either but am self teaching so I can take advantage of them. Also, if you don't admin the database, get to know your DBAs. Buy them some donuts now and then and they will be your best friends.


5. when it comes to errors like the one you posted or the .OCX issues I've found that if you run the registry part of CCLeaner on the users system then relaunch HPQC in the browser, it will download the components again and everything should be fine. Sometimes the registry entries for those items get corrupted and CCLeaner will clean that up.


CCleaner is a free tool and is just plain awesome. you can find it at www.piriform.com.




Tip of the day : Finding a software Testing Job

here are many people who would like to get software testing jobs, but they are unsure about how to approach it. This may seem like a dream j...