473,698 Members | 2,178 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

.NET security app containing classic ASP pages

Hi, I am adding a security layer to a company intranet, which is
written in classic ASP. The company have said they do not want to pay
for re-writing the site, and I have managed to get Forms authentication
working by changing the .htm pages to a .aspx extension. However, the
site includes a sitemap, admin section and quiz that are created using
..asp pages. When I click the link to these pages, the site returns an
error:

The page cannot be displayed
There is a problem with the page you are trying to reach and it cannot
be displayed.

I assume this is because it is trying to load an .asp page, is there
any way around this without having to re-write the pages?

Thanks in advance,

Mat

Sep 15 '06 #1
2 1494
Mat,

If I remember correctly, one of the original goals of ASP.NET was to be
compatable with code written in ASP.

You should be able to convert easily, and then address any specific
issues that crop up.

Things you should look out for are the use of COM components in pages.
If you do, then you will want to set your AspCompat attribute on the page
directive to true.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

<mw****@mbasys. co.ukwrote in message
news:11******** **************@ e3g2000cwe.goog legroups.com...
Hi, I am adding a security layer to a company intranet, which is
written in classic ASP. The company have said they do not want to pay
for re-writing the site, and I have managed to get Forms authentication
working by changing the .htm pages to a .aspx extension. However, the
site includes a sitemap, admin section and quiz that are created using
.asp pages. When I click the link to these pages, the site returns an
error:

The page cannot be displayed
There is a problem with the page you are trying to reach and it cannot
be displayed.

I assume this is because it is trying to load an .asp page, is there
any way around this without having to re-write the pages?

Thanks in advance,

Mat

Sep 15 '06 #2
Thanks, it doesn't use any COM components, however the site just doesnt
recognise the .asp page when you click a link to browse to it. It
brings up the error 'this type of resource cannot be served.'

Sep 18 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1455
by: J | last post by:
Hi all, is there a recommended approach to integrate ASP.NET security features in a classic ASP app? My general idea is to create a front end sign in process to authenticate the user and issue an authentication ticket that the ASP pages could somehow use to identify the user. Has someone already solved this? Thanks
2
4968
by: nullref | last post by:
I'm having trouble setting up my classic ASP site to correctly handle .NET web config file for migration I need to do. If the config file is at the same level as my other pages I get the following message "Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. " If I put the config...
4
2241
by: KJS | last post by:
Help, I'm not sure what exactly is happening but I can say this, classic asp pages are not loading on my local dev box. They use to work! Since then I have installed .NET 1.1 Studio (that is working, and so is ASPX pages), installed .NET 2.0 Studio (this never worked, it broke everything, ended up reinstalling 1.1 Studio, and now I am back to ASPX pages ver 1.1 serving up nicely). However!!! Now I can not run classic asp pages.
6
1856
by: John | last post by:
Hello. I believe I've read somewhere that classic .asp pages will still operate correctly with no problems with the .NET 1.1 framework installed on a Windows 2000 Server server. Does anyone know if the same classic .asp pages will work on the .NET 2.0 framework with no problems? I was going to start moving towards the .NET technology but since VS 2005 just recently came out I was hoping it's possible to install the .NET 2.0 framework...
4
2018
by: tony | last post by:
I'm designing a survey form page that will be fairly complex and am becoming confident enough with PHP now to tackle most things. (Thanks to everyone here who has helped) Before I go too far with this I was wondering if anyone could perhaps offer advice or point me to any documents/web pages that could help with ensuring the security of the form/page and site. It is likely that the form will come under attack I expect. Even comments...
11
2307
by: mase | last post by:
I've built a new ASP.NET web app with the CSLA framework. The site runs fine with a small number of users, but once there is any traffic the CPU spikes at 100%. I went through and made many updates to plug various memory leaks. Glad that I did that and it probably helped out some, but the issues still exists. The application was built the proper scalable architecture but can't seem to handle the load. I've been watching performance...
1
2021
by: =?Utf-8?B?TWlrZQ==?= | last post by:
Hi. I've built an ASP.NET web application which exists as it's own URL. Another site which was created in classic ASP, and exists as it's own URL, has an IFRAME containing my site. I'm experiencing a problem with the height of the IFRAME when the ASP.NET site redirects to another page. If the ASP.NET site is displaying Default.aspx, the IFRAME height is 500. But if the user clicks a link from Default.aspx and navigates to...
11
3327
by: Jan T. | last post by:
I wonder if anybody know a web site that has a good tutorial on this subject. What I want to do, is make a log in Page, and make sure that all my pages is validating that the user is loged in until he or she logs out. May be someone would like to give an example in this news group too? Thank you for any help! BTW, I am using Access 2000 and classic ASP.
1
3503
by: andwan0 | last post by:
I have a legacy classic ASP website with lots of classic AJAX (many ASP files specially made for processing AJAX requests). We are slowly migrating the website to ASP.NET 2.0 and developing under Visual Web Developer 2005/2008. I notice VWD doesn't debug ASP files. Since we are still migrating a very large website, we are mixing ASP.NET code with classic ASP (ASP.NET pages making AJAX calls to classic ASP pages). In Visual Studio 2003.NET...
0
9029
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8897
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8862
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7729
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5860
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4370
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3050
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2331
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2002
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.