Ask a Question related to ASP.NET Security, Design and Development.
-
Steve Drake #1
Re: Create MSWord object
If you must automate word on the server you could considerer remoting, run
your word automation code in a windows nt service this service runs as a
user.
I also think change security setting and configuration setting to fix one
problem is not always the best approach as the new setting may not be an
optimal configuration for the rest of your app.
Why do you need to automate word?
Steve
"Ngoc Phu" <ngocphu@netsoft.com.vn> wrote in message
news:OfdZGfuGEHA.740@tk2msftngp13.phx.gbl...or> Hi all,
>
> In my web page, I want to create a Microsoft Word object, I do this:
> Word.Application app = ( Word.Application )
> Server.CreateObject("Word.Application")
> but it always returns the following error at the above line:
>
> "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> 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.
> "
>
> I also follow the instruction:
> - add <identity impersonate="true"/> into web.config file
> - add ASP.NET user into Microsoft Office directory' s access list with
> Read & Execute, Read and Write rights.
>
> but it's still in vain.
>
> Someone has solve this before ? Help me !
>
> Thanks a lots.
> --
> .Ngoc Phu.
>
>
Steve Drake Guest
-
Cannot Create New Instance of COM+ Object After You Repeatedly Restart the COM+ Object
I've checked that the server I'm working on has win2k sp4 which had a fix from microsoft for this problem. However, it seems that I still have... -
COM Object create API for IIS
Ok anyone know of code for API call from COM Object , also how do you tell IIS to dump log files to be parsed so you can get newest file and delete... -
How do you create a 3-d object ?
I am desperately trying to find out how to draw a 3-d shape. ie, make a cube instead of a square. I'm sure its something simple. Please help. -
Cant create object with IIS 6??
Hi, We have moved to host our site on IIS 6. Some web pages use a server-side ActiveX. While on IIS 5 it worked flawlessly, here - ocaasionaly... -
Cannot create object !!!! Help please
When do you get this error? "Johan Hendriks" <jpa.hendriks@planet.nl> wrote in message news:upFJmJJQDHA.2052@TK2MSFTNGP11.phx.gbl... is -
Ngoc Phu #2
Re: Create MSWord object
I need to use it because I want to convert from .doc file to .htm file
with Unicode encoding.
I've already used rtf.dll to convert, but it returns in ANSI encoding.
*** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
Don't just participate in USENET...get rewarded for it!
Ngoc Phu Guest



Reply With Quote

