Dear all,

I have an asp.net application that gets a domain users

The application runs successfully on local machine, but when I tried to run after publishing, I found that it doesn't return the domain users successfully

it reads my username as the domain name which doesn't happen in the local machine

Thanks in advance

It may be error in your web.config ..Just set custom mode="off" and see the error. then you can easily solve that.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.