Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP .Net Security (http://www.velocityreviews.com/forums/f62-asp-net-security.html)
-   -   Deploying ASP Net to Server (http://www.velocityreviews.com/forums/t768413-deploying-asp-net-to-server.html)

John 03-19-2006 05:20 PM

Deploying ASP Net to Server
 
Hi,

I am relatively new to ASP.NET and I'm having a problem with moving a simple
application I wrote to a network web server. The application works find on
my development work station and works on the network web server when I
access using http:\\localhost\myapp or http:\\127.0.0.1. But I cannot
access it remotely nor on the network web server once I change the localhost
to the DNS or ip address of the server. If I enter
http:\\198.168.1.45\myapp\main.aspx or http:\\ServerDSN\myapp\main.aspx they
both give me the error below. There is only one directory in the app and it
is configured as an application in IIS, to be sure I went ahead and
configured the \bin direcotry as an application. In IIS the security is set
fro Anonymous access. I tried changing this to Integrated Windows
Authentication since I'm logged on a domain adminsitrator but still recevied
the same error. I'm sure this is something simple, I would be grateful for
any help.

Regards,
John

Description: An error occurred during the processing of a configuration file
required to service this request. Please review the specific error details
below and modify your configuration file appropriately.

Parser Error Message: It is an error to use a section registered as
allowDefinition='MachineToApplication' beyond application level. This error
can be caused by a virtual directory not being configured as an application
in IIS.








Dominick Baier [DevelopMentor] 03-19-2006 05:48 PM

Re: Deploying ASP Net to Server
 
you have to mark the virtual directory as an "application" in IIS - right
click the dir in iis manager - and click the "create application" button
on the "home directory" tab.

---------------------------------------
Dominick Baier - DevelopMentor
http://www.leastprivilege.com

> Hi,
>
> I am relatively new to ASP.NET and I'm having a problem with moving a
> simple application I wrote to a network web server. The application
> works find on my development work station and works on the network web
> server when I access using http:\\localhost\myapp or http:\\127.0.0.1.
> But I cannot access it remotely nor on the network web server once I
> change the localhost to the DNS or ip address of the server. If I
> enter http:\\198.168.1.45\myapp\main.aspx or
> http:\\ServerDSN\myapp\main.aspx they both give me the error below.
> There is only one directory in the app and it is configured as an
> application in IIS, to be sure I went ahead and configured the \bin
> direcotry as an application. In IIS the security is set fro Anonymous
> access. I tried changing this to Integrated Windows Authentication
> since I'm logged on a domain adminsitrator but still recevied the same
> error. I'm sure this is something simple, I would be grateful for any
> help.
>
> Regards,
> John
> Description: An error occurred during the processing of a
> configuration file required to service this request. Please review the
> specific error details below and modify your configuration file
> appropriately.
>
> Parser Error Message: It is an error to use a section registered as
> allowDefinition='MachineToApplication' beyond application level. This
> error can be caused by a virtual directory not being configured as an
> application in IIS.
>




John 03-19-2006 05:58 PM

Re: Deploying ASP Net to Server
 
I had already did that for both the application and the bin subdirectory.
It didn't help.

John


"Dominick Baier [DevelopMentor]" <dbaier@pleasepleasenospamdevelop.com>
wrote in message news:4580be631986c58c8199cd0e1118d@news.microsoft. com...
> you have to mark the virtual directory as an "application" in IIS - right
> click the dir in iis manager - and click the "create application" button
> on the "home directory" tab.
>
> ---------------------------------------
> Dominick Baier - DevelopMentor
> http://www.leastprivilege.com
>
>> Hi,
>>
>> I am relatively new to ASP.NET and I'm having a problem with moving a
>> simple application I wrote to a network web server. The application
>> works find on my development work station and works on the network web
>> server when I access using http:\\localhost\myapp or http:\\127.0.0.1.
>> But I cannot access it remotely nor on the network web server once I
>> change the localhost to the DNS or ip address of the server. If I
>> enter http:\\198.168.1.45\myapp\main.aspx or
>> http:\\ServerDSN\myapp\main.aspx they both give me the error below.
>> There is only one directory in the app and it is configured as an
>> application in IIS, to be sure I went ahead and configured the \bin
>> direcotry as an application. In IIS the security is set fro Anonymous
>> access. I tried changing this to Integrated Windows Authentication
>> since I'm logged on a domain adminsitrator but still recevied the same
>> error. I'm sure this is something simple, I would be grateful for any
>> help.
>>
>> Regards,
>> John
>> Description: An error occurred during the processing of a
>> configuration file required to service this request. Please review the
>> specific error details below and modify your configuration file
>> appropriately.
>>
>> Parser Error Message: It is an error to use a section registered as
>> allowDefinition='MachineToApplication' beyond application level. This
>> error can be caused by a virtual directory not being configured as an
>> application in IIS.
>>

>
>




John 03-20-2006 03:29 AM

Deploying ASP Net to Server
 
Any other suggestions on this issue. I have already configured the Virtual
Directory as an application and I still get the error. I even change the
authentication to "None" in the web config file.

Thanks,
John



"John" <john@newsgroups.nospam> wrote in message
news:eZ5tRp3SGHA.2156@tk2msftngp13.phx.gbl...
> Hi,
>
> I am relatively new to ASP.NET and I'm having a problem with moving a
> simple application I wrote to a network web server. The application works
> find on my development work station and works on the network web server
> when I access using http:\\localhost\myapp or http:\\127.0.0.1. But I
> cannot access it remotely nor on the network web server once I change the
> localhost to the DNS or ip address of the server. If I enter
> http:\\198.168.1.45\myapp\main.aspx or http:\\ServerDSN\myapp\main.aspx
> they both give me the error below. There is only one directory in the app
> and it is configured as an application in IIS, to be sure I went ahead and
> configured the \bin direcotry as an application. In IIS the security is
> set fro Anonymous access. I tried changing this to Integrated Windows
> Authentication since I'm logged on a domain adminsitrator but still
> recevied the same error. I'm sure this is something simple, I would be
> grateful for any help.
>
> Regards,
> John
>
> Description: An error occurred during the processing of a configuration
> file required to service this request. Please review the specific error
> details below and modify your configuration file appropriately.
>
> Parser Error Message: It is an error to use a section registered as
> allowDefinition='MachineToApplication' beyond application level. This
> error can be caused by a virtual directory not being configured as an
> application in IIS.
>
>
>
>
>
>
>





All times are GMT. The time now is 02:19 AM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57