SQL Server 2008 XML Datatype variable size limit

Can you please let me know the size limit for XML Data type variable in SQL Server 2008?
I have read some where that the XML data type holds up to 2GB size. But, its not the case.
We have defined a variable with XML data type and assigning the value by using SELECT statement FOR XML AUTO with in CTE and assigning the outout of CTE to this XML type variable. 
When we limit the rows to 64 which has a length of 43370(used cast(@XMLvariable AS varchar(max)), the variable returns the XML. However, if i increase the rows from 64 to 65 which is length of 44048, then the variable returns with Blank value.
Is there any LENGTH limit of the XML data type?
Thanks in advance!!

Hello,
See MSDN xml (Transact-SQL), the size limit is 2 GB and it is working. If your XML data will be truncated, then because you are doing something wrong; but without knowing table design
(DDL) and your query it's difficult to give you further assistance; so please provide more details.
Olaf Helper
[ Blog] [ Xing] [ MVP]

Similar Messages

  • TopLink 10.1.3.0 and SQL Server 2008 XML datatype

    We use TopLink 10.1.3.0 and SQL Server 2008 database. We are trying to map a table with a column of XML datatype, but the 'Direct to XMLType' Mapping is disabled in the Workbench.
    Is it possible to map an XML datatype? If so, can you please some guidance on how it can be achieved.
    Thanks for the help.
    Edited by: amehta5 on Nov 4, 2010 4:09 PM

    The Direct to XMLType was desired for the Oracle XMLType. TopLink does not currently support it for SQL Server. You could extend the SQLServerPlatform to add you own support. You must also be able to just map it to a String using a DirectToFieldMapping. If the MW does not let you use the mapping, you can add it in a customizer/amendment method.
    FYI: If you are using TopLink 11, you should be using the eclipselink.jar and ideally using JPA, and not using the Mapping Workbench.
    James : http://www.eclipselink.org

  • Set out of range value to a time datatype in sql server 2008

    Hi,
    I have a variable set to time datatype in SQL server 2008. I need to set a value more than 24 hrs to that. Is there any way? I get an error like Conversion failed when converting date and/or time from character string. .Below is my scenario
    declare @QuietBeginTime time
    SET @QuietBeginTime  = (SELECT value FROM #RCQD where id=8)
    ---------This has a value like '24:45'
    Print @QuietBeginTime
    Please help me.
    Deepa

    declare @QuietBeginTime time
    SET @QuietBeginTime  = (SELECT value FROM #RCQD where id=8)
    ---------This has a value like '24:45'
    Print @QuietBeginTime
    Above is my scenario. Your example is fine, But main thing is i want to set a value to a variable, That
    i am unable to do
    Deepa

  • Msg 8631 Internal error: Server stack limit has been reached on SQL Server 2012 from T-SQL script that runs on SQL Server 2008 R2

    I have an Script mostly that is generated by SSMS which works with-out issue on SQL Server 2008, but when I attempt to run it on a new fresh install of SQL Server 2012 I get an Msg 8631. Internal error: Server stack limit has been reached. Please look for
    potentially deep nesting in your query, and try to simplify it.
    The script itself doesn't seem to be all that deep or nested.  The script is large 2600 lines and when I remove the bulk of the 2600 lines, it does run on SQL Server 2012.  I'm just really baffled why something that SQL Server generated with very
    few additions/changes AND that WORKS without issue in SQL Server 2008 R2 would suddenly be invalid in SQL Server 2012
    I need to know why my script which is working great on our current SQL Server 2008 R2 servers suddenly fails and won't run on an new SQL Server 2012 server.  This script is used to create 'bulk' Replications on a large number of DBs saving a tremendous
    amount of our time doing it the manual way.
    Below is an 'condensed' version of the script which fails.  I have removed around 2550 lines of specific sp_addarticle statements which are mostly just copy and pasted from what SQL Management Studio 'scripted' for me went I when through the Replication
    Wizard and told it to save to script.
    declare @dbname varchar(MAX), @SQL nvarchar(MAX)
    declare c_dblist cursor for
    select name from sys.databases WHERE name like 'dbone[_]%' order by name;
    open c_dblist
    fetch next from c_dblist into @dbname
    while @@fetch_status = 0
    begin
    print @dbname
    SET @SQL = 'DECLARE @dbname NVARCHAR(MAX); SET @dbname = ''' + @dbname + ''';
    use ['+@dbname+']
    exec sp_replicationdboption @dbname = N'''+@dbname+''', @optname = N''publish'', @value = N''true''
    use ['+@dbname+']
    exec ['+@dbname+'].sys.sp_addlogreader_agent @job_login = N''DOMAIN\DBServiceAccount'', @job_password = N''secret'', @publisher_security_mode = 1, @job_name = null
    -- Adding the transactional publication
    use ['+@dbname+']
    exec sp_addpublication @publication = N'''+@dbname+' Replication'', @description = N''Transactional publication of database
    '''''+@dbname+''''' from Publisher ''''MSSQLSRV\INSTANCE''''.'', @sync_method = N''concurrent'', @retention = 0, @allow_push = N''true'', @allow_pull = N''true'', @allow_anonymous = N''false'', @enabled_for_internet
    = N''false'', @snapshot_in_defaultfolder = N''true'', @compress_snapshot = N''false'', @ftp_port = 21, @allow_subscription_copy = N''false'', @add_to_active_directory = N''false'', @repl_freq = N''continuous'', @status = N''active'', @independent_agent = N''true'',
    @immediate_sync = N''true'', @allow_sync_tran = N''false'', @allow_queued_tran = N''false'', @allow_dts = N''false'', @replicate_ddl = 1, @allow_initialize_from_backup = N''true'', @enabled_for_p2p = N''false'', @enabled_for_het_sub = N''false''
    exec sp_addpublication_snapshot @publication = N'''+@dbname+' Replication'', @frequency_type = 1, @frequency_interval = 1, @frequency_relative_interval = 1, @frequency_recurrence_factor = 0, @frequency_subday = 8,
    @frequency_subday_interval = 1, @active_start_time_of_day = 0, @active_end_time_of_day = 235959, @active_start_date = 0, @active_end_date = 0, @job_login = N''DOMAIN\DBServiceAccount'', @job_password = N''secret'', @publisher_security_mode = 1
    -- There are around 2400 lines roughly the same as this only difference is the tablename repeated below this one
    use ['+@dbname+']
    exec sp_addarticle @publication = N'''+@dbname+' Replication'', @article = N''TABLE_ONE'', @source_owner = N''dbo'', @source_object = N''TABLE_ONE'', @type = N''logbased'', @description = null, @creation_script =
    null, @pre_creation_cmd = N''drop'', @schema_option = 0x000000000803509F, @identityrangemanagementoption = N''manual'', @destination_table = N''TABLE_ONE'', @destination_owner = N''dbo'', @vertical_partition = N''false'', @ins_cmd = N''CALL sp_MSins_dboTABLE_ONE'',
    @del_cmd = N''CALL sp_MSdel_dboTABLE_ONE'', @upd_cmd = N''SCALL sp_MSupd_dboTABLE_ONE''
    EXEC sp_executesql @SQL
    SET @dbname = REPLACE(@dbname, 'dbone_', 'dbtwo_');
    print @dbname
    SET @SQL = 'DECLARE @dbname NVARCHAR(MAX); SET @dbname = ''' + @dbname + ''';
    use ['+@dbname+']
    exec sp_replicationdboption @dbname = N'''+@dbname+''', @optname = N''publish'', @value = N''true''
    use ['+@dbname+']
    exec ['+@dbname+'].sys.sp_addlogreader_agent @job_login = N''DOMAIN\DBServiceAccount'', @job_password = N''secret'', @publisher_security_mode = 1, @job_name = null
    -- Adding the transactional publication
    use ['+@dbname+']
    exec sp_addpublication @publication = N'''+@dbname+' Replication'', @description = N''Transactional publication of database
    '''''+@dbname+''''' from Publisher ''''MSSQLSRV\INSTANCE''''.'', @sync_method = N''concurrent'', @retention = 0, @allow_push = N''true'', @allow_pull = N''true'', @allow_anonymous = N''false'', @enabled_for_internet
    = N''false'', @snapshot_in_defaultfolder = N''true'', @compress_snapshot = N''false'', @ftp_port = 21, @allow_subscription_copy = N''false'', @add_to_active_directory = N''false'', @repl_freq = N''continuous'', @status = N''active'', @independent_agent = N''true'',
    @immediate_sync = N''true'', @allow_sync_tran = N''false'', @allow_queued_tran = N''false'', @allow_dts = N''false'', @replicate_ddl = 1, @allow_initialize_from_backup = N''true'', @enabled_for_p2p = N''false'', @enabled_for_het_sub = N''false''
    exec sp_addpublication_snapshot @publication = N'''+@dbname+' Replication'', @frequency_type = 1, @frequency_interval = 1, @frequency_relative_interval = 1, @frequency_recurrence_factor = 0, @frequency_subday = 8,
    @frequency_subday_interval = 1, @active_start_time_of_day = 0, @active_end_time_of_day = 235959, @active_start_date = 0, @active_end_date = 0, @job_login = N''DOMAIN\DBServiceAccount'', @job_password = N''secret'', @publisher_security_mode = 1
    -- There are around 140 lines roughly the same as this only difference is the tablename repeated below this one
    use ['+@dbname+']
    exec sp_addarticle @publication = N'''+@dbname+' Replication'', @article = N''DB_TWO_TABLE_ONE'', @source_owner = N''dbo'', @source_object = N''DB_TWO_TABLE_ONE'', @type = N''logbased'', @description = null, @creation_script
    = null, @pre_creation_cmd = N''drop'', @schema_option = 0x000000000803509D, @identityrangemanagementoption = N''manual'', @destination_table = N''DB_TWO_TABLE_ONE'', @destination_owner = N''dbo'', @vertical_partition = N''false''
    EXEC sp_executesql @SQL
    fetch next from c_dblist into @dbname
    end
    close c_dblist
    deallocate c_dblist
    George P Botuwell, Programmer

    Hi George,
    Thank you for your question. 
    I am trying to involve someone more familiar with this topic for a further look at this issue. Sometime delay might be expected from the job transferring. Your patience is greatly appreciated. 
    Thank you for your understanding and support.
    If you have any feedback on our support, please click
    here.
    Allen Li
    TechNet Community Support

  • Data services with SQL Server 2008 and Invalid time format variable

    Hi all
    Recently we have switched from DI on SQL Server 2005, to DS(Date Services) on SQL Server 2008. However I have faced an odd error on the query that I was running successfully in DI.
    I validate my query output using a validation object to fill either Target table (if it passes), or the Target_Fail table (if it fails). Before sending data to the Target_Fail table, I map the columns using a query to the Target_Fail table. As I have a column called 'ETL_Load_Date' in that table, which I should fill it with a global variable called 'Load_Date'. I have set this global variable in the script at the very first beginning of the job. It is a data variable type:
    $Load_Date = to_char(sysdate(),'YYYY.MM.DD');
    When I assign this global variable to a datetime data type cloumn in my table and run the job using Data Services, I get this error:
    error message for operation <SQLExecute>: <[Microsoft][ODBC SQL Server Driver]Invalid time format>.
    However I didn't have this problem when I was running my job on the SQL Server 2005 using Data Integrator. The strange thing is that, when I debug this job, it runs completely successfully!!
    Could you please help me to fix this problem?
    Thanks for your help in advance.

    Thanks for your reply.
    The ETL_Date is a datetime column and the global variable is date data type. I have to use the to_char() function to be able to get just the date part of the current system datetime. Earlier I had tried date_part function but it returns int, which didn't work for me.
    I found what the issue was. I don't know why there were some little squares next to the name of the global variable which I had mapped to the ETL_Date in the query object!!! The format and everything was OK, as I had the same mapping in other tables that had worked successfully.
    When I deleted the column in the query object and added it again, my problem solved.

  • MS SQL server 2008 - Bulk copy from XML to DB table throws bcp_init error

    I have MS SQL server 2008 installed ,
    Windows version - Windows 7 Professional with SP1
    Doing a bulk copy process using the SQL library function bcp_init function in c++ throws xml error and its not inserting the data into the tables.
    Error received ,
    XML Datatransfer error: XML data or another error occurred while reading file 'd:\temp\scripts\dbtoolscripts\table_data.xml':
    But this works in others machines with the same windows version and SQL version.

    We are using the same SQL lib function bcp_init , we have written a separate class to load the ODBC32.dll , sqlncli.dll  and use the  bcp_init and other SQL functions from that. As i mentioned earlier we all use the same application build , but
    its not working in my machine only other machines its working.
    There is no provision to load XML files when you use the BCP interface in sqlncli.dll. You can of course load XML files, but the BCP API does not know that it is XML, it only sees a number of bytes.
    So that error message is not coming from the BCP API, but somewhere else. Maybe your own code in reaction to some error from the BCP API. But without any clue of that error message, we can't help you.
    I think you will need to do some debugging or by some other means improve your diagnostics.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • SQL server 2008 Std Edition support BD size & Instalation procedure

    Dear All,
    This is to inform you that, i have purchased Microsoft SQL server 2008 Standard edition, now i need to use this sql db for 2 different application, please guide me do i need to maintain separate server for SQL DB Server and create 2 instance are shall i
    install in same application server, ..?
    Regards, Kumar.V

    Dear All,
    This is to inform you that, i have purchased Microsoft SQL server 2008 Standard edition, now i need to use this sql db for 2 different application, please guide me do i need to maintain separate server for SQL DB Server and create 2 instance are shall i
    install in same application server, ..?
    You can install two instances on Single windows server as well as you can install two instances on two different windows server its totally no issue with any scenario.
    You need to decide yourself we upfront cannot give you any concrete advise a we dont know why and for what purpose you are installing
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
    My Technet Wiki Article
    MVP

  • CRM 7.0 installation failed on Windows 2008 R2  SQL Server 2008 SP1

    Hello I'm currently trying to install CRM 7.0 on a windows 2008 R2 (64B) plateform  with SQL Server 2008 SP1 as database engine
    while launching sapinst.exe i'm facing this issue  that i cannot get rid of it 
    Could someone Help , would really be appreciated as i'm a newby on SAP world
    thanks a lot
    Unable to start a service execution.  Please check the following information for the possibble reason and inform the installation development :  Opened sylib701_1.dll exe dir is C:/Users/SAPINS1/AppData/Local/Temp/2/sapinst_exe.3492.1286357336 Opened C:/Users/SAPINS1/AppData/Local/Temp/2/sapinst_exe.3492.1286357336/iaguieng701_1.dll receiving and sending on port 21200 Environment variable SAPINST_JRE_HOME set to value 'C:/Users/SAPINS1/AppData/Local/Temp/2/sapinst_exe.3492.1286357336/jre'. exe dir is C:/Users/SAPINS1/AppData/Local/Temp/2/sapinst_exe.3492.1286357336 Creating file C:\Program Files\sapinst_instdir\x. Removing file C:\Program Files\sapinst_instdir\x. Opened C:/Users/SAPINS~1/AppData/Local/Temp/2/sapinst_exe.3492.1286357336/iakdblib701_1.dll  This is SAPinst, version 701_1, make variant 701_REL, build 1015514 compiled on Oct 3 2008, 01:51:15  MessageLib initialized successfully. showing dlg diProductChoice <dialog sid="diProductChoice"> <title>Welcome to SAP Installation Master</title> <dialog/> Login in progress Connection request to guiengine backend by host 169.254.138.68 Protocol version is 3.1 Send connect information client logged on Waiting for an answer from GUI CDialogHandler: ACTION_NEXT requested <dialog sid="diProductChoice"> <dialog/> Creating file C:\Windows\System32\x. Removing file C:\Windows\System32\x. showing dlg diRestartOrCancel <dialog sid="diRestartOrCancel"> Dialog does not contain standard input handler, so the backend is not able to generate a log entry <dialog/> Waiting for an answer from GUI current working directory is C:/Windows/System32 Creating file C:\Program Files\sapinst_instdir\x. Removing file C:\Program Files\sapinst_instdir\x. Unable to open URL file://C:\Windows\System32\control.xml.  The execution will be terminated now.

    Hi!
    Windows 2008 R2 is not yet listed in the PAM - and hence not yet supported. The technical prerequisites are met (with a special kernel patch) but not all software is released, so you may get it to run technically but not everything is tested and so, you should not install any SAP system on it!
    In fact, and just to provide you further details it is not possible to expect the 710 products released for Windows Server 2008 R2 before around four weeks; 700 products will be released even after 710.
    See [SAP note 1383873|https://service.sap.com/sap/support/notes/1383873]  ("Windows Server 2008 R2 Support").
    You can be always up to date with the latest Windows news at:
    [SAP on Microsoft Windows|SAP on Microsoft Windows] --> Support of Microsoft Windows Server 2008 R2
    Cheers!

  • SQL Server 2008 R2 Std with SQL Server 2005 Express Subscriptions

    If we have SQL Server 2005 Express Merge Replication Subscriptions that synch to a SQL Server 2008 R2 Standard Edition. Do
    the Subscriptions still have same file size limitations even though they synch to a Proper Standard Version of SQL Server 2008?
    If so what are these limitations?
    What happens in the instance where by the server file becomes huge then the Subscriptions will not allow the data to replicate
    as the Express Subscription engine has a file size limitation - or does this not matter??

    You will get messages on your SQL Server Express  servers that the merge agent cannot write to the SQL Express database. These messages are difficult to debug as you don't get a warning you have exceeded the size limit on the subscriber.
    looking for a book on SQL Server 2008 Administration?
    http://www.amazon.com/Microsoft-Server-2008-Management-Administration/dp/067233044X looking for a book on SQL Server 2008 Full-Text Search?
    http://www.amazon.com/Pro-Full-Text-Search-Server-2008/dp/1430215941

  • How to extract data from multiple flat files to load into corresponding tables in SQL Server 2008 R2 ?

    Hi,
              I have to implement the following scenario in SSIS but don't know how to do since I never worked with SSIS before. Please help me.
              I have 20 different text files in a single folder and 20 different tables corresponding to each text file in SQL Server 2008 R2 Database. I need to extract the data from each text file and
    load the data into corresponding table in Sql Server Database. Please guide me in how many ways I can do this and which is the best way to implement this job.  Actually I have to automate this job. Few files are in same format(with same column names
    and datatypes) where others are not.
    1. Do I need to create 20 different projects ?
                   or
        Can I implement this in only one project by having 20 packages?
                 or
        Can I do this in one project with only one package?
    Thanks in advance.

    As I said I don't know how to use object data type, I just given a shot as below. I know the following code has errors can you please correct it for me.
    Public
    Sub Main()
    ' Add your code here 
    Dim f1
    As FileStream
    Dim s1
    As StreamReader
    Dim date1
    As
    Object
    Dim rline
    As
    String
    Dim Filelist(1)
    As
    String
    Dim FileName
    As
    String
    Dim i
    As
    Integer
    i = 1
    date1 =
    Filelist(0) =
    "XYZ"
    Filelist(1) =
    "123"
    For
    Each FileName
    In Filelist
    f1 = File.OpenRead(FileName)
    s1 = File.OpenText(FileName)
    rline = s1.ReadLine
    While
    Not rline
    Is
    Nothing
    If Left(rline, 4) =
    "DATE"
    Then
    date1 (i)= Mid(rline, 7, 8)
     i = i + 1
    Exit
    While
    End
    If
    rline = s1.ReadLine
    End
    While
    Next
    Dts.Variables(
    "date").Value = date1(1)
    Dts.Variables(
    "date1").Value = date1(2)
    Dts.TaskResult = ScriptResults.Success
    End
    Sub

  • SQL Server 2008 R2 Express Edition and Full Text Indexing

    Hello, we have recently upgraded our web front end server from SQL Server 2005 (Standard Edition) to SQL Server 2008 R2 Express Edition (in conjuction with upgrading our main production servers to SQL 2008 R2 Standard). We have 12 Databases on our production
    SQL Server that are replicated to our web frontend server to the SQL Express instance. One of these databases has a FULL TEXT INDEX. The production database is running the Adobe iFilter version 9 64Bit. The FULL TEXT CATALOG has been created and populated
    and performs searches as intended. However, upon replication, when using the search option on our web page based on that PDF iFilter, it no longer works. After examining the properties of the FULL TEXT CATALOG, we note that the Catalog size on the subscriber
    end is 0MB in size (whereas it is 3MB on the Publication side). Also the Unique Key Count on the subscriber side is '1' whereas on the publisher side it is 30,000+. After examining the FT Indexing logs on the subscriber side shows an error: "Warning: No appropriate
    filter was found during full-text index population" On the subscriber side which is running Windows Server 2003 and SQL Server 2008 R2 Express Edition, Adobe Reader 10.1.1 is installed (all 32Bit) with the Adobe iFilter AcroRdIF.dll. When running the SELECT
    * from sys.fulltext_document_types T-Sql statement, the list returned shows the PDF filter to be installed and shows the correct path. Under the System Environment Variables, that path has also been installed (from previous recommendations in researching this
    problem). After numerous reboots, service restarts and re-attempts to get the FT Daemon to crawl - no success. Can anyone please help with this problem? Is there something I am missing? In an attempt to work around this problem thinking there might be a version
    conflict between the 64Bit version on the publisher and the 32Bit version on the subscriber, I disabled the replication of the FULL TEXT CATALOG and tried to create a new catalog on the subscriber with the same results. Thank you for your answers in advance
    - Fustrated! Sorry, somehow this got posted originally under Server Design

    Hello Jeff hope your still out there.  I wrote this question 2 years ago and upgraded to SQL Express with advanced services.  Full Text replication worked until last week.  We are operating in a virtual environment.  My publisher box
    is a Windows Server 2008 R2 (64bit) with SQL Server Standard Edition.  My Web front subscriber is a Windows 2003 R2 (32bit) Server with SQL Server 2008 R2 Express SP1 with Advanced Services. Now the exact same thing is happening after 2+ years. 
    We are looking for possible updates that might have broken this but I am stretching that.  Any clues please?  32bit vs. 64bit?

  • Adobe PDF iFilter SQL Server 2008 R2 Full Text not working

    Unable to get the SQL Server 2008 R2 to index PDF files for full-text searching.
    Environment: Windows 7 SP1 Enterprise 64-bit, SQL Server 2008 R2 Express SP3 64-bit, Adobe Reader 11.x
    Installed PDF iFilter 64 (11.0.01) from
    http://www.adobe.com/support/downloads/detail.jsp?ftpID=5542
    Added its folder (C:\Program Files\Adobe\Adobe PDF iFilter 11 for 64-bit platforms\bin\;) to the PC system Path variable. Rebooted PC.
    Confirmed SQL Server sees the Adobe PDF iFilter ..... SELECT * from sys.fulltext_document_types where document_type = '.pdf' 
    Inserted PDF files to my table (see below for CREATE statement).
    The SQLFT log says  ... Warning: No appropriate filter was found during full-text index population for table or indexed view '[TestDB].[dbo].[pdfifiltertable]' (table or indexed view ID '2105058535', database ID '7'), full-text key value '1'.
    Some columns of the row were not indexed.
    Installed other filters for Office. Added files of type DOC, XPS. Confirmed the search query works for those file types. So as such SQL Full-Text is enabled and working.
    Below my T-SQL commands:
    Exec sp_fulltext_service 'load_os_resources', 1
    Exec sp_fulltext_service 'verify_signature', 0
    Exec sp_fulltext_database 'enable'
    CREATE TABLE pdfifiltertable(
    PdfID INT IDENTITY NOT NULL,
    PdfFileName VARCHAR(MAX),
    Ext VARCHAR(10) ,
    PdfText VARBINARY(MAX),
    CONSTRAINT PK_PdfID PRIMARY KEY (PdfID)
    GO
    CREATE FULLTEXT CATALOG pdfCatalog AS DEFAULT
    GO
    CREATE FULLTEXT INDEX ON pdfifiltertable([PdfText] Type column [Ext]
    ) KEY INDEX PK_PdfID with change_tracking auto
    GO
    SELECT pdfFileName FROM pdfifiltertable WHERE CONTAINS(pdftext, 'payment')

    What edition are you using? Like is it SQL-Express or SQL-Standard etc.
    Adding files using C# desktop application.
    Tested in another PC SQL-Server Express 2008 with Windows 7 64-bit. Same issue.
    C# source code ... add a button called uploadPDF and a datagridview called datagridview to the form.
    using System;
    using System.IO;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Windows.Forms;
    using System.Data.SqlClient;
    namespace UploadPDF
    public partial class Form1 : Form
    #region Properties
    protected static string ConnectionString {
    get {return "Integrated Security=SSPI;database=Testdb;Data Source=localhost\\SQLEXPRESS;Workstation ID=localhost;";}
    protected static SqlConnection Connection {
    get {return new SqlConnection(ConnectionString);}
    protected DataTable pdfDataTable;
    #endregion
    public Form1()
    InitializeComponent();
    populateDataGrid();
    protected void populateDataGrid()
    SqlConnection con = Connection;
    con.Open();
    try
    pdfDataTable = new DataTable();
    SqlCommand cmd = new SqlCommand( "select * from pdfifiltertable", con);
    SqlDataAdapter adapter = new SqlDataAdapter(cmd);
    adapter.Fill(pdfDataTable);
    dataGridView.DataSource = pdfDataTable;
    dataGridView.Columns[3].Visible = false;
    finally {
    con.Close();
    private void uploadPDF_Click(object sender, EventArgs e) {
    if (DialogResult.Cancel == fileOpenDialog.ShowDialog()) return;
    try {
    byte[] content = FileToByteArray(fileOpenDialog.FileName);
    uploadPDFBlob2DataBase(fileOpenDialog.FileName,content);
    populateDataGrid();
    } catch (Exception ex) {
    MessageBox.Show(ex.Message, "PDFiFilter11", MessageBoxButtons.OK, MessageBoxIcon.Error);
    public byte[] FileToByteArray(string _FileName) {
    byte[] pdfBuffer = null;
    try {
    System.IO.FileStream _FileStream = new System.IO.FileStream(_FileName, System.IO.FileMode.Open, System.IO.FileAccess.Read);
    System.IO.BinaryReader _BinaryReader = new System.IO.BinaryReader(_FileStream);
    long TotalNumberOfBytes = new System.IO.FileInfo(_FileName).Length;
    pdfBuffer = _BinaryReader.ReadBytes((Int32)TotalNumberOfBytes);
    _FileStream.Close();
    _FileStream.Dispose();
    _BinaryReader.Close();
    } catch (Exception _Exception) {
    Console.WriteLine("Exception caught in process: {0}", _Exception.ToString());
    return pdfBuffer;
    public void uploadPDFBlob2DataBase(String fName, byte[] content) {
    SqlConnection con = Connection;
    con.Open();
    String ext,filename;
    ext = Path.GetExtension(fName);
    filename = Path.GetFileName(fName);
    try {
    SqlCommand insert = new SqlCommand( "insert into pdfifiltertable ([PdfFileName],[Ext],[PdfText]) values ((@pdfFileName),(@extension),(@pdfcontent))", con);
    SqlParameter pdffilenameParameter = insert.Parameters.Add("@pdfFileName", SqlDbType.NText);
    pdffilenameParameter.Value = filename;
    pdffilenameParameter.Size = filename.Length;
    SqlParameter extParam = insert.Parameters.Add("@extension", SqlDbType.NVarChar);
    extParam.Value = ext;
    extParam.Size = ext.Length;
    SqlParameter pdfcontentParameter = insert.Parameters.Add("@pdfcontent", SqlDbType.Binary);
    pdfcontentParameter.Value = content;
    pdfcontentParameter.Size = content.Length;
    insert.ExecuteNonQuery();
    } finally {
    con.Close();
    } //class
    } //namespace

  • What is the best way to deal with memory leak issue in sql server 2008 R2

    What is the best way to deal with memory leak issue in sql server 2008 R2.

    What is the best way to deal with memory leak issue in sql server 2008 R2.
    I have heard of memory leak in OS that too because of some external application or rouge drivers SQL server 2008 R2 if patched to latest SP and CU ( may be if required) does not leaks memory.
    Are you in opinion that since SQL is taking lot of memory and then not releasing it is a memory leak.If so this is not a memory leak but default behavior .You need to set proper value for max server memory in sp_configure to limit buffer pool usage.However
    sql can take more memory from outside buffer pool if linked server ,CLR,extended stored procs XML are heavily utilized
    Any specific issue you are facing
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • Unable to Install SQL Server 2008 R2 64 Bit on clean install of Server 2008 R2 64 Bit Error CLR20r3

    Hi,
    I'm trying to install SQL Server 2008 R2 64  on a clean install of Server 2008 R2 64 Bit. Shortly after double clicking on the setup I get a Windows error message saying the installer has stopped working with the details below.
    Suggestions welcomed.
    Description:
    Stopped working
    Problem signature:
    Problem Event Name: CLR20r3
    Problem Signature 01: setup100.exe
    Problem Signature 02: 10.50.1600.1
    Problem Signature 03: 4bb6742c
    Problem Signature 04: Microsoft.SqlServer.Chainer.Setup
    Problem Signature 05: 10.0.0.0
    Problem Signature 06: 4bb6742c
    Problem Signature 07: 4
    Problem Signature 08: 5
    Problem Signature 09: System.BadImageFormatException
    OS Version: 6.1.7600.2.0.0.272.7
    Locale ID: 3081
    Read our privacy statement online:
    If the online privacy statement is not available, please read our privacy statement offline:
    C:\Windows\system32\en-US\erofflps.txt
    Thanks,
    Adam

    Thanks for your reply Balmukund
    10/28/2010 12:53:23.448 ======================================================================
    10/28/2010 12:53:23.495 Setup launched
    10/28/2010 12:53:23.510 Attempting to determine media source
    10/28/2010 12:53:23.526 Media source value not specified on command line argument.
    10/28/2010 12:53:23.557 Setup is launched from media directly so default the value to the current folder.
    10/28/2010 12:53:23.573 Media source: D:\
    10/28/2010 12:53:23.604 Attempt to determine media layout based on file 'D:\mediainfo.xml'.
    10/28/2010 12:53:26.708 Media layout is detected as: Full
    10/28/2010 12:53:26.724 Not a slip stream media, so continuing to run setup.exe from media.
    10/28/2010 12:53:26.771 /? or /HELP or /ACTION=HELP specified: false
    10/28/2010 12:53:26.786 Help display: false
    10/28/2010 12:53:26.802 Checking to see if we need to install .Net version 3.5
    10/28/2010 12:53:26.817 Determining the cluster status of the local machine.
    10/28/2010 12:53:26.849 The local machine is not configured as a cluster node.
    10/28/2010 12:53:26.864 Attempting to find media for .Net version 3.5
    10/28/2010 12:53:27.083 .Net version 3.5 is installed
    10/28/2010 12:53:27.098 RedistMSI::GetExpectedBuildRevision - Setup expects MSI 4.5.6001.22159 at the minimum
    10/28/2010 12:53:27.114 Attempting to get Windows Installer version
    10/28/2010 12:53:27.129 Windows Installer version detected: 5.0.7600.16385
    10/28/2010 12:53:27.145 RedistMSI::IsVistaRTM - Not Vista RTM build
    10/28/2010 12:53:27.176 Required version of Windows Installer is already installed
    10/28/2010 12:53:27.192 Attempting to get Windows Installer version
    10/28/2010 12:53:27.223 Windows Installer version detected: 5.0.7600.16385
    10/28/2010 12:53:27.239 RedistMSI::IsVistaRTM - Not Vista RTM build
    10/28/2010 12:53:27.270 Required version of Windows Installer is already installed
    10/28/2010 12:53:27.285 Local setup.exe not found, so continuing to run setup.exe from media.
    10/28/2010 12:53:27.317 Attempt to initialize SQL setup code group
    10/28/2010 12:53:27.348 Attempting to determine security.config file path
    10/28/2010 12:53:27.379 Checking to see if policy file exists
    10/28/2010 12:53:27.395 .Net security policy file does exist
    10/28/2010 12:53:27.410 Attempting to load .Net security policy file
    10/28/2010 12:53:27.441 Processing entry ("MSVCM80", "Native")
    10/28/2010 12:53:27.441 Attempting to create .Net security code group node: MSVCM80
    10/28/2010 12:53:27.473 Processing entry ("MICROSOFT.SQLSERVER.CHAINER.SETUP", "Native")
    10/28/2010 12:53:27.488 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CHAINER.SETUP
    10/28/2010 12:53:27.504 Processing entry ("MICROSOFT.SQL.CHAINER.PACKAGE", "Native")
    10/28/2010 12:53:27.519 Attempting to create .Net security code group node: MICROSOFT.SQL.CHAINER.PACKAGE
    10/28/2010 12:53:27.535 Processing entry ("MICROSOFT.SQLSERVER.CHAINER.INFRASTRUCTURE", "Native")
    10/28/2010 12:53:27.551 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CHAINER.INFRASTRUCTURE
    10/28/2010 12:53:27.582 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.BOOTSTRAPEXTENSION", "Native")
    10/28/2010 12:53:27.597 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.BOOTSTRAPEXTENSION
    10/28/2010 12:53:27.613 Processing entry ("MICROSOFT.SQLSERVER.SETUP.CHAINER.WORKFLOW", "Native")
    10/28/2010 12:53:27.629 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.SETUP.CHAINER.WORKFLOW
    10/28/2010 12:53:27.644 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SQLCONFIGBASE", "Native")
    10/28/2010 12:53:27.660 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.SQLCONFIGBASE
    10/28/2010 12:53:27.675 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SFC", "Native")
    10/28/2010 12:53:27.707 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.SFC
    10/28/2010 12:53:27.722 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SETUPEXTENSION", "Native")
    10/28/2010 12:53:27.738 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.SETUPEXTENSION
    10/28/2010 12:53:27.753 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.MSIEXTENSION", "Native")
    10/28/2010 12:53:27.769 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.MSIEXTENSION
    10/28/2010 12:53:27.785 Processing entry ("MICROSOFT.SQLSERVER.CHAINER.EXTENSIONCOMMON", "Native")
    10/28/2010 12:53:27.800 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CHAINER.EXTENSIONCOMMON
    10/28/2010 12:53:27.831 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SCO", "Native")
    10/28/2010 12:53:27.847 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.SCO
    10/28/2010 12:53:27.863 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SCOEXTENSION", "Native")
    10/28/2010 12:53:27.878 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.SCOEXTENSION
    10/28/2010 12:53:27.894 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.CONFIGEXTENSION", "Native")
    10/28/2010 12:53:27.909 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.CONFIGEXTENSION
    10/28/2010 12:53:27.925 Processing entry ("MICROSOFT.SQLSERVER.DISCOVERY", "Native")
    10/28/2010 12:53:27.941 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.DISCOVERY
    10/28/2010 12:53:27.956 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.UIEXTENSION", "Native")
    10/28/2010 12:53:27.972 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.UIEXTENSION
    10/28/2010 12:53:27.987 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SSTRING", "Native")
    10/28/2010 12:53:28.003 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.SSTRING
    10/28/2010 12:53:28.019 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.WIZARDFRAMEWORK", "Native")
    10/28/2010 12:53:28.034 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.WIZARDFRAMEWORK
    10/28/2010 12:53:28.050 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.INSTALLWIZARDFRAMEWORK", "Native")
    10/28/2010 12:53:28.081 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.INSTALLWIZARDFRAMEWORK
    10/28/2010 12:53:28.097 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.INSTALLWIZARD", "Native")
    10/28/2010 12:53:28.112 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.INSTALLWIZARD
    10/28/2010 12:53:28.112 Processing entry ("MICROSOFT.SQLSERVER.MANAGEMENT.CONTROLS", "Native")
    10/28/2010 12:53:28.128 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.MANAGEMENT.CONTROLS
    10/28/2010 12:53:28.143 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION", "Native")
    10/28/2010 12:53:28.175 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION
    10/28/2010 12:53:28.190 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.CONNECTIONINFO", "Native")
    10/28/2010 12:53:28.206 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.CONNECTIONINFO
    10/28/2010 12:53:28.221 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.RULESENGINEEXTENSION", "Native")
    10/28/2010 12:53:28.237 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.RULESENGINEEXTENSION
    10/28/2010 12:53:28.253 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.CLUSTER", "Native")
    10/28/2010 12:53:28.268 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.CLUSTER
    10/28/2010 12:53:28.284 Processing entry ("MICROSOFT.SQLSERVER.INTEROP.MSCLUSTERLIB", "Native")
    10/28/2010 12:53:28.315 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.INTEROP.MSCLUSTERLIB
    10/28/2010 12:53:28.331 Processing entry ("MICROSOFT.SQL.CHAINER.PACKAGEDATA", "Native")
    10/28/2010 12:53:28.346 Attempting to create .Net security code group node: MICROSOFT.SQL.CHAINER.PACKAGEDATA
    10/28/2010 12:53:28.362 Processing entry ("MICROSOFT.SQL.CHAINER.PRODUCT", "Native")
    10/28/2010 12:53:28.377 Attempting to create .Net security code group node: MICROSOFT.SQL.CHAINER.PRODUCT
    10/28/2010 12:53:28.393 Processing entry ("MICROSOFT.NETENTERPRISESERVERS.EXCEPTIONMESSAGEBOX", "Native")
    10/28/2010 12:53:28.409 Attempting to create .Net security code group node: MICROSOFT.NETENTERPRISESERVERS.EXCEPTIONMESSAGEBOX
    10/28/2010 12:53:28.440 Processing entry ("LANDINGPAGE", "Native")
    10/28/2010 12:53:28.455 Attempting to create .Net security code group node: LANDINGPAGE
    10/28/2010 12:53:28.471 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SLPEXTENSION", "Native")
    10/28/2010 12:53:28.502 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.SLPEXTENSION
    10/28/2010 12:53:28.518 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.AGENTEXTENSION", "Native")
    10/28/2010 12:53:28.533 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.AGENTEXTENSION
    10/28/2010 12:53:28.565 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.POWERSHELLEXTENSION", "Native")
    10/28/2010 12:53:28.580 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.POWERSHELLEXTENSION
    10/28/2010 12:53:28.596 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SSISEXTENSION", "Native")
    10/28/2010 12:53:28.611 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.SSISEXTENSION
    10/28/2010 12:53:28.627 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.ASEXTENSION", "Native")
    10/28/2010 12:53:28.643 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.ASEXTENSION
    10/28/2010 12:53:28.658 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.REPL_CONFIGEXTENSION", "Native")
    10/28/2010 12:53:28.674 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.REPL_CONFIGEXTENSION
    10/28/2010 12:53:28.689 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.MANAGEMENTTOOLSEXTENSION", "Native")
    10/28/2010 12:53:28.705 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.MANAGEMENTTOOLSEXTENSION
    10/28/2010 12:53:28.721 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SQLSERVER_CONFIGEXTENSION", "Native")
    10/28/2010 12:53:28.736 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.SQLSERVER_CONFIGEXTENSION
    10/28/2010 12:53:28.752 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SNISERVERCONFIGEXT", "Native")
    10/28/2010 12:53:28.767 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.SNISERVERCONFIGEXT
    10/28/2010 12:53:28.783 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SQLBROWSEREXTENSION", "Native")
    10/28/2010 12:53:28.814 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.SQLBROWSEREXTENSION
    10/28/2010 12:53:28.830 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.RSEXTENSION", "Native")
    10/28/2010 12:53:28.845 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.RSEXTENSION
    10/28/2010 12:53:28.861 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.DMF", "Native")
    10/28/2010 12:53:28.877 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.DMF
    10/28/2010 12:53:28.892 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SMO", "Native")
    10/28/2010 12:53:28.908 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.SMO
    10/28/2010 12:53:28.923 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SQLENUM", "Native")
    10/28/2010 12:53:28.939 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.SQLENUM
    10/28/2010 12:53:28.955 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.FULLTEXT_CONFIGEXTENSION", "Native")
    10/28/2010 12:53:28.970 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.FULLTEXT_CONFIGEXTENSION
    10/28/2010 12:53:28.986 Processing entry ("MICROSOFT.SQLSERVER.CHAINER.WORKFLOWDATA", "Native")
    10/28/2010 12:53:29.001 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CHAINER.WORKFLOWDATA
    10/28/2010 12:53:29.017 Processing entry ("SHELLOBJECTS", "Native")
    10/28/2010 12:53:29.048 Attempting to create .Net security code group node: SHELLOBJECTS
    10/28/2010 12:53:29.064 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.UTILITYEXTENSION", "Native")
    10/28/2010 12:53:29.079 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.UTILITYEXTENSION
    10/28/2010 12:53:29.095 Processing entry ("MICROSOFT.SQLSERVER.SQM", "Native")
    10/28/2010 12:53:29.111 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.SQM
    10/28/2010 12:53:29.126 Processing entry ("MICROSOFT.DATAWAREHOUSE.SQM", "X86")
    10/28/2010 12:53:29.142 Processing entry ("FIXSQLREGISTRYKEY", "X86")
    10/28/2010 12:53:29.157 Processing entry ("FIXSQLREGISTRYKEY", "X64")
    10/28/2010 12:53:29.173 Attempting to create .Net security code group node: FIXSQLREGISTRYKEY
    10/28/2010 12:53:29.189 Processing entry ("FIXSQLREGISTRYKEY", "IA64")
    10/28/2010 12:53:29.204 Required security code group nodes exist, contine.
    10/28/2010 12:53:29.220 Processing entry ("MICROSOFT.SQLSERVER.DIAGNOSTICS.CONFIGURATION.STRACE", "Native")
    10/28/2010 12:53:29.235 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.DIAGNOSTICS.CONFIGURATION.STRACE
    10/28/2010 12:53:29.251 Processing entry ("MICROSOFT.SQLSERVER.CHAINER.SETUP.RESOURCES", "Native")
    10/28/2010 12:53:29.267 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CHAINER.SETUP.RESOURCES
    10/28/2010 12:53:29.298 Processing entry ("MICROSOFT.SQLSERVER.CHAINER.INFRASTRUCTURE.RESOURCES", "Native")
    10/28/2010 12:53:29.298 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CHAINER.INFRASTRUCTURE.RESOURCES
    10/28/2010 12:53:29.313 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.BOOTSTRAPEXTENSION.RESOURCES", "Native")
    10/28/2010 12:53:29.345 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.BOOTSTRAPEXTENSION.RESOURCES
    10/28/2010 12:53:29.360 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SQLCONFIGBASE.RESOURCES", "Native")
    10/28/2010 12:53:29.376 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.SQLCONFIGBASE.RESOURCES
    10/28/2010 12:53:29.391 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SFC.RESOURCES", "Native")
    10/28/2010 12:53:29.423 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.SFC.RESOURCES
    10/28/2010 12:53:29.438 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SETUPEXTENSION.RESOURCES", "Native")
    10/28/2010 12:53:29.454 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.SETUPEXTENSION.RESOURCES
    10/28/2010 12:53:29.469 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.MSIEXTENSION.RESOURCES", "Native")
    10/28/2010 12:53:29.485 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.MSIEXTENSION.RESOURCES
    10/28/2010 12:53:29.501 Processing entry ("MICROSOFT.SQLSERVER.CHAINER.EXTENSIONCOMMON.RESOURCES", "Native")
    10/28/2010 12:53:29.516 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CHAINER.EXTENSIONCOMMON.RESOURCES
    10/28/2010 12:53:29.532 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SCO.RESOURCES", "Native")
    10/28/2010 12:53:29.547 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.SCO.RESOURCES
    10/28/2010 12:53:29.563 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SCOEXTENSION.RESOURCES", "Native")
    10/28/2010 12:53:29.579 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.SCOEXTENSION.RESOURCES
    10/28/2010 12:53:29.594 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.CONFIGEXTENSION.RESOURCES", "Native")
    10/28/2010 12:53:29.610 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.CONFIGEXTENSION.RESOURCES
    10/28/2010 12:53:29.641 Processing entry ("MICROSOFT.SQLSERVER.DISCOVERY.RESOURCES", "Native")
    10/28/2010 12:53:29.657 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.DISCOVERY.RESOURCES
    10/28/2010 12:53:29.672 Processing entry ("MICROSOFT.SQLSERVER.CONNECTIONINFO.RESOURCES", "Native")
    10/28/2010 12:53:29.688 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONNECTIONINFO.RESOURCES
    10/28/2010 12:53:29.703 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.UIEXTENSION.RESOURCES", "Native")
    10/28/2010 12:53:29.719 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.UIEXTENSION.RESOURCES
    10/28/2010 12:53:29.735 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.WIZARDFRAMEWORK.RESOURCES", "Native")
    10/28/2010 12:53:29.750 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.WIZARDFRAMEWORK.RESOURCES
    10/28/2010 12:53:29.781 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.INSTALLWIZARDFRAMEWORK.RESOURCES", "Native")
    10/28/2010 12:53:29.797 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.INSTALLWIZARDFRAMEWORK.RESOURCES
    10/28/2010 12:53:29.813 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.INSTALLWIZARD.RESOURCES", "Native")
    10/28/2010 12:53:29.828 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.INSTALLWIZARD.RESOURCES
    10/28/2010 12:53:29.844 Processing entry ("MICROSOFT.SQLSERVER.MANAGEMENT.CONTROLS.RESOURCES", "Native")
    10/28/2010 12:53:29.859 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.MANAGEMENT.CONTROLS.RESOURCES
    10/28/2010 12:53:29.875 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.RESOURCES", "Native")
    10/28/2010 12:53:29.891 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.RESOURCES
    10/28/2010 12:53:29.906 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.CONNECTIONINFO.RESOURCES", "Native")
    10/28/2010 12:53:29.922 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.CONNECTIONINFO.RESOURCES
    10/28/2010 12:53:29.937 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.RULESENGINEEXTENSION.RESOURCES", "Native")
    10/28/2010 12:53:29.953 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.RULESENGINEEXTENSION.RESOURCES
    10/28/2010 12:53:29.969 Processing entry ("LANDINGPAGE.RESOURCES", "Native")
    10/28/2010 12:53:29.984 Attempting to create .Net security code group node: LANDINGPAGE.RESOURCES
    10/28/2010 12:53:30.062 Saved .Net security policy file
    10/28/2010 12:53:30.078 Attempting to determine security.config file path
    10/28/2010 12:53:30.093 Checking to see if policy file exists
    10/28/2010 12:53:30.109 .Net security policy file does exist
    10/28/2010 12:53:30.125 Attempting to load .Net security policy file
    10/28/2010 12:53:30.140 Processing entry ("MSVCM80", "Native")
    10/28/2010 12:53:30.156 Processing entry ("MICROSOFT.SQLSERVER.CHAINER.SETUP", "Native")
    10/28/2010 12:53:30.171 Processing entry ("MICROSOFT.SQL.CHAINER.PACKAGE", "Native")
    10/28/2010 12:53:30.187 Processing entry ("MICROSOFT.SQLSERVER.CHAINER.INFRASTRUCTURE", "Native")
    10/28/2010 12:53:30.203 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.BOOTSTRAPEXTENSION", "Native")
    10/28/2010 12:53:30.218 Processing entry ("MICROSOFT.SQLSERVER.SETUP.CHAINER.WORKFLOW", "Native")
    10/28/2010 12:53:30.234 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SQLCONFIGBASE", "Native")
    10/28/2010 12:53:30.249 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SFC", "Native")
    10/28/2010 12:53:30.281 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SETUPEXTENSION", "Native")
    10/28/2010 12:53:30.296 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.MSIEXTENSION", "Native")
    10/28/2010 12:53:30.312 Processing entry ("MICROSOFT.SQLSERVER.CHAINER.EXTENSIONCOMMON", "Native")
    10/28/2010 12:53:30.327 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SCO", "Native")
    10/28/2010 12:53:30.343 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SCOEXTENSION", "Native")
    10/28/2010 12:53:30.359 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.CONFIGEXTENSION", "Native")
    10/28/2010 12:53:30.374 Processing entry ("MICROSOFT.SQLSERVER.DISCOVERY", "Native")
    10/28/2010 12:53:30.390 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.UIEXTENSION", "Native")
    10/28/2010 12:53:30.405 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SSTRING", "Native")
    10/28/2010 12:53:30.421 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.WIZARDFRAMEWORK", "Native")
    10/28/2010 12:53:30.437 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.INSTALLWIZARDFRAMEWORK", "Native")
    10/28/2010 12:53:30.452 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.INSTALLWIZARD", "Native")
    10/28/2010 12:53:30.468 Processing entry ("MICROSOFT.SQLSERVER.MANAGEMENT.CONTROLS", "Native")
    10/28/2010 12:53:30.483 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION", "Native")
    10/28/2010 12:53:30.499 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.CONNECTIONINFO", "Native")
    10/28/2010 12:53:30.530 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.RULESENGINEEXTENSION", "Native")
    10/28/2010 12:53:30.546 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.CLUSTER", "Native")
    10/28/2010 12:53:30.561 Processing entry ("MICROSOFT.SQLSERVER.INTEROP.MSCLUSTERLIB", "Native")
    10/28/2010 12:53:30.577 Processing entry ("MICROSOFT.SQL.CHAINER.PACKAGEDATA", "Native")
    10/28/2010 12:53:30.593 Processing entry ("MICROSOFT.SQL.CHAINER.PRODUCT", "Native")
    10/28/2010 12:53:30.608 Processing entry ("MICROSOFT.NETENTERPRISESERVERS.EXCEPTIONMESSAGEBOX", "Native")
    10/28/2010 12:53:30.624 Processing entry ("LANDINGPAGE", "Native")
    10/28/2010 12:53:30.639 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SLPEXTENSION", "Native")
    10/28/2010 12:53:30.655 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.AGENTEXTENSION", "Native")
    10/28/2010 12:53:30.671 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.POWERSHELLEXTENSION", "Native")
    10/28/2010 12:53:30.686 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SSISEXTENSION", "Native")
    10/28/2010 12:53:30.702 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.ASEXTENSION", "Native")
    10/28/2010 12:53:30.717 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.REPL_CONFIGEXTENSION", "Native")
    10/28/2010 12:53:30.733 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.MANAGEMENTTOOLSEXTENSION", "Native")
    10/28/2010 12:53:30.764 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SQLSERVER_CONFIGEXTENSION", "Native")
    10/28/2010 12:53:30.780 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SNISERVERCONFIGEXT", "Native")
    10/28/2010 12:53:30.795 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SQLBROWSEREXTENSION", "Native")
    10/28/2010 12:53:30.811 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.RSEXTENSION", "Native")
    10/28/2010 12:53:30.827 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.DMF", "Native")
    10/28/2010 12:53:30.842 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SMO", "Native")
    10/28/2010 12:53:30.858 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SQLENUM", "Native")
    10/28/2010 12:53:30.873 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.FULLTEXT_CONFIGEXTENSION", "Native")
    10/28/2010 12:53:30.889 Processing entry ("MICROSOFT.SQLSERVER.CHAINER.WORKFLOWDATA", "Native")
    10/28/2010 12:53:30.905 Processing entry ("SHELLOBJECTS", "Native")
    10/28/2010 12:53:30.920 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.UTILITYEXTENSION", "Native")
    10/28/2010 12:53:30.936 Processing entry ("MICROSOFT.SQLSERVER.SQM", "Native")
    10/28/2010 12:53:30.951 Processing entry ("MICROSOFT.DATAWAREHOUSE.SQM", "X86")
    10/28/2010 12:53:30.967 Attempting to create .Net security code group node: MICROSOFT.DATAWAREHOUSE.SQM
    10/28/2010 12:53:30.983 Processing entry ("FIXSQLREGISTRYKEY", "X86")
    10/28/2010 12:53:31.014 Attempting to create .Net security code group node: FIXSQLREGISTRYKEY
    10/28/2010 12:53:31.029 Processing entry ("FIXSQLREGISTRYKEY", "X64")
    10/28/2010 12:53:31.045 Processing entry ("FIXSQLREGISTRYKEY", "IA64")
    10/28/2010 12:53:31.061 Processing entry ("MICROSOFT.SQLSERVER.DIAGNOSTICS.CONFIGURATION.STRACE", "Native")
    10/28/2010 12:53:31.076 Processing entry ("MICROSOFT.SQLSERVER.CHAINER.SETUP.RESOURCES", "Native")
    10/28/2010 12:53:31.092 Processing entry ("MICROSOFT.SQLSERVER.CHAINER.INFRASTRUCTURE.RESOURCES", "Native")
    10/28/2010 12:53:31.107 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.BOOTSTRAPEXTENSION.RESOURCES", "Native")
    10/28/2010 12:53:31.123 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SQLCONFIGBASE.RESOURCES", "Native")
    10/28/2010 12:53:31.139 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SFC.RESOURCES", "Native")
    10/28/2010 12:53:31.154 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SETUPEXTENSION.RESOURCES", "Native")
    10/28/2010 12:53:31.170 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.MSIEXTENSION.RESOURCES", "Native")
    10/28/2010 12:53:31.185 Processing entry ("MICROSOFT.SQLSERVER.CHAINER.EXTENSIONCOMMON.RESOURCES", "Native")
    10/28/2010 12:53:31.201 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SCO.RESOURCES", "Native")
    10/28/2010 12:53:31.217 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SCOEXTENSION.RESOURCES", "Native")
    10/28/2010 12:53:31.232 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.CONFIGEXTENSION.RESOURCES", "Native")
    10/28/2010 12:53:31.263 Processing entry ("MICROSOFT.SQLSERVER.DISCOVERY.RESOURCES", "Native")
    10/28/2010 12:53:31.279 Processing entry ("MICROSOFT.SQLSERVER.CONNECTIONINFO.RESOURCES", "Native")
    10/28/2010 12:53:31.295 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.UIEXTENSION.RESOURCES", "Native")
    10/28/2010 12:53:31.310 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.WIZARDFRAMEWORK.RESOURCES", "Native")
    10/28/2010 12:53:31.326 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.INSTALLWIZARDFRAMEWORK.RESOURCES", "Native")
    10/28/2010 12:53:31.341 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.INSTALLWIZARD.RESOURCES", "Native")
    10/28/2010 12:53:31.357 Processing entry ("MICROSOFT.SQLSERVER.MANAGEMENT.CONTROLS.RESOURCES", "Native")
    10/28/2010 12:53:31.373 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.RESOURCES", "Native")
    10/28/2010 12:53:31.388 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.CONNECTIONINFO.RESOURCES", "Native")
    10/28/2010 12:53:31.404 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.RULESENGINEEXTENSION.RESOURCES", "Native")
    10/28/2010 12:53:31.419 Processing entry ("LANDINGPAGE.RESOURCES", "Native")
    10/28/2010 12:53:31.466 Saved .Net security policy file
    10/28/2010 12:53:33.697 Strong name verification disabling is not required
    10/28/2010 12:53:33.713 /? or /HELP or /ACTION=HELP specified: false
    10/28/2010 12:53:33.728 Help display: false
    10/28/2010 12:53:33.744 Attempting to launch landing page workflow
    10/28/2010 12:53:33.759 Media source: D:\
    10/28/2010 12:53:33.775 Install media path: D:\x64\setup\
    10/28/2010 12:53:33.791 Media layout: Full
    10/28/2010 12:53:33.822 Attempting to get execution timestamp
    10/28/2010 12:53:33.837 Timestamp: 20101028_125323
    10/28/2010 12:53:33.853 Attempting to run workflow LANDINGPAGE
    10/28/2010 12:53:33.869 Attempting to launch process D:\x64\setup100.exe
    10/28/2010 12:53:41.357 Process returned exit code: 0xE0434F4D
    10/28/2010 12:53:41.403 Workflow LANDINGPAGE returned exit code: 0xE0434F4D
    10/28/2010 12:53:41.419 Attempting to determine security.config file path
    10/28/2010 12:53:41.435 Attempting to load .Net security policy file
    10/28/2010 12:53:41.450 Attempting to remove .Net security code group node
    10/28/2010 12:53:41.466 Removing entry ("MSVCM80", "Native")
    10/28/2010 12:53:41.481 Removing entry ("MICROSOFT.SQLSERVER.CHAINER.SETUP", "Native")
    10/28/2010 12:53:41.497 Removing entry ("MICROSOFT.SQL.CHAINER.PACKAGE", "Native")
    10/28/2010 12:53:41.528 Removing entry ("MICROSOFT.SQLSERVER.CHAINER.INFRASTRUCTURE", "Native")
    10/28/2010 12:53:41.544 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.BOOTSTRAPEXTENSION", "Native")
    10/28/2010 12:53:41.559 Removing entry ("MICROSOFT.SQLSERVER.SETUP.CHAINER.WORKFLOW", "Native")
    10/28/2010 12:53:41.575 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SQLCONFIGBASE", "Native")
    10/28/2010 12:53:41.591 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SFC", "Native")
    10/28/2010 12:53:41.606 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SETUPEXTENSION", "Native")
    10/28/2010 12:53:41.622 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.MSIEXTENSION", "Native")
    10/28/2010 12:53:41.669 Removing entry ("MICROSOFT.SQLSERVER.CHAINER.EXTENSIONCOMMON", "Native")
    10/28/2010 12:53:41.684 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SCO", "Native")
    10/28/2010 12:53:41.700 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SCOEXTENSION", "Native")
    10/28/2010 12:53:41.715 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.CONFIGEXTENSION", "Native")
    10/28/2010 12:53:41.731 Removing entry ("MICROSOFT.SQLSERVER.DISCOVERY", "Native")
    10/28/2010 12:53:41.747 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.UIEXTENSION", "Native")
    10/28/2010 12:53:41.762 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SSTRING", "Native")
    10/28/2010 12:53:41.793 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.WIZARDFRAMEWORK", "Native")
    10/28/2010 12:53:41.809 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.INSTALLWIZARDFRAMEWORK", "Native")
    10/28/2010 12:53:41.825 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.INSTALLWIZARD", "Native")
    10/28/2010 12:53:41.840 Removing entry ("MICROSOFT.SQLSERVER.MANAGEMENT.CONTROLS", "Native")
    10/28/2010 12:53:41.856 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION", "Native")
    10/28/2010 12:53:41.871 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.CONNECTIONINFO", "Native")
    10/28/2010 12:53:41.903 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.RULESENGINEEXTENSION", "Native")
    10/28/2010 12:53:41.918 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.CLUSTER", "Native")
    10/28/2010 12:53:41.934 Removing entry ("MICROSOFT.SQLSERVER.INTEROP.MSCLUSTERLIB", "Native")
    10/28/2010 12:53:41.949 Removing entry ("MICROSOFT.SQL.CHAINER.PACKAGEDATA", "Native")
    10/28/2010 12:53:41.965 Removing entry ("MICROSOFT.SQL.CHAINER.PRODUCT", "Native")
    10/28/2010 12:53:41.981 Removing entry ("MICROSOFT.NETENTERPRISESERVERS.EXCEPTIONMESSAGEBOX", "Native")
    10/28/2010 12:53:42.012 Removing entry ("LANDINGPAGE", "Native")
    10/28/2010 12:53:42.027 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SLPEXTENSION", "Native")
    10/28/2010 12:53:42.043 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.AGENTEXTENSION", "Native")
    10/28/2010 12:53:42.059 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.POWERSHELLEXTENSION", "Native")
    10/28/2010 12:53:42.074 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SSISEXTENSION", "Native")
    10/28/2010 12:53:42.090 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.ASEXTENSION", "Native")
    10/28/2010 12:53:42.105 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.REPL_CONFIGEXTENSION", "Native")
    10/28/2010 12:53:42.121 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.MANAGEMENTTOOLSEXTENSION", "Native")
    10/28/2010 12:53:42.137 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SQLSERVER_CONFIGEXTENSION", "Native")
    10/28/2010 12:53:42.152 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SNISERVERCONFIGEXT", "Native")
    10/28/2010 12:53:42.168 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SQLBROWSEREXTENSION", "Native")
    10/28/2010 12:53:42.183 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.RSEXTENSION", "Native")
    10/28/2010 12:53:42.199 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.DMF", "Native")
    10/28/2010 12:53:42.230 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SMO", "Native")
    10/28/2010 12:53:42.246 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SQLENUM", "Native")
    10/28/2010 12:53:42.261 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.FULLTEXT_CONFIGEXTENSION", "Native")
    10/28/2010 12:53:42.277 Removing entry ("MICROSOFT.SQLSERVER.CHAINER.WORKFLOWDATA", "Native")
    10/28/2010 12:53:42.293 Removing entry ("SHELLOBJECTS", "Native")
    10/28/2010 12:53:42.339 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.UTILITYEXTENSION", "Native")
    10/28/2010 12:53:42.355 Removing entry ("MICROSOFT.SQLSERVER.SQM", "Native")
    10/28/2010 12:53:42.355 Removing entry ("MICROSOFT.DATAWAREHOUSE.SQM", "X86")
    10/28/2010 12:53:42.371 Removing entry ("FIXSQLREGISTRYKEY", "X86")
    10/28/2010 12:53:42.386 Removing entry ("FIXSQLREGISTRYKEY", "X64")
    10/28/2010 12:53:42.386 Removing entry ("FIXSQLREGISTRYKEY", "IA64")
    10/28/2010 12:53:42.402 Removing entry ("MICROSOFT.SQLSERVER.DIAGNOSTICS.CONFIGURATION.STRACE", "Native")
    10/28/2010 12:53:42.402 Removing entry ("MICROSOFT.SQLSERVER.CHAINER.SETUP.RESOURCES", "Native")
    10/28/2010 12:53:42.417 Removing entry ("MICROSOFT.SQLSERVER.CHAINER.INFRASTRUCTURE.RESOURCES", "Native")
    10/28/2010 12:53:42.433 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.BOOTSTRAPEXTENSION.RESOURCES", "Native")
    10/28/2010 12:53:42.433 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SQLCONFIGBASE.RESOURCES", "Native")
    10/28/2010 12:53:42.449 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SFC.RESOURCES", "Native")
    10/28/2010 12:53:42.449 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SETUPEXTENSION.RESOURCES", "Native")
    10/28/2010 12:53:42.464 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.MSIEXTENSION.RESOURCES", "Native")
    10/28/2010 12:53:42.464 Removing entry ("MICROSOFT.SQLSERVER.CHAINER.EXTENSIONCOMMON.RESOURCES", "Native")
    10/28/2010 12:53:42.480 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SCO.RESOURCES", "Native")
    10/28/2010 12:53:42.495 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SCOEXTENSION.RESOURCES", "Native")
    10/28/2010 12:53:42.511 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.CONFIGEXTENSION.RESOURCES", "Native")
    10/28/2010 12:53:42.511 Removing entry ("MICROSOFT.SQLSERVER.DISCOVERY.RESOURCES", "Native")
    10/28/2010 12:53:42.527 Removing entry ("MICROSOFT.SQLSERVER.CONNECTIONINFO.RESOURCES", "Native")
    10/28/2010 12:53:42.527 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.UIEXTENSION.RESOURCES", "Native")
    10/28/2010 12:53:42.542 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.WIZARDFRAMEWORK.RESOURCES", "Native")
    10/28/2010 12:53:42.558 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.INSTALLWIZARDFRAMEWORK.RESOURCES", "Native")
    10/28/2010 12:53:42.558 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.INSTALLWIZARD.RESOURCES", "Native")
    10/28/2010 12:53:42.573 Removing entry ("MICROSOFT.SQLSERVER.MANAGEMENT.CONTROLS.RESOURCES", "Native")
    10/28/2010 12:53:42.573 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.RESOURCES", "Native")
    10/28/2010 12:53:42.589 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.CONNECTIONINFO.RESOURCES", "Native")
    10/28/2010 12:53:42.589 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.RULESENGINEEXTENSION.RESOURCES", "Native")
    10/28/2010 12:53:42.605 Removing entry ("LANDINGPAGE.RESOURCES", "Native")
    10/28/2010 12:53:42.636 Saved .Net security policy file
    10/28/2010 12:53:42.667 Attempting to determine security.config file path
    10/28/2010 12:53:42.667 Attempting to load .Net security policy file
    10/28/2010 12:53:42.683 Attempting to remove .Net security code group node
    10/28/2010 12:53:42.698 Removing entry ("MSVCM80", "Native")
    10/28/2010 12:53:42.698 Removing entry ("MICROSOFT.SQLSERVER.CHAINER.SETUP", "Native")
    10/28/2010 12:53:42.714 Removing entry ("MICROSOFT.SQL.CHAINER.PACKAGE", "Native")
    10/28/2010 12:53:42.714 Removing entry ("MICROSOFT.SQLSERVER.CHAINER.INFRASTRUCTURE", "Native")
    10/28/2010 12:53:42.745 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.BOOTSTRAPEXTENSION", "Native")
    10/28/2010 12:53:42.745 Removing entry ("MICROSOFT.SQLSERVER.SETUP.CHAINER.WORKFLOW", "Native")
    10/28/2010 12:53:42.761 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SQLCONFIGBASE", "Native")
    10/28/2010 12:53:42.761 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SFC", "Native")
    10/28/2010 12:53:42.776 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SETUPEXTENSION", "Native")
    10/28/2010 12:53:42.776 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.MSIEXTENSION", "Native")
    10/28/2010 12:53:42.792 Removing entry ("MICROSOFT.SQLSERVER.CHAINER.EXTENSIONCOMMON", "Native")
    10/28/2010 12:53:42.807 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SCO", "Native")
    10/28/2010 12:53:42.807 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SCOEXTENSION", "Native")
    10/28/2010 12:53:42.823 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.CONFIGEXTENSION", "Native")
    10/28/2010 12:53:42.823 Removing entry ("MICROSOFT.SQLSERVER.DISCOVERY", "Native")
    10/28/2010 12:53:42.839 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.UIEXTENSION", "Native")
    10/28/2010 12:53:42.839 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SSTRING", "Native")
    10/28/2010 12:53:42.854 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.WIZARDFRAMEWORK", "Native")
    10/28/2010 12:53:42.870 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.INSTALLWIZARDFRAMEWORK", "Native")
    10/28/2010 12:53:42.885 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.INSTALLWIZARD", "Native")
    10/28/2010 12:53:42.885 Removing entry ("MICROSOFT.SQLSERVER.MANAGEMENT.CONTROLS", "Native")
    10/28/2010 12:53:42.901 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION", "Native")
    10/28/2010 12:53:42.901 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.CONNECTIONINFO", "Native")
    10/28/2010 12:53:42.917 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.RULESENGINEEXTENSION", "Native")
    10/28/2010 12:53:42.917 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.CLUSTER", "Native")
    10/28/2010 12:53:42.932 Removing entry ("MICROSOFT.SQLSERVER.INTEROP.MSCLUSTERLIB", "Native")
    10/28/2010 12:53:42.948 Removing entry ("MICROSOFT.SQL.CHAINER.PACKAGEDATA", "Native")
    10/28/2010 12:53:42.948 Removing entry ("MICROSOFT.SQL.CHAINER.PRODUCT", "Native")
    10/28/2010 12:53:42.963 Removing entry ("MICROSOFT.NETENTERPRISESERVERS.EXCEPTIONMESSAGEBOX", "Native")
    10/28/2010 12:53:42.963 Removing entry ("LANDINGPAGE", "Native")
    10/28/2010 12:53:42.979 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SLPEXTENSION", "Native")
    10/28/2010 12:53:42.995 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.AGENTEXTENSION", "Native")
    10/28/2010 12:53:42.995 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.POWERSHELLEXTENSION", "Native")
    10/28/2010 12:53:43.010 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SSISEXTENSION", "Native")
    10/28/2010 12:53:43.010 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.ASEXTENSION", "Native")
    10/28/2010 12:53:43.026 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.REPL_CONFIGEXTENSION", "Native")
    10/28/2010 12:53:43.026 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.MANAGEMENTTOOLSEXTENSION", "Native")
    10/28/2010 12:53:43.041 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SQLSERVER_CONFIGEXTENSION", "Native")
    10/28/2010 12:53:43.041 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SNISERVERCONFIGEXT", "Native")
    10/28/2010 12:53:43.057 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SQLBROWSEREXTENSION", "Native")
    10/28/2010 12:53:43.073 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.RSEXTENSION", "Native")
    10/28/2010 12:53:43.073 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.DMF", "Native")
    10/28/2010 12:53:43.088 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SMO", "Native")
    10/28/2010 12:53:43.088 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SQLENUM", "Native")
    10/28/2010 12:53:43.104 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.FULLTEXT_CONFIGEXTENSION", "Native")
    10/28/2010 12:53:43.119 Removing entry ("MICROSOFT.SQLSERVER.CHAINER.WORKFLOWDATA", "Native")
    10/28/2010 12:53:43.119 Removing entry ("SHELLOBJECTS", "Native")
    10/28/2010 12:53:43.135 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.UTILITYEXTENSION", "Native")
    10/28/2010 12:53:43.151 Removing entry ("MICROSOFT.SQLSERVER.SQM", "Native")
    10/28/2010 12:53:43.151 Removing entry ("MICROSOFT.DATAWAREHOUSE.SQM", "X86")
    10/28/2010 12:53:43.166 Removing entry ("FIXSQLREGISTRYKEY", "X86")
    10/28/2010 12:53:43.166 Removing entry ("FIXSQLREGISTRYKEY", "X64")
    10/28/2010 12:53:43.182 Removing entry ("FIXSQLREGISTRYKEY", "IA64")
    10/28/2010 12:53:43.182 Removing entry ("MICROSOFT.SQLSERVER.DIAGNOSTICS.CONFIGURATION.STRACE", "Native")
    10/28/2010 12:53:43.197 Removing entry ("MICROSOFT.SQLSERVER.CHAINER.SETUP.RESOURCES", "Native")
    10/28/2010 12:53:43.213 Removing entry ("MICROSOFT.SQLSERVER.CHAINER.INFRASTRUCTURE.RESOURCES", "Native")
    10/28/2010 12:53:43.213 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.BOOTSTRAPEXTENSION.RESOURCES", "Native")
    10/28/2010 12:53:43.229 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SQLCONFIGBASE.RESOURCES", "Native")
    10/28/2010 12:53:43.244 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SFC.RESOURCES", "Native")
    10/28/2010 12:53:43.244 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SETUPEXTENSION.RESOURCES", "Native")
    10/28/2010 12:53:43.260 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.MSIEXTENSION.RESOURCES", "Native")
    10/28/2010 12:53:43.260 Removing entry ("MICROSOFT.SQLSERVER.CHAINER.EXTENSIONCOMMON.RESOURCES", "Native")
    10/28/2010 12:53:43.275 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SCO.RESOURCES", "Native")
    10/28/2010 12:53:43.291 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SCOEXTENSION.RESOURCES", "Native")
    10/28/2010 12:53:43.291 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.CONFIGEXTENSION.RESOURCES", "Native")
    10/28/2010 12:53:43.307 Removing entry ("MICROSOFT.SQLSERVER.DISCOVERY.RESOURCES", "Native")
    10/28/2010 12:53:43.307 Removing entry ("MICROSOFT.SQLSERVER.CONNECTIONINFO.RESOURCES", "Native")
    10/28/2010 12:53:43.322 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.UIEXTENSION.RESOURCES", "Native")
    10/28/2010 12:53:43.322 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.WIZARDFRAMEWORK.RESOURCES", "Native")
    10/28/2010 12:53:43.338 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.INSTALLWIZARDFRAMEWORK.RESOURCES", "Native")
    10/28/2010 12:53:43.353 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.INSTALLWIZARD.RESOURCES", "Native")
    10/28/2010 12:53:43.369 Removing entry ("MICROSOFT.SQLSERVER.MANAGEMENT.CONTROLS.RESOURCES", "Native")
    10/28/2010 12:53:43.369 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.RESOURCES", "Native")
    10/28/2010 12:53:43.385 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.CONNECTIONINFO.RESOURCES", "Native")
    10/28/2010 12:53:43.385 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.RULESENGINEEXTENSION.RESOURCES", "Native")
    10/28/2010 12:53:43.400 Removing entry ("LANDINGPAGE.RESOURCES", "Native")
    10/28/2010 12:53:43.431 Saved .Net security policy file
    10/28/2010 12:53:43.447 Setup closed with exit code: 0x84C40013
    10/28/2010 12:53:43.463 ======================================================================
    Thanks,
    Adam

  • "Value cannot be null" error when trying to edit or create Maintenance Plan in SQL Server 2008

    I have SQL Server 2008 installed on Windows Server 2008 64bit, every time I try to open or create a new Maintenance Plan I receive the error:
    Value cannot be null.
    Parameter name: component (System.Design)
    Program Location:
       at System.ComponentModel.Design.DesignerHost.System.ComponentModel.Design.IDesignerHost.GetDesigner(IComponent component)
       at Microsoft.DataTransformationServices.VsIntegration.DtsDesignerService.OpenDesigner(String connectionString, Object connection, String objectUrn)
       at Microsoft.SqlServer.Management.DatabaseMaintenance.MaintDesignerMenuHandler.Invoke()
    And in the Design view screen
    "Microsoft SQL Server Management Studio is unable to load this document: Could not load type 'Microsoft.SqlServer.Dts.runtime.Wrapper.IDTSPackageSigning100' from assembly 'Microsoft.SqlServer.DTSRunTimeWrap, Version=10.0.0.0, Culture=neutral'. 
    I have searched for a possible solution and have tried some suggestions of registering the msxml6.dll but and have installed VS2008 SP1 but I'm not in a position where I can do a full reinstall of SQL Server right now. Any help is appreciated. My SQL server
    environment information is below. 
    Microsoft SQL Server Management Studio
    10.0.1600.22 ((SQL_PreRelease).080709-1414 )
    Microsoft Analysis Services Client Tools
    2007.0100.1600.022 ((SQL_PreRelease).080709-1414 )
    Microsoft Data Access Components (MDAC)
    6.0.6002.18005 (lh_sp2rtm.090410-1830)
    Microsoft MSXML 3.0 4.0 5.0 6.0 
    Microsoft Internet Explorer 8.0.6001.18943
    Microsoft .NET Framework 2.0.50727.4206
    Operating System 6.0.6002

    I digged a little deeper and figured out it was a missing directory/file in %TEMP%. Seems some CleaningTool removes all files/directories in %Temp% and after that SSMS was not working any longer. The missing file is actually not needed, but the
    missing directory causes the "Value cannot be null" error.
    My missing file name was:
    C:\Users\<username>\AppData\Local\Temp\2\6vvdaozf.tmp
    But the file name changes on every startup.
    So my missing directory name was:
    C:\Users\<username>\AppData\Local\Temp\2
    After creating a empty directory with the name "2" in %TEMP% all went back to work fine for me.
    I'm not sure the directory name is every time the same, but you can discover your missing file with the process monitor from Sysinternal Tools and filters to "Process Name is ssms.exe" and "Path contains AppData\Local\Temp"
    Hope this helps other people to solve their issues too.
    Thank you!! When I run %temp% it takes me to "C:\Users\Admin ...~\AppData\Local\Temp\some random number". At first the random number was 3, after I logged off and back on it was 2. My temp variable in enviromental variables is correct. I looked on another machine
    running SQL2008 and temp is correct there. If I try to rename the numbered folder SSMS stops working. Any idea?

Maybe you are looking for