|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Calling an ASP File From ASP.net pageHello,
I have a link on a web control that points to an ASP page. Everytime I click on the link it gives me a "Page cannot be displayed" HTTP 500 - Internal server error the ASP page is in the right location and if I type the URL in without using the link I get the same thing. If I point the link to an HTM document it works fine. Is it not possiable to point to an ASP page? The link looks like this: <a id="getnewpage" href="getpage.asp">GetPage</a> Thanks in advance. Robin It sounds like there is a runtime error occurring in the processing of the
..asp file, not that you can't access it. 500 errors mean that the file encountered a server error while processing. Show quoteHide quote "Robin Yarnell" <RobinYarn***@discussions.microsoft.com> wrote in message news:0DF42427-7E03-4303-86CD-1BF089BFCA8D@microsoft.com... > Hello, > I have a link on a web control that points to an ASP page. Everytime I > click on the link it gives me a "Page cannot be displayed" HTTP 500 - > Internal server error the ASP page is in the right location and if I type > the > URL in without using the link I get the same thing. If I point the link to > an > HTM document it works fine. Is it not possiable to point to an ASP page? > The > link looks like this: > > <a id="getnewpage" href="getpage.asp">GetPage</a> > > Thanks in advance. > > Robin > > > Scott,
Thanks for the response. I did think that might be it so, I took all the ASP code out and made it a "html" doc with an asp extention but, I still get the same error. It is a very simple html just a line that says "this is a test" even took the html tags out just to make sure. Any other suggestions? Thanks Show quoteHide quote "Scott M." wrote: > It sounds like there is a runtime error occurring in the processing of the > ..asp file, not that you can't access it. 500 errors mean that the file > encountered a server error while processing. > > > "Robin Yarnell" <RobinYarn***@discussions.microsoft.com> wrote in message > news:0DF42427-7E03-4303-86CD-1BF089BFCA8D@microsoft.com... > > Hello, > > I have a link on a web control that points to an ASP page. Everytime I > > click on the link it gives me a "Page cannot be displayed" HTTP 500 - > > Internal server error the ASP page is in the right location and if I type > > the > > URL in without using the link I get the same thing. If I point the link to > > an > > HTM document it works fine. Is it not possiable to point to an ASP page? > > The > > link looks like this: > > > > <a id="getnewpage" href="getpage.asp">GetPage</a> > > > > Thanks in advance. > > > > Robin > > > > > > > > > OK the problem is now fixed. I am going to post how I fixed this and hope it
may help someone else if they ever see the same problem. As I looked further into this I found that I could not run ASP pages at all anymore on my web server. The problem went much further then just my aspx pages. So, if you find that your localhost stops processing ASP pages go to the following link and it solved my problem with a OS reload. http://support.microsoft.com/default.aspx?scid=KB;EN-US;309051 Hope this helps someone in the furture. Robin Show quoteHide quote "Robin Yarnell" wrote: > Hello, > I have a link on a web control that points to an ASP page. Everytime I > click on the link it gives me a "Page cannot be displayed" HTTP 500 - > Internal server error the ASP page is in the right location and if I type the > URL in without using the link I get the same thing. If I point the link to an > HTM document it works fine. Is it not possiable to point to an ASP page? The > link looks like this: > > <a id="getnewpage" href="getpage.asp">GetPage</a> > > Thanks in advance. > > Robin > > >
REPOST: How can I change the color of the Selected Item in a list
TREENODETYPES attribute does not work IExtenderProvider Error: Multiple controls with the same ID a dropdown list in the "Properties" window ListItem individual Color Add UserControl on CodeBeheind Send email bu clicking button asp.net 2.0: Webcontrols in Library validator for drop down list box |
|||||||||||||||||||||||