Blank Solution Browser in SSMS 2012 SQL Script project

I am creating a new SQL Script project on a fresh install of SQL 2012 Developer. I can create, save and then reopen the project using the sln or project file. However, the Solution Explorer Window is blank and there seems no way to add folders
or files to it. Has anyone seen this issue and found a solution?
PeterG

Hi Peterg99,
Regarding to your description and my research, did you installed different edition of SSMS side by side on the same machine? If so that might cause this problem with SQL Server Projects.
For more information, please refer to SQL 2008 Management Studio Breaks SQL 2005 Solution Explorer
https://connect.microsoft.com/SQLServer/feedback/details/361706/sql-2008-management-studio-breaks-sql-2005-solution-explorer
Meanwhile can you check if after creating the project, you get a Project menu and a Close Solution menu item under File menu. Please note that you can open the Solution Explorer by pressing short-cut: Ctrl+Alt+L
Regards,
Amber zhang
TechNet Subscriber Support
If you are
TechNet Subscription user and have any feedback on our support quality, please send your feedback
here.

Similar Messages

  • Scripting option difference between SSMS 2012 and all previous versions

    Hi,
    I recently started to use SSMS 2012 (11.0.2100.60) and have seen some differences in scripting behavior of this version with previous ones (since V9). In previous versions when I want to modify a stored procedure, I right clicked on it
    and selected “Modify”, and had a nice ALTER script. Now, I have a script using sp_executesql which is really not handy for SQL validation checks. After a research, I figured that I can change this behavior in the scripting options by changing the option “check
    for object existence”. Great, it makes the deal!! In fact, no, because now, when I ask to script a DROP and CREATE on a table, I do not have the IF EXSIST part before the DROP anymore.
    The behavior I try to have is:
    When I hit “modify” on a procedure or other programmatic part, I would like to have an alter statement (DROP CREATE is fine too).
    When I choose to script out an object as DROP and CREATE, I would like to have an existence check before the drop.
    This is basically what SSMS did before the version 11 and was very helpful.
    Regards,
    Stef, DBA

    Hi,
    Thanks for your reply.
    What do you think about the behavior?
    Personally, I checked the links you sent. I cannot agree with sentences like “who cares about the outcome of the DROP when the CREATE
    will still work”. When a script runs, it should run without errors, otherwise, how will you detect real issues in the noise? It’s like talking about “normal bug”. Also, “the create procedure must be in its own batch”, that’s what we did with the batch separator
    GO.
    A proper way to script database modifications (outside the tables itself) is to drop the object if it exists and to create it after.
    Why? Because it works in any cases! Also, when I try to modify code, it’s convenient to have validation check against, and that’s why it’s convenient not to have dynamic code. It’s like coding large web sites in notepad. That’s what SSMS 10.50 and below did
    perfectly.
    I use script DROP CREATE capability when I prepare a migration script. Why should I write code when I have tools doing it for me? As
    a DBA, I have to be critic about the script generated and to adapt it if necessary. The MODIFY option is when I debug some code. I expect the tool to validate as much mistakes as possible (yes I do mistakes and I admit it). Like I said before, it’s like working
    with notepad as coding tool, it works, but who will do it?
    I really would like to know if I’m alone on this position.
    Just to make it easier to understand for other people, the following code is what is generated.
    With SSMS 10.50.2806.0 (include IF NOT EXISTS clause = true):
    Scripting a table as “DROP and CREATE”:
    IF 
    EXISTS
    (SELECT
    FROM
    sys.objects
    WHERE
    object_id
    =
    OBJECT_ID(N'[dbo].[ScrapTable]')
    AND
    type
    in
    (N'U'))
    DROP
    TABLE [dbo].[ScrapTable]
    GO
    CREATE
    TABLE [dbo].[ScrapTable](
                    [ScrapID] [int]
    NOT
    NULL
    ON [PRIMARY]
    GO
    Right click on my stored procedure and hit “Modify”:
    ALTER
    PROCEDURE [dbo].[GetScrap]
    AS
    BEGIN
    SET
    NOCOUNT
    ON;
    SELECT
    FROM dbo.ScrapTable
    END
    With SSMS 11.0.2200.60 (check for object existence = false):
    Scripting a table as “DROP and CREATE”:
    DROP
    TABLE
    [dbo].[ScrapTable]
    GO
    CREATE
    TABLE
    [dbo].[ScrapTable](
    [ScrapID]
    [int]
    NOT
    NULL
    ON
    [PRIMARY]
    GO
    Right click on my stored procedure and hit “Modify”:
    ALTER
    PROCEDURE
    [dbo].[GetScrap]
    AS
    BEGIN
    SET
    NOCOUNT
    ON;
    SELECT
    FROM
    dbo.ScrapTable
    END
    With SSMS 11.0.2200.60 (check for object existence = true):
    Scripting a table as “DROP and CREATE”:
    IF 
    EXISTS
    (SELECT
    FROM
    sys.objects
    WHERE
    object_id
    =
    OBJECT_ID(N'[dbo].[ScrapTable]')
    AND
    type
    in
    (N'U'))
    DROP
    TABLE
    [dbo].[ScrapTable]
    GO
    IF
    NOT
    EXISTS
    (SELECT
    FROM
    sys.objects
    WHERE
    object_id
    =
    OBJECT_ID(N'[dbo].[ScrapTable]')
    AND
    type
    in
    (N'U'))
    BEGIN
    CREATE
    TABLE
    [dbo].[ScrapTable](
    [ScrapID]
    [int]
    NOT
    NULL
    ON
    [PRIMARY]
    END
    GO
    Right click on my stored procedure and hit “Modify”:
    IF 
    EXISTS
    (SELECT
    FROM
    sys.objects
    WHERE
    object_id
    =
    OBJECT_ID(N'[dbo].[GetScrap]')
    AND
    type
    in
    (N'P',
    N'PC'))
    BEGIN
    EXEC
    dbo.sp_executesql
    @statement
    =
    N'ALTER PROCEDURE [dbo].[GetScrap]
    AS
    BEGIN
                    SET NOCOUNT ON;
                    SELECT * FROM dbo.ScrapTable
    END
    END
    SSMS 11.0 does it definitely in another way.
    Regards,
    Stef, DBA

  • SSMS 2012: Import XML File to SQL Table - 'value' is not a recognized built-in function name!!??

    Hi all,
    I have the following xml file (books1.xml):
    <bookstore>
    <book>
    <BookID>1</BookID>
    <title>Everyday Italian</title>
    <author>Giada De Laurentiis</author>
    <year>2005</year>
    <price>30.00</price>
    </book>
    <book>
    <BookID>2<BookID>
    <title>Harry Potter</title>
    <author>J K. Rowling</author>
    <year>2005</year>
    <price>29.99</price>
    </book>
    <book>
    <BookID>3<BookID>
    <title>XQuery Kick Start</title>
    <author>James McGovern</author>
    <year>2003</year>
    <price>49.99</price>
    </book>
    <book>
    <BookID>4<BookID>
    <title>Learning XML</title>
    <author>Erik T. Ray</author>
    <year>2003</year>
    <price>39.95</price>
    </book>
    </bookstore>
    In my Microsoft SQL Server 2012 Management Studio, I executed the following SQL Query code:
    --XQuery w3schools example using books1.xml in C:\Temp folder
    ---SQL Query W3books Title
    ---9 March 2015
    USE XML_XQUERY
    GO
    CREATE TABLE W3Books(
    BookID INt Primary Key,
    Title VARCHAR(30));
    INSERT INTO W3Books (BookID, Title)
    SELECT x.book.query('BookID'), value('.', 'INT'),
    x.book.query('title'), value('.', 'VARCHAR(30)')
    FROM (
    SELECT CAST(x AS XML)
    FROM OPENROWSET(
    BULK 'C:\Temp\books1.xml',
    SINGLE_BLOB) AS T(x)
    ) AS T(x)
    CROSS APPLY x.nodes('W3Books/book') AS x(book);
    SELECT BookID, Title
    FROM W3Books;
    I got the following error messages:
    Msg 195, Level 15, State 10, Line 7
    'value' is not a recognized built-in function name.
    Msg 156, Level 15, State 1, Line 16
    Incorrect syntax near the keyword 'AS'.
    I don't know why I got the error of 'value' is not a recognized built-in function name. Please kindly help and tell me what is wrong in my code and how to correct the error.
    Thanks, Scott Chang
    P. S.
    (1) I mimicked the xml file and SQL Qeury code of Import XML File to SQL Table in
    http://pratchev.blogspot.com/2008/11/import-xml-file-to-sql-table.html. The xml file and the code of this sample worked in my SSMS 2012 program.
    (2) I am learning the "CAST" and "CROSS APPLY" in the Create Instances of XML Data of Microsoft MSDN - it is very abstract to me.

    Hi Stan210, Thanks for your nice response.
    I corrected my xml file as you pointed out.
    I made some changes in some code statements of my SQLQueryW3BookTitle.sql as you instructed:
    --XQuery w3schools example using books1.xml in C:\Temp folder
    ---SQL Query W3books Title
    ---10 March 2015
    USE XML_XQUERY
    GO
    CREATE TABLE W3Books(
    BookID INt Primary Key,
    Title VARCHAR(30));
    INSERT INTO W3Books (BookID, Title)
    SELECT x.book.value('/BookID[1]', 'INT'),
    x.book.value('/title[1]', 'VARCHAR(30)')
    FROM (
    SELECT CAST(x AS XML)
    FROM OPENROWSET(
    BULK 'C:\Temp\books1.xml',SINGLE_BLOB) AS T(x)
    ) AS T(x)
    CROSS APPLY x.nodes('bookstore/book') AS x(book);
    SELECT BookID, Title
    FROM W3Books;
    I executed my revised sql and I got the following Message and Results:
    Msg 515, Level 16, State 2, Line 6
    Cannot insert the value NULL into column 'BookID', table 'XML_XQUERY.dbo.W3Books'; column does not allow nulls. INSERT fails.
    The statement has been terminated.
    (0 row(s) affected)
    Results:
    BookID    Title
    I don't know why I just got the names of columns in Results and the "Cannot insert the value NULL into column 'BookID', table 'XML_XQUERY.dbo.W3Books'; column does not allow nulls, insert fails." in Messages.  Please kindly help, advise me
    how to correct the errors and respond again.
    Many Thanks again,
    Scott Chang

  • Installing SSMS 2012 after SQL Server 2008 R2 Express was installed (without tools)

    Hi everybody,
    This is a question in another forum I am frequent. Someone installed SQL Server Express 2008 R2 and he used the wrong exe, so he installed it without tools. Now he wants to install SSMS.
    It looks like SSMS 2012 wants to have SQL Server 2012 Express installed first.
    Can someone please confirm if it's possible to install just SSMS 2012 after SQL Server 2008 R2 Express was already installed and if possible, guide through the installation steps?
    Thanks a lot in advance.
    For every expert, there is an equal and opposite expert. - Becker's Law
    My blog
    My TechNet articles

    Hi Naomi,
    Agree with Shanky.
    I have tested the scenario you described. Everything works well, I successfully install SQL Server Management studio 2012 after SQL Server 2008 R2 Express (without tools) was already installed.
    Please note that we don’t need to install SQL Server 2012 Express first when installing SSMS 2012. For detailed installation steps of SQL Server 2008 R2 Express and SSMS 2012, you can review below blogs.
    How to Install SQL Server 2008 R2 (Express Edition)
    SQL Server Management Studio – A step-by-step installation guide
    In addition, we can use SSMS 2012 to manage SQL Server Express 2005 /2008 /2008 R2, the tool is backward compatible.
    Thanks,
    Lydia Zhang
    If you have any feedback on our support, please click
    here.
    Lydia Zhang
    TechNet Community Support

  • SCOM 2012 SP1 Update Rollup 5 - DB and DW SQL script and the Management Packs

    Hi,
    I am applying SCOM 2012 SP1 update rollup 5 from KB article : 2904680.
    Step#  4 and 5 from the "Installation Information" sections says to run the SQL queries(UR_Datawarehouse.sql and Update_rollup_mom_db.sql) located at "%SystemDrive%\Program Files\System Center 2012 SP1\Operations
    Manager\Server \SQL Script for Update Rollups\."
    But I do not have "System Center 2012 SP1\Operations Manager\Server \SQL Script for Update Rollups\." folder location on  my SCOM Management Servers. Similarly I do not have the MPs given in Step #6.
    Can someone please let me know from where else can I get these SQL scripts and the MPs. What if I don't run these SQL scripts. Is that OK?

    You will find it on below path%SystemDrive%\Program Files\System Center 2012\Operations Manager\Server \SQL Script for Update Rollups\.
    inside system center 2012 folder> search to Server folder and inside it you will find SQL Script
    Please remember, if you see a post that helped you please click (Vote As Helpful" and if it answered your question, please click (Mark As Answer).

  • Merge Replication from 2012 SQL Server publisher/distributor to 2014 SQL Express subscriber

    Hi, I'm having a question about which version to use when running SQL Merge Replication.
    In my test enviroment I have a SQL 2012 server running as Publisher and Distributor for my Merge Replication. I have now set up a test client running Win7 with SQL 2014 Express as a subscriber. The subscription initializes and runs perfectly.
    But according to the SQL documentation this should not be possible as it states that the subscriber should have a version number equal or lower than the publisher. My subscription client was set ut using SQL-scripting, if I try using the wizard it will just
    cause an error message telling that this is not possible since the client has a newer version number. I still not encountered any problems after I set it up using the script with the sp_addmergepullsubscription and sp_addmergepullsubscription_agent procedures.
    The roll-out of my solution will start in a few weeks and I now have to decide whether to use 2014 Express or 2012 Express on the clients. Using 2014 Express will save me for a lot of upgades in a year or two. The 2012 SQL Server running as publisher/distributor
    will be upgraded to/replaced with a 2014 Server in some few months.
    I'm looking for good advices and recommendations for what to choose on the clients, 2012 Express or 2014 Express. Are the any known problems with using 2014 Express as a subscriber to a publisher/distributor running 2012 SQL Server?
    All responses are welcome!
    Regards, Anders

    Hi,
    As you understand that a Subscriber to a merge publication can be any version less than or equal to the Publisher version. When you set up a subscription from a publisher to a subscriber using SQL Server Management Studio, you will get error
    “The selected Subscriber does not satisfy the minimum version compatibility level of the selected publication.” And you can use T-SQL script to get around this error message.
    I would install SQL Server 2012 Express on the clients. Here is the reasons:
    1. If you upgrade the publisher to SQL Server 2014, it is still working with SQL Server 2012 on the subscriber.
    2. I cannot tell whether there are other potential problems if I choose the later one besides the error message.
    Reference:
    http://msdn.microsoft.com/en-us/library/ms143699(v=sql.120).aspx
    Thanks.
    Tracy Cai
    TechNet Community Support

  • SSMS 2012 crashes when opening new query on instance with Failover Clustering installed (not 2012 R2)

    Hi,
    I'm trying to start a new query in SSMS, but every time I click the "New Query" button on the tool bar or open a new query window by Object Explorer -> right-click -> Script as -> New Query Editor Window, SSMS hangs with (Not Responding)
    and has to be restarted.
    I'm running SSMS 2012 (v11.0.3381.0) on Server 2012 6.2.9200. I'm connecting to the primary node of an AlwaysOn Availability Group, and SSMS is located on the primary node itself.
    I'm aware of KB2908806, which describes the same symptoms, but this only applies to Windows 6.3.x. Is there an equivalent fix for 6.2.x, or another workaround?
    EDIT: To confirm behaviour: "New Query" works intermittantly, Script as ... to -> New Query Editor Window always crashes.

    Hello,
    there are many reasons your SSMS process would "hang", including bad server performance or internal SSMS processes being suspended due to locking.
    When you open a new query window, what your SSMS application does internally is to open a new connection to your instance. You could be experiencing problems in your instance that are causing the logon process to take too long.
    How does the bad performance issue generally happen? Is it only happening by connecting to the instance in SSMS? Does the same problem happen when you attempt to connect through an application, or by any other clients?
    What happens if you try to connect to the instance through a remote computer?
    Check your server's resource monitor for resource usage. Do you see any counters which could indicate performance problems?
    Please post the results of @@Version for your server.
    Can you open Activity Monitor in SSMS? How many sessions are listed? Does it also take a long time when you first log into the instance in SSMS, before opening a new query tab? Is the SSMS hanging for all databases when opening a new query window, or just
    for the ones included in the availability group? Have you tried to connect to your instance by using a DAC connection?
    DAC: http://technet.microsoft.com/en-us/library/ms178068%28v=sql.105%29.aspx
    Do you have any server logon triggers? Are there any traces running other than the default trace? What are your server specifications? How many logical cores does it have? Is it being used in a production environment? Is there any CPU or I/O affinity set
    for the instance? Whats your min/max memory settings? Run DBCC MEMORYSTATUS and post the results here.
    Are there any error messages in the SQL Server errorlog? Is your server dedicated to the SQL Server Instance?
    Run this query and post the results:
    SELECT * FROM SYS.dm_os_process_memory

  • What tool I need to download to execute SQL scripts inOracle? please Help!

    I'm a SQL Server developer trying to pratice SQL scriptinging in ORACLE environment. Can any subject matter expert let me know exactly which tool I need to download to experiment with SQL scripting? It's kind of confusing as ORACLE has so many components. If I'm correct, SQL Plus might be the tool and PL/SQL is the ORACLE version of SQL language/scripting. I know that i can download 180 days of evaluation version software. Can someone tell me the exact link of the oracle tool where I can execute my SQL scripts?
    Thank you so much in advanced.
    Thanks
    Syed Islam

    Try Oracle Express Edition (XE)
    Completely free.
    You can use SQL*Plus, but coming from Windows/SQL world, you'll definitely enjoy using SQL Developer as well. That's a separate download. You'll have a worksheet, visual query builder, object navigator/browser, etc - much like you see in SSMS.

  • [solv]Can't upload script in "SQL Scripts": Empty contents in Script editor

    When I try to upload a script via Home->SQL->SQL Scripts->Upload->Browse->Upload I get an icon on the Home->SQL->SQL Scripts page. When I click this icon, however, to view its contents I get an empty field on the Script editor page. The problem occurs regardless which file I upload or if I login as the system user.
    Anybody knows a solution?
    Message was edited by:
    user590050

    See if this thread helps:
    Re: Creating Script using Script Editor It helped. Problem is solved for firefox AND netscape!
    (konqueror support would be big time, but arguably won't ever come...)

  • Default query save location in SSMS 2012

    So, finally, is there a way to change SSMS 2012 default query save location?
    Scenario:
    1. Open SSMS
    2. Create new query
    3. Click Save
    I see "Documents\SQL Server Management Studio" folder, but I want to change it to be "d:\". How do I do this?
    I tried:
    1. http://visualstudiohacks.com/options/changing-the-my-projects-folder-location-and-other-settings-in-ssms/ - in folder "Documents\SQL Server Management Studio\Settings\SQL Server Management Studio\" there is a file NewSettings.vssettings,
    setting it to "d:\" or "d:\\" didn't help.
    2. Changing HKEY_CURRENT_USER\Software\Microsoft\Microsoft
    SQL Server\100\Tools\Shell VisualStudioProjectsLocation didn't help too. There is no "Shell" under "110\Tools\"
    Did I do something wrong, or is there another way?

    try this
    http://visualstudiohacks.com/options/changing-the-my-projects-folder-location-and-other-settings-in-ssms/
    Regards,
    Praveen D'sa
    MCITP - Database Administrator - 2008
    sqlerrors
    Hi Praveen,
    Based on my test, the solution in the link your post  works in SSMS of SQL Server 2005, 2008 and 2008 R2 version. However, in SQL Server 2012, the configuration of SSMS is changed. 
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

  • Pl/sql script needed - Urgent

    Hi All,
    I have one problem. I have to populate a table having rows more than 500000000 $ through PL/SQL.
    For getting the idea...I have created one dummy table " T1 " with column " X " having 9 rows and
    values in source are -
    row 1 = 10
    row 5 = 20
    row 8 = 30
    Other rows(2, 3, 4, 6, 7, 9) are null.
    I want to carry fwd the values so the values in the same table will come like -
    row 1, 2, 3, 4 = 10
    row 5, 6 ,7 = 20
    row 8,9 = 30
    For resolving the problem i have written a procedure :
    DECLARE
    CURSOR cur_adb IS SELECT * FROM t1 ;
    var cur_adb%rowtype ;
    var1 number(10) ;
    BEGIN
    OPEN cur_adb ;
    LOOP
    FETCH cur_adb INTO var ;
    DBMS_OUTPUT.PUT_LINE ( 'x=') ;
    EXIT WHEN cur_adb%ROWCOUNT > 10 ;
    If var is not null
    then update t1
    set x = var ;
    var1 := VAR;
    else update t1
    set x = var1 ;
    exit;
    end if;
    END LOOP;
    CLOSE cur_adb ;
    END ;
    But it is giving me wrong result as it is fetching more rows at a time.
    Pls. send me the correct Pl/SQL script as soon as possible.
    Note: You can directaly send the procedure to [email protected] .
    Thanks & Regs,
    Ashish

    Hello,
    I got the solution by adding on more column in the source table :
    source table : T1 -> x x_id
    10 1
    2
    3
    4
    20 5
    6
    7
    30 8
    9
    The procedure is :
    SQL> DECLARE
    2 CURSOR cur_adb IS SELECT x, x_id FROM t1 ;
    3 var number(10) ;
    4 var1 number(10) ;
    5 var2 number(10) ;
    6 BEGIN
    7 OPEN cur_adb ;
    8 LOOP
    9 FETCH cur_adb INTO var , var2 ;
    10 If var is not null
    11 then var1 := VAR;
    12 elsif var is null
    13 then update t1
    14 set x = var1
    15 where x_id = var2;
    16 end if;
    17 DBMS_OUTPUT.PUT_LINE ('The value of x=' || var) ;
    18 Exit when cur_adb%ROWCOUNT > 9 or cur_adb%NOTFOUND ;
    19 END LOOP;
    20 CLOSE cur_adb ;
    21 END ;
    22 /
    The value of x=10
    The value of x=10
    The value of x=10
    The value of x=10
    The value of x=20
    The value of x=20
    The value of x=20
    The value of x=30
    The value of x=30
    The value of x=30
    PL/SQL procedure successfully completed.
    Thanks everyone for helping me........
    Regards,
    Ashish

  • Please help me resolve the Lync server 2013 deployment error: "An error occurred while applying SQL script for the feature BackendStore."

    I am getting an error in "Step 2 - Setup or Remove Lync Server Components" of "Install or Update Lync Server System" step.
    "An error occured while applying SQL script for the feature BackendStore. For details, see the log file...."
    Additionally, all previous steps such as: Prepare Active Directory, Prepare first Standard Edition server, Install Administrative Tools, Create and publish topology are done without any errors. The user that I used to setup the Lync server is member of:
    Administrators
    CSAdministrator
    Domain Admins
    Domain Users
    Enterprise Admins
    Group Policy Creator Owners
    RTCComponentUniversalServices
    RTCHSUniversalServices
    RTCUniversalConfigReplicator
    RTCUniversalServerAdmins
    Schema Admins
    I have tried to re-install all the things and started to setup a new one many times but the same error still occurred. Please see the log below and give me any ideas/solutions to tackle this problem.
    ****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.BlobStore'****
    Initializing DbSetupBase
    Parsing parameters...
    Found Parameter: SqlServer Value lync.lctbu.com\rtc.
    Found Parameter: SqlFilePath Value C:\Program Files\Common Files\Microsoft Lync Server 2013\DbSetup.
    Found Parameter: Publisheracct Value LCTBU\RTCHSUniversalServices;RTC Server Local Group;RTC Local Administrators;LCTBU\RTCUniversalServerAdmins.
    Found Parameter: Replicatoracct Value LCTBU\RTCHSUniversalServices;RTC Server Local Group.
    Found Parameter: Consumeracct Value LCTBU\RTCHSUniversalServices;RTC Server Local Group;RTC Local Read-only Administrators;LCTBU\RTCUniversalReadOnlyAdmins.
    Found Parameter: DbPath Value D:\CsData\BackendStore\rtc\DbPath.
    Found Parameter: LogPath Value D:\CsData\BackendStore\rtc\LogPath.
    Found Parameter: Role Value master.
    Trying to connect to Sql Server lync.lctbu.com\rtc. using windows authentication...
    Sql version: Major: 11, Minor: 0, Build 2100.
    Sql version is acceptable.
    Validating parameters...
    DbName rtcxds validated.
    SqlFilePath C:\Program Files\Common Files\Microsoft Lync Server 2013\DbSetup validated.
    DbFileBase rtcxds validated.
    DbPath D:\CsData\BackendStore\rtc\DbPath validated.
    Effective database Path: \\lync.lctbu.com\D$\CsData\BackendStore\rtc\DbPath.
    LogPath D:\CsData\BackendStore\rtc\LogPath validated.
    Effective Log Path: \\lync.lctbu.com\D$\CsData\BackendStore\rtc\LogPath.
    Checking state for database rtcxds.
    Checking state for database rtcxds.
    State of database rtcxds is detached.
    Attaching database rtcxds from Data Path \\lync.lctbu.com\D$\CsData\BackendStore\rtc\DbPath, Log Path \\lync.lctbu.com\D$\CsData\BackendStore\rtc\LogPath.
    The operation failed because of missing file '\\lync.lctbu.com\D$\CsData\BackendStore\rtc\DbPath\rtcxds.mdf'
    Attaching database failed because one of the files not found. The database will be created.
    State of database rtcxds is DbState_DoesNotExist.
    Creating database rtcxds from scratch. Data File Path = D:\CsData\BackendStore\rtc\DbPath, Log File Path= D:\CsData\BackendStore\rtc\LogPath.
    Clean installing database rtcxds.
    Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.
    ****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.RtcSharedDatabase'****
    Initializing DbSetupBase
    Parsing parameters...
    Found Parameter: SqlServer Value lync.lctbu.com\rtc.
    Found Parameter: SqlFilePath Value C:\Program Files\Common Files\Microsoft Lync Server 2013\DbSetup.
    Found Parameter: Serveracct Value LCTBU\RTCHSUniversalServices;RTC Server Local Group.
    Found Parameter: DbPath Value D:\CsData\BackendStore\rtc\DbPath.
    Found Parameter: LogPath Value D:\CsData\BackendStore\rtc\LogPath.
    Trying to connect to Sql Server lync.lctbu.com\rtc. using windows authentication...
    Sql version: Major: 11, Minor: 0, Build 2100.
    Sql version is acceptable.
    Validating parameters...
    DbName rtcshared validated.
    SqlFilePath C:\Program Files\Common Files\Microsoft Lync Server 2013\DbSetup validated.
    DbFileBase rtcshared validated.
    DbPath D:\CsData\BackendStore\rtc\DbPath validated.
    Effective database Path: \\lync.lctbu.com\D$\CsData\BackendStore\rtc\DbPath.
    LogPath D:\CsData\BackendStore\rtc\LogPath validated.
    Effective Log Path: \\lync.lctbu.com\D$\CsData\BackendStore\rtc\LogPath.
    Checking state for database rtcshared.
    Reading database version for database rtcshared.
    Database version for database rtcshared - Schema Version5, Sproc Version 0, Update Version 1.
    Thanks and Regards,
    Thanh Le

    Thanks Lạc
    Phạm 2
    I Had similar issue i end up uninstalling and reinstallting but same issue, then i change the drive but same issue. It was I/O issue. After adjusting my I/O it fix our issue and installation went on without any issue. 
    If any one using KVM here is detail article 
    We just  give this option cache=‘writeback
    using this article http://www.ducea.com/2011/07/06/howto-improve-io-performance-for-kvm-guests/ and http://itscblog.tamu.edu/improve-disk-io-performance-in-kvm/ this fix my issue thanks 

  • An error occurred while applying SQL script for the feature BackendStore.

    Hello,
    I am using my AD in Windows Azure VMs. I created new VM of A3 (4 cores, 7 GB Memory) Windows Server 2012 R2, Port 1433 MSSQL added, made it a member of Domain and planned to install first Lync Server 2013 on it.
    In "Setup or Remove Lync Server Components" of "Install or Update Lync Server System", got an Red Coloured text "An error
    occurred while applying SQL script for the feature BackendStore."
    I have not enabled monitoring and archiving server in topology builder. I added "Network Service" and assign "Full Control" in Security Permissions of "C:\CsData" and "C:\LyncShare".
    I executed the SQL Setup Wizard and upgraded any instance to 2012.
    Please guide.
    Thanks, Divyaprakash Koli

    Please check you have enough disk space for the disk where the folders are.
    Check view log for detailed log information.
    The following link is a similar thread for you to refer:
    http://social.technet.microsoft.com/Forums/lync/en-US/a3cb9ab0-7451-4df5-af96-3d2784d1b075/an-error-occurred-while-applying-sql-script-for-the-feature-backendstore-for-details-see-the-log?forum=lyncdeploy
    Lisa Zheng
    TechNet Community Support

  • Calling sql script in plsql procedure

    Hello,
    I have a sql script named mytest.sql and i want to execute this from a stored procedure.
    following is the contents of this script
    spool d:\mytestsql.txt
    select * from tab;
    spool off
    Actually i want my sql script to run daily to export some tables data.
    I can execute this script from a sql prompt but i want to run it from enterprise manager.
    I am using oracle 10gR2 on windows2000 system.
    Any idea about scheduling the sql script to run automatically??
    How to execute this sql script from a plsql procedure??
    Thanks

    Hi all,
    Thanks for all the replies. I have found the solution with external procedures.
    Following is the complete step by step guide.
    1. Create the OSCommand Java Class using the following statement:
    connect as any user:
    create or replace and compile java source named oscommand as
    import java.io.*;
    public class OSCommand{
    public static String Run(String Command){
    try{
    Runtime.getRuntime().exec(Command);
    return("0");
    catch (Exception e){
    System.out.println("Error running command: " + Command +
    "\n" + e.getMessage());
    return(e.getMessage());
    2. Create the following Wrapper Function using the following statement:
    CREATE or REPLACE FUNCTION OSCommand_Run(Command IN STRING)
    RETURN VARCHAR2 IS
    LANGUAGE JAVA
    NAME 'OSCommand.Run(java.lang.String) return int';
    3. connect as sys
    Execute dbms_java.grant_permission( 'FKHALID','SYS:java.io.FilePermission', '<<ALL FILES>>','execute');
    execute dbms_java.grant_permission( 'FKHALID','SYS:java.lang.RuntimePermission', 'writeFileDescriptor', '*' );
    execute dbms_java.grant_permission( 'FKHALID','SYS:java.lang.RuntimePermission', 'readFileDescriptor', '*' );
    commit;
    note: here fkhalid is the oracle user.
    connect as fkhalid user:
    Declare
    expdp_cmd Varchar2(2000);
    Begin
    expdp_cmd := OSCommand_Run('cmd /c sqlplus fkhalid@mtcedwt/pwd @d:\ORA_DUMPS\mydbexp.sql');
    DBMS_OUTPUT.Put_Line(expdp_cmd);
    End;
    In Unix
    Set Serverout On
    Declare
    x Varchar2(2000);
    Begin
    x := OSCommand_Run('/home/test/myoscommand.sh')
    DBMS_OUTPUT.Put_Line(x);
    End;
    I will check the dbms_scheduler also and will let you know the results.
    Thanks

  • Using a SQL script to make the Status of a Concurrent Request 'WARNING'

    We have a SQL script based Concurrent Program. How to show the STATUS as 'WARNING' in the SRS screen based on a user defined Flag.
    What we are trying is similar to RETCODE = 1 in any standard package OUT variable, but just by using SQL or PL/SQL.
    Please let me know if more details are needed to explain the problem / scenario.

    Guys, found the solution...
    1) For completing with a WARNING and yellow bar:
    v_dummy :=FND_CONCURRENT.set_completion_status('WARNING','User message. Job completed.');
    2) For completing with an ERROR and red bar:
    v_dummy := FND_CONCURRENT.set_completion_status('ERROR',' User message. Job aborted.');

Maybe you are looking for

  • No sync between Financial Report Studio repository and planning

    Hi, I have a problem in Hyperion Planning 11.1.3 when I am trying to open reports that are either in Explorer or in a task list linked by a smartcut. An error (#2108) occured saying that the object I am trying to open is not in the repository. I am u

  • Concurrent execution of mapping

    Hi All, I have quick question about concurrent execution of mapping. Let's assume a simple mapping loading data from external table to regular table. My question is whether it is possible to execute concurrently this mapping but with different set of

  • Web Dynpro Configuration language

    Hi expert, When i createing the configuration for one web dynpro component, the language of the web page is German. But i log on the systmen in EN. Could anyone tell me how to change the language of  the configruantion page from GERMAN to EN? Best Re

  • I cannot open any spreadsheets on my iPad

    I cannot open any spreadsheets in Numbers on my iPad.  I can create new spreadsheets.  If I try to delete a spreadsheet I get a message that I have to wait for the spreadsheet to finish updating.  This has been going on for a few days now.  Does anyb

  • Xserver+XRaid+SMB+DHCP = failure

    I have basic services running on my xserver (DHCP/SMB). I have basic permisssions set up. but everyone has full access to the entire share. Some of my Windows XP users are getting errors when trying to access files on the shares. Random, but it happe