Ask a Question related to ASP.NET Security, Design and Development.
-
Rob Agnew #1
Debug - Access denied and worse
After running the IIS lockdown tool and Urlscan I now cannot debug. I have
tried all sorts of adjustment to perrmissions (based on reading similar
posts) and to the Urlscan configuration to no avail. As well as this problem
the application also returns the following when you try to browse to it.
"Server Error in '/sirtexos' Application.
----------------------------------------------------------------------------
----
Cannot execute a program. The command being executed was
"c:\winnt\microsoft.net\framework\v1.1.4322\vbc.ex e"
@"C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Tempo rary ASP.NET
Files\sirtexos\bbcff8a8\ac720875\crshrtz3.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.ex e"
@"C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Tempo rary ASP.NET
Files\sirtexos\bbcff8a8\ac720875\crshrtz3.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.ex e"
@"C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Tempo rary ASP.NET
Files\sirtexos\bbcff8a8\ac720875\crshrtz3.cmdline" .]
System.CodeDom.Compiler.Executor.ExecWaitWithCaptu reUnimpersonated(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(Compi lerParameters 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(Compi lerParameters options,
CodeCompileUnit e) +90
System.CodeDom.Compiler.CodeCompiler.System.CodeDo m.Compiler.ICodeCompiler.C
ompileAssemblyFromDom(CompilerParameters options, CodeCompileUnit e) +37
System.Web.Compilation.BaseCompiler.GetCompiledTyp e() +227"
I would just give up and rebuild the server, but then how can I be sure it
is going to work in production? It's desperation time.....
Cheers
Rob Agnew
ragnew@@@@@teamsoftDTcomDTau
Rob Agnew Guest
-
Cloning delay gets worse and worse
In my project, I clone and delete a lot of models (bullets) almost constantly. The system has no trouble handling that number of models in the... -
Web Service + Anon Access, but getting 401 Access Denied Error
I have a simple webservice that just returns a string. The security for this is set to windows authentication in IIS (XP Professional) and anonymous... -
Error: "Unable to debug on server,Access is denied"
I installed dotnet and when i try to run a web application i get the error messagebox saying "Unable to debug on server,Access is denied.Would you... -
Access denied when creating Access application object
In an ASP file I am running the following in VBScript in order to extract data from an Access 2002 MDB file which is physically located in the... -
access denied on data access pages
I have created data access pages that worked well when I tried them on two separate computer simutaneously, but when we went into production we got...



Reply With Quote

