I was messing around (messing being the key word here) with one of my
servers, trying to load some custom dlls into the GAC using gacutil.
it looked like everything was going well, however now it looks like
all .Net apps on the server are having trouble. All are getting some
variation on the following error message. It looks like some runtime
error that is caused by trying to run the vb compiler.
I have since removed the DLLs from the GAC.
This machine does have the IIS Lockdown tool on it. However,
vbc/csc/cvtres all have WebApplication execute permissions.
If anyone knows how to fix this it would be most helpful.
Specs:
server = Windows 2000 Advanced server
.Net Framework = 1.1
IIS = 5.0
Error is below:
***************************
***************************
Cannot execute a program. The command being executed
was "c:\winnt\microsoft.net\framework\v1.1.4322\vbc.exe"
@"C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
Files\gissupport\0efbbab7\a056ebfa\gryda91-.cmdline".
Description: An unhandled exception occurred during compilation using
the CodeDomProvider 'Microsoft.VisualBasic.VBCodeProvider'. Please
review the stack trace for more information about the error and where
it originated in the code.
Exception Details: System.Runtime.InteropServices.ExternalException:
Cannot execute a program. The command being executed
was "c:\winnt\microsoft.net\framework\v1.1.4322\vbc.exe"
@"C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
Files\gissupport\0efbbab7\a056ebfa\gryda91-.cmdline".
Source Error:
An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of
the exception can be identified using the exception stack trace
below.
Stack Trace:
[ExternalException (0x5): Cannot execute a program. The command being
executed was "c:\winnt\microsoft.net\framework\v1.1.4322\vbc.exe"
@"C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
Files\gissupport\0efbbab7\a056ebfa\gryda91-.cmdline".]
System.CodeDom.Compiler.Executor.ExecWaitWithCaptureUnimpersonated
(IntPtr userToken, String cmd, String currentDir, TempFileCollection
tempFiles, String& outputName, String& errorName, String trueCmdLine)
+2050
System.CodeDom.Compiler.Executor.ExecWaitWithCapture(IntPtr
userToken, String cmd, String currentDir, TempFileCollection
tempFiles, String& outputName, String& errorName, String trueCmdLine)
+260
System.CodeDom.Compiler.CodeCompiler.Compile(CompilerParameters
options, String compilerDirectory, String compilerExe, String
arguments, String& outputFile, Int32& nativeReturnValue, String
trueArgs) +383
System.CodeDom.Compiler.CodeCompiler.FromFileBatch
(CompilerParameters options, String[] fileNames) +548
System.CodeDom.Compiler.CodeCompiler.FromDomBatch
(CompilerParameters options, CodeCompileUnit[] ea) +428
System.CodeDom.Compiler.CodeCompiler.FromDom(CompilerParameters
options, CodeCompileUnit e) +90
System.CodeDom.Compiler.CodeCompiler.System.CodeDom.Compiler.ICodeComp
iler.CompileAssemblyFromDom(CompilerParameters options,
CodeCompileUnit e) +37
System.Web.Compilation.BaseCompiler.GetCompiledType() +227
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/