473,548 Members | 2,598 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

using ASP pages along side ASP.Net in VS2005

Here's the problem/question.

The goal: run asp pages with apsx pages in the same solution with VS2005 IDE

I've loaded my asp pages into a new VS2005. However the asp pages would not
run. So, I did the following.

Added to web.config:

<httpHandlers >
<add verb="GET, HEAD, POST, DEBUG" path="*.htm"
type="System.We b.UI.PageHandle rFactory"/>
<add verb="GET, HEAD, POST, DEBUG" path="*.html"
type="System.We b.UI.PageHandle rFactory"/>
<add verb="GET, HEAD, POST, DEBUG" path="*.asp"
type="System.We b.UI.PageHandle rFactory"/>
</httpHandlers>

<compilation debug="true">
<buildProviders >
<add extension=".asp "
type="System.We b.Compilation.P ageBuildProvide r" />
</buildProviders>
</compilation>

I changed the configuration in IIS for the site for "asa & asp" from
C:\WINNT\SYSTEM 32\INETSRV\asp. dll to
C:\WINNT\Micros oft.net\framewo rk\v2.0.50727\a spnet_isapi.dll
which only causes the system to treat the asp as if it were aspx page --
which generates tons of errors.

Any Ideas?

Thanks!
May 11 '06 #1
5 1687
just enable asp script debugging on the website, and as asp runs in the iis
memory, attach to iis with the debugger and you are set.

-- bruce (sqlwork.com)
"Terry Jolly" <te***@ipmas.co m> wrote in message
news:44******** **************@ news.twtelecom. net...
Here's the problem/question.

The goal: run asp pages with apsx pages in the same solution with VS2005
IDE

I've loaded my asp pages into a new VS2005. However the asp pages would
not run. So, I did the following.

Added to web.config:

<httpHandlers >
<add verb="GET, HEAD, POST, DEBUG" path="*.htm"
type="System.We b.UI.PageHandle rFactory"/>
<add verb="GET, HEAD, POST, DEBUG" path="*.html"
type="System.We b.UI.PageHandle rFactory"/>
<add verb="GET, HEAD, POST, DEBUG" path="*.asp"
type="System.We b.UI.PageHandle rFactory"/>
</httpHandlers>

<compilation debug="true">
<buildProviders >
<add extension=".asp "
type="System.We b.Compilation.P ageBuildProvide r" />
</buildProviders>
</compilation>

I changed the configuration in IIS for the site for "asa & asp" from
C:\WINNT\SYSTEM 32\INETSRV\asp. dll to
C:\WINNT\Micros oft.net\framewo rk\v2.0.50727\a spnet_isapi.dll
which only causes the system to treat the asp as if it were aspx page --
which generates tons of errors.

Any Ideas?

Thanks!

May 11 '06 #2
Solved the problem -- sorry for the post.
"Terry Jolly" <te***@ipmas.co m> wrote in message
news:44******** **************@ news.twtelecom. net...
Here's the problem/question.

The goal: run asp pages with apsx pages in the same solution with VS2005
IDE

I've loaded my asp pages into a new VS2005. However the asp pages would
not run. So, I did the following.

Added to web.config:

<httpHandlers >
<add verb="GET, HEAD, POST, DEBUG" path="*.htm"
type="System.We b.UI.PageHandle rFactory"/>
<add verb="GET, HEAD, POST, DEBUG" path="*.html"
type="System.We b.UI.PageHandle rFactory"/>
<add verb="GET, HEAD, POST, DEBUG" path="*.asp"
type="System.We b.UI.PageHandle rFactory"/>
</httpHandlers>

<compilation debug="true">
<buildProviders >
<add extension=".asp "
type="System.We b.Compilation.P ageBuildProvide r" />
</buildProviders>
</compilation>

I changed the configuration in IIS for the site for "asa & asp" from
C:\WINNT\SYSTEM 32\INETSRV\asp. dll to
C:\WINNT\Micros oft.net\framewo rk\v2.0.50727\a spnet_isapi.dll
which only causes the system to treat the asp as if it were aspx page --
which generates tons of errors.

Any Ideas?

Thanks!

May 11 '06 #3
Please share solution... Thank You

SA
"Terry Jolly" <te***@ipmas.co m> wrote in message
news:44******** **************@ news.twtelecom. net...
Solved the problem -- sorry for the post.
"Terry Jolly" <te***@ipmas.co m> wrote in message
news:44******** **************@ news.twtelecom. net...
Here's the problem/question.

The goal: run asp pages with apsx pages in the same solution with VS2005
IDE

I've loaded my asp pages into a new VS2005. However the asp pages would
not run. So, I did the following.

Added to web.config:

<httpHandlers >
<add verb="GET, HEAD, POST, DEBUG" path="*.htm"
type="System.We b.UI.PageHandle rFactory"/>
<add verb="GET, HEAD, POST, DEBUG" path="*.html"
type="System.We b.UI.PageHandle rFactory"/>
<add verb="GET, HEAD, POST, DEBUG" path="*.asp"
type="System.We b.UI.PageHandle rFactory"/>
</httpHandlers>

<compilation debug="true">
<buildProviders >
<add extension=".asp "
type="System.We b.Compilation.P ageBuildProvide r" />
</buildProviders>
</compilation>

I changed the configuration in IIS for the site for "asa & asp" from
C:\WINNT\SYSTEM 32\INETSRV\asp. dll to
C:\WINNT\Micros oft.net\framewo rk\v2.0.50727\a spnet_isapi.dll
which only causes the system to treat the asp as if it were aspx page --
which generates tons of errors.

