Computing.Net > Forums > Web Development > asp .Net

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

asp .Net

Reply to Message Icon

Name: rajoo_sh
Date: January 17, 2005 at 01:37:30 Pacific
OS: win2k Server
CPU/Ram: P-III 500 MHz
Comment:

Hi!
I installed Visual Studio .Net on a windows 2000 server machine, then i created a web project (which created a virtual directory wwwroot). I placed a text box in the file and build it, without any problem i could bulid it (Build: 1 succeeded, 0 failed, 0 skipped).

but when i run it (.aspx file) it gives me an error (Internal server error 500),

Server Application Unavailable
The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh" button in your web browser to retry your request.

Following message appears when i remove (show user friendly error messages) check from Tools, Internet Options, Advanced tab:

Administrator Note: An error message detailing the cause of this specific request failure can be found in the system event log of the web server. Please review this log entry to discover what caused this error to occur.


If i perform the same on an XP professional machine, everything works fine, could u please tell me how to overcome it?

Regards
Rajeev



Sponsored Link
Ads by Google

Response Number 1
Name: SN
Date: January 17, 2005 at 05:39:13 Pacific
Reply:

Try it again, and note what time you got the error. Then view the event log on the server and post back the error message that it recorded at the time you got the error. You can see the error log by going to the control panel, administrative tools, event viewer. It would be in the application log.

-SN


0

Response Number 2
Name: cubesoft
Date: January 17, 2005 at 07:23:53 Pacific
Reply:

Did you run the file from Visual Studio .nET? If you didn't, run the file from VS.NET. Other resolution may be, you haven't installed the folder as an application.

To do this is, go to START->RUN-> then type mmc. Now go to File->Add/Remove Snap In, click ADD and select INTERNET INFORMATION SERVICES. Now you can administer your web server.

Open the DEFAULT WEB SERVER and go to the folder where you have your aspx file in. Right click on the folder, PROPERTIES. Then click on CREATE. Now you will see on the tree list that the folder you select has different icon from other folders.

That way you have set the permission for ASP.NET to execute the files on that folder.

Try that first and email me if you have problems.

---
Tommy Segoro
CubeSoft Information Technology - Online Computer Store, Web Site Design, Software Development, Search Engine Optimization
http://www.cubesoft.com.au
info@cubesoft.com.au


0

Response Number 3
Name: cubesoft
Date: January 17, 2005 at 07:27:30 Pacific
Reply:

Another problem may be you haven't set your wwwroot folder's permission. I never use c:\inetpub\wwwroot as my home directory. Because sometimes it causes problem.

Try to create a directory (wherever you like), go to IIS administration (please refer on my previous post on how to do this), now right click on the DEFAULT WEB SITE, PROPERTIES. Go to HOME DIRECTORY and change the location of your web server to the folder you just create.

Copy the aspx file to there and see how it goes.

---
Tommy Segoro
CubeSoft Information Technology - Online Computer Store, Web Site Design, Software Development, Search Engine Optimization
http://www.cubesoft.com.au
info@cubesoft.com.au


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Web Development Forum Home


Sponsored links

Ads by Google


Results for: asp .Net

checkbox within datagrid (ASP.NET) www.computing.net/answers/webdevel/checkbox-within-datagrid-aspnet/828.html

asp.net web service and mysql www.computing.net/answers/webdevel/aspnet-web-service-and-mysql-/2695.html

Asp.net auto-generate metatags www.computing.net/answers/webdevel/aspnet-autogenerate-metatags/2711.html