473,804 Members | 3,049 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Unable to Deploy ASP.Net 2.0 App to Local IIS

All,
Not sure where else to go. I have: VS2005, XP SP2 Media Center, IIS5.1

Problem:
Apps developed (even simple "Hello WOrld") apps simply won't deploy properly
to either my local IIS instance or to a 2nd server W2003K server.

When I publish, create them as IIS apps, or copy, even after running
both/either the ASP2.) security tab or the web admin (asp based) manager
they will not enable properly.

I have:
- Set to anonymous access
- Given permission to IUSR_ANONYMOUS
- Turned off/uninstalled firewall, and Windows Defender
- Read the even log
- Uninstalled 1.1, and 2.0, repareid and re-installed 2.0
- Re reged ASP with aspnet_regiis
- Unistalled and re-installed IIS services
- etc...

App run fine with the built in Cassini server but won't deploy, won't run,
etc...any other way. I always get a 403 (Access forbidden or 500 unknown)
error.

I have also tried hand-copying and setting permissions for anonymous
manually....als o does not work....
Not sure where else to turn....
I am starting to think that ASP in VS2005 is absolute rubbish....

cheers,
t

Jun 24 '06 #1
4 1995
Forgot to mention I've also:
- Done a full Windows Update
- Full VS2005 repair

Is it my instance of IIS? VS2005? An ASP.Net set-up issue? Issues with XP
Media Center?

This is the most difficulty I've had with any variant of VS, IIS or
ASP...and I have been using all since ASP first released....

thx again
"Tim Brooks" <us****@msn.com > wrote in message
news:OC******** *******@TK2MSFT NGP02.phx.gbl.. .
All,
Not sure where else to go. I have: VS2005, XP SP2 Media Center, IIS5.1

Problem:
Apps developed (even simple "Hello WOrld") apps simply won't deploy
properly to either my local IIS instance or to a 2nd server W2003K server.

When I publish, create them as IIS apps, or copy, even after running
both/either the ASP2.) security tab or the web admin (asp based) manager
they will not enable properly.

I have:
- Set to anonymous access
- Given permission to IUSR_ANONYMOUS
- Turned off/uninstalled firewall, and Windows Defender
- Read the even log
- Uninstalled 1.1, and 2.0, repareid and re-installed 2.0
- Re reged ASP with aspnet_regiis
- Unistalled and re-installed IIS services
- etc...

App run fine with the built in Cassini server but won't deploy, won't run,
etc...any other way. I always get a 403 (Access forbidden or 500 unknown)
error.

I have also tried hand-copying and setting permissions for anonymous
manually....als o does not work....
Not sure where else to turn....
I am starting to think that ASP in VS2005 is absolute rubbish....

cheers,
t

Jun 24 '06 #2
re:
- Set to anonymous access
- Given permission to IUSR_ANONYMOUS
Unless you've configured impersonation for the IUSR_ANONYMOUS account,
you are giving permissions to the wrong account.

Under XP, ASP.NET runs as the "MachineName\AS PNET" account.
Under W2K3, ASP.NET runs as the "MachineName\Ne twork Service" account.

Give access permissions to the correct account.

Also, under W2K3, you need to explicitly enable ASP.NET 2.0.

Open the IIS Manager, scroll on the left to "Web Service Extensions",
select that, go to the right pane and select the ASP.NET version you
want to enable and click the "Allow" button.

Repeat the sequence for all versions of ASP.NET you want to enable.


Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
=============== =============== =====
"Tim Brooks" <us****@msn.com > wrote in message news:OC******** *******@TK2MSFT NGP02.phx.gbl.. . All,
Not sure where else to go. I have: VS2005, XP SP2 Media Center, IIS5.1

Problem:
Apps developed (even simple "Hello WOrld") apps simply won't deploy properly to either my local
IIS instance or to a 2nd server W2003K server.

When I publish, create them as IIS apps, or copy, even after running both/either the ASP2.)
security tab or the web admin (asp based) manager they will not enable properly.

I have:
- Set to anonymous access
- Given permission to IUSR_ANONYMOUS
- Turned off/uninstalled firewall, and Windows Defender
- Read the even log
- Uninstalled 1.1, and 2.0, repareid and re-installed 2.0
- Re reged ASP with aspnet_regiis
- Unistalled and re-installed IIS services
- etc...

App run fine with the built in Cassini server but won't deploy, won't run, etc...any other way. I
always get a 403 (Access forbidden or 500 unknown) error.

