Getting 'No permission to view this application".

Julia Kurakula 46 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

Windows development | Internet Information Services
Windows for business | Windows Server | Devices and deployment | Set up, install, or upgrade
Microsoft 365 and Office | Development | Microsoft 365 Publishing
Developer technologies | .NET | Other
SQL Server | Other
{count} votes

2 answers

Sort by: Most helpful
  1. Limitless Technology 44,751 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 46 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

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.