Home All Groups Group Topic Archive Search About

running .net dll from ISAPI extension

Author
31 Jan 2006 3:41 PM
E.Sh
I have a .net application.
When trying to run it from ISAPI extension, the application can not conncet
to the web services.
The first errors are about writing to c:\winnt\temp.
After giving 'everyone' permissions to write to c:\winnt\temp, the next
error is:

Cannot execute a program. The command being executed was
"c:\winnt\microsoft.net\framework\v1.1.4322\csc.exe" /noconfig
@"C:\WINNT\TEMP\5ddmhvd1.cmdline".

How can I fix it?

The application uses:
WS.Credentials = CredentialCache.DefaultCredentials;

Author
1 Feb 2006 2:41 PM
Cowboy (Gregory A. Beamer) - MVP
To be honest, without understanding the ISAPI filter, I am afraid that I
cannot help much, but here is a question ...

Why are you using ISAPI?

In the .NET world, you can create HTTP Handlers and HTTP Modules to fulfill
the same purpose as ISAPI ... and, they work with .NET without any kludges.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***************************
Think Outside the Box!
***************************


Show quote
"E.Sh" wrote:

> I have a .net application.
> When trying to run it from ISAPI extension, the application can not conncet
> to the web services.
> The first errors are about writing to c:\winnt\temp.
> After giving 'everyone' permissions to write to c:\winnt\temp, the next
> error is:
>
> Cannot execute a program. The command being executed was
> "c:\winnt\microsoft.net\framework\v1.1.4322\csc.exe" /noconfig
> @"C:\WINNT\TEMP\5ddmhvd1.cmdline".
>
> How can I fix it?
>
> The application uses:
> WS.Credentials = CredentialCache.DefaultCredentials;
Author
1 Feb 2006 5:00 PM
E.Sh
I use the ISAPI extension to capture every call to a specfic virtual directory.
Based on certain calculations, that is being done by the .net WS, I return a
modified url.

So, how can I do it with HTTP Handlers and HTTP Modules ?
Author
2 Feb 2006 3:31 PM
E.Sh
Do HTTP handlers work with IIS 5?
Where can I find a working sample code?




Show quote
"Cowboy (Gregory A. Beamer) - MVP" wrote:

> To be honest, without understanding the ISAPI filter, I am afraid that I
> cannot help much, but here is a question ...
>
> Why are you using ISAPI?
>
> In the .NET world, you can create HTTP Handlers and HTTP Modules to fulfill
> the same purpose as ISAPI ... and, they work with .NET without any kludges.
>
> --
> Gregory A. Beamer
> MVP; MCP: +I, SE, SD, DBA
>
> ***************************
> Think Outside the Box!
> ***************************
>
>
> "E.Sh" wrote:
>
> > I have a .net application.
> > When trying to run it from ISAPI extension, the application can not conncet
> > to the web services.
> > The first errors are about writing to c:\winnt\temp.
> > After giving 'everyone' permissions to write to c:\winnt\temp, the next
> > error is:
> >
> > Cannot execute a program. The command being executed was
> > "c:\winnt\microsoft.net\framework\v1.1.4322\csc.exe" /noconfig
> > @"C:\WINNT\TEMP\5ddmhvd1.cmdline".
> >
> > How can I fix it?
> >
> > The application uses:
> > WS.Credentials = CredentialCache.DefaultCredentials;

AddThis Social Bookmark Button