Enterprise Field Update - Project Center Custom Project Details View

P

Peter Schneider

Hi!

Sorry for the first mail.... ;-)

I've a problem related to enterprise fields:

In a C# Project Addin I update my custom enterprise fields with following
method:

public static void SetEnterpriseField(Task t, string fieldname, string
value)
{
try
{
t.SetField(
Globals.ThisAddIn.Application.FieldNameToFieldConstant(
fieldname, PjFieldType.pjTask),
value);
}
catch {
//...
}
}

After that I'm not able to display my custom project details views which use
the custom enterprise field in pwa, but the value is entered correctly in
the project client...

The error message I get:
"Project Center cannot access the project(s) you are trying to view. It is
most likely that you either don't have permissions to view the project,
another user has deleted this project(s) before you were able to view it or
that another user is in the process of publishing the project."

Any idea?

greetings, Peter
 
P

Peter Schneider

Hi Stephen!

I've found out what was the problem, too strange indeed.. ;-)
The project I'm generating is quite large (5000+ tasks)... it seems that the indexes on the project server databases become
fragmented and they needed to be rebuilt (in the sharepoint logfile it says sql time out).
After that the error message disappears and the project opens normally in pwa.

greetings, Peter
"Stephen Sanderlin" <stephen NS-DOT sanderlin A-NS-T msprojectexperts DOT-NS com> schrieb im Newsbeitrag Very strange. any errors on the project server? Are you waiting long enough for the publish to complete?

--

Stephen Sanderlin

Principal Consultant

MSProjectExperts



For Project Server Consulting: http://www.msprojectexperts.com

For Project Server Training: http://www.projectservertraining.com



Read my blog at: http://www.projectserverhelp.com/

Join the community at: http://forums.epmfaq.com
 
S

Stephen Sanderlin

If you haven't yet seen it, check out
http://blogs.msdn.com/chrisfie/archive/2007/10/25/epm-database-maintenance-tasks.aspx.


--

Stephen Sanderlin

Principal Consultant

MSProjectExperts



For Project Server Consulting: http://www.msprojectexperts.com

For Project Server Training: http://www.projectservertraining.com



Read my blog at: http://www.projectserverhelp.com/

Join the community at: http://forums.epmfaq.com





<
Hi Stephen!



I've found out what was the problem, too strange indeed.. ;-)

The project I'm generating is quite large (5000+ tasks)... it seems that
the indexes on the project server databases become

fragmented and they needed to be rebuilt (in the sharepoint logfile it
says sql time out).

After that the error message disappears and the project opens normally
in pwa.



greetings, Peter

"Stephen Sanderlin" <stephen NS-DOT sanderlin A-NS-T msprojectexperts
DOT-NS com> schrieb im Newsbeitrag

Very strange any errors on the project server? Are you waiting long
enough for the publish to complete?

--

Stephen Sanderlin

Principal Consultant

MSProjectExperts



For Project Server Consulting: http://www.msprojectexperts.com

For Project Server Training: http://www.projectservertraining.com



Read my blog at: http://www.projectserverhelp.com/

Join the community at: http://forums.epmfaq.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top