• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 608
  • Last Modified:

Windows Server 2012 ASP.Net Pages/Sites Not Working

Hello,

I have a new Windows Server 2012 that I use for FileMaker Server 13.  I installed FileMaker Server 13 and it is working great.  I also have some php sites that talk to FileMaker on this server and they are working great.  I noticed that my old asp pages were not working so I went into add server roles and enabled asp and now my asp pages are working.

I have a crystal report asp.net website that uses an odbc connection to talk to FileMaker which works fine on my old sbs 2008 server with FileMaker Server 11.  I want to get this website working on my new Windows 2012 server with FileMaker Server 13.

I noticed that my asp.net pages and websites were not working on Windows 2012, so I went into the add server roles and had it install or enable asp.net 3.5.  I also rebooted the computer.  My asp.net pages or sites still do not work.  For testing / troubleshooting I created a very basic asp.net .aspx page that looks like this:
<html>
<body bgcolor="yellow">
<center>
<h2>Hello W3Schools!</h2>
<p><%Response.Write(now())%></p>
</center>
</body>
</html>

Open in new window


When I navigate to this page with firefox it says:
XML Parsing Error: no element found
Location: http://myipaddress/SalesFM13/testaspnet.aspx
Line Number 1, Column 1:

When I navigate to this page with internet explorer it says:
The webpage cannot be found

I went into IIS and looked at the sites and FileMaker Server disables the default web site and enables it's own Site.  I put the .aspx page in the FileMaker site and it still gives the same error.  I then stopped the FileMaker Site and started the Default Web Site and tried to run the .aspx page from the Default Web Site and it gives the same errors or messages.  I don't understand why it is not working or how I get it to work.  Does anyone have any solutions / recommendations for me to try?

Thank you in advance,
Shawn
0
smower
Asked:
smower
  • 2
1 Solution
 
Craig WagnerSoftware ArchitectCommented:
You may not have registered ASP.NET with IIS. On the server open a command prompt and go to C:\Windows\Microsoft.NET\Framework\v2.0.50727, then Execute "aspnet_regiis -i"
0
 
smowerAuthor Commented:
Thanks, we tried that but it said that file could not be found.  I ended up installing the asp.net 4.5 role and that ended up fixing the problem for asp.net pages to display.
0
 
smowerAuthor Commented:
4.5 asp.net install seemed to do the trick.
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now