ERRMSG:Compiler Error Message BC31019 Unable To Write To Output...

Expand / Collapse
 

ERRMSG:Compiler Error Message BC31019 Unable To Write To Output...


Summary

MachPanel Control Server installation package went through OK. Then the web browser starts up at the page 1strun.aspx but it fails and an error page is displayed in the browser. It states:

When Compiler Error Message: BC31019: Unable to write to output file 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\'
The directory name is invalid.

Applies To

MachPanel all versions

Cause
The target directory does not have write permissions

Solution
Step 1: Check environmental variables
Please make sure, you did not temper the existing temp variables. If this is not the case restore your temp variable in following way:
  1. Right click My Computer and select Properties
  2. Go to Advanced tab and select Environmental Variables
  3. Set the Temp variable value as under:
  4. %USERPROFILE%\Local Settings\Temp

Where, %USERPROFILE% is typically C:\Documents and Settings\Administrator

This should resolve the issue. In case the above step does not solve the problem, please carry on with rest of the steps.

Step 2: Reset IIS 6.0/7.0
  1. Click Start >> Run
  2. Type iisreset
Step 3: Uninstall .NET Framework 2.0
  1. Click Start >> Settings >> Control Panel
  2. Double click Add and remove programs
  3. Select Microsoft .NET Framework 2.0 and press Change/Remove button
Step 4: Reinstall .NET Framework 2.0
Reinstall .NET Framework 2.0 as per Microsoft instructions.
Note: .NET Framework 2.0 can be found at:
http://www.microsoft.com/downloads/details.aspx?FamilyID=0856EACB-4362-4B0D-8EDD-AAB15C5E04F5&displaylang=en

Step 5: Verify MachPanel Properties
After .NET Framework 2.0 reinstall, please verify that ASP.NET 2.0 is selected in site properties for asp version. For this, do the following:
  1. Click Start >> Run
  2. Type inetmgr
  3. Expand Websites, right click MachPanel Control Server website then select Properties
  4. Click ASP.NET tab and select ASP.NET version as 2.0.50727





Rate this Article:
     

Add Your Comments


Name: *
Email Address:
Web Address:
Verification Code:
*
 

Details
Type: ERRMSG
Level: Beginner
Last Modified:Thursday, November 27, 2008
Last Modified By: fawad.khan
Article not rated yet.
Article has been viewed 27,335 times.
Options