Thursday, March 22, 2012

web deployment projects dont work?

I tried to do web deployment projects and they dont work. Doesnt seem to
matter what I end up doing. Here are the errors I keep getting: Note...I
don't have IIS on my computer...
Error 1 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. C:\Documents and Settings\Andy\My Documents\Visual Studio
2005\Projects\EternityRecordsRoot\inhim\
web.config 44 1 Root deployment
Warning 2 Cannot find any assemblies that can be merged in the application
bin folder. ASPNETMERGE 1 1 InHim deploymentYou need to make inhim an application directory. (I'm assuming you are
running this from IIS)
--Original Message--
From: Andy B [mailto:a_borka@.sbcglobal.net]
Posted At: Wednesday, November 21, 2007 7:02 AM
Posted To: microsoft.public.dotnet.framework.aspnet
Conversation: web deployment projects dont work?
Subject: web deployment projects dont work?
I tried to do web deployment projects and they dont work. Doesnt seem to
matter what I end up doing. Here are the errors I keep getting: Note...I
don't have IIS on my computer...
Error 1 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. C:\Documents and Settings\Andy\My Documents\Visual Studio
2005\Projects\EternityRecordsRoot\inhim\
web.config 44 1 Root deployment
Warning 2 Cannot find any assemblies that can be merged in the
application
bin folder. ASPNETMERGE 1 1 InHim deployment
It will be running on IIS eventually but I don't have it on the dev
computer. What should I do in that case?
"Dave Bush" <davembush@.dmbcllc.com> wrote in message
news:99987E38A9FC4BBFBDAAFFE0F60A44B7@.Of
ficeVista...
> You need to make inhim an application directory. (I'm assuming you are
> running this from IIS)
> --Original Message--
> From: Andy B [mailto:a_borka@.sbcglobal.net]
> Posted At: Wednesday, November 21, 2007 7:02 AM
> Posted To: microsoft.public.dotnet.framework.aspnet
> Conversation: web deployment projects dont work?
> Subject: web deployment projects dont work?
> I tried to do web deployment projects and they dont work. Doesnt seem to
> matter what I end up doing. Here are the errors I keep getting: Note...I
> don't have IIS on my computer...
> Error 1 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. C:\Documents and Settings\Andy\My Documents\Visual Studio
> 2005\Projects\EternityRecordsRoot\inhim\
web.config 44 1 Root deployment
> Warning 2 Cannot find any assemblies that can be merged in the
> application
> bin folder. ASPNETMERGE 1 1 InHim deployment
>
Sorry, I have a religious conviction against developing in a different
environment than I will be deploying in. Otherwise, I end up debugging
stuff in production that could have and should have been debugged while
I was creating the web application. Therefore I develop under IIS.
I know your problem is that you are trying to run the web.config in a
directory that your environment sees as a subdirectory instead of an
application directory. How to fix it without being in IIS I can't help
you with.
Is it possible that the parent directory is the main application
directory? In that case, you probably just have too much stuff in the
web.config file and you should remove the section(s) it complains about.
Dave Bush
http://blog.dmbcllc.com
--Original Message--
From: Andy B [mailto:a_borka@.sbcglobal.net]
Posted At: Wednesday, November 21, 2007 7:53 AM
Posted To: microsoft.public.dotnet.framework.aspnet
Conversation: web deployment projects dont work?
Subject: Re: web deployment projects dont work?
It will be running on IIS eventually but I don't have it on the dev
computer. What should I do in that case?
"Dave Bush" <davembush@.dmbcllc.com> wrote in message
news:99987E38A9FC4BBFBDAAFFE0F60A44B7@.Of
ficeVista...
> You need to make inhim an application directory. (I'm assuming you
are
> running this from IIS)
> --Original Message--
> From: Andy B [mailto:a_borka@.sbcglobal.net]
> Posted At: Wednesday, November 21, 2007 7:02 AM
> Posted To: microsoft.public.dotnet.framework.aspnet
> Conversation: web deployment projects dont work?
> Subject: web deployment projects dont work?
> I tried to do web deployment projects and they dont work. Doesnt seem
to
> matter what I end up doing. Here are the errors I keep getting:
Note...I
> don't have IIS on my computer...
> Error 1 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. C:\Documents and Settings\Andy\My Documents\Visual Studio
> 2005\Projects\EternityRecordsRoot\inhim\
web.config 44 1 Root
deployment
> Warning 2 Cannot find any assemblies that can be merged in the
> application
> bin folder. ASPNETMERGE 1 1 InHim deployment
>
!> It will be running on IIS eventually but I don't have it
!> on the dev computer. What should I do in that case?
The correct answer is: install IIS on the dev computer, of course.
It won't be much of a "dev computer" without IIS.
If you can't/won't install IIS, you could install Cassiniv2 :
Direct link to the source files:
http://blogs.msdn.com/dmitryr/attachment/548131.ashx
You also need the v2.0 version of GACUTIL which is installed
with VWD Express, VS 2005 and the .Net Framework 2.0 SDK.
Make sure you read the "ReadMe.txt" file included in the zipped source.
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaol : http://asp.net.do/foros/
======================================
"Andy B" <a_borka@.sbcglobal.net> wrote in message news:eWuqv1DLIHA.6108@.TK2MSFTNGP03.phx.gb
l...
> It will be running on IIS eventually but I don't have it on the dev comput
er. What should I do in that case?
>
> "Dave Bush" <davembush@.dmbcllc.com> wrote in message news:99987E38A9FC4BBF
BDAAFFE0F60A44B7@.OfficeVista...
>

0 comments:

Post a Comment