<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://codebetter.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Brendan Tompkins [MVP] - All Comments</title><link>http://codebetter.com/blogs/brendan.tompkins/default.aspx</link><description>Blog First. Ask Questions Later.</description><dc:language>en</dc:language><generator>CommunityServer 2007 (Build: 20416.853)</generator><item><title>re: Are there any good DNN E-Commerce solutions?</title><link>http://codebetter.com/blogs/brendan.tompkins/archive/2005/04/05/61318.aspx#178343</link><pubDate>Sat, 17 May 2008 06:12:55 GMT</pubDate><guid isPermaLink="false">d21fbbc9-c112-4f32-ad14-95939a2c53d4:178343</guid><dc:creator>KAREN JONES</dc:creator><description>&lt;p&gt;Hi Brendan I'm not sure what exactly you are looking for. If you can explain I would like to help you out.&lt;/p&gt;
&lt;p&gt;Karrie&lt;/p&gt;
&lt;p&gt;The Fastest, Easiest way to learn DotNetNuke! Free Trial Lessons!! &lt;a rel="nofollow" target="_new" href="http://www.applydnn.com"&gt;http://www.applydnn.com&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://codebetter.com/aggbug.aspx?PostID=178343" width="1" height="1"&gt;</description></item><item><title>re: Are there any good DNN E-Commerce solutions?</title><link>http://codebetter.com/blogs/brendan.tompkins/archive/2005/04/05/61318.aspx#178342</link><pubDate>Sat, 17 May 2008 06:12:53 GMT</pubDate><guid isPermaLink="false">d21fbbc9-c112-4f32-ad14-95939a2c53d4:178342</guid><dc:creator>KAREN JONES</dc:creator><description>&lt;p&gt;Hi Brendan I'm not sure what exactly you are looking for. If you can explain I would like to help you out.&lt;/p&gt;
&lt;p&gt;Karrie&lt;/p&gt;
&lt;p&gt;The Fastest, Easiest way to learn DotNetNuke! Free Trial Lessons!! &lt;a rel="nofollow" target="_new" href="http://www.applydnn.com"&gt;http://www.applydnn.com&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://codebetter.com/aggbug.aspx?PostID=178342" width="1" height="1"&gt;</description></item><item><title>re: Are there any good DNN E-Commerce solutions?</title><link>http://codebetter.com/blogs/brendan.tompkins/archive/2005/04/05/61318.aspx#178341</link><pubDate>Sat, 17 May 2008 06:12:50 GMT</pubDate><guid isPermaLink="false">d21fbbc9-c112-4f32-ad14-95939a2c53d4:178341</guid><dc:creator>KAREN JONES</dc:creator><description>&lt;p&gt;Hi Brendan I'm not sure what exactly you are looking for. If you can explain I would like to help you out.&lt;/p&gt;
&lt;p&gt;Karrie&lt;/p&gt;
&lt;p&gt;The Fastest, Easiest way to learn DotNetNuke! Free Trial Lessons!! &lt;a rel="nofollow" target="_new" href="http://www.applydnn.com"&gt;http://www.applydnn.com&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://codebetter.com/aggbug.aspx?PostID=178341" width="1" height="1"&gt;</description></item><item><title>re: Create a Self-Updating WinForms App with the Application Updater Block</title><link>http://codebetter.com/blogs/brendan.tompkins/archive/2004/06/10/16118.aspx#178308</link><pubDate>Fri, 16 May 2008 08:09:42 GMT</pubDate><guid isPermaLink="false">d21fbbc9-c112-4f32-ad14-95939a2c53d4:178308</guid><dc:creator>QuintusW</dc:creator><description>&lt;p&gt;HI the updater work very nice...Just a question what about all the Microsoft dll's.&lt;/p&gt;
&lt;p&gt;If I don't copy them manuly into the version folder the app doesn't run&lt;/p&gt;
&lt;p&gt;(Microsoft.ApplicationBlocks.ApplicationUpdater.Interfaces&lt;/p&gt;
&lt;p&gt;....&lt;/p&gt;
&lt;p&gt;....)&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;img src="http://codebetter.com/aggbug.aspx?PostID=178308" width="1" height="1"&gt;</description></item><item><title>Fix for ASP.NET </title><link>http://codebetter.com/blogs/brendan.tompkins/archive/2006/11/15/Fix-for-ASP.NET-_2200_Could-not-load-file-or-assembly-App_5F00_Web_2E002E002E002200_-Error.aspx#178264</link><pubDate>Thu, 15 May 2008 19:23:23 GMT</pubDate><guid isPermaLink="false">d21fbbc9-c112-4f32-ad14-95939a2c53d4:178264</guid><dc:creator>DotNetKicks.com</dc:creator><description>&lt;p&gt;You've been kicked (a good thing) - Trackback from DotNetKicks.com&lt;/p&gt;
&lt;img src="http://codebetter.com/aggbug.aspx?PostID=178264" width="1" height="1"&gt;</description></item><item><title>re: Fix for ASP.NET "Could not load file or assembly App_Web..." Error</title><link>http://codebetter.com/blogs/brendan.tompkins/archive/2006/11/15/Fix-for-ASP.NET-_2200_Could-not-load-file-or-assembly-App_5F00_Web_2E002E002E002200_-Error.aspx#178263</link><pubDate>Thu, 15 May 2008 19:22:37 GMT</pubDate><guid isPermaLink="false">d21fbbc9-c112-4f32-ad14-95939a2c53d4:178263</guid><dc:creator>Jacek Ciereszko</dc:creator><description>&lt;p&gt;Thanks, You helped me :)&lt;/p&gt;
&lt;p&gt;I work with Silverlight and WCF Services and I have often this stupid error :/&lt;/p&gt;
&lt;img src="http://codebetter.com/aggbug.aspx?PostID=178263" width="1" height="1"&gt;</description></item><item><title>run a bat file without permission</title><link>http://codebetter.com/blogs/brendan.tompkins/archive/2004/05/13/13484.aspx#178126</link><pubDate>Tue, 13 May 2008 00:50:08 GMT</pubDate><guid isPermaLink="false">d21fbbc9-c112-4f32-ad14-95939a2c53d4:178126</guid><dc:creator>run a bat file without permission</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;run a bat file without permission&lt;/p&gt;
&lt;img src="http://codebetter.com/aggbug.aspx?PostID=178126" width="1" height="1"&gt;</description></item><item><title>re: Nice Fix for System.TimeSpan Serialization</title><link>http://codebetter.com/blogs/brendan.tompkins/archive/2004/08/10/21612.aspx#178120</link><pubDate>Mon, 12 May 2008 21:22:33 GMT</pubDate><guid isPermaLink="false">d21fbbc9-c112-4f32-ad14-95939a2c53d4:178120</guid><dc:creator>Bubba Man</dc:creator><description>&lt;p&gt;Thanks!&lt;/p&gt;
&lt;p&gt;That was a huge help. &lt;/p&gt;
&lt;p&gt;I did not even know that problem existed until about a 1/2 an hour ago. Very handy.&lt;/p&gt;
&lt;img src="http://codebetter.com/aggbug.aspx?PostID=178120" width="1" height="1"&gt;</description></item><item><title>re: An Incorrect Server Time can Crash Your Applications!</title><link>http://codebetter.com/blogs/brendan.tompkins/archive/2006/03/02/139648.aspx#178099</link><pubDate>Mon, 12 May 2008 12:23:03 GMT</pubDate><guid isPermaLink="false">d21fbbc9-c112-4f32-ad14-95939a2c53d4:178099</guid><dc:creator>Mayur</dc:creator><description>&lt;p&gt;Hi ,&lt;/p&gt;
&lt;p&gt;I am running my application 24*7. It works fine in day time but at night it get crashed. I am running it through scheduler.&lt;/p&gt;
&lt;p&gt;It is giving following error in application event...&lt;/p&gt;
&lt;p&gt;EventType clr20r3, P1 deduplix.exe, P2 1.0.3014.28632, P3 47f35fed, P4 system.windows.forms, P5 2.0.0.0, P6 471ebf68, P7 16c6, P8 159, P9 system.componentmodel.win32, P10 NIL.&lt;/p&gt;
&lt;p&gt;please help me and tell what can i do?&lt;/p&gt;
&lt;p&gt;Server OS is Windows server 2003 standard edition.&lt;/p&gt;
&lt;p&gt;I am using one COM dll and one OCX.&lt;/p&gt;
&lt;img src="http://codebetter.com/aggbug.aspx?PostID=178099" width="1" height="1"&gt;</description></item><item><title>re: Run a .BAT file from ASP.NET</title><link>http://codebetter.com/blogs/brendan.tompkins/archive/2004/05/13/13484.aspx#177979</link><pubDate>Fri, 09 May 2008 19:11:50 GMT</pubDate><guid isPermaLink="false">d21fbbc9-c112-4f32-ad14-95939a2c53d4:177979</guid><dc:creator>Krishna</dc:creator><description>&lt;p&gt;this does not seem to be working on win2k3 SP2. I checked this and it is failing, below is mentioned the entire gist:&lt;/p&gt;
&lt;p&gt;I have a requirement of doing some copy commands over the network servers (over a same domain)using a web based GUI, hence designed it using aspx form and simply calling cmd.exe by instantiating a new Process, all permissions have been given administrative rights both under the IIS level and also under the NTFS level. I can see from task manager (in server) that cmd.exe gets launched but then it shows a message - &amp;quot;The application failed to initialize properly (0xc0000142). Click on OK to terminate the application.&amp;quot; in server because of which copy commands are not getting executed. Pasted below is the code part of it. This is being developed on Windows 2003 SP2&lt;/p&gt;
&lt;p&gt;Assistance will be highly appreciated.&lt;/p&gt;
&lt;p&gt;Beleaguered programmer....&lt;/p&gt;
&lt;p&gt;protected string StartProcess(string Arguments, string WorkingDir)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;// Start the process&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;string strDomain = &amp;quot;&amp;lt;PUT_UR_DOMAIN&amp;gt;&amp;quot;;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;string strUserName = &amp;quot;PUT_UR_USERNAME&amp;quot;;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;string strPassword = &amp;quot;PUT_UR_PWD&amp;quot;;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;string strReturnMesages = &amp;quot;&amp;quot;;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;try&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Process procMapPath = new Process();&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;procMapPath.StartInfo.WorkingDirectory = WorkingDir;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;procMapPath.StartInfo.UseShellExecute = false;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;procMapPath.StartInfo.RedirectStandardOutput = true;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;procMapPath.StartInfo.RedirectStandardInput = true;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;procMapPath.StartInfo.RedirectStandardError = true;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;procMapPath.StartInfo.FileName = &amp;quot;cmd.exe&amp;quot;;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;procMapPath.StartInfo.LoadUserProfile = true;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;procMapPath.StartInfo.CreateNoWindow = false;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;procMapPath.StartInfo.Domain = strDomain;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;procMapPath.StartInfo.UserName = strUserName;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;procMapPath.StartInfo.Password = new System.Security.SecureString();&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;for (int x = 0; x &amp;lt; strPassword.Length; ++x)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;procMapPath.StartInfo.Password.AppendChar(strPassword[x]);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;procMapPath.StartInfo.Arguments = &amp;quot;/C &amp;quot; + Arguments;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;procMapPath.Start();&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;while (!procMapPath.HasExited)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;strReturnMesages = &amp;quot;Still Copying...&amp;quot;;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;System.Threading.Thread.Sleep(2000);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;procMapPath.Close();&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;strReturnMesages = &amp;quot;Files Copied...&amp;quot; + Environment.NewLine;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;catch (Exception ex)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;strReturnMesages = ex.Source + &amp;quot; --- &amp;quot; + ex.Message + Environment.NewLine;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;return strReturnMesages;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt;one more thing i have also tried giving cmd.exe by giving full permissions to &amp;quot;Everyone&amp;quot; in the server, still of no use.&lt;/p&gt;
&lt;p&gt;Not sure how come examples mentioned are working for them:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://www.velocityreviews.com/forums/t117223-run-cmdexe-from-aspx-page.html"&gt;www.velocityreviews.com/.../t117223-run-cmdexe-from-aspx-page.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=3310025&amp;amp;SiteID=1"&gt;forums.microsoft.com/.../ShowPost.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Also tried System.IO and with associated File.Copy commands, there is no provision for supplying user name and password with these calls, hence this also fails across network folders, however I understand when provided as UNC conventions these should work, but then again same problem would arise when trying to map the required folder.&lt;/p&gt;
&lt;p&gt;please suggest alternatives...&lt;/p&gt;
&lt;img src="http://codebetter.com/aggbug.aspx?PostID=177979" width="1" height="1"&gt;</description></item><item><title>Marius Lardizabal - IT Consulting  &amp;raquo; Blog Archive   &amp;raquo; Running a Shell Script via ASP.Net</title><link>http://codebetter.com/blogs/brendan.tompkins/archive/2004/05/13/13484.aspx#177903</link><pubDate>Thu, 08 May 2008 18:27:00 GMT</pubDate><guid isPermaLink="false">d21fbbc9-c112-4f32-ad14-95939a2c53d4:177903</guid><dc:creator>Marius Lardizabal - IT Consulting  » Blog Archive   » Running a Shell Script via ASP.Net</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Marius Lardizabal - IT Consulting &amp;nbsp;&amp;amp;raquo; Blog Archive &amp;nbsp; &amp;amp;raquo; Running a Shell Script via ASP.Net&lt;/p&gt;
&lt;img src="http://codebetter.com/aggbug.aspx?PostID=177903" width="1" height="1"&gt;</description></item><item><title>re: Fix for ASP.NET "Could not load file or assembly App_Web..." Error</title><link>http://codebetter.com/blogs/brendan.tompkins/archive/2006/11/15/Fix-for-ASP.NET-_2200_Could-not-load-file-or-assembly-App_5F00_Web_2E002E002E002200_-Error.aspx#177767</link><pubDate>Wed, 07 May 2008 05:06:37 GMT</pubDate><guid isPermaLink="false">d21fbbc9-c112-4f32-ad14-95939a2c53d4:177767</guid><dc:creator>prabhaharan</dc:creator><description>&lt;p&gt;thanks a lot. its working... &lt;/p&gt;
&lt;img src="http://codebetter.com/aggbug.aspx?PostID=177767" width="1" height="1"&gt;</description></item><item><title>re: Run a .BAT file from ASP.NET</title><link>http://codebetter.com/blogs/brendan.tompkins/archive/2004/05/13/13484.aspx#177740</link><pubDate>Tue, 06 May 2008 15:08:03 GMT</pubDate><guid isPermaLink="false">d21fbbc9-c112-4f32-ad14-95939a2c53d4:177740</guid><dc:creator>Andrei</dc:creator><description>&lt;p&gt;Your problems will be solved without any complications if you set the application pool to run under LocalSystem. When running the batch it will try to impersonate another user and this is the only accound that has this right.&lt;/p&gt;
&lt;img src="http://codebetter.com/aggbug.aspx?PostID=177740" width="1" height="1"&gt;</description></item><item><title>re: Fix for ASP.NET "Could not load file or assembly App_Web..." Error</title><link>http://codebetter.com/blogs/brendan.tompkins/archive/2006/11/15/Fix-for-ASP.NET-_2200_Could-not-load-file-or-assembly-App_5F00_Web_2E002E002E002200_-Error.aspx#177731</link><pubDate>Tue, 06 May 2008 10:00:51 GMT</pubDate><guid isPermaLink="false">d21fbbc9-c112-4f32-ad14-95939a2c53d4:177731</guid><dc:creator>Rajambal</dc:creator><description>&lt;p&gt;Thanks a lot ... sir.. It solved my problem. &lt;/p&gt;
&lt;img src="http://codebetter.com/aggbug.aspx?PostID=177731" width="1" height="1"&gt;</description></item><item><title>copy to dvd</title><link>http://codebetter.com/blogs/brendan.tompkins/archive/2004/01/16/5687.aspx#177535</link><pubDate>Fri, 02 May 2008 02:03:54 GMT</pubDate><guid isPermaLink="false">d21fbbc9-c112-4f32-ad14-95939a2c53d4:177535</guid><dc:creator>copy to dvd</dc:creator><description>&lt;p&gt;My husband’ s computer wouldn’ t boot: Blue Screen of Death. The error was in a file SR. SYS but I couldn’ t boot to get to it to copy a good one over the bad one. Enter Bart’ s Preinstalled Environment Bootable Windows CD/ DVD. I didn’ t have a bootable&lt;/p&gt;
&lt;img src="http://codebetter.com/aggbug.aspx?PostID=177535" width="1" height="1"&gt;</description></item></channel></rss>