[dba-VB] VS 2003 and IIS

Jim Lawrence accessd at shaw.ca
Fri Oct 14 19:41:11 CDT 2005


Hi John:

I have had issues before and still do. The way that I have solved some
problems is to high-light the directory where the web site will reside,
right-mouse click the properties, select the security tab and make sure the
user 'everyone' has required access to the folder. The rights should be the
same as any 'anonymous' user except 'everyone' can also write to that
directory. (You must be logged on as Administrator not as just a user with
administrator rights.) I can almost bet that VS defaults to user 'everyone'
when posting a web site. My IIS server is an old Win2000 Advanced but it
should work the same.....right? :-)

Here is an article that may have some relevance:
http://support.microsoft.com/default.aspx?scid=kb;en-us;251361#kb4

Here is something posted to a web site stating that the 127.0.0.1 not found
issue was resolved on his XP by using the following:

<quote>
Try these steps to run the asp pages
To Run MSDTC, go to command Prompt and run

1. MSDTC -resetlog
Go to command Prompt and run (it is case sensitive)
2. cd %windir%\system32\inetsrv
3. rundll32 wamreg.dll, CreateIISPackage
4. regsvr32 asptxn.dll
5. IISRESET

Run these steps and after that go to Services and restart the IIS. If still
doesn't work, after completing the above steps re-install the IIS.  
</unquote>

Looks like the answer was a MS service call fix to me...
 
HTH
Jim 

PS Can you view the root of the 'wwwroot' directory using http://localhost
and/or http://127.0.0.1 (maybe yes or no)?

