Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with recompiled app and IIS (won't run)

Status
Not open for further replies.

NoCoolHandle

Programmer
Apr 10, 2003
2,321
US
Hi, I have just reciently recompiled a .NEt web app (which still runs fine on my dev machine) and the Web Server that I have been hosting the site on, now fails to run any aspx page in any site..

The key parts of the error seem to be ..
Exception Details:.... \cygtlmbj.cmdline
and
....framework\v1.1.4322\vbc.exe"
(full error at bottom of post)


Any Clues greatly appreciated..

I have tired restarting services, servers and reinstalling the framework 1.1 files, recompiling apps. At this point I am thinking of uninstalling and reinstalling iis.. (YUK don't want to do this)

Rob
PS full details
Exception Details:
System.Runtime.InteropServices.ExternalException: Cannot
execute a program. The command being executed
was "f:\winnt\microsoft.net\framework\v1.1.4322\vbc.exe"
@"F:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary
ASP.NET Files\family\3425fb56\9af85b02\cygtlmbj.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 "f:\winnt\microsoft.net\framework\v1.1.4322\vbc.exe"
@"F:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary
ASP.NET Files\family\3425fb56\9af85b02\cygtlmbj.cmdline".]

System.CodeDom.Compiler.Executor.ExecWaitWithCaptureUnimpe
rsonated(IntPtr userToken, String cmd, String currentDir,
TempFileCollection tempFiles, String& outputName, String&
errorName, String trueCmdLine) +2036
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.Compil
er.ICodeCompiler.CompileAssemblyFromDom
(CompilerParameters options, CodeCompileUnit e) +37
System.Web.Compilation.BaseCompiler.GetCompiledType()
+227




----------------------------------------------------------
----------------------
Version Information: Microsoft .NET Framework
Version:1.1.4322.573; ASP.NET Version:1.1.4322.573

.


 
Just a quick update....

This was a "security" problem.
I had (a couple of weeks ago) run the iislockdown tool on my server.. No problmes still ran fine.
Recompiled the app and copyed to the server, then the iislockdown problem showed up.

I uninstalled the changes made by the iislockdown tool and it works great again....

I hope this helps someone in the future.

Rob
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top