publish project with PSI code but no link in the PWA

R

Ray

Hello all. I am using PSI code in an infopath form to publish projects. All
was working fine but since I started using a site template the project
publishes fine but no link appears in the PWA. I can find a link to the
project if I go through the project center however.
Any ideas?
thank you
Ray
 
C

Christina Odom

I'm assuming when you published the project in code, you supplied the
wss url to your site as one of the parameters?
 
R

Ray

Hello. Yes you are correct, I left the wssURL parameter as "" for the default
workspace. No link shows up in the pwa however the project is created and if
I type in the ULR localhost/pwa/project Name I go to the workspace and see
that the site template was used.
Now....
After some testing etc I am thinking that the site template supplied to me
was generated from a workspace that was already linked to a project.
When I use a site template I generated, ensuring to my knowledge that is
was not linked to an existing project all is fine. I look in the event log
for the previous errors and see these types below with the same project ID
16406 (guessing this is the project id)
=========
Standard Information:pSI Entry Point: WssInterop.CreateWssSite
Project User: xxxxx\xxxxx
Correlation Id: e0b07809-446c-4861-bde5-fabc023b0860
PWA Site URL: http://localhost/PWA
SSP Name: ProjectServerSharedServices
PSError: WSSSpWebAlreadyLinkedToProject (16406)
The Web site specified is already linked to another project. Select another
Web site and try again.
=========
So maybe the workspace I am seeing after publishing the project is the
original project the site template was based on? (How to tell?) If so it is
interesting that the queuepublish() method is not an atomic block of actions.
I.E. it seems to publish the project and then fail on the provisioning part.
thank you
Ray
 
C

Christina Odom

Ray--

The list of Projects:Workspaces is under the MOPS Server Settings -->
Operational Policies --> Project Workspaces. that's where you will
find the table with the information you need. Going by what you're
decribing you're correct in your assumptions. The queue error is
probably due to your testing workspace being already linked to another
project. In my own code I tend to publish the project first, go and
do what I need to do with a workspace, then come back and link the
two.
 

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