aspx.cs files not functioning when integrated with IIS 10 RRS feed

  • Question

  • The title pretty much says it all.

    I have a website that makes use of a file called WebForm1.aspx.cs and this file functions fine when the website is run in the Visual Studio environment. But when I copy my website file to C:\inetpub\wwwroot and attempt to access it via IP protocol then the website stops functioning at the aspx.cs files.

    I am certain I must register these asp files with IIS but I have no idea how to do this. So if someone could recommend a good book on the topic or a docs.microsoft.com website to visit I would be quite grateful.



    Robert Meyer

    Friday, March 27, 2020 7:51 PM

All replies

  • Hello,

    This forum is dedicated to C# related issues and questions. For ASP.NET and ASP.NET Core please use the following forum.


    Please remember to mark the replies as answers if they help and unmarked them if they provide no help, this will help others who are looking for solutions to the same or similar problem. Contact via my Twitter (Karen Payne) or Facebook (Karen Payne) via my MSDN profile but will not answer coding question on either.

    NuGet BaseConnectionLibrary for database connections.

    profile for Karen Payne on Stack Exchange

    Friday, March 27, 2020 8:46 PM