I have also tried hand-copying and setting permissions for anonymous manually....als o does not
work....
Not sure where else to turn....
I am starting to think that ASP in VS2005 is absolute rubbish....

cheers,
t

Jun 25 '06 #3
TAB
Juan,

Thanks for the response. I've since gotten it working and it all seemed to
be because of the OS. I was using a machine that came pre-built with Media
Center and, because VS2005 installed fine and ASP.Net seemed to work (and
the docs said so, too) I assumed that it did.

I have since completely rebuilt the entire machine with XP Pro...and ASP.Net
worked correctly right out of the gate. Even got debugging working, had not
worked previously for ASP.Net projects....

Oh well.....
thanks all...

"Juan T. Llibre" <no***********@ nowhere.com> wrote in message
news:Ot******** ******@TK2MSFTN GP05.phx.gbl...
re:
- Set to anonymous access
- Given permission to IUSR_ANONYMOUS


Unless you've configured impersonation for the IUSR_ANONYMOUS account,
you are giving permissions to the wrong account.

Under XP, ASP.NET runs as the "MachineName\AS PNET" account.
Under W2K3, ASP.NET runs as the "MachineName\Ne twork Service" account.

Give access permissions to the correct account.

Also, under W2K3, you need to explicitly enable ASP.NET 2.0.

Open the IIS Manager, scroll on the left to "Web Service Extensions",
select that, go to the right pane and select the ASP.NET version you
want to enable and click the "Allow" button.

Repeat the sequence for all versions of ASP.NET you want to enable.


Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
=============== =============== =====
"Tim Brooks" <us****@msn.com > wrote in message
news:OC******** *******@TK2MSFT NGP02.phx.gbl.. .
All,
Not sure where else to go. I have: VS2005, XP SP2 Media Center, IIS5.1

Problem:
Apps developed (even simple "Hello WOrld") apps simply won't deploy
properly to either my local IIS instance or to a 2nd server W2003K
server.

When I publish, create them as IIS apps, or copy, even after running
both/either the ASP2.) security tab or the web admin (asp based) manager
they will not enable properly.

I have:
- Set to anonymous access
- Given permission to IUSR_ANONYMOUS
- Turned off/uninstalled firewall, and Windows Defender
- Read the even log
- Uninstalled 1.1, and 2.0, repareid and re-installed 2.0
- Re reged ASP with aspnet_regiis
- Unistalled and re-installed IIS services
- etc...

App run fine with the built in Cassini server but won't deploy, won't
run, etc...any other way. I always get a 403 (Access forbidden or 500
unknown) error.

I have also tried hand-copying and setting permissions for anonymous
manually....als o does not work....
Not sure where else to turn....
I am starting to think that ASP in VS2005 is absolute rubbish....

cheers,
t


Jun 26 '06 #4
> I was using a machine that came pre-built with Media Center

Thanks for reporting back on that. It's something to watch for!

Ken
Microsoft MVP [ASP.NET]

"TAB" <ta*@community. nospam.com> wrote in message
news:%2******** ********@TK2MSF TNGP03.phx.gbl. ..
Juan,

Thanks for the response. I've since gotten it working and it all seemed
to be because of the OS. I was using a machine that came pre-built with
Media Center and, because VS2005 installed fine and ASP.Net seemed to work
(and the docs said so, too) I assumed that it did.

I have since completely rebuilt the entire machine with XP Pro...and
ASP.Net worked correctly right out of the gate. Even got debugging
working, had not worked previously for ASP.Net projects....

Oh well.....
thanks all...

"Juan T. Llibre" <no***********@ nowhere.com> wrote in message
news:Ot******** ******@TK2MSFTN GP05.phx.gbl...
re:
- Set to anonymous access
- Given permission to IUSR_ANONYMOUS


Unless you've configured impersonation for the IUSR_ANONYMOUS account,
you are giving permissions to the wrong account.

Under XP, ASP.NET runs as the "MachineName\AS PNET" account.
Under W2K3, ASP.NET runs as the "MachineName\Ne twork Service" account.

Give access permissions to the correct account.

Also, under W2K3, you need to explicitly enable ASP.NET 2.0.

Open the IIS Manager, scroll on the left to "Web Service Extensions",
select that, go to the right pane and select the ASP.NET version you
want to enable and click the "Allow" button.

Repeat the sequence for all versions of ASP.NET you want to enable.


Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
=============== =============== =====
"Tim Brooks" <us****@msn.com > wrote in message
news:OC******** *******@TK2MSFT NGP02.phx.gbl.. .
All,
Not sure where else to go. I have: VS2005, XP SP2 Media Center, IIS5.1

