Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP .Net (http://www.velocityreviews.com/forums/f29-asp-net.html)
-   -   Access is denied when calling a remote serviced component (framework 1.1->1.0 issue) (http://www.velocityreviews.com/forums/t86787-access-is-denied-when-calling-a-remote-serviced-component-framework-1-1-1-0-issue.html)

Stan 09-15-2004 07:37 PM

Access is denied when calling a remote serviced component (framework 1.1->1.0 issue)
 
Here is my scenario:

Web server
------------
Framework 1.1
Application proxy for the serviced component

Component server
-------------------
Framework 1.0
Serviced component (written in 1.0)

There is Access Denied error message on the web server when a call is made
to the component.

The problem goes away if framework 1.1 is uninstalled.

I switched the ISS binding with ASPNET_REGIIS - did not help...

Has anybody seen this before? How can I fix it?

Thanks,

-Stan



=?Utf-8?B?RHllIFN1enVraQ==?= 09-20-2004 04:47 PM

RE: Access is denied when calling a remote serviced component (framewo
 
> Web server
> ------------
> Framework 1.1
> Application proxy for the serviced component


> The problem goes away if framework 1.1 is uninstalled.


Didn't you install .Net Framework 1.0 to Web server?

> There is Access Denied error message on the web server


Where did you get error messages? event log?
If so, could you show us the event including souce, ID, description?

Stan 09-21-2004 12:32 PM

Re: Access is denied when calling a remote serviced component (framewo
 
The error came back to the web page

"Dye Suzuki" <DyeSuzuki@discussions.microsoft.com> wrote in message
news:16A7E38A-20CC-4FD2-937A-A9C3C41C4779@microsoft.com...
> > Web server
> > ------------
> > Framework 1.1
> > Application proxy for the serviced component

>
> > The problem goes away if framework 1.1 is uninstalled.

>
> Didn't you install .Net Framework 1.0 to Web server?
>
> > There is Access Denied error message on the web server

>
> Where did you get error messages? event log?
> If so, could you show us the event including souce, ID, description?




Peter Huang 09-22-2004 08:21 AM

Re: Access is denied when calling a remote serviced component (framework 1.1->1.0 issue)
 
Hi Stan,

Have you tried my suggestion, I think it is necessary to troubleshooting
the problem, I will appreiciate your efforts.
If you have any concern, please feel free to let me know.

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.


Stan 09-22-2004 02:07 PM

Re: Access is denied when calling a remote serviced component (framework 1.1->1.0 issue)
 
Peter, thanks for you reply.

First of all there is nothing in the event log because the error is trapped
by the try-catch block in asp.net and displayed on the page.

When ASP.NET creates the component, the component starts spining in COM+ and
then Access Denied error occurs.

We have bumped into 1.1 - 1.0 compatibility problems in the past but this is
different. What also strange is that another web server with 1.1 and Windows
2003 does not have this problem.

I was just hoping that there is some known issue related to 1.1 - 1.0
(adjusting security policy, for example) .

Thanks,
-Stan



Peter Huang 09-23-2004 11:44 AM

Re: Access is denied when calling a remote serviced component (framework 1.1->1.0 issue)
 
Hi Stan,

It is strange that there is no any event log.
I think you may try to see if the policies have been opened.
1. Audit Logon event (check success and failure)
2. Audit Account logon event (check success and failure)
3, Audit Object access(check success and failure)

We may find that by follow the steps below.
Start/Control panel/Administrative Tools/Local Security Policy/
In the Local Security Policy dialog, navigate to Security setting/Local
policies/Audit policy

After that we should find some events in the Security Log in the event log.

You may have a try and let me know the result.

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.


=?Utf-8?B?RWQ=?= 09-24-2004 04:03 PM

RE: Access is denied when calling a remote serviced component (framewo
 
In 1.1 when ApplicationAccessControlAttribute is not present in the assembly,
the COM+ security configuration is enabled by default. In 1.0 security is
disabled by default. Maybe this is the problem.

"Stan" wrote:

> Here is my scenario:
>
> Web server
> ------------
> Framework 1.1
> Application proxy for the serviced component
>
> Component server
> -------------------
> Framework 1.0
> Serviced component (written in 1.0)
>
> There is Access Denied error message on the web server when a call is made
> to the component.
>
> The problem goes away if framework 1.1 is uninstalled.
>
> I switched the ISS binding with ASPNET_REGIIS - did not help...
>
> Has anybody seen this before? How can I fix it?
>
> Thanks,
>
> -Stan
>
>
>


Stan 09-24-2004 09:18 PM

Re: Access is denied when calling a remote serviced component (framewo
 
Yes, but if security is enabled, should I see that COM+ explorer? The
security checkbox was not checked...

"Ed" <Ed@discussions.microsoft.com> wrote in message
news:1C9A62F9-D7F0-4ABE-8E57-F46B8573DC0D@microsoft.com...
> In 1.1 when ApplicationAccessControlAttribute is not present in the

assembly,
> the COM+ security configuration is enabled by default. In 1.0 security is
> disabled by default. Maybe this is the problem.
>
> "Stan" wrote:
>
> > Here is my scenario:
> >
> > Web server
> > ------------
> > Framework 1.1
> > Application proxy for the serviced component
> >
> > Component server
> > -------------------
> > Framework 1.0
> > Serviced component (written in 1.0)
> >
> > There is Access Denied error message on the web server when a call is

made
> > to the component.
> >
> > The problem goes away if framework 1.1 is uninstalled.
> >
> > I switched the ISS binding with ASPNET_REGIIS - did not help...
> >
> > Has anybody seen this before? How can I fix it?
> >
> > Thanks,
> >
> > -Stan
> >
> >
> >




Peter Huang 09-28-2004 01:35 AM

Re: Access is denied when calling a remote serviced component (framewo
 
Hi Stan,

Yes, we can check the security setting in the COM+ explorer. You may find
the three counterpart options by following the steps below.
1. Open COM+ explorer by running dcomcnfg
2. Navigate to the component we are using
3. right click on the component and click properties
4. select security tab
5. You may find security level, authentication level and Impersonate level
which is corresponding to the three options of
ApplicationAccessControlAttribute.

We can use the winform application but not the Webform application to
access to the Serviced component, so I suggest you check the eventlog's
security section on both the application proxy located computer and the
component located computer. If we do find we are using the same account to
access to the serviced component, but windows form succeeded while webform
application failed I think you may need to contact Microsoft PSS for
further and detailed trouble shooting, since we can not reproduce the
problem, it is hard to us to troubleshooting the problem in newgroup.

Thank for you understanding.

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.


Steven Cheng[MSFT] 10-01-2004 12:55 AM

Re: Access is denied when calling a remote serviced component (framewo
 
Hi Stan,

Have you had a chance to check the suggestions in the former reply or have
you got this problem resolved? If there is anything else we can help,
please feel free to post here. Thanks.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)



All times are GMT. The time now is 04:57 AM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.