Link to home
Start Free TrialLog in
Avatar of rocky050371
rocky050371

asked on

IIS VB+>net

I have the following code on startup

     Dim props As New Collections.Specialized.ListDictionary()
        props.Add("useDefaultCredentials", True)
        _channel = New HttpChannel(props, New SoapClientFormatterSinkProvider(), New SoapServerFormatterSinkProvider())
        ChannelServices.RegisterChannel(_channel, False)
   
The virtual directory is set to Read and the authentication and access control is set to Integrated Windows authentication, the problem is this works fine for the read but when I try and call one of the dlls to write something I get an access error. The only way I seem to be able to overcome this is by setting Enable Anonymous Access and specifying myself as a user.

Any help?

Avatar of viralypatel
viralypatel
Flag of India image

create a new application pool in iis and make it run using the local system account. use this application pool for your application. Should work.
Avatar of rocky050371
rocky050371

ASKER

Under application settings should I set scripts and executables, it is set to scripts currently
ASKER CERTIFIED SOLUTION
Avatar of viralypatel
viralypatel
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Where do you set that, is it in the directory properties?