im so confused
im so confused

Reputation: 2111

ASP.NET site works through VS, but not through browser

I don't have the code in front of me right now (but will in an hour or so), but suspect that the solution is very simple so I'll post a general description of the problem and update it later:

Problem:

A site built on ASP.NET works fine when browsing it through Visual Studio, but when attempting to connect via browser, it complains about looking for a default page (I can update later with the exact error).

Details:

Our development team is trying to set up a (VERY) simple wiki server for our internal project using SEWEN WIKI, a wiki server based on Wikiplex. None of us are web developers.

I'm 99% positive that it's something as simple as creating a index.html or something as an entry point for the browser, but I'll admit my domain knowledge here is about 0.

IIS has been updated to 7.5 (min required is 7), and ASP.NET has been upgraded past 4 (the required version). The operating system is Windows 2008 Server, and the wiki is developed in Visual Studio 2010.

If anybody has any ideas, I'd love to know. Thanks!

Upvotes: 0

Views: 145

Answers (1)

Jeremy
Jeremy

Reputation: 9030

Assuming that you have ASP.NET enabled on your server as @Patrick suggests in the comments, it's possible that you need to configure a Default Document as @ScottSelby suggests.

Here is documentation on this topic from Microsoft: Configure the List of Default Documents in IIS 7

I've illustrated this below:

In the Features View of IIS, click Default Document: IIS

In Default Document, ensure that you have your designated page, commonly default.aspx: Default Document

Upvotes: 2

Related Questions