Problem in getting sandbox path in Content Database

Hello all,
we have created a custom application using Oracle Content database API, which upload files to content database programmatically. For this we are using following code to retrieve sandbox
try
FdkCredential credential = new SimpleFdkCredential(username,password);
ManagersFactory session = ManagersFactory.login(credential,url);
FileManager fileM = session.getFileManager();
Item sandbox = fileM.resolvePath(sandbox_path, null);
Item workspace = (sandbox == null) ? null :
fileM.resolveRelativePath(sandbox.getId(),workspace_name, null);
catch(FDKException e)
e.printStackTrace();
Here, sandbox_path and workspcae_name are the names of sandbox and workspace in contentDB. credential, session and fileM are creating fine, but unable to get the sandbox Item.
when we are running the same application in local, it executed successfully and all the files uploaded successfully. There we didn't get any problem. But the same files when we ported to server and tried to upload files to content database we are unable in getting Item object that is sandbox. Instead of retrieving sandbox we are getting null value. Both custom files and Content Database are on same server.
Can anyone please help use why this is happening.

Hi Nitin,
I think you can use CODE similar to below.
Check the function module SXMI_XMB_SYSLOG_READ for more details. It contains similar logic.
  SUBMIT RSLG0000 LINE-SIZE 255
         WITH TR_TERM  EQ '*'
         WITH TR_DATE  EQ FROM_DATE
         WITH TR_TIME  EQ FROM_TIME
         WITH TR_EDATE EQ TO_DATE
         WITH TR_ETIME EQ TO_TIME
         WITH TR_CPU   EQ SERVER_NAME
       WITH TR_PAGES EQ '003'         " Begrenzung Anzahl Seiten
         WITH TR_USER  EQ LOOKING_FOR_USER
         WITH NOCODEVC EQ 'X'
         WITH NOCOTASK EQ 'X'
         WITH NOCOMAND EQ 'X'
         WITH NOCOTRAN EQ 'X'
         WITH NOCOTERM EQ 'X'
         EXPORTING LIST TO MEMORY
         AND RETURN.
  CALL FUNCTION 'LIST_FROM_MEMORY'
       TABLES
            LISTOBJECT = LIST_IN_MEMORY
       EXCEPTIONS
            OTHERS     = 99.
Thanks,
Ramakrishna
Message was edited by: Ramakrishna Prasad Ramisetti

