Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Component Services / May 2005

Tip: Looking for answers? Try searching our database.

The call to Server.CreateObject failed while checking permissions. Access is denied to this object.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jaime Stuardo - 11 May 2005 04:29 GMT
Hi all..

I'm new in .NET framework.
I have developed a COM component in VS.NET. When I compiled it in a DLL and
then registered in Component Services, I get the error:

"The call to Server.CreateObject failed while checking permissions. Access
is denied to this object. "
I have tried everything, for example, configured a predefined user in
Identity tab of the COM+ application, add IUSR_<machineName> for access to
the DLL and so on, but nobody has success. How can I solve this?

I have followed all microsoft help about this problem, but it didn't work.

Is it normal when I go to component properties, mscoree.dll appears as the
DLL file instead of the actual DLL?

Thanks a lot in advance

Jaime

P.S. The server is running Windos Server 2003.
Klaus H. Probst - 16 May 2005 08:14 GMT
In Windows 2003 by default ASP.NET applications run under the NETWORK
SERVICE account. You might want to configure the IIS application (are you
using a separate pool?) to use a specific identity.

The mscoree.dll bit is correct - it functions as a surrogate.

Signature

Klaus H. Probst, MVP
  http://www.simulplex.net/

> Hi all..
>
[quoted text clipped - 18 lines]
>
> P.S. The server is running Windos Server 2003.
Jaime Stuardo - 18 May 2005 04:54 GMT
Finally, in order for it to work, I had to add a role to the COM+
application, and add IUSR_<machine> to that role.

Why did I have to do this when using .NET and Windows Server 2003, but not
using Windows 2000/XP and a component developed in VS 6.0?

What "role" plays the "role" in Component Services? It only allows to add
names, but not to define certain permissions... so I'm wondering what is the
reason of that matter.

Jaime

> In Windows 2003 by default ASP.NET applications run under the NETWORK
> SERVICE account. You might want to configure the IIS application (are you
[quoted text clipped - 29 lines]
>>
>> P.S. The server is running Windos Server 2003.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.