<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Database on Marko Apfel</title><link>http://blog.marko-apfel.de/tags/database/</link><description>Recent content in Database on Marko Apfel</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Sun, 21 Oct 2012 12:35:00 +0200</lastBuildDate><atom:link href="http://blog.marko-apfel.de/tags/database/index.xml" rel="self" type="application/rss+xml"/><item><title>Entity Framework: Connecting to a mdf user database file via localDB during script execution</title><link>http://blog.marko-apfel.de/posts/entity-framework-connecting-to-a-mdf-user-database-file-via-localdb-during-script-execution/</link><pubDate>Sun, 21 Oct 2012 12:35:00 +0200</pubDate><guid>http://blog.marko-apfel.de/posts/entity-framework-connecting-to-a-mdf-user-database-file-via-localdb-during-script-execution/</guid><description>&lt;h2 id="problem"&gt;Problem&lt;/h2&gt;
&lt;p&gt;If you run the &lt;em&gt;Generate database from model&lt;/em&gt; wizard and execute the generated script the destination database could be the wrong one (for instance master of the SQL Server).&lt;/p&gt;
&lt;h2 id="solution"&gt;Solution&lt;/h2&gt;
&lt;p&gt;To use an own &lt;code&gt;mdf&lt;/code&gt; attachable user database some connection information must specified during script execution.&lt;/p&gt;</description></item><item><title>SQL Server 2005 Zugriffsproblem bei Remotezugriff</title><link>http://blog.marko-apfel.de/posts/sql-server-2005-zugriffsproblem-bei-remotezugriff/</link><pubDate>Thu, 23 Feb 2006 15:15:00 +0100</pubDate><guid>http://blog.marko-apfel.de/posts/sql-server-2005-zugriffsproblem-bei-remotezugriff/</guid><description>&lt;p&gt;Wenn ein Remote-Zugriff auf einen SQL Server 2005 mit der Fehlermeldung&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-txt" data-lang="txt"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&amp;#34;A connection was successfully established with the server, but then an error occurred during the pre-login handshake.
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections.&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;scheitert, dann hilft folgendes&lt;/p&gt;</description></item></channel></rss>