web deployment projects dont work?


A

Andy B

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
 
Ad

Advertisements

D

Dave Bush

You need to make inhim an application directory. (I'm assuming you are
running this from IIS)

-----Original Message-----
From: Andy B [mailto:[email protected]]
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
 
A

Andy B

It will be running on IIS eventually but I don't have it on the dev
computer. What should I do in that case?
 
D

Dave Bush

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:[email protected]]
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?
 
Ad

Advertisements

J

Juan T. Llibre

!> 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.





Andy B said:
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 said:
You need to make inhim an application directory. (I'm assuming you are
running this from IIS)

-----Original Message-----
From: Andy B [mailto:[email protected]]
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
 

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

Top