<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/atom.xsl" media="screen"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de-DE"><title type="html">Bernhard Frank's WebLog</title><subtitle type="html" /><id>http://blogs.msdn.com/b.frank/atom.xml</id><link rel="alternate" type="text/html" href="http://blogs.msdn.com/b.frank/default.aspx" /><link rel="self" type="application/atom+xml" href="http://blogs.msdn.com/b.frank/atom.xml" /><generator uri="http://communityserver.org" version="2.1.61025.2">Community Server</generator><updated>2005-02-01T14:00:00Z</updated><entry><title>QDIG photo gallery error: PHP Notice: Undefined variable: HTTP_GET_VARS </title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/b.frank/archive/2008/04/28/qdig-photo-gallery-error-php-notice-undefined-variable-http-get-vars.aspx" /><id>http://blogs.msdn.com/b.frank/archive/2008/04/28/qdig-photo-gallery-error-php-notice-undefined-variable-http-get-vars.aspx</id><published>2008-04-28T19:28:00Z</published><updated>2008-04-28T19:28:00Z</updated><content type="html">&lt;P&gt;&lt;STRONG&gt;problem:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;tried&amp;nbsp;to install qdig photo gallery&amp;nbsp;on my IIS box - however it returned an error like:&lt;/P&gt;
&lt;P&gt;...&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;PHP Notice: Undefined variable: HTTP_GET_VARS in C:\inetpub\qdig3\index.php on line 578 PHP Notice: Undefined variable: HTTP_POST_VARS in C:\inetpub\qdig3\index.php on line 579 PHP Notice: Undefined variable: HTTP_COOKIE_VARS in C:\inetpub\qdig3\index.php on line 580 PHP Warning: array_merge() [&lt;/EM&gt;&lt;EM&gt;function.array-merge&lt;/EM&gt;&lt;EM&gt;]: &lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;...&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;solution:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;in your php.ini:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;register_long_arrays = On&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;and restart iis from the cmd line with &lt;EM&gt;iisreset&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;annotation:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;testscript.php:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;lt;?php&lt;/P&gt;
&lt;P&gt;echo($HTTP_GET_VARS);&lt;/P&gt;
&lt;P&gt;?&amp;gt;&lt;/P&gt;
&lt;P&gt;must execute with no errors.&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;note:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;this might have a performance overhead as php.ini says: "... If you're not using them, it's recommended to turn them off, ...for performance reasons."&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8435676" width="1" height="1"&gt;</content><author><name>b.frank</name><uri>http://blogs.msdn.com/members/b.frank.aspx</uri></author></entry><entry><title>SQL server - a db user should only see his DB and no other.</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/b.frank/archive/2008/03/20/sql-server-a-db-user-should-only-see-his-db-and-no-other.aspx" /><link rel="enclosure" type="image/jpeg" length="50794" href="http://blogs.msdn.com/b.frank/attachment/8327400.ashx" /><id>http://blogs.msdn.com/b.frank/archive/2008/03/20/sql-server-a-db-user-should-only-see-his-db-and-no-other.aspx</id><published>2008-03-20T16:45:00Z</published><updated>2008-03-20T16:45:00Z</updated><content type="html">&lt;P mce_keep="true"&gt;1) You got to remove the VIEW ANY DATABASE permission for the public group.&lt;/P&gt;
&lt;P mce_keep="true"&gt;(T-SQL)&lt;/P&gt;
&lt;P mce_keep="true"&gt;USE master&lt;BR&gt;Deny VIEW ANY DATABASE to public&lt;/P&gt;
&lt;P mce_keep="true"&gt;2) to let the user see his database you must make this user the owner of the db when you create the database:&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;IMG title=screenshot style="WIDTH: 708px; HEIGHT: 636px" height=636 alt=screenshot src="http://bernhard_frank.members.winisp.net/Pictures/blog/make%20user%20owner%20of%20db%20during%20creation.jpg" width=708 mce_src="http://bernhard_frank.members.winisp.net/Pictures/blog/make%20user%20owner%20of%20db%20during%20creation.jpg"&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;BR&gt;see here for &lt;A class="" title="VIEW ANY DATABASE Permission on MSDN" href="http://msdn2.microsoft.com/en-us/library/ms189077.aspx" target=_blank mce_href="http://msdn2.microsoft.com/en-us/library/ms189077.aspx"&gt;more details&lt;/A&gt;.&lt;BR&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8327400" width="1" height="1"&gt;</content><author><name>b.frank</name><uri>http://blogs.msdn.com/members/b.frank.aspx</uri></author></entry><entry><title>use icacls to apply read and execute permissions for "This folder, subfolder and files" (e.g. for IIS7 App Pool Isolation)</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/b.frank/archive/2008/03/18/use-icacls-to-apply-read-and-execute-permissions-for-this-folder-subfolder-and-files-e-g-for-iis7-app-pool-isolation.aspx" /><id>http://blogs.msdn.com/b.frank/archive/2008/03/18/use-icacls-to-apply-read-and-execute-permissions-for-this-folder-subfolder-and-files-e-g-for-iis7-app-pool-isolation.aspx</id><published>2008-03-18T19:22:00Z</published><updated>2008-03-18T19:22:00Z</updated><content type="html">&lt;P&gt;icacls C:\inetpub\wwwroot\mysite\ /grant:r "IIS APPPOOL\mywebsitepool":(OI)(CI)(RX)&lt;/P&gt;
&lt;P&gt;guarantees that new files &amp;amp; directories&amp;nbsp;put into this folder inherit the permissions that were set for the parent folder.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;More details on IIS7 Application pool isolation can be found &lt;A class="" title='Ken Schaefer "New in IIS 7 - App Pool Isolation"' href="http://adopenstatic.com/cs/blogs/ken/archive/2008/01/29/15759.aspx" mce_href="http://adopenstatic.com/cs/blogs/ken/archive/2008/01/29/15759.aspx"&gt;here&lt;/A&gt;:&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8317262" width="1" height="1"&gt;</content><author><name>b.frank</name><uri>http://blogs.msdn.com/members/b.frank.aspx</uri></author></entry><entry><title>script sample für IIS6 - Website mit unc user name einrichten (use at your own risk!)</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/b.frank/archive/2008/02/01/script-sample-f-r-iis6-website-mit-unc-user-name-einrichten-use-at-your-own-risk.aspx" /><id>http://blogs.msdn.com/b.frank/archive/2008/02/01/script-sample-f-r-iis6-website-mit-unc-user-name-einrichten-use-at-your-own-risk.aspx</id><published>2008-02-01T12:52:00Z</published><updated>2008-02-01T12:52:00Z</updated><content type="html">&lt;P&gt;On Error Resume Next&lt;/P&gt;
&lt;P&gt;Const wbemFlagReturnImmediately = &amp;amp;h10&lt;BR&gt;Const wbemFlagForwardOnly = &amp;amp;h20&lt;/P&gt;
&lt;P&gt;arrComputers = Array("SRV2003")&lt;BR&gt;For Each strComputer In arrComputers&lt;BR&gt;&amp;nbsp;&amp;nbsp; WScript.Echo&lt;BR&gt;&amp;nbsp;&amp;nbsp; WScript.Echo "=========================================="&lt;BR&gt;&amp;nbsp;&amp;nbsp; WScript.Echo "Computer: " &amp;amp; strComputer&lt;BR&gt;&amp;nbsp;&amp;nbsp; WScript.Echo "=========================================="&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; Set objWMIService = GetObject("winmgmts:\\" &amp;amp; strComputer &amp;amp; "\root\MicrosoftIISv2")&lt;BR&gt;&amp;nbsp;&amp;nbsp; Set colItems = objWMIService.ExecQuery("SELECT * FROM IIsWebVirtualDirSetting", "WQL", _&lt;BR&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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; wbemFlagReturnImmediately + wbemFlagForwardOnly)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; For Each objItem In colItems&lt;BR&gt;&amp;nbsp;objItem.UNCPassword = "password"&lt;BR&gt;&amp;nbsp;objItem.UNCUserName = "uncuser"&lt;BR&gt;&amp;nbsp;objItem.Path ="&lt;A href="file://srv2003/websites/testsite"&gt;\\srv2003\websites\testsite&lt;/A&gt;"&lt;BR&gt;&amp;nbsp;objItem.Put_&lt;BR&gt;&amp;nbsp;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WScript.Echo "UNCPassword: " &amp;amp; objItem.UNCPassword&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WScript.Echo "UNCUserName: " &amp;amp; objItem.UNCUserName&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WScript.Echo "path: " &amp;amp; objItem.Path&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WScript.Echo&lt;BR&gt;&amp;nbsp;&amp;nbsp; Next&lt;BR&gt;Next&lt;/P&gt;
&lt;P&gt;&lt;BR&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=7371867" width="1" height="1"&gt;</content><author><name>b.frank</name><uri>http://blogs.msdn.com/members/b.frank.aspx</uri></author></entry><entry><title>keyboard language layout ändern auf ServerCore</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/b.frank/archive/2008/01/16/keyboard-language-layout-ndern-auf-servercore.aspx" /><id>http://blogs.msdn.com/b.frank/archive/2008/01/16/keyboard-language-layout-ndern-auf-servercore.aspx</id><published>2008-01-16T19:03:00Z</published><updated>2008-01-16T19:03:00Z</updated><content type="html">&lt;P&gt;Ich wollte heute mein keyboard auf deutsch setzen auf meiner Windows Server 2008 core installation (ich hatte EN).&lt;BR&gt;tja aber wie machen über die command line?&lt;/P&gt;
&lt;P&gt;einfach &lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;control intl.cpl&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;auf der cmd line aufrufen und los gehts.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;taken from:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.dirteam.com/blogs/sanderberkouwer/archive/2007/08/13/changing-server-core-s-look-and-feel-part-1.aspx"&gt;http://blogs.dirteam.com/blogs/sanderberkouwer/archive/2007/08/13/changing-server-core-s-look-and-feel-part-1.aspx&lt;/A&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=7132358" width="1" height="1"&gt;</content><author><name>b.frank</name><uri>http://blogs.msdn.com/members/b.frank.aspx</uri></author></entry><entry><title>MSDN, Windows Live und dot.net magazin suchen das beste Windows Live Gadget</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/b.frank/archive/2006/07/17/668163.aspx" /><id>http://blogs.msdn.com/b.frank/archive/2006/07/17/668163.aspx</id><published>2006-07-17T14:31:00Z</published><updated>2006-07-17T14:31:00Z</updated><content type="html">&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN lang=DE style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-ansi-language: DE"&gt;Microsoft ruft Entwickler auf, im Rahmen der Einführung von Windows Live neue und außergewöhnliche Gadgets für Live.com zu entwickeln. Gesucht wird das beste deutschsprachige Gadget, mit einer nützlichen, kreativen oder ausgefallenen Idee. Der Wettbewerb startet am 17. Juli und läuft drei Monate. Bis Mitte Oktober haben die Teilnehmer Zeit, ihre Entwicklungen unter MicrosoftGadgets.de anzumelden und einzureichen. Es winken attraktive Preise im Wert von mehreren tausend Euro, darunter ein High-end LCD-Fernseher.&lt;BR&gt;Link: &lt;A href="http://go.microsoft.com/?linkid=5165543"&gt;http://go.microsoft.com/?linkid=5165543&lt;/A&gt; &lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=668163" width="1" height="1"&gt;</content><author><name>b.frank</name><uri>http://blogs.msdn.com/members/b.frank.aspx</uri></author></entry><entry><title>SQL Server Management Studio Express - kostenloses DB Administrationstool - final.</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/b.frank/archive/2006/07/17/668013.aspx" /><id>http://blogs.msdn.com/b.frank/archive/2006/07/17/668013.aspx</id><published>2006-07-17T10:41:00Z</published><updated>2006-07-17T10:41:00Z</updated><content type="html">&lt;P&gt;SQL Server Management Studio Express = Gratis Clientanwendung zur Administration der einer SQL 2005&amp;nbsp;Datenbank&lt;/P&gt;
&lt;P&gt;hier zum &lt;A href="http://msdn.microsoft.com/vstudio/express/sql/download/"&gt;Download&lt;/A&gt; &lt;/P&gt;&lt;A href="http://bernhard_frank.members.winisp.net/Pictures/SQL%20express%20manager.JPG"&gt;&lt;IMG src="http://bernhard_frank.members.winisp.net/Pictures/SQLexpressmanager_thumb.JPG"&gt;&lt;/A&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=668013" width="1" height="1"&gt;</content><author><name>b.frank</name><uri>http://blogs.msdn.com/members/b.frank.aspx</uri></author></entry><entry><title>Die Datenbank und der Service Provider</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/b.frank/archive/2006/02/17/534001.aspx" /><id>http://blogs.msdn.com/b.frank/archive/2006/02/17/534001.aspx</id><published>2006-02-17T12:33:00Z</published><updated>2006-02-17T12:33:00Z</updated><content type="html">&lt;P class=MsoNormal&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN lang=DE style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN lang=DE style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;Vielleicht kennen Sie das: &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN lang=DE style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;Sie entwickeln gelassen zuhause mit Visual Studio 2005&amp;nbsp;Ihre ASP.net&amp;nbsp;Webapplikation inklusive Datenbank und anschliessend wollen Sie das ganze dann bei Ihrem Provider zum Laufen bringen.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN lang=DE style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;Das Problem:&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN lang=DE style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;Wie kriegen Sie nun die DB nun in die Datenbank in die Ihres Providers. Anrufen, email oder selbst versuchen die Datenbank zu importieren&amp;nbsp;und wie stellt Ihnen der Provider den Datenbank-Zugang überhaupt zur Verfügung (ist 1433 nach aussen hin offen?)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN lang=DE style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN lang=DE style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;Wie machen Sie es denn?:&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN lang=DE style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;Sie könnten w&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN lang=DE style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;enn Sie online sind während der Entwicklung die connection strings in Ihrem Project so abändern, dass sofort die Provider DB verwendet wird - ist das für Sie praktikabel?&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=534001" width="1" height="1"&gt;</content><author><name>b.frank</name><uri>http://blogs.msdn.com/members/b.frank.aspx</uri></author></entry><entry><title>Web basierte DB administration z.B. von SQL Server 2005 Express</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/b.frank/archive/2005/12/20/505857.aspx" /><id>http://blogs.msdn.com/b.frank/archive/2005/12/20/505857.aspx</id><published>2005-12-20T12:09:00Z</published><updated>2005-12-20T12:09:00Z</updated><content type="html">&lt;P&gt;&lt;FONT face=Verdana size=2&gt;Gibts umsonst&amp;nbsp;von Microsoft zum Download unter:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.microsoft.com/downloads/details.aspx?familyid=C039A798-C57A-419E-ACBC-2A332CB7F959&amp;amp;displaylang=en"&gt;&lt;FONT face=Verdana size=2&gt;http://www.microsoft.com/downloads/details.aspx?familyid=C039A798-C57A-419E-ACBC-2A332CB7F959&amp;amp;displaylang=en&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;
&lt;TABLE&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;A href="http://bernhard_frank.members.winisp.net/Pictures/login-large.jpg"&gt;&lt;IMG src="http://bernhard_frank.members.winisp.net/Pictures/login.jpg"&gt;&lt;/A&gt;&lt;/TD&gt;
&lt;TD&gt;&lt;A href="http://bernhard_frank.members.winisp.net/Pictures/db-large.jpg"&gt;&lt;IMG src="http://bernhard_frank.members.winisp.net/Pictures/db.jpg"&gt;&lt;/A&gt;&lt;/TD&gt;
&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=505857" width="1" height="1"&gt;</content><author><name>b.frank</name><uri>http://blogs.msdn.com/members/b.frank.aspx</uri></author></entry><entry><title>Ein kostenloser ASP.Net 2.0 Kurs gefällig?</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/b.frank/archive/2005/12/20/505825.aspx" /><id>http://blogs.msdn.com/b.frank/archive/2005/12/20/505825.aspx</id><published>2005-12-20T12:03:00Z</published><updated>2005-12-20T12:03:00Z</updated><content type="html">&lt;P&gt;&lt;FONT face=Verdana size=2&gt;Dann einfach schnell unter:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://msdn.microsoft.com/vstudio/learning/elearning_promo/"&gt;&lt;FONT face=Verdana size=2&gt;http://msdn.microsoft.com/vstudio/learning/elearning_promo/&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;(ein Online Kurs ist kostenlos)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;informieren und anmelden.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;Viel Spass.&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=505825" width="1" height="1"&gt;</content><author><name>b.frank</name><uri>http://blogs.msdn.com/members/b.frank.aspx</uri></author></entry><entry><title>DevRadio.com  gelauncht! </title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/b.frank/archive/2005/09/05/460965.aspx" /><id>http://blogs.msdn.com/b.frank/archive/2005/09/05/460965.aspx</id><published>2005-09-05T10:24:00Z</published><updated>2005-09-05T10:24:00Z</updated><content type="html">&lt;P&gt;&lt;IMG src="http://bernhard_frank.members.winisp.net/pictures/blog/new2.jpg"&gt;&amp;nbsp;&lt;FONT face=Verdana size=2&gt;&lt;A href="http://www.devradio.com/"&gt;&lt;FONT face=Verdana size=2&gt;http://www.devradio.com/&lt;/FONT&gt;&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;Seines Zeichens "The Developer's Podcast Channel" einfach mal vorbeischauen&amp;nbsp;Z.B. für das &lt;/FONT&gt;&lt;FONT face=Verdana size=2&gt;IE 7 Security Podcast.&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=460965" width="1" height="1"&gt;</content><author><name>b.frank</name><uri>http://blogs.msdn.com/members/b.frank.aspx</uri></author></entry><entry><title>Troubleshooting von IIS hangs, crashes und leaks (DebugDiag)</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/b.frank/archive/2005/08/25/456190.aspx" /><id>http://blogs.msdn.com/b.frank/archive/2005/08/25/456190.aspx</id><published>2005-08-25T15:44:00Z</published><updated>2005-08-25T15:44:00Z</updated><content type="html">&lt;P&gt;&lt;FONT face=Verdana size=2&gt;Sie sind Administrator oder Entwickler und haben einen IIS der ab und an hängt, crashed oder leaked?&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;Das Problem tritt nicht in der Test- / Entwicklersystem auf sondern nur "Live"? Sie wissen nicht welche Komponente &lt;/FONT&gt;&lt;FONT face=Verdana size=2&gt;die Probleme verursacht.&lt;BR&gt;Sie haben schon (fast) alles probriert und Sie suchen was mit dem Sie ganz tief "reinschauen" können?&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;Dann ist DebugDiag möglicherweise das richtige für Sie. Diese Tool ist gegenwärtig in Beta und soll Hilfe zur &lt;/FONT&gt;&lt;FONT face=Verdana size=2&gt;Selbsthhilfe geben (bevor Sie den MS Support als letzte Instanz bemühen müssen). &lt;/FONT&gt;&lt;FONT face=Verdana size=2&gt;Das Tool erzeugt Ihnen Memory Dump(s) des IIS (aber auch x-beliebige andere "fehlerhafte" Prozesse) zu einen &lt;/FONT&gt;&lt;FONT face=Verdana size=2&gt;definierten Zeitpunkt. Durch eine eingebaute Logik werden die Memory Dumps für Sie analysiert (nur IIS), hierzu &lt;/FONT&gt;&lt;FONT face=Verdana size=2&gt;verbindet sich das Tool zu einem im Internet stehenden Symbol Server um die Sprungadressen der&amp;nbsp;&lt;/FONT&gt;&lt;FONT face=Verdana size=2&gt;in Funktionsnamen aufzulösen.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;Das Tool liegt zum Download (Sie benötigen lediglich einen Passport Account)&lt;BR&gt;unter &lt;/FONT&gt;&lt;A href="http://beta.microsoft.com/"&gt;&lt;FONT face=Verdana size=2&gt;http://beta.microsoft.com&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Verdana size=2&gt; (Guest ID: DebugDiag)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://bernhard_frank.members.winisp.net/pictures/blog/debugdiag0.gif"&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;&lt;STRONG&gt;Warnung:&lt;/STRONG&gt; &lt;EM&gt;Trivial ist anders&lt;/EM&gt; - handelt es sich hierbei um (IMHO) "unterstütztes post mortem Debugging" - dennoch hat &lt;/FONT&gt;&lt;FONT face=Verdana size=2&gt;es für den Kunden noch nie ein so tiefgreifendes IIS-Analysetool gegeben. &lt;EM&gt;&lt;STRONG&gt;Cool und daher T E S T E N!&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;Hier die Konfig steps für ein Crash Szenario mit dem IIS 6&lt;BR&gt;- Am besten geben Sie Ihrer "bösen" Webapplication einen eigenen Application pool&lt;BR&gt;- Danach schalten Sie die Health Monitoring Features für diesen Pool ab:&lt;BR&gt;&amp;nbsp;&amp;nbsp; - IIS - MMC -&amp;gt; Application Pools -&amp;gt;Right-click auf den "bösen" Application Pool -&amp;gt;click Properties&lt;BR&gt;&amp;nbsp;&amp;nbsp; - Recycling tab: deaktivieren des "Recycle worker process"&lt;BR&gt;&amp;nbsp;&amp;nbsp; - Performance tab: deaktivieren von "Shutdown worker processes after being idle for"&lt;BR&gt;&amp;nbsp;&amp;nbsp; - Health tab: deaktivieren von "Enable rapid-fail protection" und “Enable pinging”&lt;BR&gt;&amp;nbsp;&amp;nbsp; - Click OK - restarten des IIS&lt;BR&gt;- DebugDiag settings:&lt;BR&gt;&amp;nbsp;&amp;nbsp; -&amp;nbsp; Start -&amp;gt; Programs -&amp;gt; IIS Diagnostics -&amp;gt;"Crash" auwählen und "Next"-&lt;BR&gt;&amp;nbsp;&amp;nbsp; - Zielprozess auswählen z.B. "All IIS related processes"&lt;BR&gt;&amp;nbsp;&amp;nbsp; - Click Next bei “Advanced Configuration”&lt;BR&gt;&amp;nbsp;&amp;nbsp; - Click Next for "Rule Name". &lt;BR&gt;&amp;nbsp;&amp;nbsp; - Option "Activate the rule now" auswählen und Finish&lt;BR&gt;-------&lt;BR&gt;-&amp;gt;Sobald die Webapplication crashed wird ein Dumpfile geschrieben und kann dann über die "Advanced Analysis" &lt;/FONT&gt;&lt;FONT face=Verdana size=2&gt;analysiert werden&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;(webcasts zum Thema &lt;A href="http://www.microsoft.com/windowsserver2003/iis/support/webcasts.mspx#EDAA"&gt;IIS debugging&lt;/A&gt; / ansonsten siehe auch &lt;/FONT&gt;&lt;a href="http://blogs.msdn.com/powerdebug/"&gt;&lt;FONT face=Verdana size=2&gt;http://blogs.msdn.com/powerdebug/&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Verdana size=2&gt;)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://bernhard_frank.members.winisp.net/pictures/blog/debugdiag1.gif"&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=456190" width="1" height="1"&gt;</content><author><name>b.frank</name><uri>http://blogs.msdn.com/members/b.frank.aspx</uri></author></entry><entry><title>Nachtrag zu Centralized Logging (IIS)</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/b.frank/archive/2005/08/24/455609.aspx" /><id>http://blogs.msdn.com/b.frank/archive/2005/08/24/455609.aspx</id><published>2005-08-24T18:09:00Z</published><updated>2005-08-24T18:09:00Z</updated><content type="html">&lt;P&gt;&lt;FONT face=Verdana size=2&gt;Eigentlich hätte ich es schon längst erwähnen sollen. Nun ja die Zeit vergeht und ich bin ein bischen blog-faul. Gelobe mich aber zu bessern.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;Mit dem&amp;nbsp;SP1 für Windows Server 2003 hat sich auch im Bereich IIS logging etwas geändert. Neben einem zentralen Binary Log file für den ganzen Webserver gibt es nun die Möglichkeit die Webzugriffe in ein zentrales Text basiertes Logfile schreiben zu lassen &lt;STRONG&gt;(Centralized W3C Logging)&lt;/STRONG&gt;.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;Vorteile:&lt;/FONT&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;FONT face=Verdana size=2&gt;das Referer Feld (und noch einige andere Einträge)&amp;nbsp;kann jetzt geloggt werden.&lt;/FONT&gt; 
&lt;LI&gt;&lt;FONT face=Verdana size=2&gt;lesbar - und muss nicht erst&amp;nbsp;mit z.B. logparser behandelt werden&lt;/FONT&gt;&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;Gesetzt im IIS wird die Sache mit ...&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;FONT face=Verdana size=2&gt;adsutil.vbs SET W3SVC/CentralW3CLoggingEnabled true&lt;/FONT&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;Tipps:&lt;/FONT&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;FONT face=Verdana size=2&gt;Was geloggt wird kann man über die IIS MMC unter -&amp;gt; re. Mausklick auf "Web Sites"-&amp;gt;Properties-&amp;gt;"Web Site"-&amp;gt;Active Log format "W3C Extended Log File Format" -&amp;gt;Properties-&amp;gt;Advanced&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; einstellen.&lt;/FONT&gt; 
&lt;LI&gt;&lt;FONT face=Verdana size=2&gt;Um die Einträge auseinanderzuhalten (grad wenn mal mehr websites auf der Maschine hat) ist es sinnvoll das Feld&amp;nbsp;"Host (cs-host)" noch mitzuloggen.&lt;/FONT&gt; 
&lt;LI&gt;&lt;FONT face=Verdana size=2&gt;Anschliessend kann man mit Logparser das ganze Log wieder aufteilen um zum Beispiel die Requests für jede Site zu bekommen.&lt;/FONT&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;FONT face=Verdana size=1&gt;LogParser.exe “SELECT * INTO c:\newuserlogfile.log FROM c:\windows\system32\logfiles\w3svc\exXXXXX.log WHERE cs-host=’www.website1.de’” –q:ON –o:W3C&lt;/FONT&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=455609" width="1" height="1"&gt;</content><author><name>b.frank</name><uri>http://blogs.msdn.com/members/b.frank.aspx</uri></author></entry><entry><title>Server Performance Advisor - IIS6</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/b.frank/archive/2005/03/23/400847.aspx" /><id>http://blogs.msdn.com/b.frank/archive/2005/03/23/400847.aspx</id><published>2005-03-23T17:20:00Z</published><updated>2005-03-23T17:20:00Z</updated><content type="html">&lt;p&gt;&lt;br /&gt;&lt;font face="Arial" size="2"&gt;Server Performance Advisor V1.0 (Performance diagnostic tool for Windows Server 2003):&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=61a41d78-e4aa-47b9-901b-cf85da075a73&amp;amp;displaylang=en"&gt;&lt;font face="Arial" size="2"&gt;http://www.microsoft.com/downloads/details.aspx?FamilyID=61a41d78-e4aa-47b9-901b-cf85da075a73&amp;amp;displaylang=en&lt;/font&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Arial" size="2"&gt;Wozu?&lt;br /&gt;Für alle interessant die wissen wollen wie es um Ihre IIS performance mit ihrer webapplikation bestellt ist. Es ist z.B. möglich dieses Tool zu verwenden um herauszufinden welche URLs wärend des Überwachungszeitraums:&lt;br /&gt;- am längsten brauchten&lt;br /&gt;- am meisten CPU benötigten&lt;br /&gt;- am häufigsten requested wurden&lt;br /&gt;- gecached wurden&lt;br /&gt;...&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;br /&gt;&lt;font face="Arial" size="2"&gt;Wie?&lt;br /&gt;Der Server Performance Advisor setzt auf den Event tracing Mechanismus des OS auf (&lt;/font&gt;&lt;a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/perfmon/base/event_tracing.asp"&gt;&lt;font face="Arial" size="2"&gt;http://msdn.microsoft.com/library/default.asp?url=/library/en-us/perfmon/base/event_tracing.asp&lt;/font&gt;&lt;/a&gt;&lt;font face="Arial" size="2"&gt;) hiermit ist es möglich Kernel und User mode komponenten zu tracen.&lt;br /&gt;Der SPA beinhaltet eine Trace Konfiguration speziell für den IIS. Man startet das Tracing mit den IIS Countern im Live oder Testbetrieb (z.B. mit stress test tools) und erhält nach dem stoppen die Auswertung lesbar als Report dargestellt.&lt;br /&gt;Zusätzlich bekommt man auch noch Tuning Hinweise. &lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Arial" size="2"&gt;Meiner Meinung nach seit langem "das geilste seit geschnitten Brot" für IIS.&lt;/font&gt; &lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=400847" width="1" height="1"&gt;</content><author><name>b.frank</name><uri>http://blogs.msdn.com/members/b.frank.aspx</uri></author></entry><entry><title>Centralized Binary Logging (logparser rules!)</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/b.frank/archive/2005/02/01/364494.aspx" /><id>http://blogs.msdn.com/b.frank/archive/2005/02/01/364494.aspx</id><published>2005-02-01T22:00:00Z</published><updated>2005-02-01T22:00:00Z</updated><content type="html">&lt;p&gt;&lt;font face="Verdana"&gt;Was? &lt;br /&gt;Neues Log file format beim IIS 6.&lt;br /&gt;Ist diese Methode aktiviert dann wird für alle websites auf der Maschine insgesamt nur ein einziges Log File geschrieben.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Verdana"&gt;Warum?&lt;br /&gt;Wenn man unbedingt logging haben will (denn das kostet immer performance), dann macht das bei x-tausend IIS Websites mal schnell x-tausend file handles die man sich sparen kann.&lt;br /&gt;Centralized binary logging soll helfen sich wertvolles RAM (nur einen log file (mit insg. 64K) buffer und nicht x-tausend mal 64k) zu sparen, File I/O auf ein notwendiges Minimum zu reduzieren, CPU&amp;nbsp;usage gering zu&amp;nbsp;halten,&amp;nbsp;... kurz die IIS Performance zu erhöhen&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Verdana"&gt;Wie?&lt;br /&gt;CBL wird nicht über die UI gesetzt sondern per tool von der command line:&lt;br /&gt;"cscript.exe adsutil.vbs SET W3SVC/CentralBinaryLoggingEnabled true"&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Verdana"&gt;Was ist anders?&lt;br /&gt;- Ein log file anstatt ein log file/website.&lt;br /&gt;- Nur ein log Verzeichnis (w3svc) mit einer Log Datei *.ibl&lt;br /&gt;- Alle Requests für alle Websites werden in eine Datei geschrieben.&lt;br /&gt;- Auswertung und Aufsplittung auf Requests für eine bestimmte website erfolgt per Tool "logparser"&lt;br /&gt;&amp;nbsp;&amp;nbsp; -&amp;gt;Logparser2.2 gibts hier: &lt;/font&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=890cd06b-abf8-4c25-91b2-f8d975cf8c07&amp;amp;displaylang=en"&gt;&lt;font face="Verdana"&gt;http://www.microsoft.com/downloads/details.aspx?FamilyID=890cd06b-abf8-4c25-91b2-f8d975cf8c07&amp;amp;displaylang=en&lt;/font&gt;&lt;/a&gt;&lt;br /&gt;&lt;font face="Verdana"&gt;&amp;nbsp;&amp;nbsp; -&amp;gt;mit folgenden Befehl kann man aus einem binary log file ein log file pro website erstellen lassen "LogParser -c -i:BIN -o:W3C raw1.ibl C:\NewLogs\W3SVC*\extend1.log -multiSite:ON"&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;gt;dies muss aber nicht auf dem IIS selbst durchgeführt werden (saves CPU and diskspace)&lt;br /&gt;&amp;nbsp;&amp;nbsp; -&amp;gt;will man noch herausfinden welche Website-ID zu welcher Website gehört dann kann man sich mit folgenden tool auf dem IIS ausgeführt eine Liste ausgeben lassen&amp;nbsp;("iisweb.vbs /query"):&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Verdana"&gt;C:\&amp;gt;iisweb.vbs /query&lt;br /&gt;Connecting to server ...Done.&lt;br /&gt;Site Name (Metabase Path)&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Status&amp;nbsp; IP&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; Port&amp;nbsp; Host&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Verdana"&gt;==============================================================================&lt;br /&gt;&lt;strong&gt;Default Web Site&lt;/strong&gt; (W3SVC/&lt;strong&gt;1&lt;/strong&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; STARTED ALL&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 80&amp;nbsp;&amp;nbsp;&amp;nbsp; N/A&lt;br /&gt;&lt;strong&gt;mysite1.com&lt;/strong&gt; (W3SVC/&lt;strong&gt;751304962&lt;/strong&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;&amp;nbsp; STARTED ALL&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 80&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;a href="http://www.mysite1.com"&gt;&lt;font face="Verdana"&gt;www.mysite1.com&lt;/font&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=364494" width="1" height="1"&gt;</content><author><name>b.frank</name><uri>http://blogs.msdn.com/members/b.frank.aspx</uri></author></entry></feed>