[Coldbox-4][Coldbox-3]

Hi Need your help

Coldfusion 10 mapping to coldbox 4 in the admin.
Coldbox 4 sites work as expected

Coldbox 3 sites under the web root work as expected.

But if the web site is outside the web root with a virtual folder in iis pointing to the physical folder we get the following error.

Any help would be great.

How are the ColdBox 3 sites expected to find ColdBox? is there an application-specific mapping?Just trying to understand the directory structure.

Thanks!

~Brad

ColdBox/CommandBox Developer Advocate
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com

Hi Brad,
Yes sorry. There is an application mapping
this.mappings[’/coldbox’] = ExpandPath("/common/coldbox3/");

Folder Strucutre

inetpub
common
coldbox4
coldbox3
application
myapp
webroot
index.cfm
myapp (virtual folder via iis)

Ken

I don’t trust server level mappings mixed with application-specific mappings as I swear I’ve seen the server level mapping used instead sometimes. Can you remove the server level mapping and instead use Application-specific mappings for all your servers? I have a feeling something is looking at the wrong ColdBox installation.

Also to confirm, this folder is wrong right? It says coldbox/system but shouldn’t it be coldbox3/system?
D:/WebContent/common/coldbox/system/orm/hibernate/VirtualEntityService.cfc

I’m not sure what that means right off, but just wanted to make sure.

Thanks!

~Brad

ColdBox/CommandBox Developer Advocate
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com

Hi Brad,
Thanks for the reply.
Yes, I saw that and thought it was incorrect.
I loaded the site today and it worked.
Must of been caught in cache, although I was sure I emptied it.

If we have further problems, I will revert to your suggestion of application-specific mappings.

Regards Ken