The remote server returned an error: (403) ForbiddenThe remote server returned an error: (403) Forbidden
Old forum URL: forums.lhotka.net/forums/t/1017.aspx
Tim FOrd posted on Friday, August 25, 2006
Hi Guys,
I need a little help, i have read the chapter on remoting and thought i would give it a go before we go down to far in the development. I have setup a website and published the dlls etc to the website, app.config and web.config are all setup.
In the app.config security is set to csla, when i run the application i get an error of The remote server returned an error: (403) Forbidden. How should i setup the security on the IIS server to work with csla security??
Thanks, Tim.
ajj3085 replied on Friday, August 25, 2006
I think IIS has to be configured for anonymous access.
Tim FOrd replied on Friday, August 25, 2006
CHeers for that quick response, i have just checked that and it is set to anonumous access.
Thanks, Tim.
ajj3085 replied on Friday, August 25, 2006
Check file permissions too... also, what happens if you try to browse locally to the remoting url to see if there's another error going on.
Tim FOrd replied on Friday, August 25, 2006
right got it working now, by enabling executables and scripts however when i browse to the url wsdl as u suggest i not get this error.
Configuration Error
Description:
An error occurred during the processing of a configuration file required to
service this request. Please review the specific error details below and modify
your configuration file appropriately.
Parser Error Message: It
is an error to use a section registered as
allowDefinition='MachineToApplication' beyond application level. This error can
be caused by a virtual directory not being configured as an application in
IIS.
Source Error:
Line 46: ASP.NET to identify an incoming user. Line 47: --> Line 48: <authentication mode="Windows"/> Line 49: <!-- Line 50: The <customErrors> section enables configuration |
ajj3085 replied on Friday, August 25, 2006
I think you'll need to remove that setting.
Tim FOrd replied on Friday, August 25, 2006
ok getting there, think i have nearly got the remoting complete, have followed all the instructions and now hopefully this should be the last error,
System.Runtime.Remoting.RemotingException: Requested Service not found
have checked the names and everything should be fine.
ajj3085 replied on Friday, August 25, 2006
Hmm... did you get the casing right in the config file? Do you have any other details from that exception?
Copyright (c) Marimer LLC