Monday, February 21, 2011

IIS7 asp.net error while accessing webpage . "Cannot execute a program"

Hi I am getting the following error on accesign an application. The app is installed on IIS7 windows server 2008

Cannot execute a program. The command being executed was "C:\Windows\Microsoft.NET\Framework\v3.5\vbc.exe" /noconfig @"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\entitymanager\fc119101\f785f7e5\ugj1_w_e.cmdline".

Any help is much appreciated

thanks

From stackoverflow
  • Most likely there is a permissons issue somewhere. Does this KB apply to your situation?

    http://support.microsoft.com/kb/315904

    Note, I know this KB references csc.exe, but it's still basicaly the same message, seeing as csc.exe is the c# compiler and vbc.exe is the VB.net complier.

  • You may need to check the configuration of currently used Application Pool.

  • I reinstalled asp.net which fixed the issue. I appretiate the suggestions provided

0 comments:

Post a Comment