Link to home
Start Free TrialLog in
Avatar of RROTHER
RROTHER

asked on

calling an ascx page, I get an error: this type of page is not served.

When I try to run the web page that contains a custom web
user control '.ascx.' file I receive the following error:

The type of page you have requested is not served because
it has been explicitly forbidden. The extension '.ascx'
may be incorrect.

This is a project that has run before and I'm sure the '.ascx' is correct
Thanks
Avatar of Bembi
Bembi
Flag of Germany image

If you are sure, that nobody has played around, I would just say, reboot the server (or at least IIS).

ASPX is active server pages. This must be enabled global within the IIS web services extensions extensions. Additionally, each IIS web site has a set of extensions, which are allowed or not. Open the properties of your site and  on the base directory page, you can config the application settings. If you click on config there, you see a list with extensions and their corresponding DLLs.

You may have broken ASP, if you have installed / uninstalled versions of ASP, like installing ASP.NET 2.0 over a 1.1. version.

Have you done something in that direction?
Avatar of RROTHER
RROTHER

ASKER

          I found out that they had moved the project to a different server. As little as I know about it; when I went into .NET configuration, there were no configurations showing in the .NET Configuration 1.1. I believe they were on ASP.NET 2.0 on the old server and now I see where they're on 1.1 on this server. Sometime ago I had to add .NET to EXTENSIONS(?)  Can you lead me to the location where I can set the IIS extensions for the ASCX pages or is that what I'm needing?
ASKER CERTIFIED SOLUTION
Avatar of Bembi
Bembi
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
No comment has been added to this question in more than 21 days, so it is now classified as abandoned.
I will leave the following recommendation for this question in the Cleanup topic area:

Accept Bembi

Any objections should be posted here in the next 4 days. After that time, the question will be closed.

irwinpks
EE Cleanup Volunteer