-----Original Message-----
From: dba-vb-bounces at databaseadvisors.com
[mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of John Colby
Sent: Friday, October 14, 2005 4:35 PM
To: dba-vb at databaseadvisors.com
Subject: Re: [dba-VB] VS 2003 and IIS

Am I to assume then that you (like myself) don't know how to give it such
permissions?

John W. Colby
www.ColbyConsulting.com 

Contribute your unused CPU cycles to a good cause:
http://folding.stanford.edu/

-----Original Message-----
From: dba-vb-bounces at databaseadvisors.com
[mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence
Sent: Friday, October 14, 2005 7:25 PM
To: dba-vb at databaseadvisors.com
Subject: Re: [dba-VB] VS 2003 and IIS


John, That is what I would say.

Jim

-----Original Message-----
From: dba-vb-bounces at databaseadvisors.com
[mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of John Colby
Sent: Friday, October 14, 2005 9:39 AM
To: dba-vb at databaseadvisors.com
Subject: Re: [dba-VB] VS 2003 and IIS

I tried creating a directory called test under the wwwroot dir (manually)
then using VS 2003 to create a project in that existing dir.  I can find the
dir from VS2003 "create new project" but get the same error trying to create
the project in that dir.  If I had to guess, I would say that the "user"
that VS2003 is trying to use to create the project doesn't have permissions
with IIS to muck around inside IIS's directories.

John W. Colby
www.ColbyConsulting.com 

Contribute your unused CPU cycles to a good cause:
http://folding.stanford.edu/

-----Original Message-----
From: dba-vb-bounces at databaseadvisors.com
[mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence
Sent: Friday, October 14, 2005 11:47 AM
To: dba-vb at databaseadvisors.com
Subject: Re: [dba-VB] VS 2003 and IIS


Hi John:

Can you get a result at the command prompt:

Ping localhost
Ping 127.0.0.1 

Have you tried in your browser:
http://localhost
http://127.0.0.1

Jim
 

-----Original Message-----
From: dba-vb-bounces at databaseadvisors.com
[mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of John Colby
Sent: Friday, October 14, 2005 4:27 AM
To: dba-vb at databaseadvisors.com
Subject: Re: [dba-VB] VS 2003 and IIS

This machine had all kinds of crap installed.  I uninstalled as much of it
as I could, then cleaned the registry, compacted, re-installed IIS, then
installed VS 2003.  So THIS time, IIS was installed first.

Default.asp is the top file in the list.

John W. Colby
www.ColbyConsulting.com 

Contribute your unused CPU cycles to a good cause:
http://folding.stanford.edu/

-----Original Message-----
From: dba-vb-bounces at databaseadvisors.com
[mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Michael Maddison
Sent: Friday, October 14, 2005 12:39 AM
To: dba-vb at databaseadvisors.com
Subject: Re: [dba-VB] VS 2003 and IIS


John,
That's OK, sometimes its not created for various reasons... Asp.Net needs
the account. 

Did you install VS before IIS?
Also check in IIS...
right click default web site, properties, documents, should have
default.aspx in the list.


Michael Maddison

DDI Solutions Pty Ltd
michael at ddisolutions.com.au
Bus: 0260400620
Mob: 0412620497 
www.ddisolutions.com.au
-----Original Message-----
From: dba-vb-bounces at databaseadvisors.com
[mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of John Colby
Sent: Friday, 14 October 2005 1:29 PM
To: dba-vb at databaseadvisors.com
Subject: Re: [dba-VB] VS 2003 and IIS

Sorry Michael, this doesn't mean anything to me.  Check them for what? There
is an ASPNET user.

John W. Colby
www.ColbyConsulting.com 

Contribute your unused CPU cycles to a good cause:
http://folding.stanford.edu/

-----Original Message-----
From: dba-vb-bounces at databaseadvisors.com
[mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Michael Maddison
Sent: Thursday, October 13, 2005 11:27 PM
To: dba-vb at databaseadvisors.com
Subject: Re: [dba-VB] VS 2003 and IIS


Hi John,

Check your local users for ASPNET  

Michael Maddison

DDI Solutions Pty Ltd
michael at ddisolutions.com.au
Bus: 0260400620
Mob: 0412620497
www.ddisolutions.com.au

-----Original Message-----
From: dba-vb-bounces at databaseadvisors.com
[mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of John Colby
Sent: Friday, 14 October 2005 1:13 PM
To: dba-vb at databaseadvisors.com; Tech - Database Advisors Inc.
Subject: [dba-VB] VS 2003 and IIS

Can anyone help me troubleshoot getting VS 2003 working with IIS.  IIS is
running on my machine.  If I place a valid default.htm I can open a browser
and type http://127.0.0.1/ in the address bar and it opens that default.htm.

When I try and create a new ASP.Net application In VS, I get:

The web server reported...

'http://localhost/webapplication1'. 'http/1.1 500 server error'

The project is not created, i.e. no files show in the solution explorer.

I need help on this, no clue what, why or how.

Thanks,

John W. Colby
www.ColbyConsulting.com 

Contribute your unused CPU cycles to a good cause:
http://folding.stanford.edu/


_______________________________________________
dba-VB mailing list
dba-VB at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/dba-vb
http://www.databaseadvisors.com

_______________________________________________
dba-VB mailing list
dba-VB at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/dba-vb
http://www.databaseadvisors.com


_______________________________________________
dba-VB mailing list
dba-VB at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/dba-vb
http://www.databaseadvisors.com

_______________________________________________
dba-VB mailing list
dba-VB at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/dba-vb
http://www.databaseadvisors.com


_______________________________________________
dba-VB mailing list
dba-VB at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/dba-vb
http://www.databaseadvisors.com

_______________________________________________
dba-VB mailing list
dba-VB at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/dba-vb
http://www.databaseadvisors.com


_______________________________________________
dba-VB mailing list
dba-VB at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/dba-vb
http://www.databaseadvisors.com

_______________________________________________
dba-VB mailing list
dba-VB at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/dba-vb
http://www.databaseadvisors.com


_______________________________________________
dba-VB mailing list
dba-VB at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/dba-vb
http://www.databaseadvisors.com




More information about the dba-VB mailing list