Getting 'No permission to view this application".

Julia Kurakula 41 Reputation points
2022-09-26T04:40:30.553+00:00

I published Web app and WCF code in the new servers. But after restarting the IIS, and open the site, I get "No permission to view this application" Instead of displaying my name. Can someone please guide me what I might be missing here? Moreover, when I check the database logs, it seems like the website is not accessing the database. Because, after refreshing the published site, previously atleast it used to go to the database but since past 12 days, there are no logs in the database.

251562-image.png

251524-image.png

Internet Information Services
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,472 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,925 questions
Microsoft 365 Publishing
Microsoft 365 Publishing
Microsoft 365: Formerly Office 365, is a line of subscription services offered by Microsoft which adds to and includes the Microsoft Office product line. Publishing: The process of preparing, producing, and releasing content for distribution or sale.
601 questions
Windows Server Migration
Windows Server Migration
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Migration: The process of making existing applications and data work on a different computer or operating system.
411 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Limitless Technology 44,016 Reputation points
    2022-09-28T07:30:27.017+00:00

    Hello,

    I had this same issue and I encountered it when I published some WCF mapping.

    What I did was, right click on Visual Studio and Run as Administrator. This loaded my project.

    ------------------------------------------------------------------------------------------------------------------------------------------------

    --If the reply is helpful, please Upvote and Accept as answer--

    0 comments No comments

  2. Julia Kurakula 41 Reputation points
    2022-10-19T12:42:20.83+00:00

    Pasted the WebApp of the published working Test in the Dev by changing the end point address of WCF in Web.config and it is working.

    0 comments No comments