Ask a Question related to ASP.NET, Design and Development.

  1. #1

    Default Re: Compiler Error

    Hi CJ,

    You will need to give these two accounts, IUSR_MachineName and ASPNET,
    permissions to the directories they are being denied acces to. You can do
    this by right click the folder and going to properties. Then click the
    security tab. Then click the add button. Add the account.
    It is the account that the aspnet_wp.exe and the inetinfo.exe processes run
    under that need to be granted access to the directories that they are being
    denied access to.

    Hope this helps you.

    Thanks
    Raghavendra


    "CJ" <CJ@discussions.microsoft.com> wrote in message
    news:EAF19111-5BE2-42F6-A71F-992DF9F83DEC@microsoft.com...
    > Anyone, any ideas on this, it happened after a security hardening was done
    on
    > this server. How do I fix it please.
    >
    > 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: BC30138: Unable to create temp file in path
    > 'C:\WINDOWS\TEMP\': Access is denied.
    >
    > Source Error:
    >
    > [No relevant source lines]
    >
    > Source File: vbc : Line: 0
    >
    > Microsoft (R) Visual Basic .NET Compiler version 7.10.3052.4
    > for Microsoft (R) .NET Framework version 1.1.4322.573
    > Copyright (C) Microsoft Corporation 1987-2002. All rights reserved.
    >
    > vbc : error BC30138: Unable to create temp file in path
    'C:\WINDOWS\TEMP\':
    > Access is denied.
    >
    > Show Complete Compilation Source:
    >
    >
    > Line 1:
    >
    '---------------------------------------------------------------------------
    ---
    > Line 2: ' <autogenerated>
    > Line 3: ' This code was generated by a tool.
    > Line 4: ' Runtime Version: 1.1.4322.573
    > Line 5: '
    > Line 6: ' Changes to this file may cause incorrect behavior and
    will
    > be lost if
    > Line 7: ' the code is regenerated.
    > Line 8: ' </autogenerated>
    > Line 9:
    >
    '---------------------------------------------------------------------------
    ---
    > Line 10:
    > Line 11: Option Strict Off
    > Line 12: Option Explicit On
    > Line 13:
    > Line 14: Imports Microsoft.VisualBasic
    > Line 15: Imports System
    > Line 16: Imports System.Collections
    > Line 17: Imports System.Collections.Specialized
    > Line 18: Imports System.Configuration
    > Line 19: Imports System.Text
    > Line 20: Imports System.Text.RegularExpressions
    > Line 21: Imports System.Web
    > Line 22: Imports System.Web.Caching
    > Line 23: Imports System.Web.Security
    > Line 24: Imports System.Web.SessionState
    > Line 25: Imports System.Web.UI
    > Line 26: Imports System.Web.UI.HtmlControls
    > Line 27: Imports System.Web.UI.WebControls
    > Line 28:
    > Line 29: Namespace ASP
    > Line 30:
    > Line 31: Public Class Global_asax
    > Line 32: Inherits DotNetNuke.Global
    > Line 33:
    > Line 34: Private Shared __initialized As Boolean = false
    > Line 35:
    > Line 36: Public Sub New()
    > Line 37: MyBase.New
    > Line 38: If (ASP.Global_asax.__initialized = false) Then
    > Line 39: ASP.Global_asax.__initialized = true
    > Line 40: End If
    > Line 41: End Sub
    > Line 42: End Class
    > Line 43: End Namespace
    > Line 44:
    >
    > --------------------------------------------------------------------------
    ------
    > Version Information: Microsoft .NET Framework Version:1.1.4322.573;
    ASP.NET
    > Version:1.1.4322.573

    Raghavendra T V Guest

  2. Similar Questions and Discussions

    1. mxmlc compiler error
      Hi, I am having remoteobjects in my mxml file. I am able to compile my file with D:\SVN\Code\myprojfit\web\WEB-INF\flex\bin>mxmlc -o...
    2. Compiler Error Message: CS0123:
      Hi Everyone...Can somebody help me figure out how to fix this error? I'm out of ideas! Thanks! CS0123: Method...
    3. compiler error code 128
      Help !!!!!!! All the ASP.NET websites on our server are giving the error: The compiler failed with error code 128 the server is running .NET...
    4. Perl compiler? error
      Lets say a friend of mine :) wrote code which had a bad error in it: #!/usr/bin/perl use warnings; use strict; my $words = ; my $num = 612;...
    5. Compiler Error Message: The compiler failed with error code 128.
      Hi. I am having trouble running my aspx code. I created two simple webforms, which i try to run from two different directories one is giving me...
  3. #2

    Default Re: Compiler Error

    Thanks Raghavendra for the reply,

    I will look at the permissions again, I have already given access to ASP.NET
    and IUSR_ account full access to C:\windows\temp without any luck. Unless the
    processes that you refer to runs under a different user names.

    Will check it out and let you know.

    "Raghavendra T V" wrote:
    > Hi CJ,
    >
    > You will need to give these two accounts, IUSR_MachineName and ASPNET,
    > permissions to the directories they are being denied acces to. You can do
    > this by right click the folder and going to properties. Then click the
    > security tab. Then click the add button. Add the account.
    > It is the account that the aspnet_wp.exe and the inetinfo.exe processes run
    > under that need to be granted access to the directories that they are being
    > denied access to.
    >
    > Hope this helps you.
    >
    > Thanks
    > Raghavendra
    >
    >
    > "CJ" <CJ@discussions.microsoft.com> wrote in message
    > news:EAF19111-5BE2-42F6-A71F-992DF9F83DEC@microsoft.com...
    > > Anyone, any ideas on this, it happened after a security hardening was done
    > on
    > > this server. How do I fix it please.
    > >
    > > 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: BC30138: Unable to create temp file in path
    > > 'C:\WINDOWS\TEMP\': Access is denied.
    > >
    > > Source Error:
    > >
    > > [No relevant source lines]
    > >
    > > Source File: vbc : Line: 0
    > >
    > > Microsoft (R) Visual Basic .NET Compiler version 7.10.3052.4
    > > for Microsoft (R) .NET Framework version 1.1.4322.573
    > > Copyright (C) Microsoft Corporation 1987-2002. All rights reserved.
    > >
    > > vbc : error BC30138: Unable to create temp file in path
    > 'C:\WINDOWS\TEMP\':
    > > Access is denied.
    > >
    > > Show Complete Compilation Source:
    > >
    > >
    > > Line 1:
    > >
    > '---------------------------------------------------------------------------
    > ---
    > > Line 2: ' <autogenerated>
    > > Line 3: ' This code was generated by a tool.
    > > Line 4: ' Runtime Version: 1.1.4322.573
    > > Line 5: '
    > > Line 6: ' Changes to this file may cause incorrect behavior and
    > will
    > > be lost if
    > > Line 7: ' the code is regenerated.
    > > Line 8: ' </autogenerated>
    > > Line 9:
    > >
    > '---------------------------------------------------------------------------
    > ---
    > > Line 10:
    > > Line 11: Option Strict Off
    > > Line 12: Option Explicit On
    > > Line 13:
    > > Line 14: Imports Microsoft.VisualBasic
    > > Line 15: Imports System
    > > Line 16: Imports System.Collections
    > > Line 17: Imports System.Collections.Specialized
    > > Line 18: Imports System.Configuration
    > > Line 19: Imports System.Text
    > > Line 20: Imports System.Text.RegularExpressions
    > > Line 21: Imports System.Web
    > > Line 22: Imports System.Web.Caching
    > > Line 23: Imports System.Web.Security
    > > Line 24: Imports System.Web.SessionState
    > > Line 25: Imports System.Web.UI
    > > Line 26: Imports System.Web.UI.HtmlControls
    > > Line 27: Imports System.Web.UI.WebControls
    > > Line 28:
    > > Line 29: Namespace ASP
    > > Line 30:
    > > Line 31: Public Class Global_asax
    > > Line 32: Inherits DotNetNuke.Global
    > > Line 33:
    > > Line 34: Private Shared __initialized As Boolean = false
    > > Line 35:
    > > Line 36: Public Sub New()
    > > Line 37: MyBase.New
    > > Line 38: If (ASP.Global_asax.__initialized = false) Then
    > > Line 39: ASP.Global_asax.__initialized = true
    > > Line 40: End If
    > > Line 41: End Sub
    > > Line 42: End Class
    > > Line 43: End Namespace
    > > Line 44:
    > >
    > > --------------------------------------------------------------------------
    > ------
    > > Version Information: Microsoft .NET Framework Version:1.1.4322.573;
    > ASP.NET
    > > Version:1.1.4322.573
    >
    >
    >
    CJ Guest

  4. #3

    Default Compiler error

    I'm going through the code in the book "Adobe Flex 3 training From The Source".
    The error I'm getting is "Multiple markers at this line"
    The offending line of code and compiler view are attached. The path to the
    image is correct.
    Any clue how to fix this?
    [url]http://pigfox.com/flex/error1.jpg[/url]

    <mx:Image source="@Embed('/imgs/dairy_milk.jpg')" scaleContent="true"/>

    PigFoxeria Guest

  5. #4

    Default Re: Compiler error

    yes the error isn't actually 'multiple markers at this line', that's telling
    you that there is more than one error on this line, and the two errors are:
    unable to resolve /imgs/dairy_milk.jpg for transcoding.
    unable to transcode /imgs/dairy_milk.jpg.

    this is definitely telling you, i'm afraid that the path to the image is not
    correct. and i can tell by the compiler view that the image path is not
    correct. the path you have specified expects an imgs folder to come off your
    src folder. remember you're embedding the image so it's a compile time rather
    than run-time path.

    Craig Grummitt Guest

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139