Project Server Webpart for Sharepoint Portal 2003 - Sharepoint

This is a discussion on Project Server Webpart for Sharepoint Portal 2003 - Sharepoint ; I am very new to the entire Sharepoint arena, and I am having some difficulties. I am attempting to add some project server web parts to my sharepoint portal 2003. I have created the safe controls, added the dll to ...

+ Reply to Thread
Results 1 to 6 of 6

Project Server Webpart for Sharepoint Portal 2003

  1. Default Project Server Webpart for Sharepoint Portal 2003

    I am very new to the entire Sharepoint arena, and I am having some
    difficulties. I am attempting to add some project server web parts to my
    sharepoint portal 2003. I have created the safe controls, added the dll to
    the gac and attempted to upload the webparts. I am now getting an error of
    "Cannot edit this Web Part's properties. The zone this Web Part is in does
    not allow property changes". I have no clue where to begin. I got the
    webparts from the "Microsoft Office 2003 SDKs" donwload from Microsoft.


    I added this line to the web.config in the safe control section (as per
    instructed by the tutorial):

    <SafeControl Assembly="PWAWebParts, Version=12.0.0.0, Culture=neutral,
    PublicKeyToken=dd8403f09dd2b43b" Namespace="PWA" TypeName="*" Safe="True" />

    I also have a security policy setup here as well...not sure if this is what
    is blocking me:

    <securityPolicy>
    <trustLevel name="WSS_Medium" policyFile="C:\Program Files\Common
    Files\Microsoft Shared\Web Server
    Extensions\60\config\wss_mediumtrust.config" />
    <trustLevel name="WSS_Minimal" policyFile="C:\Program Files\Common
    Files\Microsoft Shared\Web Server
    Extensions\60\config\wss_minimaltrust.config" />
    </securityPolicy>

    I had to create a webpart (according to the instructions) that I am assuming
    would some how point to the other webparts. This is the code for
    thPWAWebPArts.dwp file I created (I just copied the code from the example, as
    I was instructed)

    <?xml version="1.0" encoding="utf-8" ?>
    <!-- _lcid="1033" _version="11.0.5510" _dal="1" -->

    <WebPart xmlns="http://schemas.microsoft.com/WebPart/v2">
    <Assembly>PWAWebParts, Version=12.0.0.0, Culture=neutral,
    PublicKeyToken=dd8403f09dd2b43b</Assembly>
    <TypeName>PWA.PWAPart</TypeName>
    <Title>PWA Web Part</Title>
    <Description>Used for viewing PWA information</Description>
    <PartImageLarge>/_layouts/images/mscontl.gif</PartImageLarge>
    </WebPart>

    If, however, I try to import any of the Project web parts that came with the
    sdk, I get this error message" "The page cannot be found
    The page you are looking for might have been removed, had its name changed,
    or is temporarily unavailable. "

    Here is the code for the Tasks.dwp:

    <WebPart xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns="http://schemas.microsoft.com/WebPart/v2">
    <Title>Project Timesheet</Title>
    <FrameType>Default</FrameType>
    <Description>Project Timesheet</Description>
    <PartImageLarge>/_layouts/images/pswebprt.gif</PartImageLarge>
    <FrameState>Normal</FrameState>
    <AllowRemove>true</AllowRemove>
    <AllowZoneChange>true</AllowZoneChange>
    <AllowMinimize>true</AllowMinimize>
    <IsVisible>true</IsVisible>
    <Assembly>Microsoft.SharePoint, Version=11.0.0.0, Culture=neutral,
    PublicKeyToken=71e9bce111e9429c</Assembly>
    <TypeName>Microsoft.SharePoint.WebPartPages.ContentEditorWebPart</TypeName>
    <ContentLink xmlns="http://schemas.microsoft.com/WebPart/v2/ContentEditor"
    />
    <Content
    xmlns="http://schemas.microsoft.com/WebPart/v2/ContentEditor"><![CDATA[
    <script language="JScript">
    var sLoc = window.location.toString();
    if(typeof(L_Menu_BaseUrl) == 'undefined')
    var sPostUrl = sLoc.substr(0, sLoc.lastIndexOf('/')) +
    "/_layouts/pwainc/getprop.aspx";
    else
    var sPostUrl = L_Menu_BaseUrl + "/_layouts/pwainc/getprop.aspx";

    var sRequest = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>";
    sRequest += "<XMLFormData>";
    sRequest += " <READONLY>1</READONLY>";
    sRequest += "</XMLFormData>";

    var xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
    xmlhttp.open("POST", sPostUrl, false);
    xmlhttp.setRequestHeader("Content-Type", "text/xml; charset=utf-8");
    xmlhttp.send(sRequest);

    var sResult = xmlhttp.responseXML;
    if(sResult.childNodes.length > 0)
    {
    var sMSPWAURL = sResult.selectSingleNode("//PWAURL").text;
    var sMSPROJID = sResult.selectSingleNode("//PWAPROJID").text;

    document.write("<iframe src=\"" + sMSPWAURL +
    "Tasks/TasksPage.asp?GanttView=0&AllTasks=0&SimpleUI=109\" width=100%
    height=100%></iframe>");
    }
    </script>
    ]]></Content>
    <PartStorage xmlns="http://schemas.microsoft.com/WebPart/v2/ContentEditor"
    />
    </WebPart>

    Thanks for any help you can offer inadvance. I have been slaving over this
    for several weeks, and I still have not come up with a resolution.

    -Andy


  2. Default Re: Project Server Webpart for Sharepoint Portal 2003

    Possibly a stupid question, but in addition to SPS 2003 do you actually have
    Project Server 2003 ?

    Engelbert

    "Andranik" <Andranik@discussions.microsoft.com> wrote in message
    news:56D2E163-7A40-4DB7-A66F-CAB43A5DB8A7@microsoft.com...
    >I am very new to the entire Sharepoint arena, and I am having some
    > difficulties. I am attempting to add some project server web parts to my
    > sharepoint portal 2003. I have created the safe controls, added the dll
    > to
    > the gac and attempted to upload the webparts. I am now getting an error
    > of
    > "Cannot edit this Web Part's properties. The zone this Web Part is in does
    > not allow property changes". I have no clue where to begin. I got the
    > webparts from the "Microsoft Office 2003 SDKs" donwload from Microsoft.
    >
    >
    > I added this line to the web.config in the safe control section (as per
    > instructed by the tutorial):
    >
    > <SafeControl Assembly="PWAWebParts, Version=12.0.0.0, Culture=neutral,
    > PublicKeyToken=dd8403f09dd2b43b" Namespace="PWA" TypeName="*" Safe="True"
    > />
    >
    > I also have a security policy setup here as well...not sure if this is
    > what
    > is blocking me:
    >
    > <securityPolicy>
    > <trustLevel name="WSS_Medium" policyFile="C:\Program Files\Common
    > Files\Microsoft Shared\Web Server
    > Extensions\60\config\wss_mediumtrust.config" />
    > <trustLevel name="WSS_Minimal" policyFile="C:\Program Files\Common
    > Files\Microsoft Shared\Web Server
    > Extensions\60\config\wss_minimaltrust.config" />
    > </securityPolicy>
    >
    > I had to create a webpart (according to the instructions) that I am
    > assuming
    > would some how point to the other webparts. This is the code for
    > thPWAWebPArts.dwp file I created (I just copied the code from the example,
    > as
    > I was instructed)
    >
    > <?xml version="1.0" encoding="utf-8" ?>
    > <!-- _lcid="1033" _version="11.0.5510" _dal="1" -->
    >
    > <WebPart xmlns="http://schemas.microsoft.com/WebPart/v2">
    > <Assembly>PWAWebParts, Version=12.0.0.0, Culture=neutral,
    > PublicKeyToken=dd8403f09dd2b43b</Assembly>
    > <TypeName>PWA.PWAPart</TypeName>
    > <Title>PWA Web Part</Title>
    > <Description>Used for viewing PWA information</Description>
    > <PartImageLarge>/_layouts/images/mscontl.gif</PartImageLarge>
    > </WebPart>
    >
    > If, however, I try to import any of the Project web parts that came with
    > the
    > sdk, I get this error message" "The page cannot be found
    > The page you are looking for might have been removed, had its name
    > changed,
    > or is temporarily unavailable. "
    >
    > Here is the code for the Tasks.dwp:
    >
    > <WebPart xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    > xmlns="http://schemas.microsoft.com/WebPart/v2">
    > <Title>Project Timesheet</Title>
    > <FrameType>Default</FrameType>
    > <Description>Project Timesheet</Description>
    > <PartImageLarge>/_layouts/images/pswebprt.gif</PartImageLarge>
    > <FrameState>Normal</FrameState>
    > <AllowRemove>true</AllowRemove>
    > <AllowZoneChange>true</AllowZoneChange>
    > <AllowMinimize>true</AllowMinimize>
    > <IsVisible>true</IsVisible>
    > <Assembly>Microsoft.SharePoint, Version=11.0.0.0, Culture=neutral,
    > PublicKeyToken=71e9bce111e9429c</Assembly>
    >
    > <TypeName>Microsoft.SharePoint.WebPartPages.ContentEditorWebPart</TypeName>
    > <ContentLink
    > xmlns="http://schemas.microsoft.com/WebPart/v2/ContentEditor"
    > />
    > <Content
    > xmlns="http://schemas.microsoft.com/WebPart/v2/ContentEditor"><![CDATA[
    > <script language="JScript">
    > var sLoc = window.location.toString();
    > if(typeof(L_Menu_BaseUrl) == 'undefined')
    > var sPostUrl = sLoc.substr(0, sLoc.lastIndexOf('/')) +
    > "/_layouts/pwainc/getprop.aspx";
    > else
    > var sPostUrl = L_Menu_BaseUrl + "/_layouts/pwainc/getprop.aspx";
    >
    > var sRequest = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>";
    > sRequest += "<XMLFormData>";
    > sRequest += " <READONLY>1</READONLY>";
    > sRequest += "</XMLFormData>";
    >
    > var xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
    > xmlhttp.open("POST", sPostUrl, false);
    > xmlhttp.setRequestHeader("Content-Type", "text/xml; charset=utf-8");
    > xmlhttp.send(sRequest);
    >
    > var sResult = xmlhttp.responseXML;
    > if(sResult.childNodes.length > 0)
    > {
    > var sMSPWAURL = sResult.selectSingleNode("//PWAURL").text;
    > var sMSPROJID = sResult.selectSingleNode("//PWAPROJID").text;
    >
    > document.write("<iframe src=\"" + sMSPWAURL +
    > "Tasks/TasksPage.asp?GanttView=0&AllTasks=0&SimpleUI=109\" width=100%
    > height=100%></iframe>");
    > }
    > </script>
    > ]]></Content>
    > <PartStorage
    > xmlns="http://schemas.microsoft.com/WebPart/v2/ContentEditor"
    > />
    > </WebPart>
    >
    > Thanks for any help you can offer inadvance. I have been slaving over
    > this
    > for several weeks, and I still have not come up with a resolution.
    >
    > -Andy
    >




  3. Default Re: Project Server Webpart for Sharepoint Portal 2003

    Yes...sorry...I forgot to add that. Project Server 2003 and Sharepoint
    Portal Server are installed on the same box with the latest updates.

    "Engelbert" wrote:

    > Possibly a stupid question, but in addition to SPS 2003 do you actually have
    > Project Server 2003 ?
    >
    > Engelbert
    >
    > "Andranik" <Andranik@discussions.microsoft.com> wrote in message
    > news:56D2E163-7A40-4DB7-A66F-CAB43A5DB8A7@microsoft.com...
    > >I am very new to the entire Sharepoint arena, and I am having some
    > > difficulties. I am attempting to add some project server web parts to my
    > > sharepoint portal 2003. I have created the safe controls, added the dll
    > > to
    > > the gac and attempted to upload the webparts. I am now getting an error
    > > of
    > > "Cannot edit this Web Part's properties. The zone this Web Part is in does
    > > not allow property changes". I have no clue where to begin. I got the
    > > webparts from the "Microsoft Office 2003 SDKs" donwload from Microsoft.
    > >
    > >
    > > I added this line to the web.config in the safe control section (as per
    > > instructed by the tutorial):
    > >
    > > <SafeControl Assembly="PWAWebParts, Version=12.0.0.0, Culture=neutral,
    > > PublicKeyToken=dd8403f09dd2b43b" Namespace="PWA" TypeName="*" Safe="True"
    > > />
    > >
    > > I also have a security policy setup here as well...not sure if this is
    > > what
    > > is blocking me:
    > >
    > > <securityPolicy>
    > > <trustLevel name="WSS_Medium" policyFile="C:\Program Files\Common
    > > Files\Microsoft Shared\Web Server
    > > Extensions\60\config\wss_mediumtrust.config" />
    > > <trustLevel name="WSS_Minimal" policyFile="C:\Program Files\Common
    > > Files\Microsoft Shared\Web Server
    > > Extensions\60\config\wss_minimaltrust.config" />
    > > </securityPolicy>
    > >
    > > I had to create a webpart (according to the instructions) that I am
    > > assuming
    > > would some how point to the other webparts. This is the code for
    > > thPWAWebPArts.dwp file I created (I just copied the code from the example,
    > > as
    > > I was instructed)
    > >
    > > <?xml version="1.0" encoding="utf-8" ?>
    > > <!-- _lcid="1033" _version="11.0.5510" _dal="1" -->
    > >
    > > <WebPart xmlns="http://schemas.microsoft.com/WebPart/v2">
    > > <Assembly>PWAWebParts, Version=12.0.0.0, Culture=neutral,
    > > PublicKeyToken=dd8403f09dd2b43b</Assembly>
    > > <TypeName>PWA.PWAPart</TypeName>
    > > <Title>PWA Web Part</Title>
    > > <Description>Used for viewing PWA information</Description>
    > > <PartImageLarge>/_layouts/images/mscontl.gif</PartImageLarge>
    > > </WebPart>
    > >
    > > If, however, I try to import any of the Project web parts that came with
    > > the
    > > sdk, I get this error message" "The page cannot be found
    > > The page you are looking for might have been removed, had its name
    > > changed,
    > > or is temporarily unavailable. "
    > >
    > > Here is the code for the Tasks.dwp:
    > >
    > > <WebPart xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    > > xmlns="http://schemas.microsoft.com/WebPart/v2">
    > > <Title>Project Timesheet</Title>
    > > <FrameType>Default</FrameType>
    > > <Description>Project Timesheet</Description>
    > > <PartImageLarge>/_layouts/images/pswebprt.gif</PartImageLarge>
    > > <FrameState>Normal</FrameState>
    > > <AllowRemove>true</AllowRemove>
    > > <AllowZoneChange>true</AllowZoneChange>
    > > <AllowMinimize>true</AllowMinimize>
    > > <IsVisible>true</IsVisible>
    > > <Assembly>Microsoft.SharePoint, Version=11.0.0.0, Culture=neutral,
    > > PublicKeyToken=71e9bce111e9429c</Assembly>
    > >
    > > <TypeName>Microsoft.SharePoint.WebPartPages.ContentEditorWebPart</TypeName>
    > > <ContentLink
    > > xmlns="http://schemas.microsoft.com/WebPart/v2/ContentEditor"
    > > />
    > > <Content
    > > xmlns="http://schemas.microsoft.com/WebPart/v2/ContentEditor"><![CDATA[
    > > <script language="JScript">
    > > var sLoc = window.location.toString();
    > > if(typeof(L_Menu_BaseUrl) == 'undefined')
    > > var sPostUrl = sLoc.substr(0, sLoc.lastIndexOf('/')) +
    > > "/_layouts/pwainc/getprop.aspx";
    > > else
    > > var sPostUrl = L_Menu_BaseUrl + "/_layouts/pwainc/getprop.aspx";
    > >
    > > var sRequest = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>";
    > > sRequest += "<XMLFormData>";
    > > sRequest += " <READONLY>1</READONLY>";
    > > sRequest += "</XMLFormData>";
    > >
    > > var xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
    > > xmlhttp.open("POST", sPostUrl, false);
    > > xmlhttp.setRequestHeader("Content-Type", "text/xml; charset=utf-8");
    > > xmlhttp.send(sRequest);
    > >
    > > var sResult = xmlhttp.responseXML;
    > > if(sResult.childNodes.length > 0)
    > > {
    > > var sMSPWAURL = sResult.selectSingleNode("//PWAURL").text;
    > > var sMSPROJID = sResult.selectSingleNode("//PWAPROJID").text;
    > >
    > > document.write("<iframe src=\"" + sMSPWAURL +
    > > "Tasks/TasksPage.asp?GanttView=0&AllTasks=0&SimpleUI=109\" width=100%
    > > height=100%></iframe>");
    > > }
    > > </script>
    > > ]]></Content>
    > > <PartStorage
    > > xmlns="http://schemas.microsoft.com/WebPart/v2/ContentEditor"
    > > />
    > > </WebPart>
    > >
    > > Thanks for any help you can offer inadvance. I have been slaving over
    > > this
    > > for several weeks, and I still have not come up with a resolution.
    > >
    > > -Andy
    > >

    >
    >
    >


  4. Default Re: Project Server Webpart for Sharepoint Portal 2003

    I see (just now) that you've also asked the question in the .project.server
    newsgroup which might well be the place for it.

    I asked the question as I presumed that you'd need Project Server 2003 for
    these web parts to work ...

    Engelbert

    "Andranik" <Andranik@discussions.microsoft.com> wrote in message
    news:6AB6AA55-06EB-49B8-8B9A-FBEB3A20E678@microsoft.com...
    > Yes...sorry...I forgot to add that. Project Server 2003 and Sharepoint
    > Portal Server are installed on the same box with the latest updates.
    >
    > "Engelbert" wrote:
    >
    >> Possibly a stupid question, but in addition to SPS 2003 do you actually
    >> have
    >> Project Server 2003 ?
    >>
    >> Engelbert
    >>
    >> "Andranik" <Andranik@discussions.microsoft.com> wrote in message
    >> news:56D2E163-7A40-4DB7-A66F-CAB43A5DB8A7@microsoft.com...
    >> >I am very new to the entire Sharepoint arena, and I am having some
    >> > difficulties. I am attempting to add some project server web parts to
    >> > my
    >> > sharepoint portal 2003. I have created the safe controls, added the
    >> > dll
    >> > to
    >> > the gac and attempted to upload the webparts. I am now getting an
    >> > error
    >> > of
    >> > "Cannot edit this Web Part's properties. The zone this Web Part is in
    >> > does
    >> > not allow property changes". I have no clue where to begin. I got the
    >> > webparts from the "Microsoft Office 2003 SDKs" donwload from Microsoft.
    >> >
    >> >
    >> > I added this line to the web.config in the safe control section (as per
    >> > instructed by the tutorial):
    >> >
    >> > <SafeControl Assembly="PWAWebParts, Version=12.0.0.0, Culture=neutral,
    >> > PublicKeyToken=dd8403f09dd2b43b" Namespace="PWA" TypeName="*"
    >> > Safe="True"
    >> > />
    >> >
    >> > I also have a security policy setup here as well...not sure if this is
    >> > what
    >> > is blocking me:
    >> >
    >> > <securityPolicy>
    >> > <trustLevel name="WSS_Medium" policyFile="C:\Program Files\Common
    >> > Files\Microsoft Shared\Web Server
    >> > Extensions\60\config\wss_mediumtrust.config" />
    >> > <trustLevel name="WSS_Minimal" policyFile="C:\Program Files\Common
    >> > Files\Microsoft Shared\Web Server
    >> > Extensions\60\config\wss_minimaltrust.config" />
    >> > </securityPolicy>
    >> >
    >> > I had to create a webpart (according to the instructions) that I am
    >> > assuming
    >> > would some how point to the other webparts. This is the code for
    >> > thPWAWebPArts.dwp file I created (I just copied the code from the
    >> > example,
    >> > as
    >> > I was instructed)
    >> >
    >> > <?xml version="1.0" encoding="utf-8" ?>
    >> > <!-- _lcid="1033" _version="11.0.5510" _dal="1" -->
    >> >
    >> > <WebPart xmlns="http://schemas.microsoft.com/WebPart/v2">
    >> > <Assembly>PWAWebParts, Version=12.0.0.0, Culture=neutral,
    >> > PublicKeyToken=dd8403f09dd2b43b</Assembly>
    >> > <TypeName>PWA.PWAPart</TypeName>
    >> > <Title>PWA Web Part</Title>
    >> > <Description>Used for viewing PWA information</Description>
    >> > <PartImageLarge>/_layouts/images/mscontl.gif</PartImageLarge>
    >> > </WebPart>
    >> >
    >> > If, however, I try to import any of the Project web parts that came
    >> > with
    >> > the
    >> > sdk, I get this error message" "The page cannot be found
    >> > The page you are looking for might have been removed, had its name
    >> > changed,
    >> > or is temporarily unavailable. "
    >> >
    >> > Here is the code for the Tasks.dwp:
    >> >
    >> > <WebPart xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    >> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    >> > xmlns="http://schemas.microsoft.com/WebPart/v2">
    >> > <Title>Project Timesheet</Title>
    >> > <FrameType>Default</FrameType>
    >> > <Description>Project Timesheet</Description>
    >> > <PartImageLarge>/_layouts/images/pswebprt.gif</PartImageLarge>
    >> > <FrameState>Normal</FrameState>
    >> > <AllowRemove>true</AllowRemove>
    >> > <AllowZoneChange>true</AllowZoneChange>
    >> > <AllowMinimize>true</AllowMinimize>
    >> > <IsVisible>true</IsVisible>
    >> > <Assembly>Microsoft.SharePoint, Version=11.0.0.0, Culture=neutral,
    >> > PublicKeyToken=71e9bce111e9429c</Assembly>
    >> >
    >> > <TypeName>Microsoft.SharePoint.WebPartPages.ContentEditorWebPart</TypeName>
    >> > <ContentLink
    >> > xmlns="http://schemas.microsoft.com/WebPart/v2/ContentEditor"
    >> > />
    >> > <Content
    >> > xmlns="http://schemas.microsoft.com/WebPart/v2/ContentEditor"><![CDATA[
    >> > <script language="JScript">
    >> > var sLoc = window.location.toString();
    >> > if(typeof(L_Menu_BaseUrl) == 'undefined')
    >> > var sPostUrl = sLoc.substr(0, sLoc.lastIndexOf('/')) +
    >> > "/_layouts/pwainc/getprop.aspx";
    >> > else
    >> > var sPostUrl = L_Menu_BaseUrl +
    >> > "/_layouts/pwainc/getprop.aspx";
    >> >
    >> > var sRequest = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>";
    >> > sRequest += "<XMLFormData>";
    >> > sRequest += " <READONLY>1</READONLY>";
    >> > sRequest += "</XMLFormData>";
    >> >
    >> > var xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
    >> > xmlhttp.open("POST", sPostUrl, false);
    >> > xmlhttp.setRequestHeader("Content-Type", "text/xml;
    >> > charset=utf-8");
    >> > xmlhttp.send(sRequest);
    >> >
    >> > var sResult = xmlhttp.responseXML;
    >> > if(sResult.childNodes.length > 0)
    >> > {
    >> > var sMSPWAURL = sResult.selectSingleNode("//PWAURL").text;
    >> > var sMSPROJID = sResult.selectSingleNode("//PWAPROJID").text;
    >> >
    >> > document.write("<iframe src=\"" + sMSPWAURL +
    >> > "Tasks/TasksPage.asp?GanttView=0&AllTasks=0&SimpleUI=109\" width=100%
    >> > height=100%></iframe>");
    >> > }
    >> > </script>
    >> > ]]></Content>
    >> > <PartStorage
    >> > xmlns="http://schemas.microsoft.com/WebPart/v2/ContentEditor"
    >> > />
    >> > </WebPart>
    >> >
    >> > Thanks for any help you can offer inadvance. I have been slaving over
    >> > this
    >> > for several weeks, and I still have not come up with a resolution.
    >> >
    >> > -Andy
    >> >

    >>
    >>
    >>




  5. Default Re: Project Server Webpart for Sharepoint Portal 2003

    Just as an FYI...I spoke with the Microsoft technical support. After some
    time we finally figured out my problem. I was trying to import the webparts
    to a sub-area on my portal site. You can import these specific web parts to
    web part pages or top level sites only. Thanks

    "Engelbert" wrote:

    > I see (just now) that you've also asked the question in the .project.server
    > newsgroup which might well be the place for it.
    >
    > I asked the question as I presumed that you'd need Project Server 2003 for
    > these web parts to work ...
    >
    > Engelbert
    >
    > "Andranik" <Andranik@discussions.microsoft.com> wrote in message
    > news:6AB6AA55-06EB-49B8-8B9A-FBEB3A20E678@microsoft.com...
    > > Yes...sorry...I forgot to add that. Project Server 2003 and Sharepoint
    > > Portal Server are installed on the same box with the latest updates.
    > >
    > > "Engelbert" wrote:
    > >
    > >> Possibly a stupid question, but in addition to SPS 2003 do you actually
    > >> have
    > >> Project Server 2003 ?
    > >>
    > >> Engelbert
    > >>
    > >> "Andranik" <Andranik@discussions.microsoft.com> wrote in message
    > >> news:56D2E163-7A40-4DB7-A66F-CAB43A5DB8A7@microsoft.com...
    > >> >I am very new to the entire Sharepoint arena, and I am having some
    > >> > difficulties. I am attempting to add some project server web parts to
    > >> > my
    > >> > sharepoint portal 2003. I have created the safe controls, added the
    > >> > dll
    > >> > to
    > >> > the gac and attempted to upload the webparts. I am now getting an
    > >> > error
    > >> > of
    > >> > "Cannot edit this Web Part's properties. The zone this Web Part is in
    > >> > does
    > >> > not allow property changes". I have no clue where to begin. I got the
    > >> > webparts from the "Microsoft Office 2003 SDKs" donwload from Microsoft.
    > >> >
    > >> >
    > >> > I added this line to the web.config in the safe control section (as per
    > >> > instructed by the tutorial):
    > >> >
    > >> > <SafeControl Assembly="PWAWebParts, Version=12.0.0.0, Culture=neutral,
    > >> > PublicKeyToken=dd8403f09dd2b43b" Namespace="PWA" TypeName="*"
    > >> > Safe="True"
    > >> > />
    > >> >
    > >> > I also have a security policy setup here as well...not sure if this is
    > >> > what
    > >> > is blocking me:
    > >> >
    > >> > <securityPolicy>
    > >> > <trustLevel name="WSS_Medium" policyFile="C:\Program Files\Common
    > >> > Files\Microsoft Shared\Web Server
    > >> > Extensions\60\config\wss_mediumtrust.config" />
    > >> > <trustLevel name="WSS_Minimal" policyFile="C:\Program Files\Common
    > >> > Files\Microsoft Shared\Web Server
    > >> > Extensions\60\config\wss_minimaltrust.config" />
    > >> > </securityPolicy>
    > >> >
    > >> > I had to create a webpart (according to the instructions) that I am
    > >> > assuming
    > >> > would some how point to the other webparts. This is the code for
    > >> > thPWAWebPArts.dwp file I created (I just copied the code from the
    > >> > example,
    > >> > as
    > >> > I was instructed)
    > >> >
    > >> > <?xml version="1.0" encoding="utf-8" ?>
    > >> > <!-- _lcid="1033" _version="11.0.5510" _dal="1" -->
    > >> >
    > >> > <WebPart xmlns="http://schemas.microsoft.com/WebPart/v2">
    > >> > <Assembly>PWAWebParts, Version=12.0.0.0, Culture=neutral,
    > >> > PublicKeyToken=dd8403f09dd2b43b</Assembly>
    > >> > <TypeName>PWA.PWAPart</TypeName>
    > >> > <Title>PWA Web Part</Title>
    > >> > <Description>Used for viewing PWA information</Description>
    > >> > <PartImageLarge>/_layouts/images/mscontl.gif</PartImageLarge>
    > >> > </WebPart>
    > >> >
    > >> > If, however, I try to import any of the Project web parts that came
    > >> > with
    > >> > the
    > >> > sdk, I get this error message" "The page cannot be found
    > >> > The page you are looking for might have been removed, had its name
    > >> > changed,
    > >> > or is temporarily unavailable. "
    > >> >
    > >> > Here is the code for the Tasks.dwp:
    > >> >
    > >> > <WebPart xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    > >> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    > >> > xmlns="http://schemas.microsoft.com/WebPart/v2">
    > >> > <Title>Project Timesheet</Title>
    > >> > <FrameType>Default</FrameType>
    > >> > <Description>Project Timesheet</Description>
    > >> > <PartImageLarge>/_layouts/images/pswebprt.gif</PartImageLarge>
    > >> > <FrameState>Normal</FrameState>
    > >> > <AllowRemove>true</AllowRemove>
    > >> > <AllowZoneChange>true</AllowZoneChange>
    > >> > <AllowMinimize>true</AllowMinimize>
    > >> > <IsVisible>true</IsVisible>
    > >> > <Assembly>Microsoft.SharePoint, Version=11.0.0.0, Culture=neutral,
    > >> > PublicKeyToken=71e9bce111e9429c</Assembly>
    > >> >
    > >> > <TypeName>Microsoft.SharePoint.WebPartPages.ContentEditorWebPart</TypeName>
    > >> > <ContentLink
    > >> > xmlns="http://schemas.microsoft.com/WebPart/v2/ContentEditor"
    > >> > />
    > >> > <Content
    > >> > xmlns="http://schemas.microsoft.com/WebPart/v2/ContentEditor"><![CDATA[
    > >> > <script language="JScript">
    > >> > var sLoc = window.location.toString();
    > >> > if(typeof(L_Menu_BaseUrl) == 'undefined')
    > >> > var sPostUrl = sLoc.substr(0, sLoc.lastIndexOf('/')) +
    > >> > "/_layouts/pwainc/getprop.aspx";
    > >> > else
    > >> > var sPostUrl = L_Menu_BaseUrl +
    > >> > "/_layouts/pwainc/getprop.aspx";
    > >> >
    > >> > var sRequest = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>";
    > >> > sRequest += "<XMLFormData>";
    > >> > sRequest += " <READONLY>1</READONLY>";
    > >> > sRequest += "</XMLFormData>";
    > >> >
    > >> > var xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
    > >> > xmlhttp.open("POST", sPostUrl, false);
    > >> > xmlhttp.setRequestHeader("Content-Type", "text/xml;
    > >> > charset=utf-8");
    > >> > xmlhttp.send(sRequest);
    > >> >
    > >> > var sResult = xmlhttp.responseXML;
    > >> > if(sResult.childNodes.length > 0)
    > >> > {
    > >> > var sMSPWAURL = sResult.selectSingleNode("//PWAURL").text;
    > >> > var sMSPROJID = sResult.selectSingleNode("//PWAPROJID").text;
    > >> >
    > >> > document.write("<iframe src=\"" + sMSPWAURL +
    > >> > "Tasks/TasksPage.asp?GanttView=0&AllTasks=0&SimpleUI=109\" width=100%
    > >> > height=100%></iframe>");
    > >> > }
    > >> > </script>
    > >> > ]]></Content>
    > >> > <PartStorage
    > >> > xmlns="http://schemas.microsoft.com/WebPart/v2/ContentEditor"
    > >> > />
    > >> > </WebPart>
    > >> >
    > >> > Thanks for any help you can offer inadvance. I have been slaving over
    > >> > this
    > >> > for several weeks, and I still have not come up with a resolution.
    > >> >
    > >> > -Andy
    > >> >
    > >>
    > >>
    > >>

    >
    >
    >


  6. Default Re: Project Server Webpart for Sharepoint Portal 2003

    Thanks for the feedback. It''l be useful for some Google searcher in the
    future, I'm sure.

    Engelbert

    "Andranik" <Andranik@discussions.microsoft.com> wrote in message
    news7CC15B2-61A8-4C50-A1D2-3E1D753FB13E@microsoft.com...
    > Just as an FYI...I spoke with the Microsoft technical support. After some
    > time we finally figured out my problem. I was trying to import the
    > webparts
    > to a sub-area on my portal site. You can import these specific web parts
    > to
    > web part pages or top level sites only. Thanks
    >
    > "Engelbert" wrote:
    >
    >> I see (just now) that you've also asked the question in the
    >> .project.server
    >> newsgroup which might well be the place for it.
    >>
    >> I asked the question as I presumed that you'd need Project Server 2003
    >> for
    >> these web parts to work ...
    >>
    >> Engelbert
    >>
    >> "Andranik" <Andranik@discussions.microsoft.com> wrote in message
    >> news:6AB6AA55-06EB-49B8-8B9A-FBEB3A20E678@microsoft.com...
    >> > Yes...sorry...I forgot to add that. Project Server 2003 and Sharepoint
    >> > Portal Server are installed on the same box with the latest updates.
    >> >
    >> > "Engelbert" wrote:
    >> >
    >> >> Possibly a stupid question, but in addition to SPS 2003 do you
    >> >> actually
    >> >> have
    >> >> Project Server 2003 ?
    >> >>
    >> >> Engelbert
    >> >>
    >> >> "Andranik" <Andranik@discussions.microsoft.com> wrote in message
    >> >> news:56D2E163-7A40-4DB7-A66F-CAB43A5DB8A7@microsoft.com...
    >> >> >I am very new to the entire Sharepoint arena, and I am having some
    >> >> > difficulties. I am attempting to add some project server web parts
    >> >> > to
    >> >> > my
    >> >> > sharepoint portal 2003. I have created the safe controls, added the
    >> >> > dll
    >> >> > to
    >> >> > the gac and attempted to upload the webparts. I am now getting an
    >> >> > error
    >> >> > of
    >> >> > "Cannot edit this Web Part's properties. The zone this Web Part is
    >> >> > in
    >> >> > does
    >> >> > not allow property changes". I have no clue where to begin. I got
    >> >> > the
    >> >> > webparts from the "Microsoft Office 2003 SDKs" donwload from
    >> >> > Microsoft.
    >> >> >
    >> >> >
    >> >> > I added this line to the web.config in the safe control section (as
    >> >> > per
    >> >> > instructed by the tutorial):
    >> >> >
    >> >> > <SafeControl Assembly="PWAWebParts, Version=12.0.0.0,
    >> >> > Culture=neutral,
    >> >> > PublicKeyToken=dd8403f09dd2b43b" Namespace="PWA" TypeName="*"
    >> >> > Safe="True"
    >> >> > />
    >> >> >
    >> >> > I also have a security policy setup here as well...not sure if this
    >> >> > is
    >> >> > what
    >> >> > is blocking me:
    >> >> >
    >> >> > <securityPolicy>
    >> >> > <trustLevel name="WSS_Medium" policyFile="C:\Program
    >> >> > Files\Common
    >> >> > Files\Microsoft Shared\Web Server
    >> >> > Extensions\60\config\wss_mediumtrust.config" />
    >> >> > <trustLevel name="WSS_Minimal" policyFile="C:\Program
    >> >> > Files\Common
    >> >> > Files\Microsoft Shared\Web Server
    >> >> > Extensions\60\config\wss_minimaltrust.config" />
    >> >> > </securityPolicy>
    >> >> >
    >> >> > I had to create a webpart (according to the instructions) that I am
    >> >> > assuming
    >> >> > would some how point to the other webparts. This is the code for
    >> >> > thPWAWebPArts.dwp file I created (I just copied the code from the
    >> >> > example,
    >> >> > as
    >> >> > I was instructed)
    >> >> >
    >> >> > <?xml version="1.0" encoding="utf-8" ?>
    >> >> > <!-- _lcid="1033" _version="11.0.5510" _dal="1" -->
    >> >> >
    >> >> > <WebPart xmlns="http://schemas.microsoft.com/WebPart/v2">
    >> >> > <Assembly>PWAWebParts, Version=12.0.0.0, Culture=neutral,
    >> >> > PublicKeyToken=dd8403f09dd2b43b</Assembly>
    >> >> > <TypeName>PWA.PWAPart</TypeName>
    >> >> > <Title>PWA Web Part</Title>
    >> >> > <Description>Used for viewing PWA information</Description>
    >> >> > <PartImageLarge>/_layouts/images/mscontl.gif</PartImageLarge>
    >> >> > </WebPart>
    >> >> >
    >> >> > If, however, I try to import any of the Project web parts that came
    >> >> > with
    >> >> > the
    >> >> > sdk, I get this error message" "The page cannot be found
    >> >> > The page you are looking for might have been removed, had its name
    >> >> > changed,
    >> >> > or is temporarily unavailable. "
    >> >> >
    >> >> > Here is the code for the Tasks.dwp:
    >> >> >
    >> >> > <WebPart xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    >> >> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    >> >> > xmlns="http://schemas.microsoft.com/WebPart/v2">
    >> >> > <Title>Project Timesheet</Title>
    >> >> > <FrameType>Default</FrameType>
    >> >> > <Description>Project Timesheet</Description>
    >> >> > <PartImageLarge>/_layouts/images/pswebprt.gif</PartImageLarge>
    >> >> > <FrameState>Normal</FrameState>
    >> >> > <AllowRemove>true</AllowRemove>
    >> >> > <AllowZoneChange>true</AllowZoneChange>
    >> >> > <AllowMinimize>true</AllowMinimize>
    >> >> > <IsVisible>true</IsVisible>
    >> >> > <Assembly>Microsoft.SharePoint, Version=11.0.0.0, Culture=neutral,
    >> >> > PublicKeyToken=71e9bce111e9429c</Assembly>
    >> >> >
    >> >> > <TypeName>Microsoft.SharePoint.WebPartPages.ContentEditorWebPart</TypeName>
    >> >> > <ContentLink
    >> >> > xmlns="http://schemas.microsoft.com/WebPart/v2/ContentEditor"
    >> >> > />
    >> >> > <Content
    >> >> > xmlns="http://schemas.microsoft.com/WebPart/v2/ContentEditor"><![CDATA[
    >> >> > <script language="JScript">
    >> >> > var sLoc = window.location.toString();
    >> >> > if(typeof(L_Menu_BaseUrl) == 'undefined')
    >> >> > var sPostUrl = sLoc.substr(0, sLoc.lastIndexOf('/')) +
    >> >> > "/_layouts/pwainc/getprop.aspx";
    >> >> > else
    >> >> > var sPostUrl = L_Menu_BaseUrl +
    >> >> > "/_layouts/pwainc/getprop.aspx";
    >> >> >
    >> >> > var sRequest = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>";
    >> >> > sRequest += "<XMLFormData>";
    >> >> > sRequest += " <READONLY>1</READONLY>";
    >> >> > sRequest += "</XMLFormData>";
    >> >> >
    >> >> > var xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
    >> >> > xmlhttp.open("POST", sPostUrl, false);
    >> >> > xmlhttp.setRequestHeader("Content-Type", "text/xml;
    >> >> > charset=utf-8");
    >> >> > xmlhttp.send(sRequest);
    >> >> >
    >> >> > var sResult = xmlhttp.responseXML;
    >> >> > if(sResult.childNodes.length > 0)
    >> >> > {
    >> >> > var sMSPWAURL = sResult.selectSingleNode("//PWAURL").text;
    >> >> > var sMSPROJID =
    >> >> > sResult.selectSingleNode("//PWAPROJID").text;
    >> >> >
    >> >> > document.write("<iframe src=\"" + sMSPWAURL +
    >> >> > "Tasks/TasksPage.asp?GanttView=0&AllTasks=0&SimpleUI=109\"
    >> >> > width=100%
    >> >> > height=100%></iframe>");
    >> >> > }
    >> >> > </script>
    >> >> > ]]></Content>
    >> >> > <PartStorage
    >> >> > xmlns="http://schemas.microsoft.com/WebPart/v2/ContentEditor"
    >> >> > />
    >> >> > </WebPart>
    >> >> >
    >> >> > Thanks for any help you can offer inadvance. I have been slaving
    >> >> > over
    >> >> > this
    >> >> > for several weeks, and I still have not come up with a resolution.
    >> >> >
    >> >> > -Andy
    >> >> >
    >> >>
    >> >>
    >> >>

    >>
    >>
    >>




+ Reply to Thread

Similar Threads

  1. Sharepoint portal server 2003
    By Application Development in forum Sharepoint
    Replies: 4
    Last Post: 10-24-2007, 11:14 AM
  2. Not able to create a new Portal site in Sharepoint Portal Server 2003
    By Application Development in forum Sharepoint
    Replies: 0
    Last Post: 09-11-2007, 03:59 AM
  3. Sharepoint Portal Server 2003
    By Application Development in forum Sharepoint
    Replies: 4
    Last Post: 08-02-2007, 02:30 PM
  4. AJAX with SharePoint Portal Server 2003
    By Application Development in forum Sharepoint
    Replies: 2
    Last Post: 12-12-2006, 12:33 PM
  5. WebPart work on SPS 2.0 but not with SharePoint Portal 2003
    By Application Development in forum Sharepoint
    Replies: 2
    Last Post: 11-30-2006, 12:01 AM