|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
running .net dll from ISAPI extensionI 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; 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. -- Show quoteGregory 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; 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 ? 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; |
|||||||||||||||||||||||