Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Nest Web Projects

Reply
Thread Tools

Nest Web Projects

 
 
=?Utf-8?B?UmFlZCBTYXdhbGhh?=
Guest
Posts: n/a
 
      07-19-2005
I created a nested web projects with root projects as following

RootWebProject ...Namespace here (EP_RootApplication)
SubProject1....NameSpace.....EP_SubProject1
SubProject2....NameSpace EP_SubProject2

I deleted the global.ascx and web.config from subprojects and change
PostBuildEvent in csproj to root project bin folder like
PostBuildEvent = 'move "$(TargetDir)$(TargetFileName)"
C:\Inetpub\wwwroot\RootApplication\bin\'

the problem I have in web config i link in httpModules a custom key with as
<add name="RefreshHttpModule"
type="EP_RootApplication.Utilities.RefreshHttpModu le, RootApplication"/>
so when run http://localhost/RootApplication/SubProject1/Login.aspx the
error raised
Parser Error Message: File or assembly name RootApplication, or one of its
dependencies, was not found.



=== Pre-bind state information ===
LOG: DisplayName = EduWaveApplication
(Partial)
LOG: Appbase = file:///c:/inetpub/wwwroot/RootApplication/SubProject1
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===


what should I do to be run correctly



 
Reply With Quote
 
 
 
 
Brock Allen
Guest
Posts: n/a
 
      07-19-2005
It's probabaly because the module isn't located in the SubProject's ~/bin
directory. What are you trying to accomplish with the SubProject? It's going
to create a seperate application in IIS -- is that what you're looking for?

For the module, one thing you can do is when you configure it in the parent
web.config add a validate="false" attribute to the <add> element, then in
the SubProject's web.config you'll need to add a <remove> element.

-Brock
DevelopMentor
http://staff.develop.com/ballen



> I created a nested web projects with root projects as following
>
> RootWebProject ...Namespace here (EP_RootApplication)
> SubProject1....NameSpace.....EP_SubProject1
> SubProject2....NameSpace EP_SubProject2
> I deleted the global.ascx and web.config from subprojects and change
> PostBuildEvent in csproj to root project bin folder like
> PostBuildEvent = 'move "$(TargetDir)$(TargetFileName)"
> C:\Inetpub\wwwroot\RootApplication\bin\'
>
> the problem I have in web config i link in httpModules a custom key
> with as
> <add name="RefreshHttpModule"
> type="EP_RootApplication.Utilities.RefreshHttpModu le,
> RootApplication"/>
> so when run http://localhost/RootApplication/SubProject1/Login.aspx
> the
> error raised
> Parser Error Message: File or assembly name RootApplication, or one of
> its
> dependencies, was not found.
> === Pre-bind state information ===
> LOG: DisplayName = EduWaveApplication
> (Partial)
> LOG: Appbase = file:///c:/inetpub/wwwroot/RootApplication/SubProject1
> LOG: Initial PrivatePath = bin
> Calling assembly : (Unknown).
> ===
> what should I do to be run correctly
>




 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Web application projects vs. Web site projects mark.norgate@gmail.com ASP .Net 0 07-31-2006 02:42 PM
Converting Java projects to dynamic web projects in Eclipse deepstar@gmail.com Java 4 02-24-2006 03:15 PM
Can't create projects / open projects jaredea ASP .Net 4 08-10-2005 07:01 PM
ASP.NET projects aren’t 'real' projects in VS.NET 2005 Patrick Olurotimi Ige ASP .Net 0 06-09-2005 12:31 PM
Nest controls in a MS Treeview Web Control Chad ASP .Net 1 12-18-2003 05:00 PM



Advertisments