Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Calling .asp page in .NET

Status
Not open for further replies.

developer155

Programmer
Joined
Jan 21, 2004
Messages
512
Location
US
Hello, is it possible to have a .asp page in the ASP.NET solution and call that asp page using JavaScript from one of the .aspx pages? When I do this I get "Page Cannot Be Displayed" page

thanks
 
You can have the asp page in the .NET solution, but it should be its own project.

John Pasko
jpasko@telemetrysoft.com
 
and then I can call the page from that project?
 
In a solution you can have both mypage.aspx and mypage.asp.
I do that all the time when migrating from asp 3.0 to asp.net. You can even include it in your project if like as well, does not break anything.

There is an error in the asp page. The joys of classic asp.
Create a simple hello world asp page to test with.

Goto iis, right click on the web,
Properties/Home Directory/Configuration/Debugging
and make sure "Send detailed error message to client" is selected.

Not thru yet.

In IE properties/Advanced tab make sure "Show Friendly HTTP error message" is unchecked as it will be by default.
Since you are a developer this is not Friendly at all.
 
yes, like rtomes said can u give us the error???

Known is handfull, Unknown is worldfull
 
OK, I disabled Friendly Messages in IE and here is what I got
Server Application Error
The server has encountered an error while loading an application during the processing of your request. Please refer to the event log for more detail information. Please contact the server administrator for assistance.
 
Please refer to the event log for more detail information
And have you done this?



____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
also, here is what I got from the event log

The server failed to load application '/LM/W3SVC/1/Root/MyDotNetApp'. The error was 'General access denied error
'.
For additional information specific to this message please visit the Microsoft Online Support site located at:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top