Any Ideas?

Thanks!


May 11 '06 #4
What the solution?

May 11 '06 #5
I found that the URLScan I had installed (a long time ago) was causing some
the problems and had to make changes to the ini file.

Add to the [AllowExtensions] section
..ashx
..aspx

Add to the [DenyExtensions] section
..asax
..ascx
..config
..cs
..csproj
..resources
..vbproj
..vb
..vsdisco
..webinfo
..xsd
..xsx

I had already changed each instance (and there were many) on the
configuration in IIS for the site from
C:\WINNT\SYSTEM 32\INETSRV\asp. dll to
C:\WINNT\Micros oft.net\framewo rk\v2.0.50727\a spnet_isapi.dll
except for asa and asp.

Basically blind stupid luck on my part. If I made any other changes I don't
remember what they were.


"MSDN" <sq**********@h otmail.com> wrote in message
news:ut******** ********@TK2MSF TNGP02.phx.gbl. ..
Please share solution... Thank You

SA
"Terry Jolly" <te***@ipmas.co m> wrote in message
news:44******** **************@ news.twtelecom. net...
Solved the problem -- sorry for the post.
"Terry Jolly" <te***@ipmas.co m> wrote in message
news:44******** **************@ news.twtelecom. net...
Here's the problem/question.

The goal: run asp pages with apsx pages in the same solution with VS2005
IDE

I've loaded my asp pages into a new VS2005. However the asp pages would
not run. So, I did the following.

Added to web.config:

<httpHandlers >
<add verb="GET, HEAD, POST, DEBUG" path="*.htm"
type="System.We b.UI.PageHandle rFactory"/>
<add verb="GET, HEAD, POST, DEBUG" path="*.html"
type="System.We b.UI.PageHandle rFactory"/>
<add verb="GET, HEAD, POST, DEBUG" path="*.asp"
type="System.We b.UI.PageHandle rFactory"/>
</httpHandlers>

<compilation debug="true">
<buildProviders >
<add extension=".asp "
type="System.We b.Compilation.P ageBuildProvide r" />
</buildProviders>
</compilation>

I changed the configuration in IIS for the site for "asa & asp" from
C:\WINNT\SYSTEM 32\INETSRV\asp. dll to
C:\WINNT\Micros oft.net\framewo rk\v2.0.50727\a spnet_isapi.dll
which only causes the system to treat the asp as if it were aspx page --
which generates tons of errors.

Any Ideas?

Thanks!



May 12 '06 #6

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

Similar topics

13
9595
by: Stumped and Confused | last post by:
Hello, I really, really, need some help here - I've spent hours trying to find a solution. In a nutshell, I'm trying to have a user input a value in form's textfield. The value should then be assigned to a variable and output using document.write. (Note, there is no submit button or other form elements. Basically
2
2572
by: clintonG | last post by:
Are developers still using namespaces in their code for pages or is this practice no longer neccessary for pages? I don't see the rationale here. except perhaps for controls that are comprised of compiled assemblies with methods and properties that may cause conflicts with other classes. What is your current practice for 2.0 development when...
7
1691
by: Tigger | last post by:
Dear Experts, I am working on ASP.NET. I have got a problem related to the usage of Javascript in ASP.NET. Please help. The story is the following: 1) I am developing an ASP.NET application. I need to prompt the users with a modal box (with "Yes" and "Cancel" button on it); 2) When the user clicks "Yes" button, I need to do some further...
21
2918
by: matvdl | last post by:
I have a system that was originally developed in asp - the pages are saved in SQL (there are over 10,000 pages) and saved to a temp directory in the server when requested by a client. I have updated this system and changed the pages that are saved to the server as aspx - everything works fine and pages can be served - but Its not...
14
2379
by: multiformity | last post by:
So I have been working on an opensource project for a while, and decided to really try to make it look better after focusing on the functionality most of this time. Up to now, I have simply used a standard ASPX page with minor modifications to it. All of my pages inherit from a "BasePage.cs" class, that handles common things like getting the...
13
3244
by: Jim Carlock | last post by:
I have over a hundred pictures I would like to present. Is it practical to create and parse an array of pictures, picture paths, et al using server-side scripting to accomplish this? I created an array already, and whereby, the HTML and Javascript currently used amount to about 14KB for each of four different pages, the PHP page I...
4
1739
by: m.shidoshi | last post by:
I was recently put in charge of heading up my company's website, and while I have a lot of experience on the design side of things, I'm still very new to the programming side. When I started, the website had just gotten a revision, but the site was an utter mess, so I've been trying to fix it up. As I've gone along, I've learned some aspects...
11
16546
by: Grischa Brockhaus | last post by:
Hi, I'm trying to produce a div layout containing a header on the top with fixed height, a footer on the bottom using fixed height and a content layer using what's left of the browsers window. So my header div is defined at top:0; height:40px , my footer is defined as bottom:0; height:40px and the content is defined as...
9
2746
by: xprotocol | last post by:
Trying to print a web page that scrolls to right a bit. I would think IE would page break by default when it gets to the end of the sheet, but it doesn't, it just cuts off the print. This only needs to work in IE but FF does the same thing. I tried messing with some media="print" functionality on it but couldn't get any page breaks to...
0
7707
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7951
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...
0
7803
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...
0
6036
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...
1
5362
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5082
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...
0
3475
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1051
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
751
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...

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.