I am trying to create a new project in PWA but i am receiving this error: "ProjectNameInvalid".

here is my code:

projContext = new ProjectContext(pwaPath);
projContext.Credentials = new System.Net.NetworkCredential(username, pass, domain);
ProjectCreationInformation newProj = new ProjectCreationInformation
    Id = Guid.NewGuid(),
    Name = "1.1. سفارشات",
    Description = "تولید شده به صورت خودکار",
    Start = DateTime.Today.Date,
    EnterpriseProjectTypeId = GetEptUid("Enterprise Project")
PublishedProject newPublishedProj = projContext.Projects.Add(newProj);
QueueJob qJob = projContext.Projects.Update();
JobState jobState = projContext.WaitForQueue(qJob, timeoutSeconds);

it is not because of persian characters, i created many projects with persian characters before.

is there any standard format for Name? or any forbidden characters?

1 Answer 1


It appears that the periods are not allowed. Looking at Project Server error codes, under the error code GeneralInvalidCharacters = 20012 it says:

Some characters are not valid. In addition to the TAB character, the following characters are not valid in a project name: \ / " : ; < > | , . ' ? * #

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.