Problem:
Apps developed (even simple "Hello WOrld") apps simply won't deploy
properly to either my local IIS instance or to a 2nd server W2003K
server.

When I publish, create them as IIS apps, or copy, even after running
both/either the ASP2.) security tab or the web admin (asp based) manager
they will not enable properly.

I have:
- Set to anonymous access
- Given permission to IUSR_ANONYMOUS
- Turned off/uninstalled firewall, and Windows Defender
- Read the even log
- Uninstalled 1.1, and 2.0, repareid and re-installed 2.0
- Re reged ASP with aspnet_regiis
- Unistalled and re-installed IIS services
- etc...

App run fine with the built in Cassini server but won't deploy, won't
run, etc...any other way. I always get a 403 (Access forbidden or 500
unknown) error.

I have also tried hand-copying and setting permissions for anonymous
manually....als o does not work....
Not sure where else to turn....
I am starting to think that ASP in VS2005 is absolute rubbish....

cheers,
t



Jun 26 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1505
by: mqsash | last post by:
Hi Problem : Unable to deploy an assembly in IE, as a cab file. (Works fine when deployed as a dll ) Description : I have created a assembly (dll with no user interface)in C# which I deploy in IE. The dll name is test.dll and the object tag in the html page is as follows. <OBJECT ID="myAssembly" classid="test.dll#testNS.Class1"></OBJECT>
1
5043
by: MN | last post by:
I have created an ASP.NET application which connects to Oracle database. My application runs fine in local host environment (database and apps running on same laptop). When I deploy my application in production I get "Unable to load DLL (OraOps9.dll)" Error. A Winform based application runs fine on the production box. It looks like I am running into security issues. Anyone saw this before? What is the quikest fix for this problem? ...
0
2353
by: Robert Warnestam | last post by:
Hello, I have some problems deploying Crystal Reports. I'm using Visual Studio 2005 Beta 1. In this version Crystal Reports (9.7.3500.0) is included. I created a small test application (ASP.NET) that shows a simple report. It work fine with on my local computer. Now I'm trying to deploy this sample application on our web server but I really need some help.
1
1311
by: Jeffrey Jones | last post by:
Hello all, I hope I am posting to the right forum. I have made my very first ASP.NET web app and am trying to deploy my baby to a remote server. All I know about my remote server is that it has frontpage extensions installed and is compatible with .NET v1.1.4322. From the IDE, I have chosen the 'Copy project...' option and have copied the files needed to run the application to another folder on my machine via the FrontPage web access...
1
5071
by: Pepe | last post by:
Hi, I have created the "Hello World" web service with one web method on it "HelloWorld" (yes the tag is there). I have deployed the web service to a Windows 2003 server, then I create a new project in my local pc and try to add a web reference to the "Hello World" web service and I get the warning message: Custom tool warning: DiscoCodeGenerator unable to initialize code generator. No code generated.
1
6804
by: yopy | last post by:
i have developed a web service which return dataset on dev machine, when i invoke the web service from the same machine it works fine, but when i deploy the web service to another machine, and invoke the web service from my dev machine, the web service become error, it return "Server was unable to process request" message. could any one please help me? thank you best regards
6
3639
by: Brad | last post by:
I have a win2003 server workstation with multiple webs, each web has it's own ip address. In VS2005, if I select to open an existing web site, select Local IIS, the dialog correctly displays a list of all of my webs, however if I attempt to open a site under and web other than localhost I receive the message: "Unable to open the Web 'http://localhost/anywebappname'. The Web 'http://localhost/anywebappname' does not exist" Obviously...
0
755
by: bazzer | last post by:
hey, i am using visual basic.net 2003 and have an ASP.NET webform application thats accessing a microsoft access 2003 database. i kept getting the following error when i tried to run it: ERROR General error Unable to open registry key 'Temporary (volatile) Jet DSN for process 0x8fc Thread 0x934 DBC 0x437b94 Jet'. ERROR Driver's SQLSetConnectAttr failed ERROR General error Unable to open registry key 'Temporary (volatile) Jet DSN...
6
2493
by: AGP | last post by:
I resisted for many years but I've just written my first app in .NET2005 and am looking to deploy my app with a third-party installer. ClickOnce and the VS Installer do not meed my needs and I am already well versed in another installer. My question is mainly dealing with deploying the app dependecies. I think I know where im headed but could use the advice of others who have had more experience. Should i just take all the files in the...
0
9704
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9572
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10303
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10070
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9132
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7608
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5508
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5639
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3803
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.