Solved

Windows Server 2012 ASP.Net Pages/Sites Not Working

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

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

Question has a verified solution.

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

Suggested Solutions

Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
The reason that corporations and businesses use Windows servers is because it supports custom modifications to adapt to the business and what it needs. Most individual users won’t need such powerful options. Here I’ll explain how you can enable Wind…
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

820 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