Solved

Windows Server 2012 ASP.Net Pages/Sites Not Working

Posted on 2014-02-07
3
578 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…

737 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