473,325 Members | 2,872 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,325 software developers and data experts.

"Cannot run program" error with Web, Web Services apps.

I built small C# Web and Web Service applications in a
training class last week. The applications worked in the
class, but when I tried to run them again over the
weekend, they both bombed. Instead of getting my Web
page, or the Web Service page, I get a page full of error
text (below).

I am hoping the anwser will be obvious to someone.

I've tried a few things to address the problem, including
adding an "impersonator" identity to machine.config, and
web.config, and trying to figure out how the
PublicKeyToken works. Neither has led to success.

Thanks for any suggestions.

Error text:

Server Error in '/Order System Web CSharp' Application.
----------------------------------------------------------
----------------------

Cannot execute a program. The command being executed
was "c:\windows\microsoft.net\framework\v1.1.4322
\csc.exe" /noconfig
@"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Tem porary
ASP.NET Files\order system web csharp\8ca5eae6\8a7b6687
\bjwjj_c0.cmdline".
Description: An unhandled exception occurred during
compilation using the
CodeDomProvider 'Microsoft.CSharp.CSharpCodeProvider'.
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:\windows\microsoft.net\framework\v1.1.4322
\csc.exe" /noconfig
@"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Tem porary
ASP.NET Files\order system web csharp\8ca5eae6\8a7b6687
\bjwjj_c0.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:\windows\microsoft.net\framework\v1.1.4322
\csc.exe" /noconfig
@"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Tem porary
ASP.NET Files\order system web csharp\8ca5eae6\8a7b6687
\bjwjj_c0.cmdline".]
System.CodeDom.Compiler.Executor.ExecWaitWithCaptu reUnimpe
rsonated(IntPtr userToken, String cmd, String currentDir,
TempFileCollection tempFiles, String& outputName, String&
errorName, String trueCmdLine) +2050
System.CodeDom.Compiler.Executor.ExecWaitWithCaptu re
(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.CodeDo m.Compil
er.ICodeCompiler.CompileAssemblyFromDom
(CompilerParameters options, CodeCompileUnit e) +37
System.Web.Compilation.BaseCompiler.GetCompiledTyp e() +227

----------------------------------------------------------
----------------------
Version Information: Microsoft .NET Framework
Version:1.1.4322.573; ASP.NET Version:1.1.4322.573
Nov 15 '05 #1
1 3608
Did you created the virtual directory as an application?
"Chris" <cb******@visionds.com> escribió en el mensaje
news:05****************************@phx.gbl...
I built small C# Web and Web Service applications in a
training class last week. The applications worked in the
class, but when I tried to run them again over the
weekend, they both bombed. Instead of getting my Web
page, or the Web Service page, I get a page full of error
text (below).

I am hoping the anwser will be obvious to someone.

I've tried a few things to address the problem, including
adding an "impersonator" identity to machine.config, and
web.config, and trying to figure out how the
PublicKeyToken works. Neither has led to success.

Thanks for any suggestions.

Error text:

Server Error in '/Order System Web CSharp' Application.
----------------------------------------------------------
----------------------

Cannot execute a program. The command being executed
was "c:\windows\microsoft.net\framework\v1.1.4322
\csc.exe" /noconfig
@"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Tem porary
ASP.NET Files\order system web csharp\8ca5eae6\8a7b6687
\bjwjj_c0.cmdline".
Description: An unhandled exception occurred during
compilation using the
CodeDomProvider 'Microsoft.CSharp.CSharpCodeProvider'.
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:\windows\microsoft.net\framework\v1.1.4322
\csc.exe" /noconfig
@"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Tem porary
ASP.NET Files\order system web csharp\8ca5eae6\8a7b6687
\bjwjj_c0.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:\windows\microsoft.net\framework\v1.1.4322
\csc.exe" /noconfig
@"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Tem porary
ASP.NET Files\order system web csharp\8ca5eae6\8a7b6687
\bjwjj_c0.cmdline".]
System.CodeDom.Compiler.Executor.ExecWaitWithCaptu reUnimpe
rsonated(IntPtr userToken, String cmd, String currentDir,
TempFileCollection tempFiles, String& outputName, String&
errorName, String trueCmdLine) +2050
System.CodeDom.Compiler.Executor.ExecWaitWithCaptu re
(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.CodeDo m.Compil
er.ICodeCompiler.CompileAssemblyFromDom
(CompilerParameters options, CodeCompileUnit e) +37
System.Web.Compilation.BaseCompiler.GetCompiledTyp e() +227

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

Nov 15 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: BJ | last post by:
The application I have been developing is great except one flaw. When Windows NT shuts down, it doesn't send the Event to my application (if it did, it would close all of the open forms and kill an...
1
by: Andreas Poller | last post by:
Hello, I have the following problem: I have a class deriving from ICustomTypeDescriptor: public __gc class TPropertyBag : public ICustomTypeDescriptor { private: ...
0
by: Mr.KisS | last post by:
Hello. I'm under Windows XP PRO SP1, IIS 5.1 ans SQL SERVER 2005 Express. When i try to open a connexion with : <connectionStrings> <add name="AppCnxStr"...
2
by: Mr.KisS | last post by:
Hello. I'm under Windows XP PRO SP1, IIS 5.1 ans SQL SERVER 2005 Express. When i try to open a connexion with : <connectionStrings> <add name="AppCnxStr"...
1
by: Dgates | last post by:
This request might belong in a "SQL"-related newsgroup, but it's such a pain using Agent to subscribe to a new group (and download its 50,000 messages!) just to ask one question. So, since it...
7
by: Mathew Butler | last post by:
I'm investigating an issue I have when pulling data back from MS access I'm retrieving all rows from a column in a table of 5000 rows - accessing a column of type "memo" ( can be 65353 character...
15
by: Bjorn Jensen | last post by:
Hi! An beginner question: Pleas help me with this (-: Error (the arrow points on the s in sqrt) ===== tal.java:6: cannot find symbol symbol : method sqrt(int) location: class tal...
0
by: drewmania001 | last post by:
When trying to setup relplication for SQL i am getting the following error. "The system cannot find the path specified" The problem is when trying to run: sp_adddistributiondb line 434:...
3
blazedaces
by: blazedaces | last post by:
Hello, it's been a while since I posted on these forums. My issue I think isn't as much in my code as it's in the syntax and structure in references other packages. I'll get straight to it then: ...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.