Hi,
I am using aspnet_regiss.exe utility from command prompt to register
asp.net to IIS. But my requirement is to do it programmatically so
that client need not worry about this registration. Can we do this
programmatically??
Thanks
Chandan
Eliyahu Goldin - 19 Mar 2008 10:02 GMT
Sure you can do it with System.Diagnostics.Process.Start(...).
If you are going to run a separate exe to run aspnet_regiis.exe, why cant't
you just run a batch file?

Signature
Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net
> Hi,
> I am using aspnet_regiss.exe utility from command prompt to register
[quoted text clipped - 4 lines]
> Thanks
> Chandan
Teemu Keiski - 19 Mar 2008 13:11 GMT
If Framework is installed after IIS, there should be no need to do this
since ASP.NET should be registered automatically. as Eliyahu says, why
couldn't you have batch file for this (for in case)

Signature
Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke
http://teemukeiski.net
> Hi,
> I am using aspnet_regiss.exe utility from command prompt to register
[quoted text clipped - 4 lines]
> Thanks
> Chandan