Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: Re: Error Accessing Com Objects or Interop Objects


Message #1 by "Mingkun Goh" <mangokun@h...> on Mon, 13 May 2002 03:48:28
I have a method here that maybe the solution to your problem.
Follow the steps below:

1. Go to Administrative Tools -> Computer Management
2. Expand the Tree (Computer Management, System Tools, Local Users and 
Groups, Users and in which you see a a user name called ASPNET.
3. Right-click on the ASPNET user and select Properties.
4. Go to the 'Member Of' Tab.
5. (If I am not wrong, you will see only Users in the list) Click on 
the 'Add...' button, and a Select Groups dialog will come up, double-click 
on 'Administrator', click on OK.
6. Click OK and close everything.

Now test your asp.net application and see if everything can work.

> Hi 

i am trying to access the word document from my asp.net 
and it gives me error saying access denied.

The exact Message was  : 

	The ASP.NET process is not authorized to access the requested 
resource. For security reasons the default ASP.NET 	process identity 
is '{machinename}\ASPNET', which has limited privileges. Consider granting 
access rights to the resource to the ASP.NET process identity. 

	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 "{machinename}\ASPNET" user. Highlight the ASP.NET account, and 
check the Write box in the Allow column.


I have tried all the diagnostic steps like giving permission to the 
InterOpp Dll 's as well as to the WinWord.Exe.


And the same error repeats. I have also searched the newsgroup and did the 
same as above.
But still the error repeats. Does anybody knows hot to get around this 
problem.

An early reply would be highly appreciated.

Rahul

  Return to Index