Configure Moss 2007 Doc. Library as a KM Repository

I have followed the guide that can be found here http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/e0489149-5c93-2a10-8aaa-da1cd0b6edf3
that shows how to configure the SAP WebDAV Repository Manager to integrate Sharepoint.
I have managed to complete all of the steps, but errors shown at the end of this post are appearing in the log files, and I am unable to see the repository within the KM Content area.
Can anyone help me with how to configure this correctly?
I am using the following versions:
SAP EP 7 SP15
MOSS 2007 SP2
we have implemented single sign of from Windows to EP via kerberos (SPNego), and this functions correctly for users browsing the EP portal - they are not prompted to login at all, so I have not used user mapping.
If anyone can help me with what to look for in order to get this sorted out, it would be very much appreciated!!
Thanks in advance
Regards
Richard
Errors in event log on the EP server:
the repository returned no root collection (null): WebDavRepositoryTest_3
and also this at about the same time:
Message : com.sapportals.wcm.repository.AuthorizationRequiredException
...... (Please let me know if the full error details will be helpful - I have cut it off so this is not too long...)

hi,
we have the same issue.
did you resoled it ? how ?
thanks,
moti

Similar Messages

  • MOSS 2007 document library with 50000 items

    I have a document library in MOSS 2007 which contain 50000 items. The size is around 70GB. Right now it's working fine and there is no slowness or any performance issue but I am afraid it may not be like this forever. What can I do to improve this situation?
    I am thinking of setting expiration on documents and when they expire, move them to a different document library in another site collection. But looks like this kind of behaviour is not available out of the box and I have to write a workflow for this.
    Do you have a better solution?

    One very obvious question to ask is how rapidly the Library is growing.  If you can project when the Library will hit 100 Gb and 150 Gb, this might provide perspective on your situation.
    We all know that 100 Gb is the "recommended" maximum for a content database, but this is definitely not a hard limit.  Depending on the number of users and the intensity of use, this can, in reality, go somewhat higher (if one looks at
    the total size rather than the number of item in a single Library).
    I have a client with MOSS 2007 where I split a content database of over 400 Gb (160 000 docs) into a few separate databases, but even now there is one site collection with a database of about 140 Gb.
    If you did want to clean out document, and you had clear criteria for doing so, then my approach would be to write a small coded solution.  This could be a Visual Studio Console Application that could traverse the entire Library once a month, say, and
    do the requisite move.
    With a workflow, you could get action carried out on new or modified documents (or launch them manually), but it seems that your need is for an automated process that could go through all existing documents to test the given criteria.
    You are right. In my case the size of content DB is over 170GB and there are no performance issues what so ever. May be it is due to the fact that there are few users who use SharePoint and good hardware.
    Yes I want an automated process without user intervention.
    What do you mean by split database? You mean a single content DB split over multiple MDF files in SQL Server or you have multiple content databases for site collections?

  • MOSS 2007 bulk upload tools for upload 80 gb data to library

    hi,
    i have created document library on MOSS 2007 , now i need to upload 80 gb data to library .
    please help.
    Thanks,
    Saidireddy

    Assuming you're migrating from the file system:
    - Windows Explorer view for simple scenarios (limited feedback if something goes wrong)
    - You can try if MS SyncToy supports 2007 (free tool, advanced features)
    - There are free community tools out there on TechNet gallery and CodePlex
    - Lastly, to do an Enterprise level migration you will need to use a commercial product such as DocAve or Quest
    So it depends on your needs and requirements
    Kind regards,
    Margriet Bruggeman
    Lois & Clark IT Services
    web site: http://www.loisandclark.eu
    blog: http://www.sharepointdragons.com

  • MOSS 2007 : Personal Document Library Permissions gone automatically

    Hi All,
    I am using SharePoint version moss 2007. But yesterday permissions for personal document library has disappears and all other users not able to access their folders from same library then I had go back and given permissions manually.
    Can anyone tell me what was the cause for that?
    Thanks in advance....

    a) Having 500GB data in one single content database inj the MOSS 2007 environment does it impacts
    the site performance?
    Inder: Yes, it will impact site performance at large extended, recommended is 200 gb only. Check it IO of your disk to analyze performance issue
    b) Migrating the site collection as is  onto single content database (all 500 GB into one content
    database) into destination SharePoint 2013, does it will be a good practice? Hope SharePoint 2013 content database limit is 200 GB, hence moving 500GB as is into one database will it be good practice?
    Inder: 
    Content database size (all usage scenarios)
    4 TB per content database
    Supported
    Content databases of up to 4 TB are supported when the following requirements are met:
    Disk sub-system performance of 0.25 IOPs per GB. 2 IOPs per GB is recommended for optimal performance.
    You must have developed plans for high availability, disaster recovery, future capacity, and performance testing.
    http://technet.microsoft.com/en-us/library/cc262787%28v=office.15%29.aspx#ContentDB
    c) Does database attach and detach works for the databases which are of size 500GB?
    Inder: Yes it does work
    d) Can we do database attach and detach directly from MOSS 2007 to directly onto SharePoint 2013, without
    hopping onto SharePoint 2010 in between and then later to SharePoint 2013?
    Inder: No, you need to pass through 2010 and then 2013
    e) If moving 500GB data into one content database will not be a good approach, can we split it onto
    multiple databases?
    Inder: you can go with 500 gb
    f) If database attach and detach doesn’t help for databases which are of size 500GB, should we go for
    any tool based approach? If yes, which tool does best fit
    Inder: Below are few tools you can try
    http://www.metalogix.com/Products/Content-Matrix.aspx
    http://en.share-gate.com/
    http://www.avepoint.com/sharepoint-migration-tools/
    http://www.quest.com/sharepoint/migration.aspx
    If this helped you resolve your issue, please mark it Answered

  • How to install SharePoint MOSS 2007 PIK for Crystal Report Server XI R2?

    My configuration is :
    Moss 2007 without any Crystal Report or BO component. on one box with Windows 2003 server
    Cyrstal Report Server XI R2 on another box
    I have downloaded the kit installation: http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/webcontent/uuid/503988db-58c5-2b10-f79d-cb96700417f9 [original link is broken]
    I used this one as they said:
    BusinessObjects XI Release 2 SharePoint 2007 Portal Integration Kit
    Download BusinessObjects XI Release 2 SharePoint 2007 Portal Integration Kit - ZIP 5MB
    I do not have BO Enterprise.
    Thanks,

    Answered my own question.  Managed to upgrade to 5.0 following this process, but follow these instructions with care...
    1.  Stop all CMS services in Config Manager.
    2. Go to Add/Remove programs and click "change" for Crystal Reports Server XI.  Click on "Modify" then change the entry for MySQL4.1.13a to "Entire Feature will be unavailable" (from Enterprise -> Server Components -> Servers - > Central Management Server).  This will remove the existing mySQL version and any data/license key information/customisation, so be wary.
    3. Install the desired version of mySQL.
    4. Use the MySql command line to create a new database - "create DATABASE BOE115;"
    5. In the Central Config Manager, select the CMS and display its properties.  Select the Dependencies tab and remove the old version of mySQL and add the new version.  Click on the Config tab, then Select Datasource.  Select mySQL driver, then complete the details for the newly created database.  Once complete it will still produce an error, at which point you need to select the options to Re-create the Current Datasource.
    6. Once the datasource is sucessfully recreated, restart the Crystal service in the Config Manager.
    7. Open the Config tool, and add your license key. Then Re-Enable all the servers within the Servers page.
    8.  Any other customisation or preferences would need to be re-applied.
    This worked for me, but obviously take care as your existing mySQL database will be completely removed during the process.

  • Are plain text files treated differently in SP 2010 than MOSS 2007?

    We just moved to SP 2010 a week ago.  A user just contacted us asking why the files she accesses are not displaying.
    When she accessed these plain text files in MOSS 2007, they displayed within IE as a full page of text.
    When she accesses these now in SP 2010, she is prompted to download the file.
    These files do not end in .txt - they are names such as 2013.09.20 or whatever.
    Is there a way to configure 2010 to display, without any interpretation, plain text files within the browser?
    Thank you.

    Hi ,
    According to your description, my understanding is that you could not access the txt files with browser after migrading to SharePoint 2010..
    Whether this issue occurred if you upload a new txt file to a library.
    In my testing, everything worked well. The Open Documents in Client Applications by Default feature was acitve, and in the Library Settings->Advanced settings, ‘Use the server default(Open in the client application)’ was selected. When I clicked the file
    name, it promted a dialog like the below, I selected ‘Read-Only’, and clicked OK, the file could open with browser.
    Please go to IE->Tools->Internet Options->Programs->Manage add-ons, enable all add-ons related to SharePoint, compare the result.
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • Access the MOSS 2007 site outside the VM box

    hi all,
     I am having a VM  where MOSS 2007 is installed  and i had restored a .bak file  to a new site collection. so, its perormed successfully. Now the issue i am facing is,i am not able to access this site from outside
    the VM box.i am able to remote desktop to this VM from my desktop and its configured in my company's domain network. 
    mydomain\myusername is the farm admin/login id..
    so when try to acces the url from my desktop,  am getting "page can't be displayed".
     so would like  to know if there is any settings i need to make in order to access the site outside the VM box.

    Hi Richard,
    I thinks the file on the root directory of a SharePoint site is unable to be set with a unique permission, SharePoint securable object are web, list/library, list/library iteml, as what you're going to do, the workaround is
    to put the file in a libary and grant the unique permission.
    http://office.microsoft.com/en-001/windows-sharepoint-services-help/about-controlling-access-to-sites-and-site-content-HA010100144.aspx?CTT=5&origin=HA010100149
    http://office.microsoft.com/en-001/windows-sharepoint-services-help/manage-permissions-for-a-list-library-folder-document-or-list-item-HA010021564.aspx
    http://blogs.msdn.com/b/chandru/archive/2012/04/01/list-of-all-securable-objects-that-have-unique-permission.aspx
    Thanks,
    Daniel Yang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Daniel Yang
    TechNet Community Support

  • MOSS 2007 Content DB used in transnational replication

    Hello,
    I have configured Transnational replication on Moss 2007 content DB over WAN, ?But it works well with small dbs of size 10-12 GB but with 40-60GB database sites are running in error like 404 Site not found....Checked in logs not luck found there also..
    Any help guys.....
    Regards,
    Ashish

    Hello,
    To my knowledge only database mirroring and log shipping was supported with MOSS 2007. Log shipping is specially recommended for content
    databases.
    The following post talks about the benefits of using database mirroring vs log shipping:
    http://blogs.msdn.com/b/mikewat/archive/2007/07/28/database-mirroring-and-log-shipping-which-is-better.aspx
    To know more about these two high availability methods for MOSS 2007, please read the following article:
    http://msdn.microsoft.com/en-US/library/ms179306(v=sql.90).aspx
    http://msdn.microsoft.com/en-US/library/ms190640(v=sql.90).aspx
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com
    hello,
    Thanks for the prompt reply, But would like to include the requirements as i need both end DB active so that can use application from both side and need to replicate to the point 24/7, that's why i had configure
    1 way transnational replication.
    And was successfully able to configure Replication for all varying size DBS but problem is that Site is not coming up for 50GBs Database, SO would like to ask if There any size limitation from Transnational replication with MOSS 2007.
    Regards, Ashish 

  • Manually change version number in doc library

    Hi,
    We are uploading some documents to a MOSS Doc Library and need to force the version of some documents to start at a specific version number - is this possible?
    All the best

    Hello,
          Moss 2007 transact the version internally, that seems no direct way to set version number manually. Here I have some methods you can take reference:
    1.       If you want to directly set a low version document to a higher one, e.g. 1.0 à 5.0. You can achieve it through repeating checkout/checkin operation.
    2.       To the contrary, if you want to directly set a higher version document to a lower one, e.g. 5.0 à 1.0. Then you can try follow process:
    1)     Find the document you need to change the version number in the document library.
    2)     Hover on the document. Click on Version History of the dropdown menu.
    3)     Right click on the Version of the document and click Save and choose a location for the document (i.e. your desktop) and Close. And OK.
    4)      Return to the Document Library.
    5)     Click on Upload Document.
    6)     Find the location of the Document you saved .
    7)      Enter your Version Comments and click Save.
    Hope it can help you.
    Regards,
    Jerry

  • I want to rename a site collection in Moss 2007

    i would like to rename a site http://sharepoint/sites/SCNAME/ to http//SCNAme/ is it possible to do this

    Hi,
    Have you checked this link (Renamesite: Stsadm operation ) -
    http://technet.microsoft.com/en-us/library/cc263038(v=office.12).aspx
    http://support.microsoft.com/kb/939535/en-us
    Or take a backup and restore it to the site collection and usually subsite cannot be moved to Site Collection.
    http://www.codeproject.com/Articles/356985/Moving-a-Sharepoint-Sub-Site-to-its-own-Site-Colle
    or
    http://office.microsoft.com/en-us/sharepoint-server-help/work-with-site-content-and-structure-HA010131723.aspx
    Also see these forum threads -
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/b267ef97-0517-4d13-a5cc-9986a4b7a90f/how-to-convert-subsite-in-to-sitecollection?forum=sharepointadminlegacy
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/b4c18ddc-251d-4882-bfc1-0dfb97740b9f/is-it-posible-to-transfer-the-entire-subsite-data-to-sitecollection?forum=sharepointdevelopmentprevious
    Hope this helps!
    MCITP: SharePoint 2010 Administrator
    MCTS - MOSS 2007 Configuring, .NET 2.0
    | SharePoint Architect | Evangelist |
    http://www.sharepointdeveloper.in/
    http://ramakrishnaraja.blogspot.com/

  • How to set Current User in moss 2007 for Authentication....

    Hi Team,
    We have current running website where we have user id to login but now requirement is that user will login with his Email address. Email is stored in active directory, I'm able to login with fba authentication.  
    I'm able to retrieve the user id of current user using Email but
    I am NOT able to set that user id for current user for further authentication using Moss 2007.
    Please find the source code for login and authentication page:
    //---------------------------Login Page--------------------//
        public partial class Login : System.Web.UI.UserControl
            #region Decleration
            string LoginStatus = null;
            string UserCurrent = null;
           static SPUser siteuser;
           // private static string _randomNumbercheck;
            //private static bool IsLoggedin;      
            Random random;
            #endregion       
            #region Page Load
            protected void Page_Load(object sender, EventArgs e)
                this.hplchangepw.Visible = false;
                this.hplmytask.Visible = false;
                string desturl = SPContext.Current.Site.Url;
                if (!IsPostBack)
                    try
                        string str;
     SPWeb web = SPContext.Current.Web;
                             SPUser siteuser = web. .CurrentUser; 
                        //SPUser siteuser = spWeb.EnsureUser(username);
                        str = (siteuser == null ? "" : siteuser.ToString());
                        this.Login.TitleText = "";
                        this.Login.DestinationPageUrl = desturl;
                        //if (HttpContext.Current.Request.UrlReferrer != null)
                        //    if (this.Page.User.Identity.IsAuthenticated && ((Session["test1"].ToString() == _randomNumbercheck) || LoginControl.Class1.IsLoggedIn))
                         if (this.Page.User.Identity.IsAuthenticated)
                               // _randomNumbercheck = "";
                                this.hplregister.Visible = false;
                                this.hplforgetpassw.Visible = false;
                                this.hplchangepw.Visible = true;
                                this.hplmytask.Visible = true;
                                this.Login.Visible = false;
      if (str.StartsWith("fba_"))
                                    string name = str.Split(':').GetValue(1).ToString();
                                    LoginnameLbl.Text = "<b>" + name.ToString() + "</b>,<br><br>Haryana Urban Development Authority Welcomes
    You. <br><br><br><b><i>\"In The Service Of Masses\"</i></b>";
                                else
                                    string name = str.Split('\\').GetValue(1).ToString();
                                    LoginnameLbl.Text = "<b>" + name.ToString() + "</b>,<br><br>Haryana Urban Development Authority Welcomes
    You. <br><br><br><b><i>\"In The Service Of Masses\"</i></b>";
                            else
                                this.hplchangepw.Visible = false;
                                this.hplmytask.Visible = false;
                                this.Login.Visible = true;
                                LoginnameLbl.Text = "";
                                HttpContext.Current.Session.Clear();
                                HttpContext.Current.Session.Abandon();
                    catch (Exception ex)
                        //HttpContext.Current.Session.Clear();
                        //HttpContext.Current.Session.Abandon();
            #endregion
            #region Get Audit Informations
            public void GetUserInfo()
                try
                    string user = Login.UserName;
                    SPSecurity.RunWithElevatedPrivileges(new SPSecurity.CodeToRunElevated(delegate()
                        using (SPSite oSite = new SPSite(SPContext.Current.Site.ID))
                            using (SPWeb web1 = oSite.OpenWeb(SPContext.Current.Web.ID))
                                SPListItem item = null;
                                SPListItemCollection listItems = null;
                                web1.AllowUnsafeUpdates = true;
                                siteuser = web1.EnsureUser(Session["User"].ToString());// spWeb.EnsureUser(login);
                                listItems = web1.Lists["Audit_Trail"].Items;
                                item = listItems.Add();
                                item["User_ID"] = UserCurrent.ToString(); //Request.ServerVariables["AUTH_USER"];
                                string ip = Request.ServerVariables["HTTP_X_FORWARDED_FOR"];
                                if ((ip == null) || (ip == "") || (ip.ToLower() == "unknown"))
                                    ip = Request.ServerVariables["REMOTE_ADDR"];
                                item["IP_Address"] = ip;
                                item["Login_Date"] = System.DateTime.Now;
                                item["Login_Status"] = LoginStatus.ToString();
                                item.Update();
                                web1.AllowUnsafeUpdates = false;
                                web1.Dispose();
                                oSite.Dispose();
                catch (Exception ex)
            #endregion
            #region MD5Encryption
            private string MD5Encryption(string strToEncrypt)
                System.Text.UTF8Encoding ue = new System.Text.UTF8Encoding();
                byte[] bytes = ue.GetBytes(strToEncrypt);
                // encrypt bytes
                System.Security.Cryptography.MD5CryptoServiceProvider md5 = new System.Security.Cryptography.MD5CryptoServiceProvider();
                byte[] hashBytes = md5.ComputeHash(bytes);
                // Convert the encrypted bytes back to a string (base 16)
                string hashString = "";
                for (int i = 0; i < hashBytes.Length; i++)
                    hashString += Convert.ToString(hashBytes[i], 16).PadLeft(2, '0');
                return hashString.PadLeft(32, '0');
            #endregion
            #region Generate Random Code
            private string GenerateRandomCode()
                random = new Random();
                string s = "";
                for (int i = 0; i <= 6; i++)
                    s = string.Concat(s, this.random.Next(10).ToString());
               // _randomNumbercheck = s;
                return s;
            #endregion
            #region Generate Random String
            public string GenerateHashKey()
                StringBuilder myStr = new StringBuilder();
                myStr.Append(Request.Browser.Browser);
                myStr.Append(Request.Browser.Platform);
                myStr.Append(Request.Browser.MajorVersion);
                myStr.Append(Request.Browser.MinorVersion);
                myStr.Append(Request.LogonUserIdentity.User.Value);
                SHA1 sha = new SHA1CryptoServiceProvider();
                byte[] hashdata = sha.ComputeHash(Encoding.UTF8.GetBytes(myStr.ToString()));
                return Convert.ToBase64String(hashdata);
            #endregion
            #region Check User Authentication
            protected void Login_Authenticate(object sender, AuthenticateEventArgs e)
                Utility hu=new Utility();
                int CheckValue = 0;
                string user = Login.UserName;
                if(user.Contains("@"))
                    CheckValue=1;
                //Encrypted Password
                string HPassword = hash.Value;
                // Verify that the username/password pair is valid
                SqlConnection con = new SqlConnection();
                SqlCommand cmd = new SqlCommand();
                con.ConnectionString = System.Configuration.ConfigurationSettings.AppSettings["FBAPortalConnection"];
                if (con.State == ConnectionState.Closed)
                    con.Open();
                cmd.CommandType = CommandType.StoredProcedure;
                cmd.CommandText = "sp_Portal_ValidatePortalUser";
                cmd.Connection = con;
                cmd.Parameters.Add("@ID", SqlDbType.NVarChar, 256).Value = Login.UserName;
                cmd.Parameters.Add("@Password", SqlDbType.NVarChar, 300).Value = HPassword.ToString();
                cmd.Parameters.Add("@CheckVal", SqlDbType.Int).Value = CheckValue;
                cmd.Parameters.Add(new SqlParameter("@P_Return", SqlDbType.NVarChar, 256));
                cmd.Parameters["@P_Return"].Direction = ParameterDirection.Output;
                cmd.ExecuteNonQuery();
                string CurrentUserName = cmd.Parameters["@P_Return"].Value.ToString();
                cmd.Dispose();
                con.Close();
                //int x = hu.ValidatePortalUser(Login.UserName, HPassword.ToString(), CheckValue);
                if (CurrentUserName != "0")
                    Page.Session["User"] = CurrentUserName;
                    string UserName = Session["User"].ToString();
                    UserCurrent = UserName;
                    LoginStatus = "Successfull";
                    GetUserInfo();
                    e.Authenticated = true;
                    //Session["CustomAuthKey"] = MD5Encryption(Request.ServerVariables["Remote_Addr"] + Request.ServerVariables["Http_Cookie"] + Request.ServerVariables["Auth_User"]);
                    Session["CustomAuthKey"] = MD5Encryption(Request.ServerVariables["Remote_Addr"] + Request.ServerVariables["Http_Cookie"] + UserCurrent.ToString());
                    FormsAuthenticationTicket tkt;
                    String cookiestr;
                    HttpCookie ck;
                    tkt = new FormsAuthenticationTicket(1, UserName, DateTime.Now, DateTime.Now.AddMinutes(15), false, GenerateHashKey());
                    cookiestr = FormsAuthentication.Encrypt(tkt);
                    ck = new HttpCookie(FormsAuthentication.FormsCookieName, cookiestr);
                    ck.Path = FormsAuthentication.FormsCookiePath;
                    Response.Cookies.Add(ck);
                else
                    // Username/password are not valid...
                    Login.FailureText = "Invalid Username / password";
                    e.Authenticated = false;
            #endregion
            #region Login Error
            protected void Login_LoginError(object sender, EventArgs e)
                // Determine why the user could not login
                Login.FailureText = "Your login attempt was not successful. Please try again.";
                // Does there exist a User account for this user
                MembershipUser usrInfo = Membership.GetUser(Login.UserName);
                if (usrInfo != null)
                    // Is this user locked out?
                    if (usrInfo.IsLockedOut)
                        Login.FailureText = "Your account has been locked out because of too many invalid login attempts. Please contact the administrator to have your account unlocked.";
                    else if (!usrInfo.IsApproved)
                        Login.FailureText = "Your account has not yet been approved. You cannot login until an administrator has approved your account.";
                    else
                        Login.FailureText = "Invalid UserName / Password";
                        UserCurrent = usrInfo.UserName;
                        LoginStatus = "UnSucessfull";
                        GetUserInfo();
                else
                    Login.FailureText = "Invalid UserName / Password";
            #endregion
            #region Logged In
            protected void Login_LoggedIn(object sender, EventArgs e)
                string UserName = Session["User"].ToString();           
                LoginControl.Class1.IsLoggedIn = true;
                //If User Email is [email protected] it will be invalid. Prompt the user to update the email id. 
                LoginControl.Utility hu = new LoginControl.Utility();
                DataSet dsuser = hu.getUserDetails(UserName);
                string email;
                if (dsuser.Tables[0].Rows.Count > 0)
                    email = dsuser.Tables[0].Rows[0]["Email"].ToString();
                    if (email.Equals("[email protected]"))
                        Response.Redirect("/Pages/UserUpdates.aspx", true);
                    else
            #endregion
    //-------------------------------- Authentication code----------------------------//
      private void authenticateuser()
                try
                    if (SPContext.Current.Web.CurrentUser != null)
                        using (SPSite spSite = new SPSite(SPContext.Current.Site.Url))
                            using (SPWeb spWep = spSite.OpenWeb())
                                Utility hu = new Utility();
    _userid = spWep.CurrentUser.Name;
                                DataSet ds = new DataSet();
                                ds = hu.GetPlotid(_userid);
                                if (ds.Tables[0].Rows.Count > 0)
                                    _plotid = ds.Tables[0].Rows[0]["plotid"].ToString();
                                else
                                    if (!SPContext.Current.Web.UserIsSiteAdmin && !SPContext.Current.Web.UserIsWebAdmin)
                                        if (!SPContext.Current.Web.IsCurrentUserMemberOfGroup(SPContext.Current.Web.Groups["Allottee"].ID))
                                            SPUtility.HandleAccessDenied(new Exception("You do not have access to this page"));
                    else
                    { SPUtility.HandleAccessDenied(new Exception("Please login")); }
                catch (Exception ex)
                    //  lblMessage.Text = "Error:" + ex.Message;
                    ShowMessage("Following error has occured while executing the desried event :- " + ex.Message);
    Mohan Prakash

    1. Current work flow :-In web site the user have to register themselves in the web site and enters his details along with user id, password and email id. Once user
    is registered then he will login with his user id and password. The user id is picked from login control and that set in “SPWeb.CurrentUser” as user id and system uses "Membership.ValidateUser" method to Authenticate user for login. 
    2. New Requirement: we would like to facilitate the user to login with Email id as well as user id. 
    Problem: 
    We replaced "Membership.ValidateUser" method to our own method to Authenticate user with email id/user id and password. 
    When user is login with user id and password it is working successfully but in the case of email id and password –“the email id is picked from user control and set as
    "HttpContext.Current.User.Identity.Name" but we are not getting “SPWeb.CurrentUser” and it shows null value.” 
    We are able to get user id from database using email id of user. Please help us how we can set user id in "SPContext.Current.Web.CurrentUser".
    Mohan Prakash

  • Migrating from Moss 2007 to SharePoint 2013

    I am reaching out here as we require some inputs around migrating the SharePoint based application from MOSS 2007 to 2013.Please find more details from below
    Requirement:
    Migrating SharePoint site collection (which contains just 1 Top level site and 2 libraries with in it and no item level/library level permissions exists) which is on MOSS 2007 with size of 500GB to SharePoint 2013, hence we like to know your inputs in related
    to this
    Note:
    1) The site collection has its own separate content database
    2) There are nearly 200 thousand documents where the document with higher version is 90
    3) The documents are stored in the libraries with up to third level of folder structure
    4) The site collection is created based on custom site definition (created using visual studio)
    Few things that I like to mention/ask here
    a) Having 500GB data in one single content database inj the MOSS 2007 environment does it impacts the site performance?
    b) Migrating the site collection as is  onto single content database (all 500 GB into one content database) into destination SharePoint 2013, does it will be a good practice? Hope SharePoint 2013 content database limit is 200 GB, hence moving 500GB
    as is into one database will it be good practice?
    c) Does database attach and detach works for the databases which are of size 500GB?
    d) Can we do database attach and detach directly from MOSS 2007 to directly onto SharePoint 2013, without hopping onto SharePoint 2010 in between and then later to SharePoint 2013?
    e) If moving 500GB data into one content database will not be a good approach, can we split it onto multiple databases?
    f) If database attach and detach doesn’t help for databases which are of size 500GB, should we go for any tool based approach? If yes, which tool does best fit?

    a) Having 500GB data in one single content database inj the MOSS 2007 environment does it impacts
    the site performance?
    Inder: Yes, it will impact site performance at large extended, recommended is 200 gb only. Check it IO of your disk to analyze performance issue
    b) Migrating the site collection as is  onto single content database (all 500 GB into one content
    database) into destination SharePoint 2013, does it will be a good practice? Hope SharePoint 2013 content database limit is 200 GB, hence moving 500GB as is into one database will it be good practice?
    Inder: 
    Content database size (all usage scenarios)
    4 TB per content database
    Supported
    Content databases of up to 4 TB are supported when the following requirements are met:
    Disk sub-system performance of 0.25 IOPs per GB. 2 IOPs per GB is recommended for optimal performance.
    You must have developed plans for high availability, disaster recovery, future capacity, and performance testing.
    http://technet.microsoft.com/en-us/library/cc262787%28v=office.15%29.aspx#ContentDB
    c) Does database attach and detach works for the databases which are of size 500GB?
    Inder: Yes it does work
    d) Can we do database attach and detach directly from MOSS 2007 to directly onto SharePoint 2013, without
    hopping onto SharePoint 2010 in between and then later to SharePoint 2013?
    Inder: No, you need to pass through 2010 and then 2013
    e) If moving 500GB data into one content database will not be a good approach, can we split it onto
    multiple databases?
    Inder: you can go with 500 gb
    f) If database attach and detach doesn’t help for databases which are of size 500GB, should we go for
    any tool based approach? If yes, which tool does best fit
    Inder: Below are few tools you can try
    http://www.metalogix.com/Products/Content-Matrix.aspx
    http://en.share-gate.com/
    http://www.avepoint.com/sharepoint-migration-tools/
    http://www.quest.com/sharepoint/migration.aspx
    If this helped you resolve your issue, please mark it Answered

  • Can't open files in Doc Library with IE

    hello all:
    I have a document library which has recently shown an issue.  There are many users that access this library with no problem.  Recently, a few users (3-4) have complained that they are no longer able to view files.  They are definitely able
    to see the folder in which these files reside and then even see the file names & types.  However, when they click on the files they are getting a message saying they don't have permission to view.  The permissions have never been altered and
    they are showing that they have Contribute level of permissions for this Doc Library.
    Now here is the really odd part...it works fine with Chrome, but not IE.  I have tried various versions of IE from 9-11, both in & out of compatibility mode.
    Any suggestions you might have would be appreciated.

    Check these threads, can be helpful for you
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/71cdfcea-2b0c-4a8e-a8d3-1994c5f310b9/cant-open-a-sharepoint-document-template-with-word-2013?forum=sharepointgeneralprevious
    http://social.technet.microsoft.com/Forums/office/en-US/3cbe6b22-e307-485b-a1af-1699cdf5ba86/office-2013-applications-are-not-able-to-open-sharepoint-2007?forum=officeitpro
    Also check this link
    http://deepinsharepoint.wordpress.com/2013/11/11/ie-cannot-open-office-documents-from-sharepoint-2013/
    Adnan Amin MCT, SharePoint Architect | If you find this post useful kindly please mark it as an answer.

  • Unable to enter MOSS 2007 License Key after SP2 upgrade - trial period about to expire

    We are unable to enter the license key as stated in the title. The field does not allow any input. Central Admin shows that our trial period is about to expire very soon. 
    Our environment is MOSS 2007 (Office Sharepoint Server with Enterprise Client Access License) on Server 2003. SP2 is installed, the August 2011 CU (KB2553020) is installed, and the Microsoft suggested fix for this known problem is also installed (KB971620).
    ie. Product expiration date is activated incorrectly. Since those fixes do not work, we are left with the manual entry of the license key. However, that also does not work.
    Still, it shows that the trial period is about to expire. Apparently this fix is also included in any of the CU's after June 2009.
    We have a valid license key for the Enterprise version and have the Enterprise client licenses as well. The License Synchronizer Job has succeeded.
    I have searched the forum and have not seen a answer that resolves this issue.
    Does anyone know what to try next ? We are running out of time.
    Thanks in advance,
    Peter
    <></>
    <> </>

     
    Hi,
    As far as I know, this issue occurs because the installation of the 2007 Microsoft Office SP2 activates the production expiration data incorrectly.
    To resolve this issue, please install one of the following updates according to the following links:
    Update for 2007 Microsoft Office servers (KB971620), 32-Bit Edition
    Download the Update for 2007 Microsoft Office servers (KB971620), 32-Bit Edition package now. (http://download.microsoft.com/download/2/F/5/2F51AB71-1325-49D2-9CB9-18DEC4780E99/office2007-kb971620-fullfile-x86-glb.exe)
    Update for 2007 Microsoft Office servers (KB971620), 64-Bit Edition
    Download the Update for 2007 Microsoft Office servers (KB971620), 64-Bit Edition package now. (http://download.microsoft.com/download/5/B/B/5BBD34A9-C528-42B0-8A5F-9A8997B25C32/office2007-kb971620-fullfile-x64-glb.exe)
    For more information about this issue, see
    http://support.microsoft.com/kb/971620
    After you install one of these updates, you do not have to redeploy the service pack. For information about how to deploy this update, please see the Microsoft TechNet article on how to deploy server updates:
    http://technet.microsoft.com/en-us/library/cc263467.aspx
    Thanks,
    Rock Wang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Rock Wang TechNet Community Support

  • While crawling content from Moss 2007 to Sp2013 its throwing error

    hi,
    When i am trying to crawl the Moss 2007 site content in SP2013 serach I am getting below Error in the Crawl error log.
    I have provided owner access for the Moss 2007 content DB,to the user accout which i am using in SP2013 serach.And also provided read access for this account to the Moss 2007.But still i am unable to crawl.
    1 The URL of the item could not be resolved. The repository might be unavailable, or the crawler proxy settings are not configured. To configure the crawler proxy settings, use Search Administration page.
    2 This item could not be crawled because the repository did not respond within the specified timeout period. Try to crawl the repository at a later time, or increase the timeout value on the Proxy and Timeout page in search administration. You might
    also want to crawl this repository during off-peak usage times.
    3 The crawler could not communicate with the server. Check that the server is available and that the firewall access is configured correctly. If the repository was temporarily unavailable, an incremental crawl will fix this error.
    4 Access is denied. Verify that either the Default Content Access Account has access to this repository, or add a crawl rule to crawl this repository. If the repository being crawled is a SharePoint repository, verify that the account you are using
    has "Full Read" permissions on the SharePoint Web Application being crawled.
    Thanks &amp; Regards, Krishna

    Try to use website as content source to crawl it
    Create disableloopbackcheck registry on all sharepoint servers
    Are you able to browse sharepoint sites from crawl server. 
    check 
    http://blogs.technet.com/b/josebda/archive/2007/03/19/crawling-sharepoint-sites-using-the-sps3-protocol-handler.aspx
    http://sharepoint.stackexchange.com/questions/93691/using-sharepoint-2013-to-crawl-sharepoint-2007
    If you are still struggling you can watch the requests by using Fiddler as a proxy for the crawl process. Then you can kick off the crawl and watch the requests and the response from the 2007 server.

Maybe you are looking for

  • Send a report by email in BI Publisher with Size of attachment is 10MB

    Hi All Is there any way to send an xls file in bi publisher whose size >10MB as an email attachement.Generally say the email server would not accept an attachment >5MB so.....i am looking for is there any way to compress and send these reports probab

  • Error: Empty document found - proceed without sending message.

    Hi, I am using FCC in my Sender CC. Error:  Information     Channel CC_XXXXXXXXXXXXXXXXXX: Converted complete file content to XML format.           Warning     Channel CC_XXXXXXXXXXXX: Empty document found - proceed without sending message. Thnaks, S

  • List of outgiong invoices

    Dear all, is there any TC/Report  which I can use to receive the following data for customer invoices: - Customer No - Name - Invoice No. - Inovice date - Amount - Insured amount (KNB1-VLIBB) - Text Please let me know. Thankds Josip

  • Using external javascript functions

    So I have a couple of scripts that I use to create a 360 image rotation and an auto rotate on page load that I use before animating them in Edge Animate.  Here's an example of what I mean. the 360 rotation is just cycling through a series of images t

  • HT4972 This does not explain how to do the upgrade from IOS4 to 5. How do I do that?

    This does not explain how to do the upgrade from IOS4 to 5. How do I do that? I would be ideal to have a step by step approach I can follow.