Ask a Question related to ASP.NET, Design and Development.
-
Raghavendra T V #1
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...on> Anyone, any ideas on this, it happened after a security hardening was donerequired> this server. How do I fix it please.
>
> Compilation Error
> Description: An error occurred during the compilation of a resourcedetails> to service this request. Please review the following specific error'C:\WINDOWS\TEMP\':> 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'---------------------------------------------------------------------------> Access is denied.
>
> Show Complete Compilation Source:
>
>
> Line 1:
>
---will> 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'---------------------------------------------------------------------------> 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:
>
> --------------------------------------------------------------------------ASP.NET> Version Information: Microsoft .NET Framework Version:1.1.4322.573;> Version:1.1.4322.573
Raghavendra T V Guest
-
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... -
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... -
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... -
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;... -
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... -
CJ #2
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...> on> > Anyone, any ideas on this, it happened after a security hardening was done> required> > this server. How do I fix it please.
> >
> > Compilation Error
> > Description: An error occurred during the compilation of a resource> details> > to service this request. Please review the following specific error> 'C:\WINDOWS\TEMP\':> > 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> '---------------------------------------------------------------------------> > Access is denied.
> >
> > Show Complete Compilation Source:
> >
> >
> > Line 1:
> >
> ---> will> > 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> '---------------------------------------------------------------------------> > 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:
> >
> > --------------------------------------------------------------------------> ASP.NET> > Version Information: Microsoft .NET Framework Version:1.1.4322.573;>> > Version:1.1.4322.573
>
>CJ Guest
-
PigFoxeria #3
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
-
Craig Grummitt #4
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



Reply With Quote

