<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3434549086691199462</id><updated>2026-05-03T09:15:23.731-07:00</updated><category term="SQL"/><category term="SSIS"/><category term="DTS"/><category term="ERROR"/><category term="High Availability"/><category term="INTERSYSTEMS"/><category term="Apache"/><category term="CACHE"/><category term="CTE"/><category term="Cube"/><category term="Dimensions"/><category term="Duplicate"/><category term="Excel"/><category term="InteropServices"/><category term="Mirror"/><category term="ODBC"/><category term="OLAP"/><category term="SSIS&#xa;ODBC&#xa;Communication error"/><category term="Studio"/><category term="Studio Management"/><category term="VS"/><category term="WAMP"/><category term="database engine"/><category term="port 80"/><category term="visual studio"/><title type='text'>My Experience</title><subtitle type='html'>This blog deals with my personal experiences. This is not limited to what I worked in the field. This includes the work I completed in the school, Challenge projects, Programming competitions and my professional daily problems and how did i solve those. Reason To start the blog was just to document my experience and solutions.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://szexperience.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3434549086691199462/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://szexperience.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/3434549086691199462/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>29</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3434549086691199462.post-2853450406559678227</id><published>2026-04-30T06:37:00.000-07:00</published><updated>2026-05-03T09:15:23.690-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="SSIS&#xa;ODBC&#xa;Communication error"/><title type='text'>SSIS package runs locally but not via Agent Job (Postgres Driver ODBC) </title><content type='html'>&lt;p&gt;I built an SSIS package to pull data from YellowBricks Cloud dataware house using an ODBC connection and load it into SQL Server. On my local machine? Flawless. The DSN is configured, credentials are stored, everything runs without a hitch.&lt;/p&gt;&lt;p data-end=&quot;345&quot; data-start=&quot;294&quot;&gt;Then I deploy it to the server… and it falls apart.&lt;/p&gt;&lt;p data-end=&quot;395&quot; data-start=&quot;347&quot;&gt;The job fails with an &lt;em data-end=&quot;388&quot; data-start=&quot;369&quot;&gt;AcquireConnection&lt;/em&gt; error.&lt;/p&gt;&lt;p data-end=&quot;425&quot; data-start=&quot;397&quot;&gt;I double-checked everything:&lt;/p&gt;&lt;ul data-end=&quot;726&quot; data-start=&quot;426&quot;&gt;&lt;li data-end=&quot;500&quot; data-section-id=&quot;bii0s9&quot; data-start=&quot;426&quot;&gt;Postgres Driver installed DSN , connecting.&lt;/li&gt;&lt;li data-end=&quot;500&quot; data-section-id=&quot;bii0s9&quot; data-start=&quot;426&quot;&gt;Created the exact same System DSN on the server (both 32-bit and 64-bit)
&lt;/li&gt;
&lt;li data-end=&quot;566&quot; data-section-id=&quot;lelb76&quot; data-start=&quot;501&quot;&gt;
Matched every detail—server, database, username, password, port
&lt;/li&gt;
&lt;li data-end=&quot;612&quot; data-section-id=&quot;9jomk0&quot; data-start=&quot;567&quot;&gt;
Verified DSN names are identical everywhere
&lt;/li&gt;
&lt;li data-end=&quot;671&quot; data-section-id=&quot;6j3fmq&quot; data-start=&quot;613&quot;&gt;
Switched the Agent job between 32-bit and 64-bit runtime
&lt;/li&gt;
&lt;li data-end=&quot;726&quot; data-section-id=&quot;xxchyl&quot; data-start=&quot;672&quot;&gt;
Built and tested in both Visual Studio 2017 and 2022.&lt;/li&gt;&lt;li data-end=&quot;726&quot; data-section-id=&quot;xxchyl&quot; data-start=&quot;672&quot;&gt;32-bit checked in SQL agent job.&lt;/li&gt;&lt;li data-end=&quot;726&quot; data-section-id=&quot;xxchyl&quot; data-start=&quot;672&quot;&gt;Validate external metadata checked off.&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Also, tried fetch and declare option from the DSN options as the Google recomendation still broken.&lt;/div&gt;&lt;p data-end=&quot;1011&quot; data-start=&quot;743&quot;&gt;Permissions shouldn’t be the issue—the SQL Agent job runs under a service account with &lt;strong data-end=&quot;836&quot; data-start=&quot;830&quot;&gt;sa&lt;/strong&gt; privileges. Also considerign other jobs running fine.&amp;nbsp;&lt;/p&gt;&lt;p data-end=&quot;1064&quot; data-start=&quot;1013&quot;&gt;My thoughts &quot;Everything &lt;em data-end=&quot;1031&quot; data-start=&quot;1024&quot;&gt;looks&lt;/em&gt; right. Everything &lt;em data-end=&quot;1058&quot; data-start=&quot;1050&quot;&gt;should&lt;/em&gt; work. But on the server? It justwon’t connect&quot;&lt;/p&gt;&lt;p data-end=&quot;1064&quot; data-start=&quot;1013&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p data-end=&quot;1064&quot; data-start=&quot;1013&quot;&gt;Finally found 32 bit driver have limitations. Yes data limitation that the reason 64 bit drivers were created to handle big load. My source above 4.5 million rows and that 32-bit couldn’t handle the load.&lt;/p&gt;&lt;p data-end=&quot;1064&quot; data-start=&quot;1013&quot;&gt;That was the creating the issue. And just like that, it could finally breathe knowing how adjust the SSIS package to over the limitation.&lt;/p&gt;&lt;p data-end=&quot;1064&quot; data-start=&quot;1013&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p data-end=&quot;1064&quot; data-start=&quot;1013&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p data-end=&quot;1064&quot; data-start=&quot;1013&quot;&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://szexperience.blogspot.com/feeds/2853450406559678227/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://szexperience.blogspot.com/2026/04/ssis-package-runs-locally-but-not-via.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3434549086691199462/posts/default/2853450406559678227'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3434549086691199462/posts/default/2853450406559678227'/><link rel='alternate' type='text/html' href='http://szexperience.blogspot.com/2026/04/ssis-package-runs-locally-but-not-via.html' title='SSIS package runs locally but not via Agent Job (Postgres Driver ODBC) '/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3434549086691199462.post-1678352087599354567</id><published>2022-07-19T06:50:00.001-07:00</published><updated>2022-07-19T06:50:17.371-07:00</updated><title type='text'>Simple Python Calculator</title><content type='html'>&lt;p&gt;&amp;nbsp;My background is C - system programming. Switching to Python with so much libraries and functionalities make it a little over whelming. I wrote a simple calculator that rhythms with code we normally write with C.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;First I wrote a simple calculator function, very straight you can practice by changing if to switch statement&amp;nbsp;&lt;/p&gt;&lt;p&gt;import os&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;def Calculation(a, b, operation):&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; if(operation==&#39;+&#39;):&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return(a+b);&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; if(operation==&#39;-&#39;):&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return(a-b);&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; if(operation==&#39;*&#39;):&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return(a*b);&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; if(operation==&#39;/&#39;):&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return(a/b);&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Below is the similar to the main program of &#39;C&#39;.&lt;/p&gt;&lt;p&gt;while(1):&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; print(&#39;Welcome to Sam&#39;&#39;s Calculator \n&#39;)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; print(&#39;Press Q any time to exit the calcultaor \n&#39;)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; a = input(&#39;Please enter the first input =&amp;nbsp; &#39;)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; b = input(&#39;Please enter the second input =&amp;nbsp; &#39;)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; op= input(&#39;Please select the operation to be performed =&amp;nbsp; &#39;)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; if(a==&#39;Q&#39;or a==&#39;q&#39; or b==&#39;Q&#39; or b==&#39;q&#39; or op==&#39;Q&#39; or op==&#39;q&#39; ):&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; print(&#39;Thank you for using Sam&#39;&#39;s Simple calcultaor. Calculator is now exiting \n&#39;)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; break&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; a = int(a)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; b = int(b)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; result= Calculation(a,b, op)&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; print(&quot;Result of the operation &quot;,op,&quot; = &quot;,result)&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://szexperience.blogspot.com/feeds/1678352087599354567/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://szexperience.blogspot.com/2022/07/simple-python-calculator.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3434549086691199462/posts/default/1678352087599354567'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3434549086691199462/posts/default/1678352087599354567'/><link rel='alternate' type='text/html' href='http://szexperience.blogspot.com/2022/07/simple-python-calculator.html' title='Simple Python Calculator'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3434549086691199462.post-8039009276233948617</id><published>2022-06-06T08:50:00.000-07:00</published><updated>2022-06-06T08:50:15.305-07:00</updated><title type='text'>Tensor Flow error : module &#39;tensorflow&#39; has no attribute &#39;gfile&#39;</title><content type='html'>&lt;p&gt;Background: This gfile is still present in tensorflow. This occur due to version change in Tensorflow.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;pre style=&quot;border-radius: var(--br-md); border: 0px; box-sizing: inherit; color: var(--highlight-color); font-family: var(--ff-mono); font-size: var(--fs-body1); font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: var(--lh-md); margin-bottom: calc(var(--s-prose-spacing) + 0.4em); margin-top: 0px; max-height: 600px; overflow-wrap: normal; overflow: auto; padding: var(--su12); vertical-align: baseline; width: auto;&quot;&gt;&lt;code style=&quot;border-radius: 0px; border: 0px; box-sizing: inherit; color: var(--black-800); font-family: var(--ff-mono); font-size: var(--fs-body1); font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;&quot;&gt;  File &quot;/Users/MRJ/anaconda3/envs/python37-tf2.1/lib/python3.7/
site-packages/object_detection/utils/label_map_util.py&quot;,
line 137, in load_labelmap