Similar Messages

  • Existing SharePoint 2010 Content Database Attach – No Site Collections

    First, let me start off by saying that I have read every single thread I could find on this subject, such as:
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/0c34ca6f-0db1-4d61-a48c-c4704dd86513/currentsitecount-is-zero-in-upgraded-site
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/502459b3-0301-4ac3-bfc4-16ea702bb5bc/empty-site-data-after-mounting-content-database?forum=sharepointadminprevious
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/ec472ed5-4cdd-45ca-a327-ccc34c29c0a4/zero-site-collections-when-restoring-sp2010-content-database?forum=sharepointgeneralprevious
    http://social.technet.microsoft.com/Forums/en-US/c8df1760-275a-43a4-b3fc-cf257c56d8e2/orphaned-entry-in-config-database
    That said, even though my situation is a bit different than those posts, I have tried all the things!
    Let me break it down:
    Our prod server is a sad Frankenstein upgrade from Project/SharePoint 2003 to 2007 to 2010. 
    The problem is not on our prod server.
    Our test server was a database attach installation.  It mostly works. 
    The problem is, we have this old content database which housed the project sites that were created on 2003, then upgraded to 2007, then upgraded to 2010 – but when it attaches to the test server, it's empty.  The "current number of site collections"
    in CA shows 0 and the CurrentSiteCount in powershell = 0.
    We have to keep these sites and their links for compliance reasons (7 year retention policy!) and we haven’t really cared that they aren’t working on the test server…except that we are going to be upgrading to 2013 this year, and that’s a database attach
    no matter what.  So I have to solve this now.
    I’ve checked the following:
    The data is there on the database.
    The database name I’m typing is correct.
    The version of the db is up to date.
    The top level site is set to Exclusion.
    Permissions.
    Here’s what I’ve tried:
    Attaching using powershell
    Attaching using Central Admin
    Detaching and reattaching
    Running psconfig
    Resetting IIS
    When the database is unattached, I have tried the “Recover data from an unattached content database” function – it recognizes the database (if I type it in wrong, it tells me I don’t have access) but then finds nothing in the site collections.
    The prod server is perfectly happy with these sites, and we copied the database from prod after the 2010 upgrade, so I don’t know what the issue is.
    I appreciate any thoughts any of you have.  I’m stumped!
    ElliJ 
    Project Solutions Specialist
    http://projectserverpants.wordpress.com/

    Holy lots of errors, batman!!
    I think it's safe to say that the 2010 upgrade didn't hit all our sites, based on the errors and this post:
    http://social.technet.microsoft.com/Forums/projectserver/en-US/c7b19345-3036-4dc1-a174-026796cdee7c/missing-server-side-dependencies-after-project-server-upgrade-from-2003-to-2010?forum=projserv2010setup
    There are serveral missing setup files and one missing assembly:
    Category        : MissingSetupFile
    Error           : True
    UpgradeBlocking : False
    Message         : File [1033\PWA\lists\wplib\dwp\Updates.dwp] is referenced [27
                      5] times in the database [STS_FSHAREPTP01_1], but is not inst
                      alled on the current farm. Please install any feature/solutio
                      n which contains this file.
    Remedy          : One or more setup files are referenced in the database [STS_F
                      SHAREPTP01_1], but are not installed on the current farm. Ple
                      ase install any feature or solution which contains these file
                      s.
    Category        : MissingAssembly
    Error           : True
    UpgradeBlocking : False
    Message         : Assembly [Microsoft.Office.Project.Server.PWA,Version=12.0.0.
                      0,Culture=neutral,PublicKeyToken=71e9bce111e9429c] is referen
                      ced in the database [STS_FSHAREPTP01_1], but is not installed
                       on the current farm. Please install any feature/solution whi
                      ch contains this assembly.
    Remedy          : One or more assemblies are referenced in the database [STS_FS
                      HAREPTP01_1], but are not installed on the current farm. Plea
                      se install any feature or solution which contains these assem
                      blies.
    I guess the question now is - how do we get it to upgrade ALL of the site collections and sites?  I'm actually pretty sure I can figure it out from here, that test was a huge help, thanks!

  • Problem in getting the database connection from a connection pool

    Hai All,
    I am facing a problem in getting the database connection from a connection pool created on weblogic server 8.1.
    I am using the Oracle database 8.1.7.
    I have configured my connection pool, datasource and JNDI in weblogic.
    In my java program i have the following code to retrieve the connection.
    import java.sql.*;    
    import java.util.Hashtable;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    class jdbcshp1 {
        public static void main(String[] args) {
         Connection connection = null;
         try {
               Hashtable ht = new Hashtable();
               ht.put(Context.INITIAL_CONTEXT_FACTORY,"weblogic.jndi.WLInitialContextFactory");  // Wanna get rid of this.
               ht.put(Context.PROVIDER_URL,"t3://localhost:7001"); // wanna get rid of this.
               // Get a context for the JNDI look up
               Context ctx = new InitialContext(ht);
            javax.sql.DataSource ds = (javax.sql.DataSource) ctx.lookup ("myjndi1");
              //Create a connection object
              connection = ds.getConnection();
         The above code is working fine but, the two ht.put statements are creating problem.
    The problem is, after converting the application into WAR file it can be deployed
    on any machine or different port on same machine. My application fails if its deployed on
    weglogicserver which is at different port.
    Is there any way that i can get rid of those ht.put statements or any other way to solve the problem.
    any help is appreciated.
    Thanks in advance
    Pooja.

    Hai All,
    Firstly, thanks for ur reply.
    Even i have seen some code which uses context constructor with out any parameter and works fine.
    i dont understand why its not working for my code.
    When i remove those ht.put code and use context constructor with out any parameter, it giving an error.
    Context ctx = new InitialContext();
    javax.sql.DataSource ds = (javax.sql.DataSource) ctx.lookup ("ocjndi");
    connection = ds.getConnection();The error is as follows:
    javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial
    the above error is forcing me to include those code but if the port number is changed the code will not work. Plz let meknow if some setting have to be made.
    I appreciate all ur valuable help.
    Thanks once again.
    Pooja.

  • File dialog box: how get full path and filename (firefox 3.0 problem)

    Hi,
    I have a smilar problem then discussed in this thread: file dialog box: how get  full path and filename
    Now this solution doesn't seem to work in firefox 3.0,I only get the filename but not the full path.
    I have tried to solve this problem by adding *"netscape.security.PrivilegeManager.enablePrivilege("UniversalFileRead");"* in a javacript function but that doesn't do the trick
    Although when i tested it local it does work.
    Any idees how to solve this?
    Best Regards
    Stijn

    Actually, that is strange and scarry. With 20% of the browser market share they decide to behave like Microsoft did in the past - they want to decide what users need and what they do not need. With 3.0 I have a real problem with some of my applications. They are all tested in IE6, IE7, FF2.0 and they all work the same way (they even work with Opera and Safari). Now, I will for sure not go there and make it work for 3.0, just because 2 out of 200 users use FF3.0. Up to now I have always recomended FF as the best browser. 3.0 causes my opinion to change completely. Competition is always good but it is a question if it is good if we have 20 different browsers out there with equal market shares.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • Getting image path from database( Remote server)  & display in jsp page

    hai frnds,
    i have one doudt regarding in my web application Development
    . I want to Getting image path from database( **Remote server**) & display in jsp page here iam forwarding my control through Servlets
    how this will passiable
    Thanks in Advance
    SonyKamesh
    [email protected]

    hai
    I think ur doubt will be...
    1) Getting a Image From Remote Server( & U stored a only path name in Data Base)
    2) Image r stroed in saparate Drive( Not in Webroot-- where u Created domine )
    Please Any Help Will be Appriciated
    [email protected]
    Edited by: Sonykamesha on Dec 18, 2007 11:02 PM

  • Migrating a Path Based Site Collection to a Host Named Site Collection where the content database is greater than 135 GB

    Hi
    I have a 136 GB content database which will not back up via Backup-SPSite ( Microsoft say you cannot backup more than 100GB).
    So with out Backup / Restore how can I convert a Path Based Site Collection to a Host Named Site Collection  with my 136 GB content database which incidentally uses Remote Blob Storage ?
    Thanks
    Nigel 
    Nigel Price NJPEnterprises

    I see two options:
    Make the Backup-SPSite work despite being over 100GB (that's going to be a supported limit rather than a hard boundary)
    Externalise some of the content and then re-insert it after the move.

  • Problems creating file. Can't get resource path.

    Hey, I'm new to Java with an Actionscript background and I'm using NetBeans IDE.
    Now this comes with my basic lack of understanding for how Java works but I'm getting confused a lot so if someone could just steer me in the right direction I'd be very grateful.
    Essentially I'm checking for a config file and if it's not there, I want to create a default one but the paths are messing me up. class.getResource seems to use the src or the build/classes dir? What's the relationship of these? If I put assets in the src folder should they be moved to the build folder or something like that?
    The actual problem in code is that if I create a file, (config.xml) and put it in my src folder I can grab it using Main.class.getResource("config.xml"); Which is great but if the file's not there it throws an exception..
    Now In actionscript I'd use the File class, which seems very similar to Java's. I'd pass in a literal for the filename "config.xml" and prepend a constant that gives the path of the apps storage directory. If the file's not there then the File.exists property == false.
    What I need is to get the same path that getReresource("config.xml") outputs, but in a File and I can't do that with the exception being thrown because the file's not there.
    Any help appreciated.. I can't read another blog full of different setups or face another Google page of results pertaining to different problems.
    - Chris W

    RoninStretch wrote:
    Essentially I'm checking for a config file and if it's not there, I want to create a default one but the paths are messing me up. class.getResource seems to use the src or the build/classes dir?It looks relative to the classpath, as I recall.
    What's the relationship of these? If I put assets in the src folder should they be moved to the build folder or something like that?NetBeans might do that for you. It's a reasonable thing for a build system to do.
    You might be better off working without an IDE until you're more familiar with Java.
    The actual problem in code is that if I create a file, (config.xml) and put it in my src folder I can grab it using Main.class.getResource("config.xml"); Which is great but if the file's not there it throws an exception..Actually I think getResource will return null if the resource isn't there. Are you not checking for null?
    Now In actionscript I'd use the File class, which seems very similar to Java's. I'd pass in a literal for the filename "config.xml" and prepend a constant that gives the path of the apps storage directory. If the file's not there then the File.exists property == false.The Java File object refers to a path on the filesystem, not a virtual one in the manner of Class.getResource. Check the result of getResource to see if it's null.
    What I need is to get the same path that getReresource("config.xml") outputs, but in a File and I can't do that with the exception being thrown because the file's not there.Can you show us the actual exception and actual code?
    Anyway, if you're packaging all this up in a jar, you wouldn't put the new config.xml that you create in the jar anyway.
    More likely you'd do something like:
    1) check user's home directory for config.xml
    2) if it's not present, check to see if there's a config.xml packaged in your jar.
    3) if the user has any config changes, put them in a config.xml in the user's home directory.
    So you wouldn't be trying to get the path of the default config.xml anyway.
    Or maybe you can use the Preferences framework.

  • Problem about getAccessibleContextAt and get info of invisible contents

    Nowadays I am studying on how to use java access bridge API,Actually I have worked out some codes to successfully getting information of visible contents of java application. I can use GetAccessibleContextFromHWND and getAccessibleChildContext to track information. But I found that there are some invisible controls in my java app, I can use JAVAFerret to track these control by using getAccessibleContextAt (I guess), but when I used this function in my c# code, it always returns zero
    the procedure I did is as follows
    first use FindWindow to get HWND of the app window
    then use GetAccessibleContextFromHWND to get vmid and ac of the main app window
    then use getAccessibleContextAt(vmid,ac,x coordinates ,y coordinates, out acc)
    but acc always is zero , no matter what x, y is .
    I read source code of javaferret , I think what the code did is the same as I did,but why I can not get correct ac
    why is that,and Is there other way to track those invisble control information , Thanks
    Edited by: user9098048 on 2012-3-29 上午4:12

    Yeah i read back my question and i see that i was not clear :P
    What i want to do is to know the window handle of another apllication already running. Im doing some Java.Robot actions to simulate a user but i need to know on what component i am. I guess this should be done using native java... thats all i know for what i searched. The code i found is not working because something changed around java 1.4
    My app has Swing GUI and is using latest java (1.6 build 07)

  • Request time out when creating content database

    Hello,
    my problem is, that i cannot create a SharePoint content database via the central administration.
    My Setup is the following:
    SharePoint Server 2013 Enterprise Farm
    1x Applikation Server/WFE (Windows Server 2012 SP 1)
    1x Database Server MSSQL Server 2012 (Windows Server 2012 SP 1)
    1x TFS 2013 (Windows Server 2012 SP 1)
    all of them are hosted in the same Hyper-V Environment. It is not the fasted Hyper-V Environment existing on planet earth.
    The weirdest part of the problem is, i am able to create a content database via powershell.
    I am running in some kind of time out issue related to the IIS and CA of that Applikation Server.
    Here is the ULS Log from the failling content database creation via CA
    12.18.2014 10:26:09.47 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Monitoring b4ly
    High Leaving Monitored Scope (PostAuthenticateRequestHandler). Execution Time=8,5997
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:26:09.66 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    General g3qj
    High [Forced due to logging gap, cached @ 12/18/2014 10:26:09.50, Original Level: Verbose] url is in site
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:26:09.66 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Asp Runtime aj1kp
    High [Forced due to logging gap, Original Level: Verbose] SPRequestModule.PreSendRequestHeaders
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:26:09.73 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Database ahjqp
    High [Forced due to logging gap, cached @ 12/18/2014 10:26:09.70, Original Level: Verbose] SQL connection time: 14.765 for Data Source=SQLSERVER\DATABASE;Initial Catalog=master;Integrated Security=True;Pooling=False
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:26:09.73 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Topology 8xqz
    High [Forced due to logging gap, Original Level: Medium] Updating SPPersistedObject {0}. Version: {1} Ensure: {2}, HashCode: {3}, Id: {4}, Stack: {5}
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:26:09.77 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Upgrade aj2jl
    High 12/18/2014 10:26:09.77 w3wp (0x2304) 0x1B40 SharePoint Foundation Upgrade ServerSequence aj2jl DEBUG Search ServerSequence returns TargetBuildVersion '15.0.4675.1000' 4deed69c-2f53-a086-14bb-cbf40b020025
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:26:09.77 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Upgrade aj2jk
    High 12/18/2014 10:26:09.77 w3wp (0x2304) 0x1B40 SharePoint Foundation Upgrade ServerSequence aj2jk DEBUG Setting Search ServerSequence version (guid '53d65723-a256-48d7-a477-1d3466089eef') to BuildVersion '15.0.4675.1000'
    4deed69c-2f53-a086-14bb-cbf40b020025 4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:26:09.77 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Upgrade aj2jl
    High 12/18/2014 10:26:09.77 w3wp (0x2304) 0x1B40 SharePoint Foundation Upgrade ServerSequence aj2jl DEBUG Search ServerSequence returns TargetBuildVersion '15.0.4675.1000' 4deed69c-2f53-a086-14bb-cbf40b020025
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:26:09.83 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Database 8acb
    High [Forced due to logging gap, cached @ 12/18/2014 10:26:09.81, Original Level: VerboseEx] Reverting to process identity
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:26:09.83 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Database ahjqp
    High [Forced due to logging gap, Original Level: Verbose] SQL connection time: 0.2565 for Data Source=SQLSERVER\DATABASE;Initial Catalog=SharePoint_2013_Prod_Config;Integrated Security=True;Enlist=False;Pooling=True;Min
    Pool Size=0;Max Pool Size=100;Connect Timeout=400
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:26:12.16 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Database ahjqp
    High [Forced due to logging gap, cached @ 12/18/2014 10:26:09.86, Original Level: Verbose] SQL connection time: 0.1719 for Data Source=SQLSERVER\DATABASE;Initial Catalog=SharePoint_2013_Prod_Config;Integrated Security=True;Enlist=False;Pooling=True;Min
    Pool Size=0;Max Pool Size=100;Connect Timeout=400
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:26:12.16 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Database 8acb
    High [Forced due to logging gap, Original Level: VerboseEx] Reverting to process identity
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:26:12.19 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Topology 84y4
    High Granting VIEW SERVER STATE permission for S-1-5-21-3747686279-3738247048-1854932723-1131.
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:26:12.23 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Topology 84y5
    High VIEW SERVER STATE permission updated successfully.
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:26:12.23 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Topology 84y4
    High Granting CONTROL SERVER permission for S-1-5-21-3747686279-3738247048-1854932723-1131.
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:26:12.25 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Topology 84y5
    High CONTROL SERVER permission updated successfully.
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:26:12.33 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Database 8acb
    High [Forced due to logging gap, cached @ 12/18/2014 10:26:12.30, Original Level: VerboseEx] Reverting to process identity
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:26:12.33 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Database ahjqp
    High [Forced due to logging gap, Original Level: Verbose] SQL connection time: 16.4685 for Data Source=SQLSERVER\DATABASE;Initial Catalog=master;Integrated Security=True;Enlist=False;Pooling=False;Min Pool Size=0;Max
    Pool Size=100;Connect Timeout=400 4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:26:12.39 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Database 8acb
    High [Forced due to logging gap, cached @ 12/18/2014 10:26:12.38, Original Level: VerboseEx] Reverting to process identity
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:26:12.39 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Database ahjqp
    High [Forced due to logging gap, Original Level: Verbose] SQL connection time: 11.6743 for Data Source=SQLSERVER\DATABASE;Initial Catalog=master;Integrated Security=True;Enlist=False;Pooling=False;Min Pool Size=0;Max
    Pool Size=100;Connect Timeout=400 4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:26:12.42 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Database 7t6o
    High The WSS_Content_uitest database does not exist.  It will now be created.
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:26:15.11 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Database ahjqp
    High [Forced due to logging gap, cached @ 12/18/2014 10:26:12.44, Original Level: Verbose] SQL connection time: 9.9785 for Data Source=SQLSERVER\DATABASE;Initial Catalog=master;Integrated Security=True;Enlist=False;Pooling=False;Min
    Pool Size=0;Max Pool Size=100;Connect Timeout=400
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:26:15.11 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Database ab20s
    High [Forced due to logging gap, Original Level: Medium] Setting the {0} option to {1} on the database {2}.
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:26:15.14 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Upgrade ajy0d
    High 12/18/2014 10:26:15.14 w3wp (0x2304) 0x1B40 SharePoint Foundation Upgrade SPUtility ajy0d DEBUG File C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\Template\sql\store.sql, Time out =
    0 sec 4deed69c-2f53-a086-14bb-cbf40b020025
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:28:07.46 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Database ahjqp
    High [Forced due to logging gap, cached @ 12/18/2014 10:26:15.16, Original Level: Verbose] SQL connection time: 11.4389 for Data Source=SQLSERVER\DATABASE;Initial Catalog=WSS_Content_uitest;Integrated Security=True;Enlist=False;Pooling=False;Min
    Pool Size=0;Max Pool Size=100;Connect Timeout=400
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:28:07.46 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Database fa45
    High System.Threading.ThreadAbortException: Thread was being aborted.     at SNIReadSyncOverAsync(SNI_ConnWrapper* , SNI_Packet** , Int32 )     at SNINativeMethodWrapper.SNIReadSyncOverAsync(SafeHandle
    pConn, IntPtr& packet, Int32 timeout)     at System.Data.SqlClient.TdsParserStateObject.ReadSniSyncOverAsync()     at System.Data.SqlClient.TdsParserStateObject.TryReadNetworkPacket()     at System.Data.SqlClient.TdsParserStateObject.TryPrepareBuffer()
        at System.Data.SqlClient.TdsParserStateObject.TryReadByte(Byte& value)     at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler,
    TdsParserStateObject stateObj, Boolean& dataReady)     at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite)     at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1
    completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)     at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()     at Microsoft.SharePoint.Utilities.SqlSession.ExecuteScript(TextReader textReader, Int32
    commandTimeout) 4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:28:07.47 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Database fa46
    High at Microsoft.SharePoint.Utilities.SqlSession.ExecuteScript(String path, Int32 commandTimeout)     at Microsoft.SharePoint.Upgrade.SPUtility.ExecuteSqlFile(SqlSession sqlSession, ISqlSession isqlSession,
    SqlFile sqlFileId, Int32 timeOut)     at Microsoft.SharePoint.Administration.SPDatabase.Provision(SPDatabase database, SqlConnectionStringBuilder connectionString, SqlFile sqlFileId, Dictionary`2 options)     at Microsoft.SharePoint.Administration.SPContentDatabase.Provision()
        at Microsoft.SharePoint.Administration.SPContentDatabaseCollection.Add(SPContentDatabase database, Boolean provision, Guid webApplicationLockId, Int32 addFlags)     at Microsoft.SharePoint.Administration.SPContentDatabaseCollection.Add(Guid
    newDatabaseId, String strDatabaseServer, String strDatabaseName, String strDatabaseUsername, String strDatabasePassword, Int32 warningSiteCount, Int32 maximumSiteCount, Int32 status, Boolean provision, Guid lockId, Int32 addFlags)     at Microsoft.SharePoint.ApplicationPages.NewContentDBPage.BtnSubmit_Click(Object
    sender, EventArgs e)     at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)    
    at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest()     at System.Web.UI.Page.ProcessRequest(HttpContext context)     at
    System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()     at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)     at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception
    error)     at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb)     at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)     at
    System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer,
    IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)     at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr
    pHandler, RequestNotificationStatus& notificationStatus)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr
    rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:28:07.47 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Database tzku
    High ConnectionString: 'Data Source=SQLSERVER\DATABASE;Initial Catalog=WSS_Content_uitest;Integrated Security=True;Enlist=False;Pooling=False;Min Pool Size=0;Max Pool Size=100;Connect Timeout=400'    Partition:
    NULL ConnectionState: Closed ConnectionTimeout: 400
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:28:07.50 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Database tzkv
    High SqlCommand: '--FixO15:3174405 create role SPReadOnly This line should not be changed or removed, otherwise upgrade would fail.  IF NOT EXISTS (SELECT * FROM sys.database_principals WHERE name = N'SPReadOnly'
    AND type = 'R')  CREATE ROLE [SPReadOnly]  DECLARE @objname sysname, @objtype NVARCHAR(max), @datatype NVARCHAR(max), @query NVARCHAR(max)  -- Grant SELECT on all SharePoint stored procedures and functions  DECLARE c CURSOR LOCAL FAST_FORWARD
    FOR      SELECT ROUTINE_NAME, ROUTINE_TYPE, DATA_TYPE      FROM INFORMATION_SCHEMA.ROUTINES      WHERE ROUTINE_SCHEMA = 'DBO'  OPEN c  WHILE 1 = 1  BEGIN      FETCH NEXT FROM c INTO
    @objname, @objtype, @datatype      IF @@FETCH_STATUS = -1          BREAK      IF @@FETCH_STATUS = 0      BEGIN          -- Inline table-valued functions    
         IF (@objtype = 'FUNCTION' AND @datatype = 'TABLE')              SET @query = 'GRANT SELECT ON [dbo].' + quotename(@objname) + ' TO [SPReadOnly]'          EXEC sp_executesql
    @query      END  END  CLOSE c  DEALLOCATE c  -- Grant SELECT on all SharePoint tables  DECLARE c CURSOR LOCAL FAST_FORWARD FOR      SELECT TABLE_NAME      FROM INFORMATION_SCHEMA.TABLES
         WHERE TABLE_SCHEMA = 'DBO'  OPEN c  WHILE 1 = 1  BEGIN      FETCH NEXT FROM c INTO @objname      IF @@FETCH_STATUS = -1          BREAK      IF @@FETCH_STATUS
    = 0      BEGIN          SET @query = 'GRANT SELECT ON [dbo].' + quotename(@objname) + ' TO [SPReadOnly]'          EXEC sp_executesql @query      END  END  CLOSE
    c  DEALLOCATE c  -- Grant EXECUTE on User-defined type where schema is dbo  DECLARE c CURSOR LOCAL FAST_FORWARD FOR      SELECT NAME      FROM SYS.TYPES      WHERE IS_USER_DEFINED = 1    
     AND SCHEMA_ID = schema_id(N'dbo')  OPEN c  WHILE 1 = 1  BEGIN      FETCH NEXT FROM c INTO @objname      IF @@FETCH_STATUS = -1          BREAK      IF @@FETCH_STATUS
    = 0      BEGIN          SET @query = 'GRANT EXECUTE ON TYPE::[dbo].' + quotename(@objname) + ' TO [SPReadOnly]'          EXEC sp_executesql @query      END  END  CLOSE
    c  DEALLOCATE c  '     CommandType: Text CommandTimeout: 0
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:28:07.50 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Database aek90
    High SecurityOnOperationCheck = False
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:28:07.50 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Monitoring b4ly
    High Leaving Monitored Scope (Database.Provision (WSS_Content_uitest on SQLSErver\database)). Execution Time=115148.4664
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:28:07.50 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Topology 8dyx
    High Deleting the SPPersistedObject, SPContentDatabase Name=WSS_Content_uitest.
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:28:07.56 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Topology bw4w
    High [Forced due to logging gap, cached @ 12/18/2014 10:28:07.53, Original Level: Medium] {0}
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:28:07.56 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Database 8acb
    High [Forced due to logging gap, Original Level: VerboseEx] Reverting to process identity
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:28:07.60 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Monitoring b4ly
    High Leaving Monitored Scope (Creating Content Database (WSS_Content_uitest on SQLServer\Database)). Execution Time=115311.5636
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:28:07.64 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Runtime tkau
    Unexpected System.Web.HttpException: Request timed out.
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:28:07.64 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    General ajlz0
    High Getting Error Message for Exception System.Web.HttpException (0x80004005): Request timed out.
    4deed69c-2f53-a086-14bb-cbf40b020025
    12.18.2014 10:28:07.69 w3wp.exe (0x2304)
    0x1B40 SharePoint Foundation
    Micro Trace uls4
    High Micro Trace Tags: 0 b4ly,301 aj2jl,3 aj2jk,0 aj2jl,2423 84y4,35 84y5,4 84y4,11 84y5,181 7t6o,2714 ajy0d,112321 fa45,10 fa46,3 tzku,23 tzkv,0 aek90,0 b4ly,6 8dyx,91 b4ly,38 tkau,13 ajlz0
    4deed69c-2f53-a086-14bb-cbf40b020025
    The working content database creation from powershell looks like this
    12.18.2014 09:45:37.52 PowerShell.exe (0x2058)
    0x1E28 SharePoint Foundation
    Upgrade aj2jl
    High 12/18/2014 09:45:37.52 powershell (0x2058) 0x1E28 SharePoint Foundation Upgrade ServerSequence aj2jl DEBUG Search ServerSequence returns TargetBuildVersion '15.0.4675.1000' 43dae8a1-02e3-43f5-8a06-0417221e6385
    43dae8a1-02e3-43f5-8a06-0417221e6385
    12.18.2014 09:45:37.52 PowerShell.exe (0x2058)
    0x1E28 SharePoint Foundation
    Upgrade aj2jk
    High 12/18/2014 09:45:37.52 powershell (0x2058) 0x1E28 SharePoint Foundation Upgrade ServerSequence aj2jk DEBUG Setting Search ServerSequence version (guid '53d65723-a256-48d7-a477-1d3466089eef') to BuildVersion '15.0.4675.1000'
    43dae8a1-02e3-43f5-8a06-0417221e6385 43dae8a1-02e3-43f5-8a06-0417221e6385
    12.18.2014 09:45:37.52 PowerShell.exe (0x2058)
    0x1E28 SharePoint Foundation
    Upgrade aj2jl
    High 12/18/2014 09:45:37.52 powershell (0x2058) 0x1E28 SharePoint Foundation Upgrade ServerSequence aj2jl DEBUG Search ServerSequence returns TargetBuildVersion '15.0.4675.1000' 43dae8a1-02e3-43f5-8a06-0417221e6385
    43dae8a1-02e3-43f5-8a06-0417221e6385
    12.18.2014 09:45:39.98 PowerShell.exe (0x2058)
    0x1E28 SharePoint Foundation
    Topology 84y4
    High Granting VIEW SERVER STATE permission for S-1-5-21-3747686279-3738247048-1854932723-1131.
    43dae8a1-02e3-43f5-8a06-0417221e6385
    12.18.2014 09:45:40.02 PowerShell.exe (0x2058)
    0x1E28 SharePoint Foundation
    Topology 84y5
    High VIEW SERVER STATE permission updated successfully.
    43dae8a1-02e3-43f5-8a06-0417221e6385
    12.18.2014 09:45:40.02 PowerShell.exe (0x2058)
    0x1E28 SharePoint Foundation
    Topology 84y4
    High Granting CONTROL SERVER permission for S-1-5-21-3747686279-3738247048-1854932723-1131.
    43dae8a1-02e3-43f5-8a06-0417221e6385
    12.18.2014 09:45:40.03 PowerShell.exe (0x2058)
    0x1E28 SharePoint Foundation
    Topology 84y5
    High CONTROL SERVER permission updated successfully.
    43dae8a1-02e3-43f5-8a06-0417221e6385
    12.18.2014 09:45:40.23 PowerShell.exe (0x2058)
    0x1E28 SharePoint Foundation
    Database 7t6o
    High The WSS_Content_powershelltest database does not exist.  It will now be created.
    43dae8a1-02e3-43f5-8a06-0417221e6385
    12.18.2014 09:45:43.03 PowerShell.exe (0x2058)
    0x1E28 SharePoint Foundation
    Upgrade ajy0d
    High 12/18/2014 09:45:43.03 powershell (0x2058) 0x1E28 SharePoint Foundation Upgrade SPUtility ajy0d DEBUG File C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\Template\sql\store.sql, Time
    out = 0 sec 43dae8a1-02e3-43f5-8a06-0417221e6385
    43dae8a1-02e3-43f5-8a06-0417221e6385
    12.18.2014 09:48:52.70 PowerShell.exe (0x2058)
    0x1E28 SharePoint Foundation
    Database 944r
    High Adding S-1-5-21-3747686279-3738247048-1854932723-1131 to the role, db_owner, in the database, WSS_Content_powershelltest.
    43dae8a1-02e3-43f5-8a06-0417221e6385
    12.18.2014 09:48:52.81 PowerShell.exe (0x2058)
    0x1E28 SharePoint Foundation
    Monitoring b4ly
    High Leaving Monitored Scope (Database.Provision (WSS_Content_powershelltest on SQLSERVER\DATABASE)). Execution Time=192653,1989
    43dae8a1-02e3-43f5-8a06-0417221e6385
    12.18.2014 09:48:57.90 PowerShell.exe (0x2058)
    0x1E28 SharePoint Foundation
    Upgrade al2ph
    High 12/18/2014 09:48:57.90 powershell (0x2058) 0x1E28 SharePoint Foundation Upgrade SPContentDatabaseSequence al2ph DEBUG Executing SQL DDL Script. 43dae8a1-02e3-43f5-8a06-0417221e6385
    43dae8a1-02e3-43f5-8a06-0417221e6385
    12.18.2014 09:48:58.03 PowerShell.exe (0x2058)
    0x1E28 SharePoint Foundation
    Upgrade al2ph
    High 12/18/2014 09:48:58.03 powershell (0x2058) 0x1E28 SharePoint Foundation Upgrade SPContentDatabaseSequence al2ph DEBUG Executing SQL DDL Script. 43dae8a1-02e3-43f5-8a06-0417221e6385
    43dae8a1-02e3-43f5-8a06-0417221e6385
    12.18.2014 09:48:58.04 PowerShell.exe (0x2058)
    0x1E28 SharePoint Foundation
    Upgrade al2ph
    High 12/18/2014 09:48:58.04 powershell (0x2058) 0x1E28 SharePoint Foundation Upgrade SPContentDatabaseSequence2 al2ph DEBUG Executing SQL DDL Script. 43dae8a1-02e3-43f5-8a06-0417221e6385
    43dae8a1-02e3-43f5-8a06-0417221e6385
    12.18.2014 09:48:58.15 PowerShell.exe (0x2058)
    0x1E28 SharePoint Foundation
    Upgrade ajyw6
    High 12/18/2014 09:48:58.15 powershell (0x2058) 0x1E28 SharePoint Foundation Upgrade SPHierarchyManager ajyw6 DEBUG [SPTree Value=SPContentDatabase Name=WSS_Content_powershelltest] added to dependency cache by lookup
    43dae8a1-02e3-43f5-8a06-0417221e6385 43dae8a1-02e3-43f5-8a06-0417221e6385
    12.18.2014 09:48:58.23 PowerShell.exe (0x2058)
    0x1E28 SharePoint Foundation
    Database 944r
    High Adding S-1-5-21-3747686279-3738247048-1854932723-1131 to the role, SPDataAccess, in the database, WSS_Content_powershelltest.
    43dae8a1-02e3-43f5-8a06-0417221e6385
    12.18.2014 09:48:58.59 PowerShell.exe (0x2058)
    0x1E28 SharePoint Foundation
    Database bx4r
    High All documents with forward links in content database [SPContentDatabase Name=WSS_Content_powershelltest] is being dirtied.
    43dae8a1-02e3-43f5-8a06-0417221e6385
    12.18.2014 09:48:58.97 PowerShell.exe (0x2058)
    0x1E28 SharePoint Foundation
    Database 944r
    High Adding S-1-5-21-3747686279-3738247048-1854932723-1131 to the role, SPDataAccess, in the database, WSS_Content_powershelltest.
    43dae8a1-02e3-43f5-8a06-0417221e6385
    12.18.2014 09:48:58.98 PowerShell.exe (0x2058)
    0x1E28 SharePoint Foundation
    Monitoring b4ly
    High Leaving Monitored Scope (Creating Content Database (WSS_Content_powershelltest on SQLSERVER\DATABASE)). Execution Time=198893,1578
    43dae8a1-02e3-43f5-8a06-0417221e6385
    The fact that i am able to create a content database through powershell sorts out permissions problems. I am certain of that because the w3wp.exe and the powershell.exe used for both creations were run under the same user.
    The timeout always happens aroud 120 seconds after i started the creation. The creation via powershell takes about 3,5 minutes.
    Here for the folks that ask me, why i haven't asked google or bing or some other search engine.
    I tried the solutions suggested here
    http://www.sharepointpals.com/post/Error-while-Creating-Web-Application-through-Central-Administration , here
    http://anthonyspiteri.net/sharepoint-2010-web-ui-timeout-creating-web-application-quick-fix/ and here
    http://blogs.ibs.com/Duane.Odum/Lists/Posts/Post.aspx?ID=33
    which i thought pointed me to the right solution.
    But those post unfortunatly didnt worked out.
    I also tried to alter the web.config files (i know that isn't recommended or supported, but it didn't change anything so those are back to normal as well)
    So here are my question:
    Can you guys help me solve this issue?
    Are there any other places where timeouts can be managed or defined?
    P.S.: I am new to using this forum. so pls don't crucify me for doing a mistake.
    P.S.S: My english is very poor also :D
    With best regards
    Simon

    Be careful with settings like these because there may be a much deeper issue at hand. I have had an issue with a customer that manifests itself as a timeout on a site collection. It was very hard to track since it didn't happen frequently. We engaged Microsoft
    Support to find out the root cause but all they could point at is a general network issue that pertains to authentication. After digging deeper, we found out that the network issue was caused by a saturated network connectivity to the domain controller that
    impacts a site collection when the database is making an authentication call. Keep this solution as more of a quick fix but be sure to conduct a deeper investigation of the real root cause
    Edwin Sarmiento SQL Server MVP | Microsoft Certified Master
    Blog |
    Twitter | LinkedIn
    SQL Server High Availability and Disaster Recover Deep Dive Course

  • SharePoint PowerPivot feature failing after site collection was backed up and restored (moved to new content database)

    Hi there,
    I am having some strange issue with my PowerPivot for SharePoint but can't figure out what is causing this. Here is what happened:
    I setup PowerPivot (PP) for SharePoint and activate it on few site collections in production environment; I upload a PP workbooks in a library, manage the data refresh schedules, run the data refresh for an external SQL databases, etc. Everything works
    fine for several days.
    One day we decide the move one of the site collections (X) from its current content database to its own (new) content db. The way we did it is that we took the site collection backup in production, restored it in test environment (in its own content
    db; we deleted the old site collection in test first before restoring), checked everything including PP data refreshes etc.; all worked fine.
    Then we did the same thing in production - we deleted the old site collection X, restored the site collection from the same backup file that we used in test environment, everything works fine EXCEPT the PowerPivot refreshes!! :-(
    I am getting these errors: When I click on the workbook, it gives this error "An error occurred during an attempt to establish a connection to the external data source. The following connections failed to refresh: PowerPivot Data"
    When I click OK on error dialogbox, it opens the workbook fine but no slicers/refreshes work now. When I go back to the library and click on "Manage PowerPivot Data Refresh" to open the refresh history/schedule page, it gives this generic but scary
    error: "An unexpected error has occurred. Troubleshoot issues with Microsoft SharePoint Foundation." ULSViewer or Event viewer is not showing anything related to this error!
    Strange thing is that PP refresh works fine in Test environment, as well as on other site collections in production that we didn't touch (which tells me there is nothing wrong with my PP configuration). Did the backup/restore in prd cause anything? Did moving
    it in its own contentdb cause anything? (But then why it works in test environment?) Is there anything wrong with site collection PP feature? Can force reactivating it help??????? I am just lost and going crazy now!
    Please help.
    Asif

    I have found some entries in ULS logs seemingly relevant to this issue as below: Please help. Thanks.
    Note: I have replaced urls with <url> or <server> and username with "domain\user".
    ExternalSource.GetExternalKeyAndStateAndMarkUsed: Populating the session's credentials for external data. Index=0, Credentials=[14337250,
    domain\user]
    ConnectionRequest.ConnectionRequest: New connection request. SessionId=1.V24.1916ClMR0rOQ1F8mQPqtil0V90.5.en-US5.en-US73.-0600#0000-04-00-01T03:00:00:0000#+0000#0000-10-00-01T02:00:00:0000#-006036.7dcb49ef-0dc4-45d2-a0f8-4dc0e18a70f41.N,
    WorkbookVersion=ConnectionInfo.WorkbookVersion: Uri=http://<url>/SQL_PowerPivotTest.xlsx, Version=Monday, 09 September 2013 06:29:42
    Check whether "http://<url>/SQL_PowerPivotTest.xlsx" is in the farm.
    Connecting to "http://<server>/_vti_bin/PowerPivot/Redirector.svc/?DataSource=/team/IT/SiteCollectionDocuments/SQL_PowerPivotTest.xlsx&LocaleID=1033".
    WcfSendRequest: RemoteAddress: 'http://<server>:32843/0a4610a7f75f4ff582ca7329256f0fe3/SSASMidTierService.svc' Channel: 'Microsoft.AnalysisServices.SharePoint.Integration.IGeminiServiceApplicationClient'
    Action: 'http://tempuri.org/IGeminiServiceApplication/GetDatabase' MessageId: 'urn:uuid:44f67e36-7ec2-4fe8-bd4c-277c9d9ddde7'
    WcfReceiveRequest: LocalAddress: 'http://<server>:32843/0a4610a7f75f4ff582ca7329256f0fe3/SSASMidTierService.svc' Channel: 'System.ServiceModel.Channels.ServiceChannel'
    Action: 'http://tempuri.org/IGeminiServiceApplication/GetDatabase' MessageId: 'urn:uuid:44f67e36-7ec2-4fe8-bd4c-277c9d9ddde7'
    Entering monitored scope (ExecuteWcfServerOperation)
    Obtaining routing information for the request using <SERVER> - User:domain\user, DataSource: http://<url>/SQL_PowerPivotTest.xlsx,
    Version: 09/09/2013 06:29:42. (RequestStartTime=[<SERVER>])
    Leaving Monitored Scope (ExecuteWcfServerOperation). Execution Time=10.7664521608193
    EXCEPTION: System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: Unable to find the specified file. (Fault Detail
    is equal to An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is: System.IO.FileNotFoundException: Unable to find the specified file.  
     at Microsoft.SharePoint.SPFile.EnsureUniqueId()   
     at Microsoft.SharePoint.SPFile.get_UniqueId()   
     at Microsoft.AnalysisServices.SharePoint.Integration.Redirector.BackendRedirectService.GetDatabase(String loginName,
    String dataSource, String versionLabel, DateTime fileLastModifiedTimestamp, Int32 localeId, Boolean collectHeathInfo, Boolean createLocal, String serverEndpointAddress)   
     at Microsoft.AnalysisServices.SharePoint.Integration.GeminiServiceApplication.GetDatabase(String loginName, String
    dataSource, String dataSourceVersion, DateTime fileLastModifiedTimestamp, Int32 localeId, Boolean collectHeathInfo, Boolean createLocal, String serverEndpointAddress)   
     at SyncInvokeGetDatabase(Object , Object[] , Object[] )   
     at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)   
     at Sy...).
    Proxy encountered an error while trying to get the sandbox information. This request will be terminated
    EXCEPTION: System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: Unable to find the specified file. (Fault Detail
    is equal to An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is: System.IO.FileNotFoundException: Unable to find the specified file.  
     at Microsoft.SharePoint.SPFile.EnsureUniqueId()   
     at Microsoft.SharePoint.SPFile.get_UniqueId()   
     at Microsoft.AnalysisServices.SharePoint.Integration.Redirector.BackendRedirectService.GetDatabase(String loginName,
    String dataSource, String versionLabel, DateTime fileLastModifiedTimestamp, Int32 localeId, Boolean collectHeathInfo, Boolean createLocal, String serverEndpointAddress)   
     at Microsoft.AnalysisServices.SharePoint.Integration.GeminiServiceApplication.GetDatabase(String loginName, String
    dataSource, String dataSourceVersion, DateTime fileLastModifiedTimestamp, Int32 localeId, Boolean collectHeathInfo, Boolean createLocal, String serverEndpointAddress)   
     at SyncInvokeGetDatabase(Object , Object[] , Object[] )   
     at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)   
     at Sy...).
    PF_CHECK_ERROR returned 'critical hresult error' 0x80004005 ; Stack Trace:NA
    PF_CHECK_ERROR returned 'critical hresult error' 0x80004005 ; Stack Trace:NA
    PF_CHECK_ERROR returned 'hresult error' 0x80040e41 ; Stack Trace:NA
    ConnectionManager.GetConnection: Failed to create new connection, exception=Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionException:
    Exception of type 'Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionException' was thrown.   
     at Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionInterop.InitConnection()   
     at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.<>c__DisplayClass3.<CreateConnection>b__0()   
     at Microsoft.Office.Excel.Server.Credentials.TryExecuteImpersonated(WindowsIdentity wi, ExecuteImpersonatedMethod
    method, Boolean dispose)   
     at Microsoft.Office.Excel.Server.Credentials.TryExecuteImpersonated(ExecuteImpersonatedMethod method, Boolean
    dispose)   
     at Microsoft.Office.Excel.Server.CalculationServer.CredentialsDelegation.TryExecuteImpersonated(ExecuteImpersonatedMethod
    method)   
     at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.CreateConnection(Credentials credentials,
    ConnectionInfo connectionInfo, Int32 keyLcid, Uri workbookUrl, Boolean auditConnection, SessionId sessionId), sessionId=1.V24.1916ClMR0rOQ1F8mQPqtil0V90.5.en-US5.en-US73.-0600#0000-04-00-01T03:00:00:0000#+0000#0000-10-00-01T02:00:00:0000#-006036.7dcb49ef-0dc4-45d2-a0f8-4dc0e18a70f41.N,
    connectionString=Provider=MSOLAP.4;Persist Security Info=True;Initial Catalog=Microsoft_SQLServer_AnalysisServices;Data Source=$Embedded$;MDX Compatibility=1;Safety Options=2;MDX Missing Member Mode=Error;Optimize Response=3;Cell Error Mode=TextValue pool
    count=0
    ConnectionManager.GetConnection: Caught an exception: Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionException:
    Exception of type 'Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionException' was thrown.   
     at Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionInterop.InitConnection()   
     at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.<>c__DisplayClass3.<CreateConnection>b__0()   
     at Microsoft.Office.Excel.Server.Credentials.TryExecuteImpersonated(WindowsIdentity wi, ExecuteImpersonatedMethod
    method, Boolean dispose)   
     at Microsoft.Office.Excel.Server.Credentials.TryExecuteImpersonated(ExecuteImpersonatedMethod method, Boolean
    dispose)   
     at Microsoft.Office.Excel.Server.CalculationServer.CredentialsDelegation.TryExecuteImpersonated(ExecuteImpersonatedMethod
    method)   
     at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.CreateConnection(Credentials credentials,
    ConnectionInfo connectionInfo, Int32 keyLcid, Uri workbookUrl, Boolean auditConnection, SessionId sessionId)   
     at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.CreateConnectionAndAddToList(ConnectionRequest
    connectionRequest, ExtendedConnectionInfo extendedConnInfo, Credentials credentials, Boolean auditConnection, Int32 keyLcid, ConnectionInfo connectionInfo, ConnectionKey connectionKey, AutoReaderWriterLock autoPoolLock, Connection& connection, ConnectionList&
    connectionList)   
     at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.GetConnection(ConnectionRequest connectionRequest,
    ExtendedConnectionInfo extendedConnInfo, Credentials credentials, Int64 privateConnectionId, Boolean auditConnection)
    Refresh failed for 'PowerPivot Data' in the workbook 'http://<url>/SQL_PowerPivotTest.xlsx'.
    [Session: 1.V24.1916ClMR0rOQ1F8mQPqtil0V90.5.en-US5.en-US73.-0600#0000-04-00-01T03:00:00:0000#+0000#0000-10-00-01T02:00:00:0000#-006036.7dcb49ef-0dc4-45d2-a0f8-4dc0e18a70f41.N User: 0#.w|domain\user]
    ExternalSource.ValidateConnection: Unable to get a connection: Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionException:
    Exception of type 'Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionException' was thrown.   
     at Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionInterop.InitConnection()   
     at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.<>c__DisplayClass3.<CreateConnection>b__0()   
     at Microsoft.Office.Excel.Server.Credentials.TryExecuteImpersonated(WindowsIdentity wi, ExecuteImpersonatedMethod
    method, Boolean dispose)   
     at Microsoft.Office.Excel.Server.Credentials.TryExecuteImpersonated(ExecuteImpersonatedMethod method, Boolean
    dispose)   
     at Microsoft.Office.Excel.Server.CalculationServer.CredentialsDelegation.TryExecuteImpersonated(ExecuteImpersonatedMethod
    method)   
     at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.CreateConnection(Credentials credentials,
    ConnectionInfo connectionInfo, Int32 keyLcid, Uri workbookUrl, Boolean auditConnection, SessionId sessionId)   
     at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.CreateConnectionAndAddToList(ConnectionRequest
    connectionRequest, ExtendedConnectionInfo extendedConnInfo, Credentials credentials, Boolean auditConnection, Int32 keyLcid, ConnectionInfo connectionInfo, ConnectionKey connectionKey, AutoReaderWriterLock autoPoolLock, Connection& connection, ConnectionList&
    connectionList)   
     at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.GetConnection(ConnectionRequest connectionRequest,
    ExtendedConnectionInfo extendedConnInfo, Credentials credentials, Int64 privateConnectionId, Boolean auditConnection)   
     at Microsoft.Office.Excel.Server.CalculationServer.ExternalSource.TryGetValidatedConnection(Request request, Credentials
    credentials, ExtendedConnectionInfo extendedConnectionInfo, Boolean shouldReportFailure, Boolean auditConnection, Connection& connectionOut). sessionId=1.V24.1916ClMR0rOQ1F8mQPqtil0V90.5.en-US5.en-US73.-0600#0000-04-00-01T03:00:00:0000#+0000#0000-10-00-01T02:00:00:0000#-006036.7dcb49ef-0dc4-45d2-a0f8-4dc0e18a70f41.N,
    externalSource=PowerPivot Data
    ConnectionInfoManager.InitConnInfoFromOdcFile: ODC File Uri is not valid:
    ExternalSource.ExecuteOperation: We exhausted all available connection information. Exception: Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionInfoException:
    Exception of type 'Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionInfoException' was thrown.   
     at Microsoft.Office.Excel.Server.CalculationServer.ConnectionInfoManager.GetConnectionInfo(Request request, String
    externalSourceName, Int32 externalSourceIndex, Boolean& shouldReportFailure)   
     at Microsoft.Office.Excel.Server.CalculationServer.ExternalSource.ExecuteOperation(Request request, ExternalSourceStateInfo externalSourceStateInfo,
    ExternalSourceStateInfo prevExternalSourceStateInfo, Int32 index, ConnectionInfoManager connectionInfoManager, ExternalDataScenario scenario, DataOperation dataOperation, Boolean verifyPreOperationConnection), Data Connection Name:
    PowerPivot Data, SessionId: 1.V24.1916ClMR0rOQ1F8mQPqtil0V90.5.en-US5.en-US73.-0600#0000-04-00-01T03:00:00:0000#+0000#0000-10-00-01T02:00:00:0000#-006036.7dcb49ef-0dc4-45d2-a0f8-4dc0e18a70f41.N, UserId: 0#.w|domain\user

  • Content Database Status Error in SharePoint 2010 Central Administration

    Hi,
    I am having a new problem with SharePoint 2010 on Windows Server 2008 R2. I have SQL Server 2008 R2 as SharePoint Database on Windows Server 2008 R2. I have total no. of
    Seven Content Databases for one Web Application. I found
    two of my Content Databases showing Error under the
    Database Status column in Manage Content Database section in
    Central Administration. Five Content Databases are showing
    Started.
    Would someone please guide how to resolve it and whats wrong is going on? 
    Thanks in advance.

    What is the output of:
    $db = Get-SPContentDatabase <error'ed db name>
    $db.Status
    And can you set it to Started?
    $db = Get-SPContentDatabase <error'ed db name>
    $db.Status = "Online"
    $db.Update()
    Trevor Seward, MCC
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Probelm in getting absolute path of the application folder?

    I have problem in getting the absolute path of the application folder.
    I wriiten the following line in my action class:
    String absPath = getServlet().getServletContext().getRealPath("/");
    when i run my application 'DTH' in Tomcat server, I am getting correct path :
    C:\Tomcat\jakarta-tomcat-5.0.25\webapps\DTH
    But when i run this application in weblogic server, I am getting null value for the above line.
    Can any one help me in this?

    public java.lang.String getRealPath(java.lang.String path)
    This method returns null if the servlet container cannot translate the virtual path to a real path for any reason (such as when the content is being made available from a .war archive).
    so, getRealPath() might not be a very good approach because of its different behavior when used from a war or exploded application.
    What you could do is:
    1. pass the path as a parameter inside web.xml (config files, log files etc)
    2. For dynamic lookup of files you could make use of ClassLoader.getResource().
    Hope it helps.

  • Lync 2013 Error 31055 ,31059 LS Call Park Service, The database being used by Group Pickup is not the appropriate version and There was a problem communicating with the Group Pickup backend database.

    Hello
    I have Lync 2013 and 2010  , still i didn't finish my migration completely from 2010 to 2013 .this  is  coexistence environment that contains both Lync Server 2010 and Lync Server 2013 .
    There was no error's in my lync 2013 front end and back end server's and every thing was fine, yesterday I installed windows updated AND CU for my lync 2013  front end and backend server's .
    later on after restarting both the front end and the back end server's i start having hundred's of  these error's related to "LS Call Park Service".
    so any advice for these issue ? and what is the effect for these error .
    below is the error I got .
    The database being used by Group Pickup is not the appropriate version.
    The database is not the correct version:
    Connection: Data Source=HQ-LYNC2013-BE.aaaaaaaaaaaaaaaaaaaaaaaaaaa\rtc;Initial Catalog=cpsdyn;Integrated Security=True
    Expected... SchemaVersion: 1, SprocVersion: 1, UpgradeVersion: 2
    Actual...   SchemaVersion: 0, SprocVersion: 0, UpgradeVersion: 0
    Cause: The database has not been upgraded.
    Resolution:
    Upgrade the database to CU1.
    ==============================================================
    There was a problem communicating with the Group Pickup backend database.
    There were problems accessing SQL server:
    Connection: Data Source=HQ-LYNC2013-BE.aaaaaaaaaaaaaaaaaaaaaaaaaa\rtc;Initial Catalog=cpsdyn;Integrated Security=True
    Message: The EXECUTE permission was denied on the object 'DbpGetVersionSchema', database 'cpsdyn', schema 'dbo'.
    Error code: -2146232060
    Error number: 229
    Cause: This may be caused by connectivity issues with the backend database.
    Resolution:
    Check if SQL backend is running and accepts connections from Group Pickup.
    =============================================================================
    Kind Regards
    MK

    Hello
    thanks Holger for u r replay .
    due to the Microsoft article about the cu :
    I run only :
    Install-CsDatabase -ConfiguredDatabases -SqlServerFqdn FEBE.FQDN -Verbose
    Note In a coexistence environment that contains both Lync Server 2010 and Lync Server 2013 and in which the Central Management Service is located on a Lync Server 2010 pool, do not run the
    Install-CsDatabase -CentralManagementDatabase command. If you later move the Central Management Service to a Lync Server 2013 pool, you have to run the
    Install-CsDatabase -CentralManagementDatabase command to apply the changes.
    here is what I get on my power shell after i run the command : "WARNING: Warning: Failed to execute batch --"
    PS C:\Users\MK> Install-CsDatabase -ConfiguredDatabases -SqlServerFqdn HQ-LYNC2013-BE.MyDomain -Verbose
    VERBOSE: Creating new log file
    "C:\Users\MK\AppData\Local\Temp\2\Install-CsDatabase-82d6613c-f2e3-47e6-8fc4-8f75d2efe6e4.xml".
    VERBOSE: Install databases required by Lync Server role(s).
    ****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.BlobStore'****
    Trying to connect to Sql Server HQ-LYNC2013-BE.MyDomain\rtc. using windows authentication...
    Sql version: Major: 11, Minor: 0, Build 5058.
    Sql version is acceptable.
    Checking state for database rtcxds.
    ****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.AbsDatabase'****
    Trying to connect to Sql Server HQ-LYNC2013-BE.MyDomain\rtc. using windows authentication...
    Sql version: Major: 11, Minor: 0, Build 5058.
    Sql version is acceptable.
    Checking state for database rtcab.
    ****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.RgsConfigDatabase'****
    Trying to connect to Sql Server HQ-LYNC2013-BE.MyDomain\rtc. using windows authentication...
    Sql version: Major: 11, Minor: 0, Build 5058.
    Sql version is acceptable.
    Checking state for database rgsconfig.
    ****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.RgsDynDatabase'****
    Trying to connect to Sql Server HQ-LYNC2013-BE.MyDomain\rtc. using windows authentication...
    Sql version: Major: 11, Minor: 0, Build 5058.
    Sql version is acceptable.
    Checking state for database rgsdyn.
    ****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.CpsDynDatabase'****
    Trying to connect to Sql Server HQ-LYNC2013-BE.MyDomain\rtc. using windows authentication...
    Sql version: Major: 11, Minor: 0, Build 5058.
    Sql version is acceptable.
    Checking state for database cpsdyn.
    ****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.ArchivingDatabase'****
    Trying to connect to Sql Server HQ-LYNC2013-BE.MyDomain\arc. using windows authentication...
    Sql version: Major: 11, Minor: 0, Build 5058.
    Sql version is acceptable.
    Checking state for database LcsLog.
    ****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.MonitoringDatabase'****
    Trying to connect to Sql Server HQ-LYNC2013-BE.MyDomain\mon. using windows authentication...
    Sql version: Major: 11, Minor: 0, Build 5058.
    Sql version is acceptable.
    Checking state for database LcsCDR.
    VERBOSE: Assigning "BackendStore:BlobStore:LogPath" to F:\CsData
    VERBOSE: Assigning "BackendStore:RtcSharedDatabase:LogPath" to F:\CsData
    VERBOSE: Assigning "ArchivingStore:ArchivingDatabase:LogPath" to F:\CsData
    VERBOSE: Assigning "MonitoringStore:MonitoringDatabase:LogPath" to F:\CsData
    VERBOSE: Assigning "MonitoringStore:QoEMetricsDatabase:LogPath" to F:\CsData
    VERBOSE: Assigning "ArchivingStore:ArchivingDatabase:DbPath" to F:\CsData
    VERBOSE: Assigning "MonitoringStore:MonitoringDatabase:DbPath" to F:\CsData
    VERBOSE: Assigning "MonitoringStore:QoEMetricsDatabase:DbPath" to F:\CsData
    VERBOSE: Assigning "ABSStore:AbsDatabase:LogPath" to F:\CsData
    VERBOSE: Assigning "ApplicationStore:RgsConfigDatabase:LogPath" to F:\CsData
    VERBOSE: Assigning "ApplicationStore:RgsDynDatabase:LogPath" to F:\CsData
    VERBOSE: Assigning "ApplicationStore:CpsDynDatabase:LogPath" to F:\CsData
    VERBOSE: Assigning "BackendStore:BlobStore:DbPath" to F:\CsData
    VERBOSE: Assigning "BackendStore:RtcSharedDatabase:DbPath" to F:\CsData
    VERBOSE: Assigning "ABSStore:AbsDatabase:DbPath" to F:\CsData
    VERBOSE: Assigning "ApplicationStore:RgsConfigDatabase:DbPath" to F:\CsData
    VERBOSE: Assigning "ApplicationStore:RgsDynDatabase:DbPath" to F:\CsData
    VERBOSE: Assigning "ApplicationStore:CpsDynDatabase:DbPath" to F:\CsData
    VERBOSE: Installing "BackendStore" on HQ-LYNC2013-BE.MyDomain\rtc, collocated: False
    ****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.BlobStore'****
    Trying to connect to Sql Server HQ-LYNC2013-BE.MyDomain\rtc. using windows authentication...
    Sql version: Major: 11, Minor: 0, Build 5058.
    Sql version is acceptable.
    Checking state for database rtcxds.
    Checking state for database rtcxds.
    State of database rtcxds is DbState_RequiresMinorUpgrade.
    Database rtcxds set to mode Restricted.
    Dropping all procedures, functions and views from database rtcxds.
    Executing RtcDb.sql...
    Adding master role...
    Setting owner for database rtcxds to sa.
    Creating login MyDomain\RTCHSUniversalServices.
    Creating user MyDomain\RTCHSUniversalServices.
    Creating Schema MyDomain\RTCHSUniversalServices.
    Creating login MyDomain\RTCUniversalReadOnlyAdmins.
    Creating user MyDomain\RTCUniversalReadOnlyAdmins.
    Creating Schema MyDomain\RTCUniversalReadOnlyAdmins.
    Creating login MyDomain\RTCUniversalServerAdmins.
    Creating user MyDomain\RTCUniversalServerAdmins.
    Creating Schema MyDomain\RTCUniversalServerAdmins.
    Adding account MyDomain\RTCHSUniversalServices to role ConsumerRole.
    Adding account MyDomain\RTCUniversalReadOnlyAdmins to role ConsumerRole.
    Adding account MyDomain\RTCHSUniversalServices to role ReplicatorRole.
    Adding account MyDomain\RTCHSUniversalServices to role PublisherRole.
    Adding account MyDomain\RTCUniversalServerAdmins to role PublisherRole.
    Setting database version: Schema Version 15, Sproc Version 13, Update Version 2.
    Setting the database rtcxds to multi user mode.
    Database rtcxds is set to multi user mode.
    ****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.RtcSharedDatabase'****
    Trying to connect to Sql Server HQ-LYNC2013-BE.MyDomain\rtc. using windows authentication...
    Sql version: Major: 11, Minor: 0, Build 5058.
    Sql version is acceptable.
    Checking state for database rtcshared.
    Database created by script "RtcSharedDatabase" already exists and is current.
    VERBOSE: Successfully installed the database. For details, see the following log:
    "C:\Users\MK\AppData\Local\Temp\2\Create-BackendStore-HQ-LYNC2013-BE.MyDomain_rtc-[2014_11_13][14_35_01].log"
    VERBOSE: Installing "ABSStore" on HQ-LYNC2013-BE.MyDomain\rtc, collocated: False
    ****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.AbsDatabase'****
    Trying to connect to Sql Server HQ-LYNC2013-BE.MyDomain\rtc. using windows authentication...
    Sql version: Major: 11, Minor: 0, Build 5058.
    Sql version is acceptable.
    Checking state for database rtcab.
    Checking state for database rtcab.
    State of database rtcab is DbState_RequiresMinorUpgrade.
    Database rtcab set to mode Restricted.
    Dropping all procedures, functions and views from database rtcab.
    Executing RtcAbTypes.sql...
    WARNING: Warning: Failed to execute batch --
    -- Copyright (c) Microsoft Corporation. All rights reserved.
    exec sp_addrole N'ServerRole'.
    Executing RtcAbDb.sql...
    Setting owner for database rtcab to sa.
    Creating login MyDomain\RTCComponentUniversalServices.
    Creating user MyDomain\RTCComponentUniversalServices.
    Creating Schema MyDomain\RTCComponentUniversalServices.
    Adding account MyDomain\RTCComponentUniversalServices to role ServerRole.
    Setting database version: Schema Version 62, Sproc Version 42, Update Version 3.
    Setting the database rtcab to multi user mode.
    Database rtcab is set to multi user mode.
    VERBOSE: Successfully installed the database. For details, see the following log:
    "C:\Users\MK\AppData\Local\Temp\2\Create-ABSStore-HQ-LYNC2013-BE.MyDomain_rtc-[2014_11_13][14_35_20].log"
    VERBOSE: Installing "ApplicationStore" on HQ-LYNC2013-BE.MyDomain\rtc, collocated: False
    ****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.RgsConfigDatabase'****
    Trying to connect to Sql Server HQ-LYNC2013-BE.MyDomain\rtc. using windows authentication...
    Sql version: Major: 11, Minor: 0, Build 5058.
    Sql version is acceptable.
    Checking state for database rgsconfig.
    Database created by script "RgsConfigDatabase" already exists and is current.
    ****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.RgsDynDatabase'****
    Trying to connect to Sql Server HQ-LYNC2013-BE.MyDomain\rtc. using windows authentication...
    Sql version: Major: 11, Minor: 0, Build 5058.
    Sql version is acceptable.
    Checking state for database rgsdyn.
    Database created by script "RgsDynDatabase" already exists and is current.
    ****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.CpsDynDatabase'****
    Trying to connect to Sql Server HQ-LYNC2013-BE.MyDomain\rtc. using windows authentication...
    Sql version: Major: 11, Minor: 0, Build 5058.
    Sql version is acceptable.
    Checking state for database cpsdyn.
    Checking state for database cpsdyn.
    State of database cpsdyn is DbState_RequiresMinorUpgrade.
    Database cpsdyn set to mode Restricted.
    Dropping all procedures, functions and views from database cpsdyn.
    Executing CpsDyn.sql...
    Setting owner for database cpsdyn to sa.
    Creating login MyDomain\RTCComponentUniversalServices.
    Creating user MyDomain\RTCComponentUniversalServices.
    Creating Schema MyDomain\RTCComponentUniversalServices.
    Creating login MyDomain\RTCUniversalReadOnlyAdmins.
    Creating user MyDomain\RTCUniversalReadOnlyAdmins.
    Creating Schema MyDomain\RTCUniversalReadOnlyAdmins.
    Creating login MyDomain\RTCUniversalServerAdmins.
    Creating user MyDomain\RTCUniversalServerAdmins.
    Creating Schema MyDomain\RTCUniversalServerAdmins.
    Adding account MyDomain\RTCComponentUniversalServices to role ReadWriteRole.
    Adding account MyDomain\RTCUniversalServerAdmins to role ReadWriteRole.
    Adding account MyDomain\RTCUniversalReadOnlyAdmins to role ReadOnlyRole.
    Setting database version: Schema Version 1, Sproc Version 1, Update Version 2.
    Setting the database cpsdyn to multi user mode.
    Database cpsdyn is set to multi user mode.
    VERBOSE: Successfully installed the database. For details, see the following log:
    "C:\Users\MK\AppData\Local\Temp\2\Create-ApplicationStore-HQ-LYNC2013-BE.MyDomain_rtc-[2014_11_13][14_35_37].log"
    VERBOSE: Installing "ArchivingStore" on HQ-LYNC2013-BE.MyDomain\arc, collocated: False
    ****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.ArchivingDatabase'****
    Trying to connect to Sql Server HQ-LYNC2013-BE.MyDomain\arc. using windows authentication...
    Sql version: Major: 11, Minor: 0, Build 5058.
    Sql version is acceptable.
    Checking state for database LcsLog.
    Database created by script "ArchivingDatabase" already exists and is current.
    VERBOSE: Successfully installed the database. For details, see the following log:
    "C:\Users\MK\AppData\Local\Temp\2\Create-ArchivingStore-HQ-LYNC2013-BE.MyDomain_arc-[2014_11_13][14_35_51].log"
    VERBOSE: Installing "MonitoringStore" on HQ-LYNC2013-BE.MyDomain\mon, collocated: False
    ****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.MonitoringDatabase'****
    Trying to connect to Sql Server HQ-LYNC2013-BE.MyDomain\mon. using windows authentication...
    Sql version: Major: 11, Minor: 0, Build 5058.
    Sql version is acceptable.
    Checking state for database LcsCDR.
    Checking state for database LcsCDR.
    Checking state for database LcsCDR.
    State of database LcsCDR is DbState_RequiresMinorUpgrade.
    WARNING: The database LcsCDR being updated has data file path at
    \\HQ-LYNC2013-BE.MyDomain\C$\CsData\MonitoringStore\mon\DbPath\LcsCDR.mdf and supplied data file path is
    \\HQ-LYNC2013-BE.MyDomain\F$\CsData\MonitoringStore\mon\DbPath\LcsCDR.mdf. Supplied path will be ignored.
    WARNING: The database LcsCDR being updated has log file path at
    \\HQ-LYNC2013-BE.MyDomain\C$\CsData\MonitoringStore\mon\LogPath\LcsCDR.ldf and supplied data file path is
    \\HQ-LYNC2013-BE.MyDomain\F$\CsData\MonitoringStore\mon\LogPath\LcsCDR.ldf. Supplied path will be ignored.
    Database LcsCDR set to mode Restricted.
    Dropping all procedures, functions and views from database LcsCDR.
    Executing CdrDb.sql...
    Setting owner for database LcsCDR to sa.
    Creating login MyDomain\CSAdministrator.
    Creating user MyDomain\CSAdministrator.
    Creating Schema MyDomain\CSAdministrator.
    Creating login MyDomain\RTCComponentUniversalServices.
    Creating user MyDomain\RTCComponentUniversalServices.
    Creating Schema MyDomain\RTCComponentUniversalServices.
    Adding account MyDomain\RTCComponentUniversalServices to role ServerRole.
    Adding account MyDomain\RTCComponentUniversalServices to role ReportsReadOnlyRole.
    Adding account MyDomain\CSAdministrator to role ReportsReadOnlyRole.
    Setting database version: Schema Version 39, Sproc Version 82, Update Version 2.
    Setting the database LcsCDR to multi user mode.
    Database LcsCDR is set to multi user mode.
    SQL Server Agent is running and its start mode was detected as Auto.
    Executing CdrJobs.sql...
    ****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.QoEMetricsDatabase'****
    Trying to connect to Sql Server HQ-LYNC2013-BE.MyDomain\mon. using windows authentication...
    Sql version: Major: 11, Minor: 0, Build 5058.
    Sql version is acceptable.
    Checking state for database QoEMetrics.
    Checking state for database QoEMetrics.
    Checking state for database QoEMetrics.
    State of database QoEMetrics is DbState_RequiresMinorUpgrade.
    WARNING: The database QoEMetrics being updated has data file path at
    \\HQ-LYNC2013-BE.MyDomain\C$\CsData\MonitoringStore\mon\DbPath\QoEMetrics.mdf and supplied data file path is
    \\HQ-LYNC2013-BE.MyDomain\F$\CsData\MonitoringStore\mon\DbPath\QoEMetrics.mdf. Supplied path will be ignored.
    WARNING: The database QoEMetrics being updated has log file path at
    \\HQ-LYNC2013-BE.MyDomain\C$\CsData\MonitoringStore\mon\LogPath\QoEMetrics.ldf and supplied data file path is
    \\HQ-LYNC2013-BE.MyDomain\F$\CsData\MonitoringStore\mon\LogPath\QoEMetrics.ldf. Supplied path will be ignored.
    Database QoEMetrics set to mode Restricted.
    Dropping all procedures, functions and views from database QoEMetrics.
    Executing QoEDb.sql...
    Setting owner for database QoEMetrics to sa.
    Creating login MyDomain\RTCComponentUniversalServices.
    Creating user MyDomain\RTCComponentUniversalServices.
    Creating Schema MyDomain\RTCComponentUniversalServices.
    Adding account MyDomain\RTCComponentUniversalServices to role ServerRole.
    Setting database version: Schema Version 62, Sproc Version 90, Update Version 1.
    Setting the database QoEMetrics to multi user mode.
    Database QoEMetrics is set to multi user mode.
    SQL Server Agent is running and its start mode was detected as Auto.
    Executing QoEJobs.sql...
    VERBOSE: Successfully installed the database. For details, see the following log:
    "C:\Users\MK\AppData\Local\Temp\2\Create-MonitoringStore-HQ-LYNC2013-BE.MyDomain_mon-[2014_11_13][14_35_51].log"
    VERBOSE: No changes were made to the Central Management Store.
    VERBOSE: Creating new log file
    "C:\Users\MK\AppData\Local\Temp\2\Install-CsDatabase-82d6613c-f2e3-47e6-8fc4-8f75d2efe6e4.html".
    WARNING: "Install-CsDatabase" processing has completed with warnings. "5" warnings were recorded during this run.
    WARNING: Detailed results can be found at
    "C:\Users\MK\AppData\Local\Temp\2\Install-CsDatabase-82d6613c-f2e3-47e6-8fc4-8f75d2efe6e4.html".
    PS C:\Users\MK>
    I hope some one can confirm no issue with what I did ??
    Kind Regards
    MK

  • SharePoint 2010 - Content database contains orphaned items

    Good day people!
    We have come across the feared "Content databases contain orphaned items"!
    Running a check on our farm shows:
    PS C:\Users\SPAdmin> Get-SPContentDatabase | ForEach-Object { $_.repair($false)}
    <OrphanedObjects Count="0" />
    <OrphanedObjects Count="0" />
    <OrphanedObjects Count="7">
    <Orphan Type="RoleAssignments" Count="7" />
    </OrphanedObjects>
    <OrphanedObjects Count="385">
    <Orphan Type="RoleAssignments" Count="385" />
    </OrphanedObjects>
    PS C:\Users\SPAdmin>
    Microsoft is very specific about how to solve this type of error on their http://go.microsoft.com/fwlink/?LinkID=142694.
    That is very nice and good,  but, doing this on a large production database doesnt feel all that good when we do not really know whats going to happen with the autofix button.
    Would/could anyone explain what the "Fix Now" button does? Any risks involved? Are there other ways to fix this problem? We already emptied all recycle bins completely.
    best regards
    Bjorn

    Hi Bjorn,
    Thanks for posting your issue, Kindly follow below mentioned Steps to fix reported issue
    Verify that the user account that is performing this procedure is a member of the Farm Administrators group.
    On the Central Administration Home page, click Monitoring.
    On the Monitoring page, in the Health Analyzer section, click
    Review problems and solutions.
    On the Review problems and solutions page, click the alert for the failing rule, and then click
    Fix Now. Keep the dialog box open so you can run the rule again to confirm the resolution.
    After following the steps in the Remedy section, in the
    Review problems and solutions dialog box for the alert, click Reanalyze Now to confirm the resolution. If the problem is resolved, the rule is not flagged as a failing rule on the Review problems and solutions page.
    I hope this is helpful to you, mark it as Helpful.
    If this works, Please mark it as Answered.
    Regards,
    Dharmendra Singh (MCPD-EA | MCTS)
    Blog : http://sharepoint-community.net/profile/DharmendraSingh

  • Migration of Content Databases from SP 2010 "Domain A" to SP 2013 "Domain B"

    Hi there,
    I am in the process of planning the migration of my SP Foundation 2010 farm to SP Server 2013.  I have tested this previously with the following steps and was successful:-
    Backup DB on SP2010 SQL
    Restore DB on SP 2013 SQL
    Run  Test-SPContentDatabase –Name WSS_Content_*** –WebApplication
    https://intranet.***.com.au
    Mount the DB - Mount-SPContentDatabase –Name WSS_Content_*** –DatabaseServer DomainA\SHAREPOINT –WebApplication
    https://intranet.***.com.au
    Convert Web App - Convert-SPWebApplication -Identity 
    https://intranet.***.com.au -To Claims -RetainPermissions –Force
    Now, the goal posts have changed and we may be moving to another domain.  Now, when I run
    Test-SPContentDatabase command in Step 3 above on Domain B, I get the error Login Failed for 'DomainA\SP_admin'
    - which makes sense.
    What would be the best way to restore a DB to a new domain?

    you have to perform the same steps....you need new account on the new Domain. then you have to run the migrate user command.
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/8f3d25c1-f573-4f29-955c-0275c0224109/migration-of-content-databases-from-one-domain-and-ad-to-a-new-domain-and-ad?forum=sharepointgeneralprevious
    here is good script for migrate user;
    http://blog.sharepoint-voodoo.net/?p=68
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

Maybe you are looking for

  • How to get the specified serarch term from the complete url? - Help

    Hello, I have a table in which some columns. One of the column is storing the complete url for the search given by the user. For Example: 1. I give search like "oracle" on the Google, the column will store the complete url as "http://www.google.com/s

  • LIBTUX_CAT:1286: ERROR: tpreturn could not send reply TPEOS

    Hi, Our application uses tuxedo for loadbalancing. we are using this from last 4 years, but today i'm getting one error with one scenario. As per my understading tpreturn call is failing. ULOG file shows below given message 032615.ocpdev1!BBL.14797.1

  • Raise form_trigger_failure does not work in when-timer-expired trigger

    hi everbody, i create timer (no repeat) in when-validate-item trigger for an item then in timer i use raise form_trigger_failure for not posting related item.but raise form_trigger_failure not work in timer and cursor go next item ? do you say anythi

  • New replacment iPod BROKEN

    ok i had a problem with my 1st iPod which was it wasnt connecting to my pc what so ever it would rarely sync and i restore it but it still continued to stuff up so i ordered a replacment since its still under warranty. and within 3 weeks of having my

  • Since ios 7.0.4 my phone goes right to voicemail.  Anyone else having this issue?

    Ever since I did the most recent update (7.0.4) I will all of the sudden have a voicemail and I have not been on the phone.  Also, people are telling me they call me and it goes right to voicemail.  I have call waiting so this makes no sense.  I use