Neven Magdy's Blog

  • Problems in deploying infopath

    While you trying to upload and delete infopath to centeral administrator . you may get this error:

    "A deployment or retraction is already under way for the solution "infopathformname.wsp", and only one deployment or retraction at a time is supported."

    To solve this error do the following steps

    1) Go to Centeral administration(I am assuming that you have permission for this)
    2) Operations tap
    3) Under
    Global Configuration there is Timer Job Definitions
    Click the Timer Job Definitions, then you should be able to see the list of "infopathformname.wsp" . delete it

    4) then run this command "stsadm.exe -o execadmsvcjobs"

  • Using VSTS with MCMS !!

    When you try to use VSTS in project using MCMS2002 you will get this error when you try to checkin any file :

    "Unable to cast object of type 'Microsoft.ContentManagement.DeveloperTools.VisualStudio.Documents.TemplateExplorerDocument' to type 'Microsoft.VisualStudio.Shell.Interop.IVsHierarchy'"

    to solve this problem do the following:

    1. Close Visual Studio 2005.
    2. open the Vwd.webinfo file.

    Set the value of the CmsEnabled property to 0. To do this, use the following syntax <UserProperties CmsEnabled="0"/>

    4. Start Visual Studio 2005 again.

     

     

     

  • Talk to SharePoint through its web services!!!!!

    Windows SharePoint Services comes with sixteen different web services. SharePoint Portal Server 2007 supports an additional five web services. The web services provided by SharePoint do provide a big array of features

    Example:If you have a sharepoint site that contains a lot of lists . and you want to talk to this lists from external site. you can do this through the sharepoint site web services !! . and also you can invoic its functions from your code 

    The table below shows the URLs of exsiting webservices and where you can find each one:-

    WSS Web Services Web Reference
    Administration Service http:///_vti_adm/admin.asmx
    Alerts Service http:///_vti_bin/alerts.asmx>
    Document Workspace Service http:///_vti_bin/dws.asmx>
    Forms Service http:///_vti_bin/forms.asmx>
    Imaging Service http:///_vti_bin/imaging.asmx>
    List Data Retrieval Service http:// /_vti_bin/dspsts.asmx>
    Lists Service  http:///_ vti_bin/lists.asmx>
    Meetings Service http:/// _vti_bin/meetings.asmx>
    Permissions Service http:// /_vti_bin/permissions.asmx>
    Site Data Service http:///_vti_bin/sitedata.asmx>
    Site Service http:///_vti_bin/sites.asmx>
    Users and Groups Service http:///_vti_bin/usergroup.asmx>
    Versions Service http:///_vti_bin/versions.asmx>
    Views Service http:///_vti_bin/views.asmx>
    Web Part Pages Service http:// /_vti_bin/webpartpages.asmx>
    Webs Service http:///_vti_bin/webs.asmx>

     

    The table below shows the URLs to use for each web service provided by SharePoint Portal Server. You can add them the same way as the WSS web services described above.

    WSS Web Services Web Reference
    Area Service http:///_vti_bin/areaservice.asmx>
    Query Service http:///_vti_bin/search.asmx>
    User Profile Service http:// /_vti_bin/userprofileservice.asmx
    SPS Crawl Service http:///_vti_bin/spscrawl.asmx>
    Outlook Adapter Service http:// /_vti_bin/outlookadapter.asmxd>

  • Creating Custom Field Types:

    Custom field types in SharePoint 2007 are pretty cool. They allow you to create your own subclasses of the existing SharePoint field types. You can control pretty much every aspect of the fields behavior and its logic .

     

    To create custom field you must do this steps:

    1)      Build your assembly and install it in the GAC on the server or put it in bin folder in your site folder

    2)       Copy the ascx control to C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\CONTROLTEMPLATES

    3)      Copy the FLDTYPES_Telephone.xml to C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\XML

    4)      Reset IIS

     

    For more details see this article

    Read Article

     

  • MCMS 2002 APIs VS SharePoint Server 2007

    This is a great and very informative article which contains a comparison between MCMS 2002 and MOSS 2007 .

    It also describes a MOSS APIs that helps to do the same functionality provided by MCMS 2002


    Read Article

  • CAS in MOSS

    "Request for the permission of type
      Microsoft.SharePoint.Security.SharePointPermission,
      Microsoft.SharePoint.Security, Version=11.0.0.0, Culture=neutral,
      PublicKeyToken=71e9bce111e9429c failed"


    you can resolve this error by change the trust level in your webconfig file.
    You can specify a level of trust that corresponds to a predefined set of permissions for ASP.NET applications. By default, ASP.NET defines the following trust levels:

    Full
    High
    Medium
    Low
    Minimal
    With the exception of the Full trust level, all trust levels grant only partial trust to the application folder of a virtual server instance. For more information on the ASP.NET trust levels

    steps to change this security level :
    1) local_drive:\Inetpub\wwwroot\wss\VirtualDirectories\yoursite\web.config
    2) search for "trust" and change the level to be "Full"
    it will look like this
    <trust level="Full" originUrl="" />

  • Integrating ASP.NET AJAX with MOSS!!

    Mike posted a very very nice article about how to integrate AJAX with MOSS . step by step how to install it and configure it with MOSS .

    Read the article

    And there is another post posted by Eric its also about configuring AJAX with MOSS

    Read the article

     

Post Calendar

<February 2012>
SuMoTuWeThFrSa
2930311234
567891011
12131415161718
19202122232425
26272829123
45678910

Syndication






© All rights are reserved