Solved

Windows Server 2012 ASP.Net Pages/Sites Not Working

Posted on 2014-02-07
3
569 Views
Last Modified: 2014-02-12
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
Comment
Question by:smower
  • 2
3 Comments
 
LVL 21

Expert Comment

by:Craig Wagner
ID: 39842590
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
 

Accepted Solution

by:
smower earned 0 total points
ID: 39842836
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
 

Author Closing Comment

by:smower
ID: 39852809
4.5 asp.net install seemed to do the trick.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Resolve DNS query failed errors for Exchange
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
In this Micro Tutorial viewers will learn how they can get their files copied out from their unbootable system without need to use recovery services. As an example non-bootable Windows 2012R2 installation is used which has boot problems.
This tutorial will walk an individual through the process of installing of Data Protection Manager on a server running Windows Server 2012 R2, including the prerequisites. Microsoft .Net 3.5 is required. To install this feature, go to Server Manager…

816 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now