[Proj 2007] - An item with the same key has already been added

D

Doug_F

My dashboard shows 1 issue assigned to me.
Click the link, see the error above.

Searched the forum and google, not finding anything.

What should I try next?

TIA

Doug
 
D

Doug_F

Ben,

Gladly. What would help? All I have is the symptoms.

I'm new to Project 2007 and PWA and IIS and SharePoint so my debugging
skills are pretty minimal at this point.

Doug
 
B

Ben Howard

Specifically you refer to a link which was not included on the post. Did you
get any error messages?
 
D

Doug_F

Sorry for the confusion.

On my dashboard (URL: http://MyServer/MyProjectServer/default.aspx) is a
hyperlink that says
"You have one active issue assigned to you"

'active issue' is a hyperlink. The actual url buried in the link is:
http://MyServer/MyProjectServer/_layouts/pwa/pws/issueriskcenter.aspx

When I click the link, I am directed to an error page. The url of the error
page is:
http://MyServer/MyProjectServer/_layouts/pwa/pws/issueriskcenter.aspx

The error is the subject line of this thread - "An item with the same key
has already been added."

The error page includes another link to troubleshooting help for SharePoint.
The help is no help since this error is not listed.

I've googled on the error and found nothing specific to Project 2007. I'm
guessing somewhere some table has been dinged and I need to delete something
from somewhere. Not being a Project, MSSQL, IIS, or SharePoint expert, I'm
hesitant to just start deleting stuff...

If you need more information, please let me know what you need and where I
can find it and I'll go looking!

Thanks.

Doug
 
B

Ben Howard

Hi Doug,
Hmm, I've not seen this before. Do you know which project the issue belongs
to, and is the rest of the project workspace functioning correctly? I'd try
and get to the workspace and remove the issue from there.
 
D

Doug_F

The issue was in a project that belongs to me, was created by me, was
complete, but pending approval.

Deleted it, it disappeared from my dashboard.

I emptied the recycle bin just to make sure everything was gone.

I created a new issue, assigned it to me. It showed up on the dashboard as
a new issue. Clicking the link brings me to a 'an item with the same key...'
error page.

Maybe I'll just kill of my project and start fresh - I'm guessing some table
has a corrupt index or something.

FWIW, we've linked the built in 'issue' selection to a different list of
selectable options; we allow folks to create what we're calling an Action
Item or an Anomaly instead of just an Issue. If what I said doesn't make
sense, let me know and I'll fill in the blanks.

Doug
 
K

Kaz Librowski

I think I know how to reproduce this. This should give people a good clue how to fix;

a) Create a project and associated sharepoint sites.
b) Create an issue (or risk) in the sharepoint site.
c) Delete the project using the remove Enterprise object functionality.

This will remove the project and the sharepoint site, but it will leave the "you have 1 issue" message in the project server home page. Clicking on the link will then generate the error reported in this thread. It looks like things aren't being cleaned up properly on deletion of projects.

EggHeadCafe - .NET Developer Portal of Choice
http://www.eggheadcafe.com
 
Top