all groups > iis security > january 2006 >
You're in the

iis security

group:

BC31019: Unable to write to output file


BC31019: Unable to write to output file MN
1/24/2006 8:41:03 AM
iis security: My asp.net application works perfectly in IIS 5.0 with Windows 2000, but
since its been deployed on Windows 2003 server with IIS 6.0 I have started
getting following error on most of the pages

"Compiler Error Message: BC31019: Unable to write to output file
'C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
Files\sso_ems\65491ed5\6acedb70\e25yeosq.dll': Access is denied"

I have provided full access rights to network_services, aspnet account..
Re: BC31019: Unable to write to output file MN
1/24/2006 6:26:05 PM
full control has been provided to network service account

[quoted text, click to view]
Re: BC31019: Unable to write to output file Ken Schaefer
1/25/2006 12:00:00 AM
You've given the Network Service account full control to __________?

Cheers
Ken


[quoted text, click to view]
: full control has been provided to network service account
:
[quoted text, click to view]
:
: > You have provided full rights for the Network Service account to what,
: > exactly?
: >
: > Cheers
: > Ken
: >
: >
[quoted text, click to view]
: > : My asp.net application works perfectly in IIS 5.0 with Windows 2000,
but
: > : since its been deployed on Windows 2003 server with IIS 6.0 I have
started
: > : getting following error on most of the pages
: > :
: > : "Compiler Error Message: BC31019: Unable to write to output file
: > : 'C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
: > : Files\sso_ems\65491ed5\6acedb70\e25yeosq.dll': Access is denied"
: > :
: > : I have provided full access rights to network_services, aspnet
account..
: > : Can anybody help me??
: >
: >
: >

Re: BC31019: Unable to write to output file Ken Schaefer
1/25/2006 12:00:00 AM
You have provided full rights for the Network Service account to what,
exactly?

Cheers
Ken


[quoted text, click to view]
: My asp.net application works perfectly in IIS 5.0 with Windows 2000, but
: since its been deployed on Windows 2003 server with IIS 6.0 I have started
: getting following error on most of the pages
:
: "Compiler Error Message: BC31019: Unable to write to output file
: 'C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
: Files\sso_ems\65491ed5\6acedb70\e25yeosq.dll': Access is denied"
:
: I have provided full access rights to network_services, aspnet account..
: Can anybody help me??

Re: BC31019: Unable to write to output file MN
1/25/2006 6:11:03 AM
I am not able to understand what you are trying to ask but let me explain you:

IIS 6.0 has an account called network_services this account is responsibile
for accessing the WINDOWS TEMP folder which is required during application
runs. prior to IIS 6 this job was done by aspnet account. Hence I have
provided network_services account full rights to WINDOWS TEMP folder. Hope
this make some sense.

[quoted text, click to view]
Re: BC31019: Unable to write to output file MN
1/26/2006 5:56:02 PM
thanx Ken..but this folder is already having all permission for network
services account


[quoted text, click to view]
Re: BC31019: Unable to write to output file Ken Schaefer
1/27/2006 12:00:00 AM
OK, can you verify other permissions?
http://support.microsoft.com/?kbid=812614

Cheers
Ken


[quoted text, click to view]
: thanx Ken..but this folder is already having all permission for network
: services account
:
:
[quoted text, click to view]
:
: > That's what I was asking - what *resource* (e.g. folder) did you give
: > Network Service permission to.
: >
: > a) You need to determine what process ASP.NET is running under. By
default
: > this is Network Service, but if you have changed the Web App Pool's
: > identity, then ASP.NET will be running under a different user context
: >
: > b) The Windows Temp folder is c:\windows\temp. That is not the folder
you
: > need to give permissions to. You need to give permissions to
: > C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files
: > Ensure that the permissions apply to all child folders and files (a
checkbox
: > under the "advanced" button)
: >
: > Cheers
: > Ken
: >
: >
: >
[quoted text, click to view]
: > :I am not able to understand what you are trying to ask but let me
explain
: > you:
: > :
: > : IIS 6.0 has an account called network_services this account is
: > responsibile
: > : for accessing the WINDOWS TEMP folder which is required during
application
: > : runs. prior to IIS 6 this job was done by aspnet account. Hence I have
: > : provided network_services account full rights to WINDOWS TEMP folder.
Hope
: > : this make some sense.
: > :
[quoted text, click to view]
: > :
: > : > You've given the Network Service account full control to __________?
: > : >
: > : > Cheers
: > : > Ken
: > : >
: > : >
[quoted text, click to view]
: > : > : full control has been provided to network service account
: > : > :
[quoted text, click to view]
: > : > :
: > : > : > You have provided full rights for the Network Service account to
: > what,
: > : > : > exactly?
: > : > : >
: > : > : > Cheers
: > : > : > Ken
: > : > : >
: > : > : >
[quoted text, click to view]
: > : > : > : My asp.net application works perfectly in IIS 5.0 with Windows
: > 2000,
: > : > but
: > : > : > : since its been deployed on Windows 2003 server with IIS 6.0 I
have
: > : > started
: > : > : > : getting following error on most of the pages
: > : > : > :
: > : > : > : "Compiler Error Message: BC31019: Unable to write to output
file
: > : > : > : 'C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary
ASP.NET
: > : > : > : Files\sso_ems\65491ed5\6acedb70\e25yeosq.dll': Access is
denied"
: > : > : > :
: > : > : > : I have provided full access rights to network_services, aspnet
: > : > account..
: > : > : > : Can anybody help me??
: > : > : >
: > : > : >
: > : > : >
: > : >
: > : >
: > : >
: >
: >
: >

