c# - "Compiler executable file csc.exe cannot be found" on IIS 8.5 -


i'm trying run application on iis @ localhost, displaying error message:

compiler executable file csc.exe cannot found 

here stack trace:

[invalidoperationexception: compiler executable file csc.exe cannot found.] system.codedom.compiler.redistversioninfo.getcompilerpath(idictionary`2 provoptions, string compilerexecutable) +8338491 microsoft.csharp.csharpcodegenerator.fromfilebatch(compilerparameters options, string[] filenames) +739 microsoft.csharp.csharpcodegenerator.system.codedom.compiler.icodecompiler.compileassemblyfromfilebatch(compilerparameters options, string[] filenames) +170 system.web.compilation.assemblybuilder.compile() +12076312 system.web.compilation.buildproviderscompiler.performbuild() +301 system.web.compilation.applicationbuildprovider.getglobalasaxbuildresult(boolean isprecompiledapp) +12615825 system.web.compilation.buildmanager.compileglobalasax() +50 system.web.compilation.buildmanager.ensuretoplevelfilescompiled() +665  [httpexception (0x80004005): compiler executable file csc.exe cannot found.] system.web.compilation.buildmanager.reporttoplevelcompilationexception() +80 system.web.compilation.buildmanager.ensuretoplevelfilescompiled() +1142 system.web.hosting.hostingenvironment.initialize(applicationmanager appmanager, iapplicationhost apphost, iconfigmappathfactory configmappathfactory, hostingenvironmentparameters hostingparameters, policylevel policylevel, exception appdomaincreationexception) +1193  [httpexception (0x80004005): compiler executable file csc.exe cannot found.] system.web.httpruntime.firstrequestinit(httpcontext context) +12618388 system.web.httpruntime.ensurefirstrequestinit(httpcontext context) +159 system.web.httpruntime.processrequestnotificationprivate(iis7workerrequest wr, httpcontext context) +12458005 

i'm using windows 8 64-bit, visual studio ultimate 2013 update 4 , iis 8.5 in development machine.

how can fix this?


Comments

Popular posts from this blog

python - TypeError: start must be a integer -

c# - DevExpress RepositoryItemComboBox BackColor property ignored -

django - Creating multiple model instances in DRF3 -