Chris Pietschmann

husband, father, hacker, entrepreneur, futurist, innovator, autodidact

NAVIGATION - SEARCH

Error ASP 0178 on Windows 2003 Server (IIS6) by Server.CreateObject on DCOM registered Component

This error is a permissions problem. This is a very frustrating problem for someone who doesn't know Windows Server 2003 very well. Heres is a workaround:1. go to Administrative Tools> Component Services 2. expand COM Services 3. expand My Computer. 4. expand COM+ Applications. 5. Right click on your Application, select Properties 6. Go to the Security tab7. In the Authorization frame, uncheck “Enforce access checks for this application“ This isn't the best, since it grants every ... [More]

How do you call a Console application from ASP.NET and get the results??

Here is a VB.NET version of a C# example that I found to do just that. It's really simple to do. <%@ Page Language="vb" %><%@ Import Namespace="System.Diagnostics" %><%       ''Get a file name relative to the current Web app.       Dim file As String = Server.MapPath("Program.exe")       Dim info As ProcessStartInfo = new ProcessStartInfo(file, "/arguments")       ''Redirect output... [More]