Solved

Windows Server 2012 ASP.Net Pages/Sites Not Working

Posted on 2014-02-07
3
563 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
A procedure for exporting installed hotfix details of remote computers using powershell
In this Micro Tutorial viewers will learn how to use Windows Server Backup to create full image of their system. Tutorial shows how to install Windows Server Backup Feature on Windows 2012R2 and how to configure scheduled Bare Metal Recovery backup.…
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…

758 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

14 Experts available now in Live!

Get 1:1 Help Now