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!

Viewing asp.net 2.0 on local machine 2

Status
Not open for further replies.

checkai

Programmer
Joined
Jan 17, 2003
Messages
1,629
Location
US
I have a laptop with a .net 2.0 web site on it...I would like to be able to view that from my desktop (or my bosses)...I'm getting a The page cannot be displayed error code HTTP 500 - Internal Server error....

any ideas? I have it set up as a virtual directory on my laptop and am calling it's full path from my desktop...


ideas?

"...we both know I'm training to become a cagefighter...see what happens if you try 'n hit me..."
 
It could be one of many things. Firstly, have you set the website to run under version 2.0 of the framework in IIS?


____________________________________________________________

Need help finding an answer?

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

 
Yes.

Have it's application Name set
security is anonymous and windows auth
customerrors off

"...we both know I'm training to become a cagefighter...see what happens if you try 'n hit me..."
 
No, I mean have you set it to use the correct version of the framework (on the ASP.NET tab)?


____________________________________________________________

Need help finding an answer?

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

 
yes...

"...we both know I'm training to become a cagefighter...see what happens if you try 'n hit me..."
 
When you turn off friendly error messages on the browser from your desktop, what kind of error message do you get?


tigerjade

"Always code as if the person who ends up maintaining your code will be a violent psychopath who knows where you live." -- Martin Golding


 
I then get...my customerrors is set to off in my .config file too...


Server Error in '/MyClients' Application.
--------------------------------------------------------------------------------

Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".


<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>


Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.


<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>


"...we both know I'm training to become a cagefighter...see what happens if you try 'n hit me..."
 
It could, however, be viewed by browsers running on the local server machine
Try doing what the error above suggests.


____________________________________________________________

Need help finding an answer?

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

 
Is there any sort of authentication being used by the website?



tigerjade

"Always code as if the person who ends up maintaining your code will be a violent psychopath who knows where you live." -- Martin Golding


 
from my laptop if i go to the virtual directory i get the following:


Failed to access IIS metabase.


gives me a KBase article to go to...
(did a aspnet_regiis -ga domain\myID)

i do what it tells me to do there, and still cannot access the page locally or remotely



"...we both know I'm training to become a cagefighter...see what happens if you try 'n hit me..."
 
Someone else blazed the trail for you, checkai.
About 2/3 way down the thread, the solution (for this guy) is there; he had installed IIS AFTER .Net, which was the cause of the problem. He uninstalled the .Net framework and reinstalled, and lived happily ever after. :)

hth

tigerjade

"Always code as if the person who ends up maintaining your code will be a violent psychopath who knows where you live." -- Martin Golding
 
thanks tigerjade...i'll have to try this...because i did install iis after .net....


"...we both know I'm training to become a cagefighter...see what happens if you try 'n hit me..."
 
SWEET!!! that worked thanks!!

just repaired .net 2 framework...

thanks to all!

"...we both know I'm training to become a cagefighter...see what happens if you try 'n hit me..."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top