Error creating ASP.net web app/project

G

Guest

Ok, I've been through the 10,000 suggestions for fixing this problem
(frustration is beginning to set in), however, none have completely (see
change below) worked for me.

Stats:
XP Pro, IIS 5.1, VS2003

IIS log:
#Software: Microsoft Internet Information Services 5.1
#Version: 1.0
#Date: 2005-03-17 16:05:36
#Fields: time c-ip cs-method cs-uri-stem sc-status
16:05:36 10.100.19.124 GET /WebApplication1/get_aspx_ver.aspx 500
16:05:36 10.100.19.124 GET /get_aspx_ver.aspx 500
16:13:10 10.100.19.124 GET /WebApplication1/get_aspx_ver.aspx 403
16:13:10 10.100.19.124 GET /get_aspx_ver.aspx 403

500 error changed to 403 after going to IIS manager and checking the Read
box on the default website properties.

I have created the .tmp type in the MIME Map.

IP address is set to "All Unasigned"

I have even uninstalled VS, IIS, .Net framework, .Net SDK and reinstalled.

Here's the odd thing though. Using either of these addresses to create the
project generates the same error:
http://localhost/webapplication1
http://computername/webapplication1 (this one should be correct)

Any help will be greatly appreciated.
 
G

Guest

I found my solution!!

First, ensure that IIS has proper execute permissions.

Run: inetmgr, expand server, right click on Web Sites, click properties. In
Properties window, click the 'Home Directory' tab. Change your execute
permissions to either Scripts Only or Scripts and Executables. (For security,
I'd recommend Scripts Only.)

Second, open Web.Config in notepad and delete this line:

/>
<customErrors mode="On" defaultRedirect="appError.asp" />

After making those 2 changes, I can now create ASP.Net web apps.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top