with tf.gfile.GFile(path, &#39;r&#39;) as fid:
  AttributeError: module &#39;tensorflow&#39; has no attribute &#39;gfile&#39;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Solution:&lt;/p&gt;&lt;p&gt;We need to update the file with the new&amp;nbsp; key word&amp;nbsp;&lt;span style=&quot;background-color: #e3e6e8; color: #232629; font-family: ui-monospace, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Segoe UI Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, Menlo, Monaco, Consolas, monospace; font-size: 13px; white-space: pre-wrap;&quot;&gt;tf.io.gfile.GFile &lt;/span&gt;where the error is occurring.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #e3e6e8; color: #232629; font-family: ui-monospace, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Segoe UI Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, Menlo, Monaco, Consolas, monospace; font-size: 13px; white-space: pre-wrap;&quot;&gt;version 1.xx points to tf.gfile.GFile change for new version 2.xx  is &lt;/span&gt;&lt;span style=&quot;background-color: #e3e6e8; color: #232629; font-family: ui-monospace, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Segoe UI Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, Menlo, Monaco, Consolas, monospace; font-size: 13px; white-space: pre-wrap;&quot;&gt;tf.io.gfile.GFile&lt;/span&gt;&lt;span style=&quot;background-color: #e3e6e8; color: #232629; font-family: ui-monospace, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Segoe UI Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, Menlo, Monaco, Consolas, monospace; font-size: 13px; white-space: pre-wrap;&quot;&gt;   &lt;/span&gt;&lt;/p&gt;&lt;p&gt;Normally this is updated in config_util.py. The error will point which file(s) need to be updated. Once file is updated and saved.&amp;nbsp; Shutdown and restart the jupyter notebook to take effect.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://szexperience.blogspot.com/feeds/8039009276233948617/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://szexperience.blogspot.com/2022/06/tensor-flow-error-module-tensorflow-has.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3434549086691199462/posts/default/8039009276233948617'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3434549086691199462/posts/default/8039009276233948617'/><link rel='alternate' type='text/html' href='http://szexperience.blogspot.com/2022/06/tensor-flow-error-module-tensorflow-has.html' title='Tensor Flow error : module &#39;tensorflow&#39; has no attribute &#39;gfile&#39;'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3434549086691199462.post-4320194911030657630</id><published>2022-06-01T13:58:00.002-07:00</published><updated>2022-06-01T13:58:10.211-07:00</updated><title type='text'>SSIS:  export to csv flat file destination task: The code page on input column error 1252 and is required to be 65001</title><content type='html'>&lt;p&gt;exporting data to flat files. We sometime see error for code page 1252&amp;nbsp; &amp;nbsp;and is required to be 65001 or it can be vice versa.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;pre class=&quot;lang-sql s-code-block&quot; style=&quot;border-radius: var(--br-md); border: 0px; box-sizing: inherit; color: var(--highlight-color); font-family: var(--ff-mono); font-size: var(--fs-body1); font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: var(--lh-md); margin-bottom: calc(var(--s-prose-spacing) + 0.4em); margin-top: 0px; max-height: 600px; overflow-wrap: normal; overflow: auto; padding: var(--su12); vertical-align: baseline; width: auto;&quot;&gt;&lt;code class=&quot;hljs language-sql&quot; style=&quot;border: 0px; box-sizing: inherit; font-family: inherit; font-size: var(--fs-body1); font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;&quot;&gt;ADDITIONAL INFORMATION:

Error &lt;span class=&quot;hljs-keyword&quot; style=&quot;border: 0px; box-sizing: inherit; color: var(--highlight-keyword); font-family: inherit; font-size: 13px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;at&lt;/span&gt; export data &lt;span class=&quot;hljs-keyword&quot; style=&quot;border: 0px; box-sizing: inherit; color: var(--highlight-keyword); font-family: inherit; font-size: 13px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;to&lt;/span&gt; csv [Flat File Destination [&lt;span class=&quot;hljs-number&quot; style=&quot;border: 0px; box-sizing: inherit; color: var(--highlight-namespace); font-family: inherit; font-size: 13px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;187&lt;/span&gt;]]: The code page &lt;span class=&quot;hljs-keyword&quot; style=&quot;border: 0px; box-sizing: inherit; color: var(--highlight-keyword); font-family: inherit; font-size: 13px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;on&lt;/span&gt; input &lt;span class=&quot;hljs-keyword&quot; style=&quot;border: 0px; box-sizing: inherit; color: var(--highlight-keyword); font-family: inherit; font-size: 13px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;column&lt;/span&gt; &quot;...&quot; (&lt;span class=&quot;hljs-number&quot; style=&quot;border: 0px; box-sizing: inherit; color: var(--highlight-namespace); font-family: inherit; font-size: 13px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;958&lt;/span&gt;) &lt;span class=&quot;hljs-keyword&quot; style=&quot;border: 0px; box-sizing: inherit; color: var(--highlight-keyword); font-family: inherit; font-size: 13px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;is&lt;/span&gt; &lt;span class=&quot;hljs-number&quot; style=&quot;border: 0px; box-sizing: inherit; color: var(--highlight-namespace); font-family: inherit; font-size: 13px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;1252&lt;/span&gt; &lt;span class=&quot;hljs-keyword&quot; style=&quot;border: 0px; box-sizing: inherit; color: var(--highlight-keyword); font-family: inherit; font-size: 13px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;and&lt;/span&gt; &lt;span class=&quot;hljs-keyword&quot; style=&quot;border: 0px; box-sizing: inherit; color: var(--highlight-keyword); font-family: inherit; font-size: 13px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;is&lt;/span&gt; required &lt;span class=&quot;hljs-keyword&quot; style=&quot;border: 0px; box-sizing: inherit; color: var(--highlight-keyword); font-family: inherit; font-size: 13px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;to&lt;/span&gt; be &lt;span class=&quot;hljs-number&quot; style=&quot;border: 0px; box-sizing: inherit; color: var(--highlight-namespace); font-family: inherit; font-size: 13px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;65001.&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: white; color: #232629; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI Adjusted&amp;quot;, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Liberation Sans&amp;quot;, sans-serif; font-size: 15px;&quot;&gt;Issue:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #232629; font-family: -apple-system, BlinkMacSystemFont, Segoe UI Adjusted, Segoe UI, Liberation Sans, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Data output from sqlserver by default (This can be updated to other compatible&amp;nbsp;formats) come in&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #373737; font-family: Roboto, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px;&quot;&gt;ANSI - Latin file&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #232629; font-family: -apple-system, BlinkMacSystemFont, Segoe UI Adjusted, Segoe UI, Liberation Sans, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;format i.e. 1252.&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #232629; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI Adjusted&amp;quot;, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Liberation Sans&amp;quot;, sans-serif; font-size: 15px;&quot;&gt;65001 is value for the unicode file (i.e. UTF-8)&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: white; color: #232629; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI Adjusted&amp;quot;, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Liberation Sans&amp;quot;, sans-serif; font-size: 15px;&quot;&gt;The error caused in code pages because 1252 (i.e. Windows-1252) is output from SQL Server and 65001 (i.e. UTF-8) that your CSV file is expecting.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: white; color: #232629; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI Adjusted&amp;quot;, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Liberation Sans&amp;quot;, sans-serif; font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #232629; font-family: -apple-system, BlinkMacSystemFont, Segoe UI Adjusted, Segoe UI, Liberation Sans, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 15px;&quot;&gt;Solution:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #232629; font-family: -apple-system, BlinkMacSystemFont, Segoe UI Adjusted, Segoe UI, Liberation Sans, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 15px;&quot;&gt;There are two solutions:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #232629; font-family: -apple-system, BlinkMacSystemFont, Segoe UI Adjusted, Segoe UI, Liberation Sans, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 15px;&quot;&gt;1) Select the file connection in SSIS --&amp;gt; Open the properties window and update the code page to the required value as below.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #232629; font-family: -apple-system, BlinkMacSystemFont, Segoe UI Adjusted, Segoe UI, Liberation Sans, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #232629; font-family: -apple-system, BlinkMacSystemFont, Segoe UI Adjusted, Segoe UI, Liberation Sans, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 15px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;color: #232629; font-family: -apple-system, BlinkMacSystemFont, Segoe UI Adjusted, Segoe UI, Liberation Sans, sans-serif;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEhaD0AOUwV0VJwm9cTdDeaftl3OYL_54usl0q6zxMrMYLdaoaU7tY0jgU5S8YtoHe8FG9vnFPaEjDpRa2ZlmaB5B2e08L2WhladiM50W0KzhcLStsKcfmt9u-cGiEPQQ_r9j8HSkJEIvO86oR5bNdLlUHR2fzQfHiIBrsOiU5xGKQiHmrBmrMJa8pMI&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;139&quot; data-original-width=&quot;645&quot; height=&quot;122&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEhaD0AOUwV0VJwm9cTdDeaftl3OYL_54usl0q6zxMrMYLdaoaU7tY0jgU5S8YtoHe8FG9vnFPaEjDpRa2ZlmaB5B2e08L2WhladiM50W0KzhcLStsKcfmt9u-cGiEPQQ_r9j8HSkJEIvO86oR5bNdLlUHR2fzQfHiIBrsOiU5xGKQiHmrBmrMJa8pMI=w320-h122&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;color: #232629; font-family: -apple-system, BlinkMacSystemFont, Segoe UI Adjusted, Segoe UI, Liberation Sans, sans-serif;&quot;&gt;&lt;br /&gt;2) Update the SQL code to the unicode format i.e. convert / cast all fields to nvarchar&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #232629; font-family: -apple-system, BlinkMacSystemFont, Segoe UI Adjusted, Segoe UI, Liberation Sans, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 15px;&quot;&gt;e.g. select CONVERT(nvhar(10),GETDATE()) DATE&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://szexperience.blogspot.com/feeds/4320194911030657630/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://szexperience.blogspot.com/2022/06/ssis-export-to-csv-flat-file.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3434549086691199462/posts/default/4320194911030657630'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3434549086691199462/posts/default/4320194911030657630'/><link rel='alternate' type='text/html' href='http://szexperience.blogspot.com/2022/06/ssis-export-to-csv-flat-file.html' title='SSIS:  export to csv flat file destination task: The code page on input column error 1252 and is required to be 65001'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/a/AVvXsEhaD0AOUwV0VJwm9cTdDeaftl3OYL_54usl0q6zxMrMYLdaoaU7tY0jgU5S8YtoHe8FG9vnFPaEjDpRa2ZlmaB5B2e08L2WhladiM50W0KzhcLStsKcfmt9u-cGiEPQQ_r9j8HSkJEIvO86oR5bNdLlUHR2fzQfHiIBrsOiU5xGKQiHmrBmrMJa8pMI=s72-w320-h122-c" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3434549086691199462.post-6892163734424982518</id><published>2019-05-02T08:52:00.000-07:00</published><updated>2019-05-02T08:52:05.904-07:00</updated><title type='text'>No bootable medium found!” error in Virtual Box</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
I was using Ubuntu on Virtual Box, I was constantly getting errors&lt;br /&gt;
&quot;Fatal: No bootable medium found! System halted.&quot;&lt;br /&gt;
&lt;br /&gt;
I used VM to install and test new software programs before I put those in my daily work horse. Long story short.&lt;br /&gt;
&lt;br /&gt;
Change the Setting to below it should work&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg93A_Zk8OtpgFSmSja_AqPAs3jswc_2b8k5Hbr4pYkGWTGHhBbtipx5V2fvihARGS5VPsorbtaExkDAwfbs7cFjjvTuAqgaMMC6BoGFggwQXHM0LoiT9vozdpioKouZPg1HXA6W1KPDpY/s1600/1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;524&quot; data-original-width=&quot;697&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg93A_Zk8OtpgFSmSja_AqPAs3jswc_2b8k5Hbr4pYkGWTGHhBbtipx5V2fvihARGS5VPsorbtaExkDAwfbs7cFjjvTuAqgaMMC6BoGFggwQXHM0LoiT9vozdpioKouZPg1HXA6W1KPDpY/s320/1.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://szexperience.blogspot.com/feeds/6892163734424982518/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://szexperience.blogspot.com/2019/05/no-bootable-medium-found-error-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3434549086691199462/posts/default/6892163734424982518'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3434549086691199462/posts/default/6892163734424982518'/><link rel='alternate' type='text/html' href='http://szexperience.blogspot.com/2019/05/no-bootable-medium-found-error-in.html' title='No bootable medium found!” error in Virtual Box'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg93A_Zk8OtpgFSmSja_AqPAs3jswc_2b8k5Hbr4pYkGWTGHhBbtipx5V2fvihARGS5VPsorbtaExkDAwfbs7cFjjvTuAqgaMMC6BoGFggwQXHM0LoiT9vozdpioKouZPg1HXA6W1KPDpY/s72-c/1.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3434549086691199462.post-6466922769052024248</id><published>2019-05-01T09:20:00.001-07:00</published><updated>2019-05-01T09:20:29.447-07:00</updated><title type='text'>User ‘public’ does not have permission to run DBCC showfilestats for database ‘ testing’</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #333333; font-family: Georgia, &#39;Bitstream Charter&#39;, serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; padding: 0px; vertical-align: baseline;&quot;&gt;
User ‘public’ does not have permission to run DBCC showfilestats for database ‘ testing’&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #333333; font-family: Georgia, &#39;Bitstream Charter&#39;, serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; padding: 0px; vertical-align: baseline;&quot;&gt;
This error message is raised when your user account does not have the db_owner role of a database meaning you are not the owner of the database; and you try to open the properties dialog box of a database in SSMS 2008.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #333333; font-family: Georgia, &#39;Bitstream Charter&#39;, serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #333333; font-family: Georgia, &#39;Bitstream Charter&#39;, serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;border: 0px; margin-bottom: 24px; padding: 0px; vertical-align: baseline;&quot;&gt;
User ‘&amp;lt;User&amp;gt;’ does not have permission to run DBCC showfilestats for database ‘&amp;lt;Database Name&amp;gt; ‘.&lt;/div&gt;
&lt;div style=&quot;border: 0px; margin-bottom: 24px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;strong style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Cause:&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; margin-bottom: 24px; padding: 0px; vertical-align: baseline;&quot;&gt;
This happens when you right click on a database in SSMS and click properties of the database; In response SQL Server 2008 runs the DBCC SHOWFILESTATS command to fetch the UsedSpace property and the AvailableSpace property. Because the user is not the db_owner, the user does not have permission to run the DBCC SHOWFILESTATS command. Therefore, the user cannot open the Properties dialog box in SSMS 2008.&lt;/div&gt;
&lt;div style=&quot;border: 0px; margin-bottom: 24px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; margin-bottom: 24px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;strong style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Resolution:&lt;/strong&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;script async src=&quot;//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js&quot;&gt;&lt;/script&gt;
&lt;script&gt;
     (adsbygoogle = window.adsbygoogle || []).push({
          google_ad_client: &quot;ca-pub-7945866387029722&quot;,
          enable_page_level_ads: true
     });
&lt;/script&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://szexperience.blogspot.com/feeds/6466922769052024248/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://szexperience.blogspot.com/2019/05/user-public-does-not-have-permission-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3434549086691199462/posts/default/6466922769052024248'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3434549086691199462/posts/default/6466922769052024248'/><link rel='alternate' type='text/html' href='http://szexperience.blogspot.com/2019/05/user-public-does-not-have-permission-to.html' title='User ‘public’ does not have permission to run DBCC showfilestats for database ‘ testing’'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3434549086691199462.post-5610542952622924100</id><published>2019-05-01T09:19:00.001-07:00</published><updated>2019-05-01T09:19:10.279-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Cube"/><category scheme="http://www.blogger.com/atom/ns#" term="Dimensions"/><category scheme="http://www.blogger.com/atom/ns#" term="OLAP"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL"/><category scheme="http://www.blogger.com/atom/ns#" term="SSIS"/><title type='text'>Processing Cube Dimension Incrementally </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;script async=&quot;&quot; src=&quot;//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js&quot;&gt;&lt;/script&gt;
&lt;script&gt;
     (adsbygoogle = window.adsbygoogle || []).push({
          google_ad_client: &quot;ca-pub-7945866387029722&quot;,
          enable_page_level_ads: true
     });
&lt;/script&gt;
I didn&#39;t find much about how to process dimensions incrementally in a cube. To be clear, I am focusing on processing cube dimensions not dimension table. I have seen and work with different setting of the cube and work with &quot;Process Update&quot;.&lt;br /&gt;
&lt;br /&gt;
This process the data incrementally in the Cube dimensions.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3xFeEsd7sQ-r7r6xi0DA0c8XfacPScxr0hAyDydLMcfonxivQEtZ8iXR0ddK8zpgFLwlNMgvn0Fxb2pyEFdIaIYUyk0QH1h242wIpwOHKen70zKYwwflIfuxOr2AGalOQ9GCLRzhFiCk/s1600/1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;648&quot; data-original-width=&quot;1152&quot; height=&quot;180&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3xFeEsd7sQ-r7r6xi0DA0c8XfacPScxr0hAyDydLMcfonxivQEtZ8iXR0ddK8zpgFLwlNMgvn0Fxb2pyEFdIaIYUyk0QH1h242wIpwOHKen70zKYwwflIfuxOr2AGalOQ9GCLRzhFiCk/s320/1.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you using SSIS drag and drop analysis service item and set the setting as &quot;Process Update&quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://szexperience.blogspot.com/feeds/5610542952622924100/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://szexperience.blogspot.com/2019/05/processing-cube-dimension-incrementally.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3434549086691199462/posts/default/5610542952622924100'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3434549086691199462/posts/default/5610542952622924100'/><link rel='alternate' type='text/html' href='http://szexperience.blogspot.com/2019/05/processing-cube-dimension-incrementally.html' title='Processing Cube Dimension Incrementally '/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3xFeEsd7sQ-r7r6xi0DA0c8XfacPScxr0hAyDydLMcfonxivQEtZ8iXR0ddK8zpgFLwlNMgvn0Fxb2pyEFdIaIYUyk0QH1h242wIpwOHKen70zKYwwflIfuxOr2AGalOQ9GCLRzhFiCk/s72-c/1.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3434549086691199462.post-2481425354805025170</id><published>2019-04-29T11:35:00.000-07:00</published><updated>2019-05-01T09:19:35.349-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="database engine"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL"/><category scheme="http://www.blogger.com/atom/ns#" term="SSIS"/><category scheme="http://www.blogger.com/atom/ns#" term="Studio"/><category scheme="http://www.blogger.com/atom/ns#" term="Studio Management"/><category scheme="http://www.blogger.com/atom/ns#" term="visual studio"/><category scheme="http://www.blogger.com/atom/ns#" term="VS"/><title type='text'>sqlmanagment studio: cannot find one or more components. Please reinstall the application</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h1 style=&quot;background-color: white; border: none; clear: both; color: #3a3e43; font-family: &#39;Segoe UI&#39;, Arial, Helvetica, sans-serif; font-size: 1.75em; font-weight: normal; line-height: 36.6948738098145px; list-style-type: none; margin: -10px 0px 0px; outline: 0px; padding: 0px;&quot;&gt;
&lt;span name=&quot;subject&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;sqlmanagment studio: cannot find one or more components. Please reinstall the application&lt;/span&gt;&lt;/h1&gt;
&lt;h1 style=&quot;background-color: white; border: none; clear: both; color: #3a3e43; font-family: &#39;Segoe UI&#39;, Arial, Helvetica, sans-serif; font-size: 1.75em; font-weight: normal; line-height: 36.6948738098145px; list-style-type: none; margin: -10px 0px 0px; outline: 0px; padding: 0px;&quot;&gt;
&lt;span name=&quot;subject&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/h1&gt;
&lt;h1 style=&quot;background-color: white; border: none; clear: both; color: #3a3e43; font-family: &#39;Segoe UI&#39;, Arial, Helvetica, sans-serif; font-size: 1.75em; font-weight: normal; line-height: 36.6948738098145px; list-style-type: none; margin: -10px 0px 0px; outline: 0px; padding: 0px;&quot;&gt;
&lt;span name=&quot;subject&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;This can&amp;nbsp;&lt;/span&gt;&lt;/h1&gt;
&lt;h1 style=&quot;background-color: white; border: none; clear: both; color: #3a3e43; font-family: &#39;Segoe UI&#39;, Arial, Helvetica, sans-serif; font-size: 1.75em; font-weight: normal; line-height: 36.6948738098145px; list-style-type: none; margin: -10px 0px 0px; outline: 0px; padding: 0px;&quot;&gt;
&lt;span name=&quot;subject&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;(after installing vs2013)&lt;/span&gt;&lt;/h1&gt;
&lt;div&gt;
&lt;span name=&quot;subject&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span name=&quot;subject&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span name=&quot;subject&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span name=&quot;subject&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span name=&quot;subject&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span name=&quot;subject&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span name=&quot;subject&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span name=&quot;subject&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span name=&quot;subject&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span name=&quot;subject&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span name=&quot;subject&quot; style=&quot;border: 0px; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: white; border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: none; color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 14px; font-style: inherit; font-weight: inherit; line-height: 20.1620178222656px; list-style-type: none; margin-bottom: 1em; outline: 0px; padding: 0px;&quot;&gt;
&lt;span name=&quot;subject&quot; style=&quot;border: 0px; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;SSMS Depends on Visual Studio 2010 IDE,&amp;nbsp;which&amp;nbsp;if not installed the SQL Server Setup will do, but if any version is present, the setup will ignore it, even at repair&lt;/span&gt;&lt;/div&gt;
&lt;span name=&quot;subject&quot; style=&quot;border: 0px; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
&lt;/span&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: white; border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: none; color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 14px; font-style: inherit; font-weight: inherit; line-height: 20.1620178222656px; list-style-type: none; margin-bottom: 1em; outline: 0px; padding: 0px;&quot;&gt;
&lt;span name=&quot;subject&quot; style=&quot;border: 0px; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;Re Install, I figured that the SSMS needs Visual Studio 10 IDE to run, which I&#39;ve removed by mistake after uninstalling VS 2010.&lt;/span&gt;&lt;/div&gt;
&lt;span name=&quot;subject&quot; style=&quot;border: 0px; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
&lt;/span&gt;
&lt;div style=&quot;background-color: white; border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: none; color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 14px; font-style: inherit; font-weight: inherit; line-height: 20.1620178222656px; list-style-type: none; margin-bottom: 1em; outline: 0px; padding: 0px;&quot;&gt;
&lt;span name=&quot;subject&quot; style=&quot;border: 0px; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;So, I Opened the Setup Media and searched for Visual Studio Setup. The .msi file run quitly and Filled the missing parts, and the Management Studio Run OK.&lt;/span&gt;&lt;/div&gt;
&lt;span name=&quot;subject&quot; style=&quot;border: 0px; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
&lt;div style=&quot;background-color: white; border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: none; color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 14px; font-style: inherit; font-weight: inherit; line-height: 20.1620178222656px; list-style-type: none; margin-bottom: 1em; outline: 0px; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: none; color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 14px; font-style: inherit; font-weight: inherit; line-height: 20.1620178222656px; list-style-type: none; margin-bottom: 1em; outline: 0px; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: none; color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 14px; font-style: inherit; font-weight: inherit; line-height: 20.1620178222656px; list-style-type: none; margin-bottom: 1em; outline: 0px; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: none; list-style-type: none; margin-bottom: 1em; outline: 0px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: &amp;quot;segoe ui&amp;quot; , &amp;quot;lucida grande&amp;quot; , &amp;quot;verdana&amp;quot; , &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 20.1620178222656px;&quot;&gt;https://social.msdn.microsoft.com/Forums/sqlserver/en-US/3dd6f643-720f-4878-9594-894da73efd46/sqlmanagment-studio-cannot-find-one-or-more-components-please-reinstall-the-application-after?referrer=http://social.msdn.microsoft.com/Forums/sqlserver/en-US/3dd6f643-720f-4878-9594-894da73efd46/sqlmanagment-studio-cannot-find-one-or-more-components-please-reinstall-the-application-after?forum=sqlexpress&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: none; list-style-type: none; margin-bottom: 1em; outline: 0px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: &amp;quot;segoe ui&amp;quot; , &amp;quot;lucida grande&amp;quot; , &amp;quot;verdana&amp;quot; , &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 20.1620178222656px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: none; list-style-type: none; margin-bottom: 1em; outline: 0px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: &amp;quot;segoe ui&amp;quot; , &amp;quot;lucida grande&amp;quot; , &amp;quot;verdana&amp;quot; , &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 20.1620178222656px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: none; list-style-type: none; margin-bottom: 1em; outline: 0px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: &amp;quot;segoe ui&amp;quot; , &amp;quot;lucida grande&amp;quot; , &amp;quot;verdana&amp;quot; , &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 20.1620178222656px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: none; list-style-type: none; margin-bottom: 1em; outline: 0px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: &amp;quot;segoe ui&amp;quot; , &amp;quot;lucida grande&amp;quot; , &amp;quot;verdana&amp;quot; , &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 20.1620178222656px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: none; color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 14px; line-height: 20.1620178222656px; list-style-type: none; margin-bottom: 1em; outline: 0px; padding: 0px;&quot;&gt;
I found that if you do not have the CD you can get the VS 2010 IDE component that SSMS 2012 relies on here:&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: none; color: #333333; font-family: Calibri; font-size: 11pt; line-height: 20.1620178222656px; list-style-type: none; margin: 0in; outline: 0px; padding: 0px;&quot;&gt;
&lt;a href=&quot;http://www.microsoft.com/en-us/download/confirmation.aspx?id=1366&quot; style=&quot;border: none; color: #0095c4; cursor: pointer; font-family: inherit; font-style: inherit; font-weight: inherit; list-style-type: none; margin: 0px; outline: 0px; padding: 0px; text-decoration: none;&quot;&gt;http://www.microsoft.com/en-us/download/confirmation.aspx?id=1366&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: none; color: #333333; font-family: Calibri; font-size: 11pt; line-height: 20.1620178222656px; list-style-type: none; margin: 0in; outline: 0px; padding: 0px;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: none; color: #333333; font-family: Calibri; font-size: 11pt; line-height: 20.1620178222656px; list-style-type: none; margin: 0in; outline: 0px; padding: 0px;&quot;&gt;
&lt;a href=&quot;http://www.microsoft.com/en-us/download/confirmation.aspx?id=1366&quot; style=&quot;border: none; color: #0095c4; cursor: pointer; font-family: inherit; font-style: inherit; font-weight: inherit; list-style-type: none; margin: 0px; outline: 0px; padding: 0px; text-decoration: none;&quot;&gt;I&lt;/a&gt;t&#39;s called Microsoft Visual Studio 2010 Shell (Isolated)&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: none; color: #333333; font-family: Calibri; font-size: 11pt; line-height: 20.1620178222656px; list-style-type: none; margin: 0in; outline: 0px; padding: 0px;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: none; color: #333333; font-family: Calibri; font-size: 11pt; line-height: 20.1620178222656px; list-style-type: none; margin: 0in; outline: 0px; padding: 0px;&quot;&gt;
After installing that, SSMS runs for me again, Microsoft needs to add this install into their repair logic!&lt;/div&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;script async src=&quot;//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js&quot;&gt;&lt;/script&gt;
&lt;script&gt;
     (adsbygoogle = window.adsbygoogle || []).push({
          google_ad_client: &quot;ca-pub-7945866387029722&quot;,
          enable_page_level_ads: true
     });
&lt;/script&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://szexperience.blogspot.com/feeds/2481425354805025170/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://szexperience.blogspot.com/2019/04/sqlmanagment-studio-cannot-find-one-or.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3434549086691199462/posts/default/2481425354805025170'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3434549086691199462/posts/default/2481425354805025170'/><link rel='alternate' type='text/html' href='http://szexperience.blogspot.com/2019/04/sqlmanagment-studio-cannot-find-one-or.html' title='sqlmanagment studio: cannot find one or more components. Please reinstall the application'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3434549086691199462.post-765362319198988216</id><published>2019-04-29T10:01:00.001-07:00</published><updated>2019-04-29T10:01:13.525-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CTE"/><category scheme="http://www.blogger.com/atom/ns#" term="Duplicate"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL"/><title type='text'>Remove duplicates from SQL Table</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Alot of time duplicates needed to be deleted.&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
Case scenario,&amp;nbsp; When one reocrd is touched it can have same data with only different dates and may end up with duplicates when joining with Id&lt;br /&gt;
&lt;br /&gt;
I normally use the below script to clean it off.&lt;br /&gt;
&lt;br /&gt;
with cte as (&lt;br /&gt;
&amp;nbsp;select&lt;br /&gt;
Id ,row_number()over(partition by Id order by Id ) rn&lt;br /&gt;
from dbo.Table&lt;br /&gt;
)&lt;br /&gt;
&lt;br /&gt;
DELETE from cte where rn&amp;gt;1&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://szexperience.blogspot.com/feeds/765362319198988216/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://szexperience.blogspot.com/2019/04/remove-duplicates-from-sql-table.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3434549086691199462/posts/default/765362319198988216'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3434549086691199462/posts/default/765362319198988216'/><link rel='alternate' type='text/html' href='http://szexperience.blogspot.com/2019/04/remove-duplicates-from-sql-table.html' title='Remove duplicates from SQL Table'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3434549086691199462.post-8016766527738290974</id><published>2019-04-27T18:46:00.001-07:00</published><updated>2019-04-27T18:46:31.213-07:00</updated><title type='text'>The Size Specified for a Binding too Small (SSAS Cube)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;background-color: white; color: #212121; font-family: &amp;quot;open sans&amp;quot;, sans-serif; font-size: 16px;&quot;&gt;Getting an error when processing the&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #212121; font-family: &amp;quot;open sans&amp;quot;, sans-serif; font-size: 16px;&quot;&gt;Cube (SSAS)&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #212121; font-family: &amp;quot;open sans&amp;quot;, sans-serif; font-size: 16px;&quot;&gt;&quot;Errors in the back-end database access module. The size specified for a binding was too small, resulting in one or more column values being truncated. Errors in the OLAP storage engine.”&amp;nbsp; This error is due to the size of the Attribute exceeds the Data Size defined in the attribute.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #212121; font-family: &amp;quot;open sans&amp;quot;, sans-serif; font-size: 16px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; color: #212121; font-family: &amp;quot;open sans&amp;quot;, sans-serif; font-size: 16px;&quot;&gt;I have seen this error comes at two places that is&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #212121; font-family: &amp;quot;open sans&amp;quot;, sans-serif; font-size: 16px;&quot;&gt;1) when data size in physical fact table is changed.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #212121; font-family: &amp;quot;open sans&amp;quot;, sans-serif; font-size: 16px;&quot;&gt;2)&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #212121; font-family: &amp;quot;open sans&amp;quot;, sans-serif; font-size: 16px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #212121; font-family: &amp;quot;open sans&amp;quot;, sans-serif; font-size: 16px;&quot;&gt;when data size in&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #212121; font-family: &amp;quot;open sans&amp;quot;, sans-serif; font-size: 16px;&quot;&gt;physical&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #212121; font-family: &amp;quot;open sans&amp;quot;, sans-serif; font-size: 16px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #212121; font-family: &amp;quot;open sans&amp;quot;, sans-serif; font-size: 16px;&quot;&gt;dimension table is changed.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #212121; font-family: &amp;quot;open sans&amp;quot;, sans-serif; font-size: 16px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #212121; font-family: open sans, sans-serif;&quot;&gt;Resolution for&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #212121; font-family: open sans, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #212121; font-family: open sans, sans-serif;&quot;&gt;1) If dimensions are processing successfully only seeing the error when Cube itself is processed. Open the data source view right&amp;nbsp;click and refresh. This will fix the cube. Now deploy the Cube and re-process.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #212121; font-family: open sans, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #212121; font-family: open sans, sans-serif;&quot;&gt;2) If error comes when processing dimensions. This can be solved easily by two ways.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #212121; font-family: open sans, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #212121; font-family: open sans, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; A) If it is simple Dimension, delete and create new dimension link the keys with Fact.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #212121; font-family: open sans, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; B) If the above is not an option then check data type of each attribute of the dimension, match this with physical dimension table. and update the data type in the dimension attribute.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #212121; font-family: open sans, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4zBIf1q5UL1F9mq1d9e0ujeYekm-JdPLsrfMYUNsF9etj2_HE7AHgsTMVnopZx9VgPsfPADE8x-esumoLDD3sPzRUBhp4fAwHgvg2bGSehro4X_YwvRN0NmSys_w-hPF_PUq2VWiGotc/s1600/1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;864&quot; data-original-width=&quot;1536&quot; height=&quot;180&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4zBIf1q5UL1F9mq1d9e0ujeYekm-JdPLsrfMYUNsF9etj2_HE7AHgsTMVnopZx9VgPsfPADE8x-esumoLDD3sPzRUBhp4fAwHgvg2bGSehro4X_YwvRN0NmSys_w-hPF_PUq2VWiGotc/s320/1.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVRsCoIZp6l3zPzE4cide2LuReYJD6KjXqwgM6CxcfA85yB8F7q2ENnde8w__1gLihGvtZusF3suVTpAFFOAdlHB1Rb2lAzFEHnMYFDdV9Jkav4QP3qGgTybza4_dOGlab7Pwu6DXe7bg/s1600/1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;864&quot; data-original-width=&quot;1536&quot; height=&quot;180&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVRsCoIZp6l3zPzE4cide2LuReYJD6KjXqwgM6CxcfA85yB8F7q2ENnde8w__1gLihGvtZusF3suVTpAFFOAdlHB1Rb2lAzFEHnMYFDdV9Jkav4QP3qGgTybza4_dOGlab7Pwu6DXe7bg/s320/1.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;color: #212121; font-family: open sans, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;After updating Data types re-process the dimensions.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #212121; font-family: open sans, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;Have a happy day.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #212121; font-family: open sans, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://szexperience.blogspot.com/feeds/8016766527738290974/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://szexperience.blogspot.com/2019/04/the-size-specified-for-binding-too.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3434549086691199462/posts/default/8016766527738290974'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3434549086691199462/posts/default/8016766527738290974'/><link rel='alternate' type='text/html' href='http://szexperience.blogspot.com/2019/04/the-size-specified-for-binding-too.html' title='The Size Specified for a Binding too Small (SSAS Cube)'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4zBIf1q5UL1F9mq1d9e0ujeYekm-JdPLsrfMYUNsF9etj2_HE7AHgsTMVnopZx9VgPsfPADE8x-esumoLDD3sPzRUBhp4fAwHgvg2bGSehro4X_YwvRN0NmSys_w-hPF_PUq2VWiGotc/s72-c/1.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3434549086691199462.post-4811769503213745255</id><published>2014-04-25T08:54:00.001-07:00</published><updated>2014-04-25T08:55:07.795-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="DTS"/><category scheme="http://www.blogger.com/atom/ns#" term="ERROR"/><category scheme="http://www.blogger.com/atom/ns#" term="Excel"/><category scheme="http://www.blogger.com/atom/ns#" term="InteropServices"/><category scheme="http://www.blogger.com/atom/ns#" term="INTERSYSTEMS"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL"/><category scheme="http://www.blogger.com/atom/ns#" term="SSIS"/><title type='text'>System.Runtime.InteropServices.COMException (0x800A03EC): Microsoft Excel cannot access the file</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
I develop a package in SSIS, I need to use format excel sheets and I am sure many of you will using it because of business people needing data in pretty form. Any ways, till this part when I run from SSIS it works like a champ. But as soon as I scheduled in SQL agent on server it started to fail with below error.&lt;br /&gt;
&lt;br /&gt;
Description: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---&amp;gt; System.Runtime.InteropServices.COMException (0x800A03EC): Microsoft Excel cannot access the file &#39;xxxxxlsx&#39;. There are several possible reasons: &amp;nbsp; &amp;nbsp;? The file name or path does not exist. &amp;nbsp;? The file is being used by another program. &amp;nbsp;? The workbook you are trying to save has the same name as a currently open workbook. &amp;nbsp; &amp;nbsp; at Microsoft.Office.Interop.Excel.Workbooks&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After sometime when I was about to give up because the solutions I was seeing on the web either say go play with DcomConfig or hack registry keys yeah like some one is gonna let me do that on prod server.&lt;br /&gt;
&lt;br /&gt;
Finally found MS document that hints the below procedure it works and best part don&#39;t need to mess with registry keys.&lt;/div&gt;
&lt;br style=&quot;font-family: Verdana, Geneva, sans-serif; font-size: 13px; line-height: 18.200000762939453px;&quot; /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; font-family: Arial, Verdana; font-size: 14px; line-height: 20px;&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-family: Calibri, sans-serif;&quot;&gt;Solution(1)&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; font-family: Arial, Verdana; font-size: 14px; line-height: 20px;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Calibri, sans-serif;&quot;&gt;Create folder called &quot;Desktop&quot; really dont know why but it works.&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; font-family: Arial, Verdana; font-size: 14px; line-height: 20px;&quot;&gt;
Create directory &quot;C:\Windows\SysWOW64\config\systemprofile\&lt;b&gt;&lt;span style=&quot;font-family: Calibri, sans-serif;&quot;&gt;Desktop&lt;/span&gt;&lt;/b&gt;” (for 64 bit Windows) or &quot;C:\Windows\System32\config\systemprofile\&lt;b&gt;&lt;span style=&quot;font-family: Calibri, sans-serif;&quot;&gt;Desktop&lt;/span&gt;&lt;/b&gt;” (for 32 bit Windows)&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; font-family: Arial, Verdana; font-size: 14px; line-height: 20px;&quot;&gt;
In my case I had created folder on both locations and give&amp;nbsp;read write&amp;nbsp;permissions on it&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; font-family: Arial, Verdana; font-size: 14px; line-height: 20px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; font-family: Arial, Verdana; font-size: 14px; line-height: 20px;&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-family: Calibri, sans-serif;&quot;&gt;P.S&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; font-family: Arial, Verdana; font-size: 14px; line-height: 20px;&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-family: Calibri, sans-serif;&quot;&gt;You will still see this error even if you have created the folder but the permissions are not correct.&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; font-family: Arial, Verdana; font-size: 14px; line-height: 20px;&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-family: Calibri, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; font-family: Arial, Verdana; font-size: 14px; line-height: 20px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://szexperience.blogspot.com/feeds/4811769503213745255/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://szexperience.blogspot.com/2014/04/systemruntimeinteropservicescomexceptio.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3434549086691199462/posts/default/4811769503213745255'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3434549086691199462/posts/default/4811769503213745255'/><link rel='alternate' type='text/html' href='http://szexperience.blogspot.com/2014/04/systemruntimeinteropservicescomexceptio.html' title='System.Runtime.InteropServices.COMException (0x800A03EC): Microsoft Excel cannot access the file'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3434549086691199462.post-4531169736755853815</id><published>2013-08-24T13:47:00.001-07:00</published><updated>2013-08-24T15:25:18.335-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CACHE"/><category scheme="http://www.blogger.com/atom/ns#" term="INTERSYSTEMS"/><category scheme="http://www.blogger.com/atom/ns#" term="ODBC"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL"/><category scheme="http://www.blogger.com/atom/ns#" term="SSIS"/><title type='text'>Cache InterSystems Database And SSIS</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
This Post is important as I got an experienced with Cache Intersystems Database and SSIS. &amp;nbsp;Most of you who don&#39;t know about Cache database, this is not relational database. This Database is based on classes and objects and it reside in memory.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;CACHE DB CONNECTION :&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Cache DB is connected with ODBC connection only. You will find ODBC connection in ADO.NET component.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
In my Case Tables were not loading into the SSIS. And I had no clue what are the table names so I have to use SQL command. If you are also in this situation then you can use Access DB it uses an easy way to connect and load to ODBC and it can show you all the tables. Another way is to use SSMS and use link serves to get to the ODBC. I personally would prefer to use Access because of easiness.&lt;br /&gt;
&lt;br /&gt;
Follow the screen shots and once you setup the connection for Cache database in SSIS, Right click the ADO component and select properties and Set the connection manager.&lt;br /&gt;
&lt;br /&gt;
This is should fix the Cache and other ODBC connections to SSIS.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_AIsVSivq2b4DCkuKPhdKHCZsNbAfKVj_dvo0U8a2YqmIzx7AcxW-CS07RZGO48h-BO8CsU1WkMlvVwnHPJB7Q8VNZFJ_71pfTvn2DfSeT8JCXgVL3PAhfSI2ZsHbArI26_xzH9Wghyk/s1600/2013-08-19+15_44_28-intersystem+Data+CCM+-+Microsoft+Visual+Studio.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;190&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_AIsVSivq2b4DCkuKPhdKHCZsNbAfKVj_dvo0U8a2YqmIzx7AcxW-CS07RZGO48h-BO8CsU1WkMlvVwnHPJB7Q8VNZFJ_71pfTvn2DfSeT8JCXgVL3PAhfSI2ZsHbArI26_xzH9Wghyk/s640/2013-08-19+15_44_28-intersystem+Data+CCM+-+Microsoft+Visual+Studio.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_R8sOlV4JZyBys9f_gKBBU1dVXDQLI_wrLorDRPHIGbcuWe-xtKmtFKJAJKBzJT9gaSmYiVam3IoEQgEI87R6_-Sr1IC5sy8WPQFnuHIIam6PnGQ30jdftOC4UrYSd9x3E3VF7CC1Jak/s1600/2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;258&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_R8sOlV4JZyBys9f_gKBBU1dVXDQLI_wrLorDRPHIGbcuWe-xtKmtFKJAJKBzJT9gaSmYiVam3IoEQgEI87R6_-Sr1IC5sy8WPQFnuHIIam6PnGQ30jdftOC4UrYSd9x3E3VF7CC1Jak/s640/2.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDuuajZxDr68tAZOB3IXblJE8kw9_LBUryos8-mWVhcECP9KBRcgxVKdQ13-G2giPKiZGt0Eu6TSEbLmUQO-wZSbQXtqjYGPxy04aM-tbYUHlC7lk75CPEBaM7ohoExPOOoVgIUWnR72U/s1600/3.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;522&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDuuajZxDr68tAZOB3IXblJE8kw9_LBUryos8-mWVhcECP9KBRcgxVKdQ13-G2giPKiZGt0Eu6TSEbLmUQO-wZSbQXtqjYGPxy04aM-tbYUHlC7lk75CPEBaM7ohoExPOOoVgIUWnR72U/s640/3.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhr4ptOy0ix8PYc8X6M4rlTPHquqLdy8LbSnQ65kXnVOXYNJbMg2xhBOxqZp89NnNjhpAQJhm-qdTLKYUXRkyCtxBP0-5AaQ-QnlBaRblUvxI0kzDYp43VC8MsaWxRehJI0qvsYXgzuu4g/s1600/4.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;640&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhr4ptOy0ix8PYc8X6M4rlTPHquqLdy8LbSnQ65kXnVOXYNJbMg2xhBOxqZp89NnNjhpAQJhm-qdTLKYUXRkyCtxBP0-5AaQ-QnlBaRblUvxI0kzDYp43VC8MsaWxRehJI0qvsYXgzuu4g/s640/4.png&quot; width=&quot;616&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHhlzEsmbWD4m2vNPKRX0Hi5ksS5gggpOqlCnM2dNRS56Wzm3g1OiCubrKHuOimb4HJLAssfgFsBBdSdDyNmmjCEVBhyphenhyphen6jgi0kyy3fwZLOvOqdm97_6ddXjZzXnmLjvTwtRLsR08n71GI/s1600/5.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;348&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHhlzEsmbWD4m2vNPKRX0Hi5ksS5gggpOqlCnM2dNRS56Wzm3g1OiCubrKHuOimb4HJLAssfgFsBBdSdDyNmmjCEVBhyphenhyphen6jgi0kyy3fwZLOvOqdm97_6ddXjZzXnmLjvTwtRLsR08n71GI/s640/5.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMSbrwHTT8e2lioGdXFhVVlFj-gTWFEtCjBzr90kSUOxEn4jaFlruKqqcZNrD942UqNnkSUdNkQTV1os6Yhpck01IG_vu3bYOHESnajd2WAMKXUcfz58pDlOJ9EDtN9pWYIAiAB8Q4ba4/s1600/6.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;640&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMSbrwHTT8e2lioGdXFhVVlFj-gTWFEtCjBzr90kSUOxEn4jaFlruKqqcZNrD942UqNnkSUdNkQTV1os6Yhpck01IG_vu3bYOHESnajd2WAMKXUcfz58pDlOJ9EDtN9pWYIAiAB8Q4ba4/s640/6.png&quot; width=&quot;626&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNJ5yAQrE4ejYrZDAgqxVwSl_pvJ_xJAyMcn3lsNsLGQYp9dLUs_70iEC6RXQsBOWi_6EajEZwzZPpoYZ2lh-ZxFMqgT-uEOrekWyAM60FlGi7EVq3zzOQKZN9dgmYPXGVgQ-ufw_0J20/s1600/7.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;640&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNJ5yAQrE4ejYrZDAgqxVwSl_pvJ_xJAyMcn3lsNsLGQYp9dLUs_70iEC6RXQsBOWi_6EajEZwzZPpoYZ2lh-ZxFMqgT-uEOrekWyAM60FlGi7EVq3zzOQKZN9dgmYPXGVgQ-ufw_0J20/s640/7.png&quot; width=&quot;632&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlHAsSTDUfop4Uryn0BmZtcHbdVD6vcHS3qqX2Juz5anTYRezLtIGl_cLAKd1iZs2nqOM_YpTjAPu9V7s38ZP4VUzsJMI_3MgWpIMa04Jf8kdeJQ5_A0Jj8IxJqoU1wrWtDicnYSsjybs/s1600/8.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;550&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlHAsSTDUfop4Uryn0BmZtcHbdVD6vcHS3qqX2Juz5anTYRezLtIGl_cLAKd1iZs2nqOM_YpTjAPu9V7s38ZP4VUzsJMI_3MgWpIMa04Jf8kdeJQ5_A0Jj8IxJqoU1wrWtDicnYSsjybs/s640/8.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgBKUaXIc1Tm5-RYoqhpRRWV4ceWFkbSOvZRDQzXWrEHIqtQZAs2Sm4BzeHjeRbhYmG0E3gjokEU2oyZEIv52CZ6fQZQonS0gLNQlh61_Z1LLvsXjKsYdhn_M963N2rsrEL0wgJD92rw1o/s1600/9.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;596&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgBKUaXIc1Tm5-RYoqhpRRWV4ceWFkbSOvZRDQzXWrEHIqtQZAs2Sm4BzeHjeRbhYmG0E3gjokEU2oyZEIv52CZ6fQZQonS0gLNQlh61_Z1LLvsXjKsYdhn_M963N2rsrEL0wgJD92rw1o/s640/9.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPQTN17lSBlB4-Uj1tzxS32GsjsI-6CsT-oU9UOxlswnxTrInLx74xnPN3EChJOfFJyZcAiqXQomjhVDh_eFLwxVAdAhpOr8rzvbdx8TIDavs3jgQq10iWyKz0TR7s3WkIzr2rp_5qhFk/s1600/10.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;584&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPQTN17lSBlB4-Uj1tzxS32GsjsI-6CsT-oU9UOxlswnxTrInLx74xnPN3EChJOfFJyZcAiqXQomjhVDh_eFLwxVAdAhpOr8rzvbdx8TIDavs3jgQq10iWyKz0TR7s3WkIzr2rp_5qhFk/s640/10.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghMfP41Eq7OeWOPouHcmyDkCuBhgKxpsEfWttdJZjGUQYfJzR0JgSdwmXVcPhHnqyeANH7oymCGFjhYRt-a8CdOahE6E_9EF3ziVcbU1HtvLssgR-4ue2K4HkSK0acXjoqbMyf09gXD_U/s1600/11.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;542&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghMfP41Eq7OeWOPouHcmyDkCuBhgKxpsEfWttdJZjGUQYfJzR0JgSdwmXVcPhHnqyeANH7oymCGFjhYRt-a8CdOahE6E_9EF3ziVcbU1HtvLssgR-4ue2K4HkSK0acXjoqbMyf09gXD_U/s640/11.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjugVDyOVQw07QuyhOxEZ1br7mJOh9Q6jKtBJnXGL-E9TH3PHMt_Nz_Y8kjB6JOWD5mIT2wwZyit-6Lupi8sQpGccOW-ve_GZDG3zWgPN9f5rIt7MROIBAAbWONhJ9YgSjJ0fFvUPput-g/s1600/2013-08-19+15_44_44-intersystem+Data+CCM+-+Microsoft+Visual+Studio.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;424&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjugVDyOVQw07QuyhOxEZ1br7mJOh9Q6jKtBJnXGL-E9TH3PHMt_Nz_Y8kjB6JOWD5mIT2wwZyit-6Lupi8sQpGccOW-ve_GZDG3zWgPN9f5rIt7MROIBAAbWONhJ9YgSjJ0fFvUPput-g/s640/2013-08-19+15_44_44-intersystem+Data+CCM+-+Microsoft+Visual+Studio.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://szexperience.blogspot.com/feeds/4531169736755853815/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://szexperience.blogspot.com/2013/08/cache-intersystems-database-and-ssis.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3434549086691199462/posts/default/4531169736755853815'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3434549086691199462/posts/default/4531169736755853815'/><link rel='alternate' type='text/html' href='http://szexperience.blogspot.com/2013/08/cache-intersystems-database-and-ssis.html' title='Cache InterSystems Database And SSIS'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_AIsVSivq2b4DCkuKPhdKHCZsNbAfKVj_dvo0U8a2YqmIzx7AcxW-CS07RZGO48h-BO8CsU1WkMlvVwnHPJB7Q8VNZFJ_71pfTvn2DfSeT8JCXgVL3PAhfSI2ZsHbArI26_xzH9Wghyk/s72-c/2013-08-19+15_44_28-intersystem+Data+CCM+-+Microsoft+Visual+Studio.png" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3434549086691199462.post-1919211747728348033</id><published>2013-08-18T22:14:00.001-07:00</published><updated>2013-08-18T22:14:56.783-07:00</updated><title type='text'>Database Emails</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
The most incentive stuff a new DBA would like to implement first is always emails. Email are very important part of SQL as it is the efficient way for DBA to know if any anything goes wrong.&lt;br /&gt;
&lt;br /&gt;
But using Emails efficiently is another problem I like to share one story let give him a fake name ABC since I&amp;nbsp;don&#39;t&amp;nbsp;want to offend the guy lol:) . Now he planned his email in this way that he would get email of each and everything going on example he&amp;nbsp;received&amp;nbsp;email for each back up , differential backup and transition log. I was surprised when he&amp;nbsp;complaint&amp;nbsp;that his emails are too much for him. As I advised him if he can follow a reverse order example if something goes down then you&amp;nbsp;received&amp;nbsp;email. that going to surely reduce the frequency of sql mails.&lt;br /&gt;
&lt;br /&gt;
Ok let start what to do when Database mails are not working.&lt;br /&gt;
&lt;br /&gt;
First I am not explaining how to start the Database wizard I hope you already know.&lt;br /&gt;
What I am trying to focus is when you start thinking why your email is not working I identified those places.&lt;br /&gt;
&lt;br /&gt;
First thing to check, Profile &amp;nbsp;make sure if you are using the correct profile.&lt;br /&gt;
Second, Check the email address, Server and Port number.&lt;br /&gt;
I always keep it simple espcially when I know I am in secure intranet I don&#39;t use SSL certificate but you can optional.&lt;br /&gt;
And one Important part if your emails are hosted that mean some third party is taking care fro Microsoft exchange then you need to provide the credentials no exception but again if you are in intranet and consider you intranet to be safe keep it anonymous.&lt;br /&gt;
&lt;br /&gt;
Now let say you already check above nothing happened.&lt;br /&gt;
Go and check you Anti-Virus exclude MSSQL and check port number if its block or unavailable.&lt;br /&gt;
You can check port by telnet or ping use command line.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfsyjCdqiLBsbL3cQg7UJvk-mmdm1Y6PtzhjbbNAzaTiV2eQc2XHZPVinSxo7r3zxAT6SMSH316-I5WJVaR3hl5TPEoCWUul7hwKLQZn1ooy7UkCtmWzgk1j5fQH5SyXBaULzQgLR1pk4/s1600/2013-08-18+23_59_41-SQL+SERVER+%E2%80%93+2008+%E2%80%93+Configure+Database+Mail+%E2%80%93+Send+Email+From+SQL+Database+_+Jou.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;345&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfsyjCdqiLBsbL3cQg7UJvk-mmdm1Y6PtzhjbbNAzaTiV2eQc2XHZPVinSxo7r3zxAT6SMSH316-I5WJVaR3hl5TPEoCWUul7hwKLQZn1ooy7UkCtmWzgk1j5fQH5SyXBaULzQgLR1pk4/s400/2013-08-18+23_59_41-SQL+SERVER+%E2%80%93+2008+%E2%80%93+Configure+Database+Mail+%E2%80%93+Send+Email+From+SQL+Database+_+Jou.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigBoIBdnKleWmKjjCAIQJPVvHHIUHYXUkSmLu8Q-jaVbQdsmDZURO2-xbqp1NhYID-S2_62kTnKFaXDs26NdbBmoW4RAMTkem09gU0sktOkgNen7FVlm0jwRRqZ8VabQE92T0LXO8O4_A/s1600/2013-08-19+00_01_48-SQL+SERVER+%E2%80%93+2008+%E2%80%93+Configure+Database+Mail+%E2%80%93+Send+Email+From+SQL+Database+_+Jou.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;343&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigBoIBdnKleWmKjjCAIQJPVvHHIUHYXUkSmLu8Q-jaVbQdsmDZURO2-xbqp1NhYID-S2_62kTnKFaXDs26NdbBmoW4RAMTkem09gU0sktOkgNen7FVlm0jwRRqZ8VabQE92T0LXO8O4_A/s400/2013-08-19+00_01_48-SQL+SERVER+%E2%80%93+2008+%E2%80%93+Configure+Database+Mail+%E2%80%93+Send+Email+From+SQL+Database+_+Jou.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://szexperience.blogspot.com/feeds/1919211747728348033/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://szexperience.blogspot.com/2013/08/database-emails.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3434549086691199462/posts/default/1919211747728348033'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3434549086691199462/posts/default/1919211747728348033'/><link rel='alternate' type='text/html' href='http://szexperience.blogspot.com/2013/08/database-emails.html' title='Database Emails'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfsyjCdqiLBsbL3cQg7UJvk-mmdm1Y6PtzhjbbNAzaTiV2eQc2XHZPVinSxo7r3zxAT6SMSH316-I5WJVaR3hl5TPEoCWUul7hwKLQZn1ooy7UkCtmWzgk1j5fQH5SyXBaULzQgLR1pk4/s72-c/2013-08-18+23_59_41-SQL+SERVER+%E2%80%93+2008+%E2%80%93+Configure+Database+Mail+%E2%80%93+Send+Email+From+SQL+Database+_+Jou.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3434549086691199462.post-5795614263934526677</id><published>2013-02-04T20:44:00.002-08:00</published><updated>2013-02-05T08:29:14.378-08:00</updated><title type='text'>MIrror Suspend Error 1583</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;background-color: white; font-size: 13.63636302947998px; line-height: 16.363636016845703px;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;when I do resume the mirror it trys to synchronize but fails and suspends itself after around 30 seconds always with the same size of unrestored log - does this mean there is a bad part of the log?&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-size: 13.63636302947998px; line-height: 16.363636016845703px;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13.63636302947998px; line-height: 16.363636016845703px;&quot;&gt;And you dont want to break the mirror because if it &amp;nbsp;happen then &amp;nbsp;you need full backup of the live database and restore it to the mirror.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Sometimes suddenly we see that Mirror is suspended. This is a common problem, &amp;nbsp;and this error normally comes up from the when either the Data Disk or Log Disk is getting full. So Clean the Disk and Let the Mirror Continue Easily. Remember to resume the Mirror by going Task-&amp;gt;Mirror-&amp;gt; Resume.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And always start trouble shooting by looking at the logs of the SQL rather than looking at google first :)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://szexperience.blogspot.com/feeds/5795614263934526677/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://szexperience.blogspot.com/2013/02/mirror-suspend-error-1583.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3434549086691199462/posts/default/5795614263934526677'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3434549086691199462/posts/default/5795614263934526677'/><link rel='alternate' type='text/html' href='http://szexperience.blogspot.com/2013/02/mirror-suspend-error-1583.html' title='MIrror Suspend Error 1583'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3434549086691199462.post-7933355690866170791</id><published>2013-01-08T20:45:00.001-08:00</published><updated>2013-01-08T20:45:03.949-08:00</updated><title type='text'>Operating System error 5</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Operating System error 5, very common error normally this error is raised because user has right issue on the folders or been restricted by operating system. So contact your Network Admin and Settle all the rights issue and everything will be good to go.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://szexperience.blogspot.com/feeds/7933355690866170791/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://szexperience.blogspot.com/2013/01/operating-system-error-5.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3434549086691199462/posts/default/7933355690866170791'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3434549086691199462/posts/default/7933355690866170791'/><link rel='alternate' type='text/html' href='http://szexperience.blogspot.com/2013/01/operating-system-error-5.html' title='Operating System error 5'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3434549086691199462.post-5475011695155498944</id><published>2012-12-07T14:06:00.001-08:00</published><updated>2013-08-11T07:33:19.866-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="SQL"/><title type='text'>The server principal &quot; &quot; is not able to access the database &quot; &quot; under the current security context. (Microsoft SQL Server, Error: 916)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
The server principal &quot; &quot; is not able to access the database &quot; &quot; under the current security context. (Microsoft SQL Server, Error: 916)&lt;br /&gt;
&lt;br /&gt;
This is the solution type of solution I found on the websites. Question is does it work, I dont&#39;t know because it didnt work in my condition so I really have no idea.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Helvetica, Arial, sans-serif; font-size: 12px; line-height: 1.4em; margin-bottom: 0.75em; padding: 0px;&quot;&gt;
To resolve this issue:&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Helvetica, Arial, sans-serif; font-size: 12px; line-height: 1.4em; margin-bottom: 0.75em; padding: 0px;&quot;&gt;
1. After starting Management Studio 2008, select Databases&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&lt;/strong&gt;in the Object Explorer once.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Helvetica, Arial, sans-serif; font-size: 12px; line-height: 1.4em; margin-bottom: 0.75em; padding: 0px;&quot;&gt;
2. If the Object Explorer Details are not already showing, select View from the toolbar then select Object Explorer Details.&amp;nbsp;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Helvetica, Arial, sans-serif; font-size: 12px;&quot;&gt;3. Right click on any column header and make sure that “collation” is not checked.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br style=&quot;background-color: white; color: #333333; font-family: Helvetica, Arial, sans-serif; font-size: 12px; margin: 0px; padding: 0px;&quot; /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Helvetica, Arial, sans-serif; font-size: 12px;&quot;&gt;4. Refresh the database list by clicking the Refresh button located at the top of the Object Explorer Details panel.&amp;nbsp; You should have now have full access to your database at this point.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Helvetica, Arial, sans-serif; font-size: 12px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Helvetica, Arial, sans-serif; font-size: 12px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Helvetica, Arial, sans-serif; font-size: 12px;&quot;&gt;Enjoy Have Bless day with MS SQL.&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://szexperience.blogspot.com/feeds/5475011695155498944/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://szexperience.blogspot.com/2012/12/the-server-principal-is-not-able-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3434549086691199462/posts/default/5475011695155498944'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3434549086691199462/posts/default/5475011695155498944'/><link rel='alternate' type='text/html' href='http://szexperience.blogspot.com/2012/12/the-server-principal-is-not-able-to.html' title='The server principal &quot; &quot; is not able to access the database &quot; &quot; under the current security context. (Microsoft SQL Server, Error: 916)'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3434549086691199462.post-4368700009176230193</id><published>2012-12-07T06:54:00.001-08:00</published><updated>2012-12-07T06:54:32.060-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ERROR"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL"/><title type='text'>Could not Obtain Exclusive Lock On Database</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
Some time this error appears and First things comes in our mind is What has possibly gone wrong, I normally see this error when I am restoring the databases or overwrite a a dump database.&lt;br /&gt;
&lt;br /&gt;
Since SQL is also a software and like every software it has its own way of operating and connecting with other entities. Let solve&amp;nbsp;this issue, what steps will take care of this error.&lt;br /&gt;
&lt;br /&gt;
&lt;img alt=&quot;pic&quot; src=&quot;https://shopsharepoint.com/images/thumbs/0000217.jpeg&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1) &amp;nbsp;If the above error appears, close your Studio Management Console. Because sometimes its Studio&amp;nbsp;Management&amp;nbsp;that is holding a old connection. First and normally it fixes the problem.&lt;br /&gt;
&lt;br /&gt;
2) &amp;nbsp;Second reason may come because of &quot;Auto Close&quot; property if turn &quot;ON&quot;, Go in DB properties and turn off this property.&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #2a2a2a; font-family: verdana, tahoma, arial, sans-serif; font-size: 11px; line-height: 16.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; color: #2a2a2a; line-height: 16.5px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;3) Check if any other window is open holding a connection to the specified DB.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #2a2a2a; line-height: 16.5px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; color: #2a2a2a; line-height: 16.5px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; color: #2a2a2a; line-height: 16.5px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Use below script to turn &quot;AUTO Close&quot; off&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #2a2a2a; line-height: 16.5px;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #2a2a2a; font-family: verdana, tahoma, arial, sans-serif; font-size: 11px; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;courier new&#39;; font-size: 10pt;&quot;&gt;SELECT&lt;/span&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&lt;span style=&quot;color: magenta;&quot;&gt;DATABASEPROPERTYEX&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&#39;Your DB&#39;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: red;&quot;&gt;&#39;IsAutoClose&#39;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;AS&lt;/span&gt;&amp;nbsp;[AutoClose]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #2a2a2a; font-family: verdana, tahoma, arial, sans-serif; font-size: 11px; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;courier new&#39;; font-size: 10pt;&quot;&gt;GO&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #2a2a2a; font-family: verdana, tahoma, arial, sans-serif; font-size: 11px; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;courier new&#39;; font-size: 10pt;&quot;&gt;ALTER&lt;/span&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;DATABASE&lt;/span&gt;&amp;nbsp;[&lt;/span&gt;&lt;span style=&quot;color: red; font-family: &#39;courier new&#39;; font-size: 13px;&quot;&gt;Your DB&lt;/span&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 10pt;&quot;&gt;]&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;SET&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;AUTO_CLOSE&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;OFF&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #2a2a2a; font-family: verdana, tahoma, arial, sans-serif; font-size: 11px; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;courier new&#39;; font-size: 10pt;&quot;&gt;GO&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://szexperience.blogspot.com/feeds/4368700009176230193/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://szexperience.blogspot.com/2012/12/could-not-obtain-exclusive-lock-on.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3434549086691199462/posts/default/4368700009176230193'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3434549086691199462/posts/default/4368700009176230193'/><link rel='alternate' type='text/html' href='http://szexperience.blogspot.com/2012/12/could-not-obtain-exclusive-lock-on.html' title='Could not Obtain Exclusive Lock On Database'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3434549086691199462.post-1151635654634071412</id><published>2012-12-06T21:03:00.002-08:00</published><updated>2012-12-06T21:04:56.871-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="SQL"/><title type='text'>Some Daily Database Tips</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Some Useful information for daily life DBA, Well I writing this post just to include things we as DBA need in everyday life you can find more information on other blogs and site this is something for information for new DBA guys. There are couple of commands that &amp;nbsp;can help us. Let looks us at commands. and Why we use them.&lt;br /&gt;
&lt;br /&gt;
1) &amp;nbsp; &amp;nbsp;&lt;b&gt;sp_who&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;Provides information about current users, sessions, and processes.&lt;/span&gt;&lt;br /&gt;
&lt;pre style=&quot;font-family: Consolas, Courier, monospace; font-size: 13px; overflow: auto; padding: 5px; word-break: break-all; word-wrap: break-word;&quot;&gt;      sp_who [ [ @loginame = ] &#39;login&#39; | session ID | &#39;ACTIVE&#39; ]&lt;/pre&gt;
&lt;pre style=&quot;font-family: Consolas, Courier, monospace; font-size: 13px; overflow: auto; padding: 5px; word-break: break-all; word-wrap: break-word;&quot;&gt;&lt;strong style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; white-space: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ACTIVE&lt;/strong&gt;&lt;span style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; white-space: normal;&quot;&gt;&amp;nbsp;excludes sessions that are waiting for the next command from the user.&lt;/span&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
2) &amp;nbsp; &amp;nbsp;&lt;b&gt;sp_who2&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, &#39;PT Sans&#39;, sans-serif; font-size: 15px; line-height: 21px;&quot;&gt;Shows all the sessions that are currently established in the database.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, &#39;PT Sans&#39;, sans-serif; font-size: 15px; line-height: 21px;&quot;&gt;sp_who2 also takes a optional parameter of a SPID. If a spid is passed, then the results of &amp;nbsp; sp_who2 only show the row or rows of the executing SPID.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
3) &amp;nbsp; &amp;nbsp;&lt;b&gt;Kill&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;Terminates a user process that is based on the session ID or unit of work (UOW). If the specified session ID or UOW has a lot of work to undo, the KILL statement may take some time to complete.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
4) &amp;nbsp; &amp;nbsp;&lt;b&gt;Sys&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Sys is special system table as&amp;nbsp;understandably&amp;nbsp;by its name. What is purpose of Sys? Sys provide various functionalities like all table names in a database, schema level information , object and their information, etc. In short Sys is key player for for many system and database which you can find over here. Lets looks at some below.&lt;br /&gt;
&lt;br /&gt;
5) &amp;nbsp; &amp;nbsp;&lt;b&gt;Sys.Table&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;
Returns a row for each table object, currently only with sys.objects.type = U.&lt;/div&gt;
&lt;br /&gt;
6&lt;b&gt;) &amp;nbsp; &amp;nbsp;&lt;/b&gt;&lt;b&gt;Sys.Objects&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;Contains a row for each user-defined, schema-scoped object that is created within a database.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
7) &amp;nbsp; &amp;nbsp;&lt;b&gt;Information_schema&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;
Information schema is another SQL built in table, it has &amp;nbsp;schema level&amp;nbsp;information.&lt;/div&gt;
&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;
&lt;/div&gt;
An information schema view is one of several methods SQL Server provides for obtaining metadata. Information schema views provide an internal, system table-independent view of the SQL Server metadata. Information schema views enable applications to work correctly although significant changes have been made to the underlying system tables. The information schema views included in SQL Server comply with the ISO standard definition for the INFORMATION_SCHEMA.&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://szexperience.blogspot.com/feeds/1151635654634071412/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://szexperience.blogspot.com/2012/12/some-daily-database-tips.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3434549086691199462/posts/default/1151635654634071412'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3434549086691199462/posts/default/1151635654634071412'/><link rel='alternate' type='text/html' href='http://szexperience.blogspot.com/2012/12/some-daily-database-tips.html' title='Some Daily Database Tips'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3434549086691199462.post-4048660961811312598</id><published>2012-10-16T20:19:00.000-07:00</published><updated>2013-08-20T21:06:38.685-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Apache"/><category scheme="http://www.blogger.com/atom/ns#" term="port 80"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL"/><category scheme="http://www.blogger.com/atom/ns#" term="WAMP"/><title type='text'>WAMP Server Not Starting </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
For more than 3 hours I would like to put my head in the wall because WAMP server simply refuse to get online and I had no idea hat going on. So here comes action open google search and found out so many answers and guess nothing worked. I need some thing that can solve the issue I re-install the WAMP disable my IIS but no progress Finally I managed to make the WAMP work. And I will List you the steps and the some tips if that will help you. I am sure that will help and yeah we&#39;ll track down that rascal stopping WAMP to go online :)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;First Thing,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;1)&amp;nbsp;&lt;span style=&quot;background-color: white;&quot;&gt;WampServer &amp;gt; Apache &amp;gt; Service &amp;gt;Test Port 80. This give me the following message:&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;Some Message will pop up like this and show you which app is using port 80&lt;br /&gt;&lt;span style=&quot;background-color: white;&quot;&gt;-------------&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;Your port 80 is actually used by :&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white;&quot; /&gt;&lt;span style=&quot;background-color: white;&quot;&gt;Server: Microsoft-IIS/7.5&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;-------------&amp;nbsp;&lt;/span&gt;&lt;br /&gt;2) Open the Application close it and make sure when they start they start after WAMP.&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;3) Make Sure SSRS(MS SQL Reporting ) &amp;nbsp;is shutdown&amp;nbsp;if you are using WAMP&amp;nbsp;.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;4) Disbale IIS if nothing works because IIS and WAMP are sometime conflicting with each other&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;UPDATE : 02/06/2013&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Ok I am writing an update for the same post because this time WAMP server again give me a pain in the @$$. But this Time nothing stated above worked. So I decided to trouble shoot more because I always believe one or other way these things will work. So Get Ready If the above steps fail in your situation also.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
5) One thing is clear and must be remember problem is not your computer, its the software battle going inside the PC makes conflict and the better one win. So Remembering this strategy. I Focus my attention to Web products.&lt;br /&gt;
&lt;br /&gt;
6) As I was scrolling down the Services, I found web deployment agent, And I disable that Guess My WAMP started to work like a charm. So Consider making it disable if WAMP is having problems.&lt;br /&gt;
&lt;br /&gt;
P.S. If WAMP still not start then Take down Web services and and restart wamp again and again. One time you will see it must start all cost.&lt;br /&gt;
&lt;br /&gt;
Take Care Guy if I found more about WAMP I will update over here&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;UPDATE : 08/16/2013&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;All of the above did&#39;nt work so I finally banged my head into the wall. Nothing above work.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Before I finally decided to move to Linux I gave last shot and open the services, Promise to my self I&#39;ll close all services one by one it should work something is holding it.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;1) I close SQL services&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;2) World Web publishing&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;And Guess it worked.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMex4Qg_CoFgLGS-l79IiCm8TXlQI5tcfM71Lh91jgYdG2uMl43OjXj_cf38bV9TWkqcWWv7wwrt7dUgX1wUgi2mJR3Msd8Ek-5gbOSN9jD6MU5-jG8Gh611aBQ6BNEAet0IDB7-99vwg/s1600/2013-08-20+16_59_47-Zahid,+Samiullah+-+Outlook+Web+Access.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;76&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMex4Qg_CoFgLGS-l79IiCm8TXlQI5tcfM71Lh91jgYdG2uMl43OjXj_cf38bV9TWkqcWWv7wwrt7dUgX1wUgi2mJR3Msd8Ek-5gbOSN9jD6MU5-jG8Gh611aBQ6BNEAet0IDB7-99vwg/s640/2013-08-20+16_59_47-Zahid,+Samiullah+-+Outlook+Web+Access.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjs9D_yObaQtsWf38p-IGUFVFdF1hFyV6LNblk2FN8GZCFwxgEtfdntl8qG2lInNV5u_9LTgBlnqW5y5sDnEPLFuqPYhpgefJvTCCypV_nf7G24t-qS8wMdLEwqSgOHGaqJXtidX97PEqY/s1600/2013-08-20+22_55_14-Services.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;34&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjs9D_yObaQtsWf38p-IGUFVFdF1hFyV6LNblk2FN8GZCFwxgEtfdntl8qG2lInNV5u_9LTgBlnqW5y5sDnEPLFuqPYhpgefJvTCCypV_nf7G24t-qS8wMdLEwqSgOHGaqJXtidX97PEqY/s640/2013-08-20+22_55_14-Services.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://szexperience.blogspot.com/feeds/4048660961811312598/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://szexperience.blogspot.com/2012/10/wamp-server-not-starting.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3434549086691199462/posts/default/4048660961811312598'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3434549086691199462/posts/default/4048660961811312598'/><link rel='alternate' type='text/html' href='http://szexperience.blogspot.com/2012/10/wamp-server-not-starting.html' title='WAMP Server Not Starting '/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMex4Qg_CoFgLGS-l79IiCm8TXlQI5tcfM71Lh91jgYdG2uMl43OjXj_cf38bV9TWkqcWWv7wwrt7dUgX1wUgi2mJR3Msd8Ek-5gbOSN9jD6MU5-jG8Gh611aBQ6BNEAet0IDB7-99vwg/s72-c/2013-08-20+16_59_47-Zahid,+Samiullah+-+Outlook+Web+Access.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3434549086691199462.post-7028534997183654388</id><published>2012-07-19T13:52:00.000-07:00</published><updated>2012-10-05T09:15:58.500-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="DTS"/><category scheme="http://www.blogger.com/atom/ns#" term="ERROR"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL"/><title type='text'>Execution cannot continue as the language dependent resource file</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Arrrrrrr!! Yes that the first&amp;nbsp;reaction&amp;nbsp;came from my junior DBA. And I think it necessary as he is learning. Ok what to do now.&amp;nbsp;Solution&amp;nbsp;is straight and simple.&lt;br /&gt;
&lt;br /&gt;
As you&amp;nbsp;receive&amp;nbsp;this error you will be prompted for &amp;nbsp;location where the SQL cannot find the required file.&lt;br /&gt;
Download those files easily available put in the folder specified and you are good to go.&lt;br /&gt;
&lt;br /&gt;
Is nt this simple and straight? So Join our mailing for small but effective techniques.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://szexperience.blogspot.com/feeds/7028534997183654388/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://szexperience.blogspot.com/2012/07/execution-cannot-continue-as-language.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3434549086691199462/posts/default/7028534997183654388'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3434549086691199462/posts/default/7028534997183654388'/><link rel='alternate' type='text/html' href='http://szexperience.blogspot.com/2012/07/execution-cannot-continue-as-language.html' title='Execution cannot continue as the language dependent resource file'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3434549086691199462.post-6432826624621638118</id><published>2012-07-19T13:49:00.001-07:00</published><updated>2012-07-19T13:53:41.472-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="DTS"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL"/><title type='text'>DTS Packages in SQL 2005/2008</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;&amp;nbsp;I was given a task to import DTS packages in SQL 2008 which were imported successfully done.&amp;nbsp; However when my team tried to edit&amp;nbsp;them, they would not open.&amp;nbsp;&amp;nbsp;&amp;nbsp;--The following error was displayed:&amp;nbsp; &#39;SQL Server 2000 DTS Designer components are required to edit DTS packages. Install the special Web download, &quot;SQL Server 2000 DTS Designer Components&quot; to use this feature.&amp;nbsp; Microsoft.SqlServer.DtsObjectExplorerUI) .&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 16px;&quot;&gt;This is so frustrating DTS package is imported and not opening I searched the web and didnt find much except people just trying to&amp;nbsp;give&amp;nbsp;their&amp;nbsp;advice&#39;s for NONE that worked for me.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 16px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 16px;&quot;&gt;But afterwards I found an awesome article that can actually help many of the developer looking to import and convert old DTS into SSIS packages. But it didnt work well so I need to fix more things but that&amp;nbsp;didn&#39;t&amp;nbsp;mean the page was crap no it was good and gave alot of information. My blogger is having issue not uploading the link so pasting the information.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 16px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 16px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 16px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Arial; font-size: 12px; line-height: 18px; margin-top: 12px;&quot;&gt;&lt;span style=&quot;font-family: &#39;Segoe UI&#39;; font-size: x-small;&quot;&gt;1) Install Sql Server 2000 DTS Designer Components using the following link&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #333333; font-family: Arial; font-size: 12px; line-height: 18px; margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #333333; font-family: Arial; font-size: 12px; line-height: 18px; margin: 0in 0in 0pt;&quot;&gt;&lt;a href=&quot;http://www.microsoft.com/downloads/details.aspx?FamilyID=536fd7d5-013f-49bc-9fc7-77dede4bb075&amp;amp;displaylang=en&quot; style=&quot;color: #0066dd; font-weight: bold; outline: none; text-decoration: none;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Calibri; font-size: small;&quot;&gt;http://www.microsoft.com/downloads/details.aspx?FamilyID=536fd7d5-013f-49bc-9fc7-77dede4bb075&amp;amp;displaylang=en&lt;/span&gt;&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: Arial; font-size: 12px; line-height: 18px; margin-top: 12px;&quot;&gt;&lt;span style=&quot;font-family: &#39;Segoe UI&#39;; font-size: x-small;&quot;&gt;2) Install Sql Server 2005 backward compatibility components&amp;nbsp;&lt;b&gt;available with&amp;nbsp;&lt;/b&gt;&lt;b&gt;Microsoft SQL Server 2008 Feature Pack&lt;/b&gt;&amp;nbsp;using the following link depending (x86,x64 and IA64)&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: Arial; font-size: 12px; line-height: 18px; margin-top: 12px;&quot;&gt;&lt;a href=&quot;http://www.microsoft.com/downloads/details.aspx?FamilyId=C6C3E9EF-BA29-4A43-8D69-A2BED18FE73C&amp;amp;displaylang=en&quot; mce_href=&quot;http://www.microsoft.com/downloads/details.aspx?FamilyId=C6C3E9EF-BA29-4A43-8D69-A2BED18FE73C&amp;amp;displaylang=en&quot; style=&quot;color: #0066dd; font-weight: bold; outline: none; text-decoration: none;&quot;&gt;&lt;span style=&quot;font-family: &#39;Segoe UI&#39;; font-size: x-small;&quot;&gt;http://www.microsoft.com/downloads/details.aspx?FamilyId=C6C3E9EF-BA29-4A43-8D69-A2BED18FE73C&amp;amp;displaylang=en&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: Arial; font-size: 12px; line-height: 18px; margin-top: 12px;&quot;&gt;&lt;span style=&quot;font-family: &#39;Segoe UI&#39;; font-size: x-small;&quot;&gt;3) We need to change the Environment Variable for the Server so that c:\Program files(x86)\Microsoft Sql Server\80\Tools\Binn is ahead and all the sql 2008 paths comes at the end and we can verify it by opening the command prompt and firing the command&amp;nbsp; “path”&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: Arial; font-size: 12px; line-height: 18px; margin-top: 12px;&quot;&gt;&lt;span style=&quot;font-family: &#39;Segoe UI&#39;; font-size: x-small;&quot;&gt;C:\&amp;gt;path&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: Arial; font-size: 12px; line-height: 18px; margin-top: 12px;&quot;&gt;&lt;span style=&quot;font-family: &#39;Segoe UI&#39;; font-size: x-small;&quot;&gt;PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\PROGRA~1\CA\SHARED~1\SCANEN~1;C:\Program Files\CA\eTrust Antivirus;C:\Program Files (x86)\Windows Imaging\;&lt;strong&gt;C:\Program Files (x86)\Microsoft SQL Server\80\Tools\Binn\&lt;/strong&gt;;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\binn\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\binn\;C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: Arial; font-size: 12px; line-height: 18px; margin-top: 12px;&quot;&gt;&lt;strong&gt;&lt;em&gt;&lt;u&gt;OR&lt;/u&gt;&lt;/em&gt;&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: Arial; font-size: 12px; line-height: 18px; margin-top: 12px;&quot;&gt;&lt;span style=&quot;font-family: &#39;Segoe UI&#39;; font-size: x-small;&quot;&gt;&lt;strong&gt;&lt;em&gt;&lt;u&gt;If you are not able to change the path Environment variable you can follow the following steps&lt;/u&gt;&lt;/em&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: Arial; font-size: 12px; line-height: 18px; margin-top: 12px;&quot;&gt;&lt;span style=&quot;font-family: &#39;Segoe UI&#39;; font-size: x-small;&quot;&gt;Manually Copy the following files&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: Arial; font-size: 12px; line-height: 18px; margin-top: 12px;&quot;&gt;&lt;span style=&quot;font-family: &#39;Segoe UI&#39;; font-size: x-small;&quot;&gt;%Program Files%\Microsoft SQL Server\80\Tools\Binn\semsfc.dll&lt;br /&gt;
%Program Files%\Microsoft SQL Server\80\Tools\Binn\sqlgui.dll&lt;br /&gt;
%Program Files%\Microsoft SQL Server\80\Tools\Binn\sqlsvc.dll&lt;br /&gt;
%Program Files%\Microsoft SQL Server\80\Tools\Binn\Resources\%lang_id%\semsfc.rll&lt;br /&gt;
%Program Files%\Microsoft SQL Server\80\Tools\Binn\Resources\%lang_id%\sqlgui.rll&lt;br /&gt;
%Program Files%\Microsoft SQL Server\80\Tools\Binn\Resources\%lang_id%\sqlsvc.rll&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: Arial; font-size: 12px; line-height: 18px; margin-top: 12px;&quot;&gt;&lt;span style=&quot;font-family: &#39;Segoe UI&#39;; font-size: x-small;&quot;&gt;To the following destination respectively&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: Arial; font-size: 12px; line-height: 18px; margin-top: 12px;&quot;&gt;&lt;span style=&quot;font-family: &#39;Segoe UI&#39;; font-size: x-small;&quot;&gt;%Program Files%\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\semsfc.dll&lt;br /&gt;
%Program Files%\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\sqlgui.dll&lt;br /&gt;
%Program Files%\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\sqlsvc.dll&lt;br /&gt;
%Program Files%\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\%lang_id%\semsfc.dll&lt;br /&gt;
%Program Files%\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\%lang_id%\sqlgui.dll&lt;br /&gt;
%Program Files%\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\%lang_id%\sqlsvc.dll&lt;br /&gt;
%Program Files%\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\Resources&lt;strong&gt;\%lang_id%\&lt;/strong&gt;semsfc.rll&lt;br /&gt;
%Program Files%\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\Resources&lt;strong&gt;\%lang_id%\&lt;/strong&gt;sqlgui.rll&lt;br /&gt;
%Program Files%\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\Resources&lt;strong&gt;\%lang_id%\&lt;/strong&gt;sqlsvc.rll&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: Arial; font-size: 12px; line-height: 18px; margin-top: 12px;&quot;&gt;&lt;span style=&quot;font-family: &#39;Segoe UI&#39;; font-size: x-small;&quot;&gt;To make the DTS designer work under BIDS for SQL Server 2008, user will need to manually copy the following files&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: Arial; font-size: 12px; line-height: 18px; margin-top: 12px;&quot;&gt;&lt;span style=&quot;font-family: &#39;Segoe UI&#39;; font-size: x-small;&quot;&gt;%Program Files%\Microsoft SQL Server\80\Tools\Binn\semsfc.dll&lt;br /&gt;
%Program Files%\Microsoft SQL Server\80\Tools\Binn\sqlgui.dll&lt;br /&gt;
%Program Files%\Microsoft SQL Server\80\Tools\Binn\sqlsvc.dll&lt;br /&gt;
%Program Files%\Microsoft SQL Server\80\Tools\Binn\Resources\%lang_id%\semsfc.rll&lt;br /&gt;
%Program Files%\Microsoft SQL Server\80\Tools\Binn\Resources\%lang_id%\sqlgui.rll&lt;br /&gt;
%Program Files%\Microsoft SQL Server\80\Tools\Binn\Resources\%lang_id%\sqlsvc.rll&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: Arial; font-size: 12px; line-height: 18px; margin-top: 12px;&quot;&gt;&lt;span style=&quot;font-family: &#39;Segoe UI&#39;; font-size: x-small;&quot;&gt;To the following destination respectively&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: Arial; font-size: 12px; line-height: 18px; margin-top: 12px;&quot;&gt;&lt;span style=&quot;font-family: &#39;Segoe UI&#39;; font-size: x-small;&quot;&gt;%Program Files%\Microsoft Visual Studio 9.0\Common7\IDE\semsfc.dll&lt;br /&gt;
%Program Files%\Microsoft Visual Studio 9.0\Common7\IDE\sqlgui.dll&lt;br /&gt;
%Program Files%\Microsoft Visual Studio 9.0\Common7\IDE\sqlsvc.dll&lt;br /&gt;
%Program Files%\Microsoft Visual Studio 9.0\Common7\IDE\Resources&lt;strong&gt;\%lang_id%&lt;/strong&gt;\semsfc.rll&lt;br /&gt;
%Program Files%\Microsoft Visual Studio 9.0\Common7\IDE\Resources&lt;strong&gt;\%lang_id%\&lt;/strong&gt;sqlgui.rll&lt;br /&gt;
%Program Files%\Microsoft Visual Studio 9.0\Common7\IDE\Resources&lt;strong&gt;\%lang_id%&lt;/strong&gt;\sqlsvc.rll&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: Arial; font-size: 12px; line-height: 18px; margin-top: 12px;&quot;&gt;&lt;span style=&quot;font-family: &#39;Segoe UI&#39;; font-size: x-small;&quot;&gt;Reference:&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms143755.aspx&quot; mce_href=&quot;http://msdn.microsoft.com/en-us/library/ms143755.aspx&quot; style=&quot;color: #0066dd; font-weight: bold; outline: none; text-decoration: none;&quot;&gt;&lt;span style=&quot;font-family: &#39;Segoe UI&#39;; font-size: x-small;&quot;&gt;http://msdn.microsoft.com/en-us/library/ms143755.aspx&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: Arial; font-size: 12px; line-height: 18px; margin-top: 12px;&quot;&gt;&lt;span style=&quot;font-family: &#39;Segoe UI&#39;; font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;; font-size: x-small; line-height: 18px;&quot;&gt;4) Run the Repair for the sql server 2005 backward compatibility from Control Panel, Add/Remove Programs, Change&lt;br /&gt;
And now you should be able to open the DTS packages under SSMS.&lt;/span&gt; &lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;; font-size: x-small; line-height: 18px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333; font-family: &#39;Segoe UI&#39;; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;For Trouble shooting if you have further problems &lt;a href=&quot;http://szexperience.blogspot.com/2012/07/execution-cannot-continue-as-language.html&quot; target=&quot;_blank&quot;&gt;Click this post&amp;nbsp;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 16px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://szexperience.blogspot.com/feeds/6432826624621638118/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://szexperience.blogspot.com/2012/07/dts-packages-in-sql-20052008.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3434549086691199462/posts/default/6432826624621638118'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3434549086691199462/posts/default/6432826624621638118'/><link rel='alternate' type='text/html' href='http://szexperience.blogspot.com/2012/07/dts-packages-in-sql-20052008.html' title='DTS Packages in SQL 2005/2008'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3434549086691199462.post-2922765665921035793</id><published>2012-07-17T22:02:00.000-07:00</published><updated>2012-07-17T22:02:58.175-07:00</updated><title type='text'>T SQL implementation of Database Mirroring</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;So how to implement T SQL for Database implementation.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Only writing the code will not get you easily understand the concept lying between the using SSMS and TSQL. So let us write and analyze the code step by step.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;For this I will recommend first to use SSMS and note the steps.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;First we need to take full back up and transaction log of&amp;nbsp;principal&amp;nbsp;and restore to mirror. For this post&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Please click here.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;First we need to configure Mirroring End points. These End points are more like socket where we want our server to listen to this specific port in concise words.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -.25in;&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;1)&lt;span style=&quot;font-size: 7pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;/****** Object:&amp;nbsp; Endpoint [Mirroring******/&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;CREATE ENDPOINT [Mirroring] &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AUTHORIZATION [ALITEST\sqlmirror]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; STATE=STARTED&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AS TCP (LISTENER_PORT = 5023, LISTENER_IP = ALL)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FOR DATA_MIRRORING (ROLE = ALL, AUTHENTICATION = WINDOWS NEGOTIATE&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;, ENCRYPTION = REQUIRED ALGORITHM RC4)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;GO&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Now Let us see what I have written,&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;First line indicate creation of new end point name mirroing.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;second line indicate user authorization to use this end point.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;third line indicate server is allow to listen this end point.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Fourth line indicate parameters for the end point more like configuration.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Fifth line we indicating this end is for mirroing and role can be set to partner, witness but in this case I set all.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Same way create end points for all the server i.e. mirror and witness also&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br class=&quot;Apple-interchange-newline&quot; /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -.25in;&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;2)&lt;span style=&quot;font-size: 7pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;/****** Object:&amp;nbsp; Endpoint [Mirroring******/&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;CREATE ENDPOINT [Mirroring] &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AUTHORIZATION [ALITEST\sqlmirror]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; STATE=STARTED&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AS TCP (LISTENER_PORT = 5022, LISTENER_IP = ALL)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FOR DATA_MIRRORING (ROLE = ALL, AUTHENTICATION = WINDOWS NEGOTIATE&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;, ENCRYPTION = REQUIRED ALGORITHM RC4)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;GO&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -.25in;&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;3)&lt;span style=&quot;font-size: 7pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;/****** Object:&amp;nbsp; Endpoint [Mirroring]&amp;nbsp;&amp;nbsp; ******/&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;CREATE ENDPOINT [Mirroring] &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AUTHORIZATION [ALITEST\sqlmirror]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; STATE=STARTED&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;AS TCP (LISTENER_PORT = 5022, LISTENER_IP = ALL)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FOR DATA_MIRRORING (ROLE = PARTNER, AUTHENTICATION = WINDOWS NEGOTIATE&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;, ENCRYPTION = REQUIRED ALGORITHM RC4)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpLast&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;GO&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpLast&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpLast&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpLast&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Now one Last step as noted in the SSMS.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpLast&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;This step only tells the servers who is who i.e. who is principal who is mirror which one is witness.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpLast&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpLast&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Setting Principal to be mirror partner&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpLast&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;*** Run this on principal first.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpLast&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Alter Database &amp;lt;DB name&amp;gt; set partner=&#39;TCP:\\Servername&#39;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpLast&quot;&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpLast&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br class=&quot;Apple-interchange-newline&quot; /&gt;Setting&amp;nbsp;mirror&amp;nbsp;&amp;nbsp;to be&amp;nbsp; Principal&amp;nbsp;&amp;nbsp;partner&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpLast&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;*** Run this on&amp;nbsp; mirror&amp;nbsp;.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpLast&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Alter Database &amp;lt;DB name&amp;gt; set partner=&#39;TCP:\\Servername&#39;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpLast&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpLast&quot;&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpLast&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br class=&quot;Apple-interchange-newline&quot; /&gt;Setting&amp;nbsp;principal&amp;nbsp;to be&amp;nbsp;&amp;nbsp;witness&amp;nbsp;partner&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpLast&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;*** Run this on&amp;nbsp;&amp;nbsp; principal&amp;nbsp;&amp;nbsp;.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpLast&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Alter Database &amp;lt;DB name&amp;gt; set witness =&#39;TCP:\\Servername&#39;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpLast&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpLast&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;And if all goes well You have&amp;nbsp;successively&amp;nbsp;started&amp;nbsp;mirroring via TSQL&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpLast&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpLast&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;P.S Run all the script&amp;nbsp;separately&amp;nbsp;on respective servers&amp;nbsp;or this will fail.&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://szexperience.blogspot.com/feeds/2922765665921035793/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://szexperience.blogspot.com/2012/07/t-sql-implementation-of-database.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3434549086691199462/posts/default/2922765665921035793'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3434549086691199462/posts/default/2922765665921035793'/><link rel='alternate' type='text/html' href='http://szexperience.blogspot.com/2012/07/t-sql-implementation-of-database.html' title='T SQL implementation of Database Mirroring'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3434549086691199462.post-1327417038136132744</id><published>2012-07-16T20:38:00.000-07:00</published><updated>2012-07-16T20:38:47.910-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="High Availability"/><category scheme="http://www.blogger.com/atom/ns#" term="Mirror"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL"/><title type='text'>Implementation of Mirror Database Using SSMS</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;Implementation of mirror database consist of special set of step that enables the SQL to perform mirroring.&lt;br /&gt;
In this post I would be discussing the Mirror implementation from SSMS which is easy and in our next post we discuss about T SQL implementation.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Steps:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1. Take full full back up of principal database using right click -)Task-)backup-) full&lt;br /&gt;
2.Take transaction log back up of principal database using right click -)Task-)backup-)&amp;nbsp;transaction log&lt;br /&gt;
3. Open Mirror Server&amp;nbsp;right click&amp;nbsp; Mirror&amp;nbsp;&amp;nbsp;database-)Task-)restore-) full&lt;br /&gt;
4. Open Mirror Server&amp;nbsp;right click&amp;nbsp;&amp;nbsp;Mirror&amp;nbsp;&amp;nbsp;database-)Task-)restore-) transaction logs&lt;div&gt;5.Open&amp;nbsp;Principal&amp;nbsp;server go Task-) Mirror -) configure-)Set the principal-)Set the mirror-)Set the witness (if you want automatic&amp;nbsp;fail over&amp;nbsp;to mirror database in case&amp;nbsp;principal&amp;nbsp;database die)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;And yes above Five steps are enough to start your mirroring using SSMS.&lt;/div&gt;&lt;div&gt;In our post we discuss about T -SQL implementation of mirroring&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://szexperience.blogspot.com/feeds/1327417038136132744/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://szexperience.blogspot.com/2012/07/implementation-of-mirror-database-using.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3434549086691199462/posts/default/1327417038136132744'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3434549086691199462/posts/default/1327417038136132744'/><link rel='alternate' type='text/html' href='http://szexperience.blogspot.com/2012/07/implementation-of-mirror-database-using.html' title='Implementation of Mirror Database Using SSMS'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3434549086691199462.post-7855364332315623679</id><published>2012-07-15T11:51:00.000-07:00</published><updated>2012-07-15T11:51:19.199-07:00</updated><title type='text'>High Availability Solution in SQL</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;Many times a novice DBA thinks what to do when his seniors and manager just make him struck with high availability solutions and he is given the task for ultimate solution design . This post normally deals with my situation as I join the company soon three&amp;nbsp;experience&amp;nbsp;DBA left and I was one of replacements for the expert DBA but having no experience is another blessing :) You learn a lot and feel the responsibility thinking no one is gonna pamper you. &amp;nbsp;My manger told me to work on a high&amp;nbsp;availability&amp;nbsp;solution which was not available in our enviroment. My manger and other collegues were more of&amp;nbsp;infrastructure&amp;nbsp;guy so I start searching a good solution.&lt;br /&gt;
&lt;br /&gt;
So, following are the solutions pretty common all over the web. But million dollar question which solution fit your environment&amp;nbsp;the answer to this question belong to only one group or one person that may be you or that may be the one dealing with database him/herself.&lt;br /&gt;
&lt;br /&gt;
I am not going in detail of what they are. There is plenty of&amp;nbsp;Microsoft&amp;nbsp;online documentation for that I shall be giving a briefly going over about these and then taking scenario&#39;s in which I used these technologies for better explanation.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;High Availability Solutions for SQL&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
1) &lt;a href=&quot;http://szexperience.blogspot.com/2012/07/database-mirroring.html&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Mirroring&lt;/span&gt;&lt;/b&gt;&lt;/a&gt;&lt;br /&gt;
2)Clustering&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
P.S. Please click the Mirror link to go and access the information&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://szexperience.blogspot.com/feeds/7855364332315623679/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://szexperience.blogspot.com/2012/07/high-availability-solution-in-sql.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3434549086691199462/posts/default/7855364332315623679'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3434549086691199462/posts/default/7855364332315623679'/><link rel='alternate' type='text/html' href='http://szexperience.blogspot.com/2012/07/high-availability-solution-in-sql.html' title='High Availability Solution in SQL'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3434549086691199462.post-5151871678651587411</id><published>2012-07-14T17:17:00.002-07:00</published><updated>2012-07-17T21:39:19.336-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="High Availability"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL"/><title type='text'>Database Mirroring</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;
Database Mirroring&lt;br /&gt;
&lt;br /&gt;
Mirroring was intorduce in 2005 by Microsoft. It is a low cost low&amp;nbsp;maintenance&amp;nbsp;solution when I say low&amp;nbsp;maintenance&amp;nbsp;it only means it has degree less complex than the cluster. In Mirroring, Principal database is duplicated exactly to a Mirror which is clear from its name.&lt;br /&gt;
&lt;br /&gt;
Let consider pros and cons for which some people like mirroring and some don&#39;t.&lt;br /&gt;
&lt;br /&gt;
Pros:&lt;br /&gt;
1. It easy to implement.&lt;br /&gt;
2. It can ensure no data loss (if using High Safety mode)&lt;br /&gt;
3.It provides a secure copy of database&amp;nbsp;separate&amp;nbsp;from the production so if production goes down Mirror database kicks in&amp;nbsp;immediately&amp;nbsp;without using time for manual restoration.&lt;br /&gt;
4.it provide three modes of operations.&amp;nbsp;Asynchronous&amp;nbsp;, Synchronous without witness ,Synchronous with witness.&lt;br /&gt;
&lt;br /&gt;
Cons:&lt;br /&gt;
Most people think Mirror Server is actually a waste of resource. Reason because it waiting for principal server to die&amp;nbsp;malfunction&amp;nbsp; or gone for maintenance and then it can start. It something more then standby server and database.&lt;br /&gt;
&lt;br /&gt;
Asynchronous&amp;nbsp;:&amp;nbsp;Principal&amp;nbsp;database commit data without waiting for mirror database to commit. Data loss chance present.&lt;br /&gt;
&lt;br /&gt;
Synchronous without witness :&amp;nbsp;Principal&amp;nbsp;database does not commit data before the mirror database. Therefore&amp;nbsp;principal&amp;nbsp;database waits for mirror database to commit first. No Data loss. Manual&amp;nbsp;fail over&amp;nbsp;to Mirror Database&lt;br /&gt;
&lt;br /&gt;
Synchronous with witness:Principal&amp;nbsp;database does not commit data before the mirror database. Therefore&amp;nbsp;principal&amp;nbsp;database waits for mirror database to commit first. No Data loss. Automatic&amp;nbsp;fail over&amp;nbsp;to Mirror Database.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://szexperience.blogspot.com/2012/07/implementation-of-mirror-database-using.html&quot; target=&quot;_blank&quot;&gt;Implementation&amp;nbsp;of mirror Server&lt;/a&gt; will be discussed in the next and above will be linked with the post.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://szexperience.blogspot.com/feeds/5151871678651587411/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://szexperience.blogspot.com/2012/07/database-mirroring.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3434549086691199462/posts/default/5151871678651587411'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3434549086691199462/posts/default/5151871678651587411'/><link rel='alternate' type='text/html' href='http://szexperience.blogspot.com/2012/07/database-mirroring.html' title='Database Mirroring'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>