Ask a Question related to ASP.NET Security, Design and Development.
-
Ariel Erlijman #1
Allow asp in Win2003 automatically?
Hello,
How can Allow ASP in Win2003 in a script or some automatic way to be run in
my installer?
Regards,
Ariel
Ariel Erlijman Guest
-
CF5.0 on Win2003
I am just a developer and not a server administrator, however it has become my responsibility. I have the opportunity to get a new web server with... -
CF MX7 on Win2003 R2 x64
I just installed CF MX7 Standard Edtn on a brand new server running Windows Server 2003 R2 (x64) and although the install all seems to run ok, once... -
can not run cf 6.1 in win2003
I could install cf 6.1, but it said wed connector could not run!! thanks -
Mac can't see swf on win2003 server.
I have a win2003 server that Mac's can't see .swf's, imbedded into the page, but pc's can. Example: http://www.ms-group.co.uk Mac can't see, same... -
Win2003 Bug
Hi all, I'm running a small network with a win2003 server (fully updated) And 30 xp Clients (fully up to date) The problem I'm having is, when... -
Hernan de Lahitte #2
Re: Allow asp in Win2003 automatically?
Check out this code if it helps you.
You can call this method like this: EnabledExtension("aspnet_isapi.dll")
public static void EnabledExtension(string fileNameExtend)
{
string scriptPath = Environment.SystemDirectory;
string webExtension =
System.IO.Path.Combine(System.IO.Path.Directory.Ge tParent(HttpRuntime.Machin
eConfigurationDirectory).ToString(), fileNameExtend);
ProcessStartInfo pInfo = new ProcessStartInfo("cscript");
pInfo.Arguments = String.Format("iisext.vbs /EnFile {0}",webExtension);
try
{
using(Process p = Process.Start(pInfo))
{
string info = p.StandardOutput.ReadToEnd();
if (!p.WaitForExit(60000))
// Log timeout message
}
}
catch(Exception ex)
{
// Log ex
}
}
--
Hernan de Lahitte
Lagash Systems S.A.
[url]http://weblogs.asp.net/hernandl[/url]
Shadowfax Dev Team
This posting is provided "AS IS" with no warranties, and confers no rights.
"Ariel Erlijman" <ariel@interactiveni.com> wrote in message
news:OVgcDSXIEHA.3144@TK2MSFTNGP10.phx.gbl...in> Hello,
>
> How can Allow ASP in Win2003 in a script or some automatic way to be run> my installer?
>
> Regards,
> Ariel
>
>
Hernan de Lahitte Guest



Reply With Quote

