Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 984793
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T05:04:06+00:00 2026-05-16T05:04:06+00:00

We found a problem while accessing the Web service from our ASP.Net MVC project

  • 0

We found a problem while accessing the Web service from our ASP.Net MVC project hosted in IIS 7(windows 2008), we are using this bindings.config

<basicHttpBinding>
        <binding name="BasicServiceHttpBinding">
          <security mode="TransportCredentialOnly">
            <transport clientCredentialType="Windows"/>
          </security>
        </binding>
</basicHttpBinding>

While we testing the whole application from the VS2008, everything works fine, but when we install the whole project using installer and host it under IIS, our project cannot visit the web service.

I guess the different is who own the process, while running the application under VS2008, the the ower is the current login user(domain account), but while hosting the application under IIS, the user is different (probably ./Administrator or IIS_USER rather than my domain account).

We had similar problem before while running one console application as Service, we fixed it by simply change the service owner to domain account rather than Local System account.

I am wondering can we do something similar to the project in IIS? I mean change the process owner?

and what is best way to access the server API in this scenario?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T05:04:07+00:00Added an answer on May 16, 2026 at 5:04 am

    yes this is most probably problem of account permissions. This usually happens if you install ASP.NET application on one server and Web service on another and you don’t change default AppPool identity for ASP.NET application.

    If you need to change account used to run your ASP.NET MVC application you have to open IIS Management console and find which AppPool is running your application. Than you can change an account for that AppPool. Be aware that more applications can share single AppPool so you can affect their behavior when you change the account. If this happens you can create new application pool and assign it to just your application.

    Best regards,
    Ladislav

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have encountered a very strange class not found problem in our web app
We've got a weird problem while migrating our app from 1.3.7 to 2.0.0. Our
Searching for a while now, but haven't found a suitable answer to my problem.
Seem to run into a service endpoint not found problem when trying to get
My web service needs to open some files located on a remote computer. From
I am using ASP.NET MVC 3. Once I've decided to change some of my
I found some problem while testing my NLP system. I have a java regex
I've got a little problem while managing .txt files on Android. I've found this
I have a name clashing problem while opening some .Net assemblies in my F#
I've been accessing Plesk Admin for a while at http://yourarthere.net:8443 but since I moved

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.