R
royan
Help please! I have the same problem which this post
http://groups.google.com/group/micr...cess+is+denied.&rnum=1&hl=en#164638c6d6ba3872
When I deploy our ASP.NET Application web form to Windows server 2003
I got access deny error. We are using the
Microsoft.Office.Interop.Word COM DLL. We need to read a template word
document in the server and open word then insert data from user typed
On click of a button the the word application com dll is getting
activated,
but when we do this on a Windows Server 2003 machine we are getting
the
following error.
Exception Details: System.UnauthorizedAccessException: Access is
denied.
ASP.NET is not authorized to access the requested resource. Consider
granting access rights to the resource to the ASP.NET request
identity.
ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS
5 or
Network Service on IIS 6) that is used if the application is not
impersonating. If the application is impersonating via <identity
impersonate="true"/>, the identity will be the anonymous user
(typically
IUSR_MACHINENAME) or the authenticated request user.
To grant ASP.NET write access to a file, right-click the file in
Explorer,
choose "Properties" and select the Security tab. Click "Add" to add
the
appropriate user or group. Highlight the ASP.NET account, and check
the boxes
for the desired access.
The error in the system event log: Access denied attempting to launch
a DCOM Server. The server is:
{000C101C-0000-0000-C000-000000000046}
The user is NETWORK SERVICE/NT AUTHORITY, SID=S-1-5-20.
I have checked in regedit, this is word application
The defaultAppPool identity (IIS manager) is Network Service.
I have grant access from DCOMCNFG to DCOM Config
The COM DLL Microsoft.Word.Document has been given allow access
permission to these user account:
ASPNET(FULL control), Network service(FULL control), IIS_WPG, IWAM,
SYSTEM, everyone, administrators.
I also grant the same access and permissions to the folder where the
template located and C:\Program Files\Microsoft Office\Office10
(Network service and ASPNET has full control permission.
But I still got the same access deny error. Please help ASAP!!! Thank
you all,
http://groups.google.com/group/micr...cess+is+denied.&rnum=1&hl=en#164638c6d6ba3872
When I deploy our ASP.NET Application web form to Windows server 2003
I got access deny error. We are using the
Microsoft.Office.Interop.Word COM DLL. We need to read a template word
document in the server and open word then insert data from user typed
On click of a button the the word application com dll is getting
activated,
but when we do this on a Windows Server 2003 machine we are getting
the
following error.
Exception Details: System.UnauthorizedAccessException: Access is
denied.
ASP.NET is not authorized to access the requested resource. Consider
granting access rights to the resource to the ASP.NET request
identity.
ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS
5 or
Network Service on IIS 6) that is used if the application is not
impersonating. If the application is impersonating via <identity
impersonate="true"/>, the identity will be the anonymous user
(typically
IUSR_MACHINENAME) or the authenticated request user.
To grant ASP.NET write access to a file, right-click the file in
Explorer,
choose "Properties" and select the Security tab. Click "Add" to add
the
appropriate user or group. Highlight the ASP.NET account, and check
the boxes
for the desired access.
The error in the system event log: Access denied attempting to launch
a DCOM Server. The server is:
{000C101C-0000-0000-C000-000000000046}
The user is NETWORK SERVICE/NT AUTHORITY, SID=S-1-5-20.
I have checked in regedit, this is word application
The defaultAppPool identity (IIS manager) is Network Service.
I have grant access from DCOMCNFG to DCOM Config
The COM DLL Microsoft.Word.Document has been given allow access
permission to these user account:
ASPNET(FULL control), Network service(FULL control), IIS_WPG, IWAM,
SYSTEM, everyone, administrators.
I also grant the same access and permissions to the folder where the
template located and C:\Program Files\Microsoft Office\Office10
(Network service and ASPNET has full control permission.
But I still got the same access deny error. Please help ASAP!!! Thank
you all,