Tearing Out Hair in Clumps...iis7 and Compiler Error Message: BC31



Hi, I am having a very sticky issue just trying to get iis7 to work for the
most basic of asp.net pages (a new, BLANK aspx page!). I have iis7 running on
Vista Ultimate, and I can browse regular html pages just find using the
localhost. But the moment I create a simple .aspx page, it gives me Compiler
Error Message: BC31019. I have also installed .Net 3.5, and
uninstalled/reinstalled iis7 server, as well as given permissions to aspnet
and network service and iusr accounts to the .net 2.x temp directory. My hand
hurts from all the clicks giving permissions!

Please, help a brother to keep his head warm; I can't lose any more hair!
Here is a detailed listing of the error from the iis7 server:

Server Error in '/PCTrainingExperts' Application.
--------------------------------------------------------------------------------

Compilation Error
Description: An error occurred during the compilation of a resource required
to service this request. Please review the following specific error details
and modify your source code appropriately.

Compiler Error Message: BC31019: Unable to write to output file
'C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\pctrainingexperts\c6919c3f\185ca8b6\App_Web_tmp1nim4w03hu.aspx.cdcab7d2.hnby_bwl.dll': The directory name is invalid.

Source Error:



[No relevant source lines]


Source File: vbc : Line: 0



Show Detailed Compiler Output:


c:\windows\system32\inetsrv>
"C:\Windows\Microsoft.NET\Framework\v2.0.50727\vbc.exe" /t:library
/utf8output
/R:"C:\Windows\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll"
/R:"C:\Windows\assembly\GAC_MSIL\System.WorkflowServices\3.5.0.0__31bf3856ad364e35\System.WorkflowServices.dll"
/R:"C:\Windows\assembly\GAC_MSIL\System.ServiceModel\3.0.0.0__b77a5c561934e089\System.ServiceModel.dll"
/R:"C:\Windows\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll"
/R:"C:\Windows\assembly\GAC_MSIL\System.ServiceModel.Web\3.5.0.0__31bf3856ad364e35\System.ServiceModel.Web.dll"
/R:"C:\Windows\assembly\GAC_MSIL\System.Web.Mobile\2.0.0.0__b03f5f7f11d50a3a\System.Web.Mobile.dll"
/R:"C:\Windows\assembly\GAC_MSIL\System.Web.Services\2.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll"
/R:"C:\Windows\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll"
/R:"C:\Windows\assembly\GAC_MSIL\System.IdentityModel\3.0.0.0__b77a5c561934e089\System.IdentityModel.dll"
/R:"C:\Windows\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll"
/R:"C:\Windows\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll"
/R:"C:\Windows\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll"
/R:"C:\Windows\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll"
/R:"C:\Windows\assembly\GAC_MSIL\System.Runtime.Serialization\3.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll"
/out:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\pctrainingexperts\c6919c3f\185ca8b6\App_Web_tmp1nim4w03hu.aspx.cdcab7d2.hnby_bwl.dll"
/debug-
/win32resource:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary
ASP.NET Files\pctrainingexperts\c6919c3f\185ca8b6\biyjpnn1.res"
/define:_MYTYPE=\"Web\"
/imports:Microsoft.VisualBasic,System,System.Collections,System.Collections.Specialized,System.Configuration,System.Text,System.Text.RegularExpressions,System.Web,System.Web.Caching,System.Web.SessionState,System.Web.Security,System.Web.Profile,System.Web.UI,System.Web.UI.WebControls,System.Web.UI.WebControls.WebParts,System.Web.UI.HtmlControls
"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\pctrainingexperts\c6919c3f\185ca8b6\App_Web_tmp1nim4w03hu.aspx.cdcab7d2.hnby_bwl.0.vb"
"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\pctrainingexperts\c6919c3f\185ca8b6\App_Web_tmp1nim4w03hu.aspx.cdcab7d2.hnby_bwl.1.vb"


Microsoft (R) Visual Basic Compiler version 8.0.50727.1433
for Microsoft (R) .NET Framework version 2.0.50727.1433
Copyright (c) Microsoft Corporation. All rights reserved.

vbc : error BC31019: Unable to write to output file
'C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\pctrainingexperts\c6919c3f\185ca8b6\App_Web_tmp1nim4w03hu.aspx.cdcab7d2.hnby_bwl.dll': The directory name is invalid.






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



Relevant Pages

  • Re: VBA : shrinking a multidimensional array to nothing and restarting again...
    ... >> Gerry Quinn wrote: ... > have been documented (or how would Nash have known of it?). ... We're talking about what Microsoft does, ... >>> certain function not operating as he expected in one compiler. ...
    (comp.programming)
  • Re: To Richard Heathfield: enoughs enough
    ... Abandoning Hungarian notation because it is ... So write you're own compiler for a new language, ... >> I don't own any such books. ... Not even Microsoft claims that anymore. ...
    (comp.programming)
  • Re: [announcement] SYSAPI and SYSSVC for Windows
    ... are 3D GUI objects a Microsoft invention? ... copies to circumvent payment is a nice thing to do, but I think "secure" ... :> "trusted" applications like media player, real player, and its ilk or not ... I don't think small compiler companies will always use dongles. ...
    (comp.lang.ada)
  • Re: Visual C++ 6 support issue
    ... Of course, Eclipse has the ... Apparently there is a discussion group going on in Microsoft which is discussing the tool ... >the same parsing job that the first couple of passes of the compiler ... And the compiler and the IDE are completely orthogonal. ...
    (microsoft.public.vc.mfc)
  • linker mistakes entry point in dll
    ... Microsoft Program Maintenance Utility Version 6.00.8168.0 ... IntelFortran Compiler for 32-bit applications, ... Copyright 1985-2004 Intel Corporation. ...
    (comp.lang.fortran)