Re: BC31019: Unable to write to output file Ken Schaefer
1/27/2006 12:00:00 AM
The other suggestion I have is getting FileMon from:
http://www.sysinternals.com/Utilities/Filemon.html
and that will tell you exactly what account is being denied access to what
file, and you can adjust permissions appropriately.

Cheers
Ken


[quoted text, click to view]
: OK, can you verify other permissions?
: http://support.microsoft.com/?kbid=812614
:
: Cheers
: Ken
:
:
[quoted text, click to view]
:: thanx Ken..but this folder is already having all permission for network
:: services account
::
::
[quoted text, click to view]
::
:: > That's what I was asking - what *resource* (e.g. folder) did you give
:: > Network Service permission to.
:: >
:: > a) You need to determine what process ASP.NET is running under. By
: default
:: > this is Network Service, but if you have changed the Web App Pool's
:: > identity, then ASP.NET will be running under a different user context
:: >
:: > b) The Windows Temp folder is c:\windows\temp. That is not the folder
: you
:: > need to give permissions to. You need to give permissions to
:: > C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files
:: > Ensure that the permissions apply to all child folders and files (a
: checkbox
:: > under the "advanced" button)
:: >
:: > Cheers
:: > Ken
:: >
:: >
:: >
[quoted text, click to view]
:: > :I am not able to understand what you are trying to ask but let me
: explain
:: > you:
:: > :
:: > : IIS 6.0 has an account called network_services this account is
:: > responsibile
:: > : for accessing the WINDOWS TEMP folder which is required during
: application
:: > : runs. prior to IIS 6 this job was done by aspnet account. Hence I
have
:: > : provided network_services account full rights to WINDOWS TEMP folder.
: Hope
:: > : this make some sense.
:: > :
[quoted text, click to view]
:: > :
:: > : > You've given the Network Service account full control to
__________?
:: > : >
:: > : > Cheers
:: > : > Ken
:: > : >
:: > : >
[quoted text, click to view]
:: > : > : full control has been provided to network service account
:: > : > :
[quoted text, click to view]
:: > : > :
:: > : > : > You have provided full rights for the Network Service account
to
:: > what,
:: > : > : > exactly?
:: > : > : >
:: > : > : > Cheers
:: > : > : > Ken
:: > : > : >
:: > : > : >
[quoted text, click to view]
:: > : > : > : My asp.net application works perfectly in IIS 5.0 with
Windows
:: > 2000,
:: > : > but
:: > : > : > : since its been deployed on Windows 2003 server with IIS 6.0 I
: have
:: > : > started
:: > : > : > : getting following error on most of the pages
:: > : > : > :
:: > : > : > : "Compiler Error Message: BC31019: Unable to write to output
: file
:: > : > : > : 'C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary
: ASP.NET
:: > : > : > : Files\sso_ems\65491ed5\6acedb70\e25yeosq.dll': Access is
: denied"
:: > : > : > :
:: > : > : > : I have provided full access rights to network_services,
aspnet
:: > : > account..
:: > : > : > : Can anybody help me??
:: > : > : >
:: > : > : >
:: > : > : >
:: > : >
:: > : >
:: > : >
:: >
:: >
:: >
:
:

Re: BC31019: Unable to write to output file Ken Schaefer
1/27/2006 12:00:00 AM
That's what I was asking - what *resource* (e.g. folder) did you give
Network Service permission to.

a) You need to determine what process ASP.NET is running under. By default
this is Network Service, but if you have changed the Web App Pool's
identity, then ASP.NET will be running under a different user context

b) The Windows Temp folder is c:\windows\temp. That is not the folder you
need to give permissions to. You need to give permissions to
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files
Ensure that the permissions apply to all child folders and files (a checkbox
under the "advanced" button)

Cheers
Ken



[quoted text, click to view]
:I am not able to understand what you are trying to ask but let me explain
you:
:
: IIS 6.0 has an account called network_services this account is
responsibile
: for accessing the WINDOWS TEMP folder which is required during application
: runs. prior to IIS 6 this job was done by aspnet account. Hence I have
: provided network_services account full rights to WINDOWS TEMP folder. Hope
: this make some sense.
:
[quoted text, click to view]
:
: > You've given the Network Service account full control to __________?
: >
: > Cheers
: > Ken
: >
: >
[quoted text, click to view]
: > : full control has been provided to network service account
: > :
[quoted text, click to view]
: > :
: > : > You have provided full rights for the Network Service account to
what,
: > : > exactly?
: > : >
: > : > Cheers
: > : > Ken
: > : >
: > : >
[quoted text, click to view]
: > : > : My asp.net application works perfectly in IIS 5.0 with Windows
2000,
: > but
: > : > : since its been deployed on Windows 2003 server with IIS 6.0 I have
: > started
: > : > : getting following error on most of the pages
: > : > :
: > : > : "Compiler Error Message: BC31019: Unable to write to output file
: > : > : 'C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
: > : > : Files\sso_ems\65491ed5\6acedb70\e25yeosq.dll': Access is denied"
: > : > :
: > : > : I have provided full access rights to network_services, aspnet
: > account..
: > : > : Can anybody help me??
: > : >
: > : >
: > : >
: >
: >
: >

AddThis Social Bookmark Button