Welcome Guest Search | Active Topics | Sign In | Register

eo_web.ashx is being called from the page directory not the root. Options
Kesah
Posted: Thursday, April 16, 2009 2:05:28 PM
Rank: Member
Groups: Member

Joined: 2/19/2009
Posts: 12
Is there a reason why eo_web.ashx would be called from the directory where the page is being rendered from?

The URL works fine when I go to http://feedingamerica.beaconfire.us/eo_web.ashx?id=283dfa06-2463-4441-bbb1-74bd5c33de8f

However the control is calling the handler from the directory path. Is there a way to specify where the eo_web.ashx file is called from?


Message: Syntax error
Line: 3
Char: 1
Code: 0
URI: http://feedingamerica.beaconfire.us/faces-of-hunger/real-stories/eo_web.ashx?id=283dfa06-2463-4441-bbb1-74bd5c33de8f

eo_support
Posted: Thursday, April 16, 2009 2:10:42 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

I am not exactly sure why it is called from the page directory. However you can explicitly set the handler location:

http://doc.essentialobjects.com/library/1/installationanddeployment/deploy.aspx

Check "Placing eo_web.ashx at a different location" section.

Thanks!

Kesah
Posted: Thursday, April 16, 2009 2:41:53 PM
Rank: Member
Groups: Member

Joined: 2/19/2009
Posts: 12
Hmm, I tried that but it isn't making any difference. It is still requesting from the relative directory.
eo_support
Posted: Thursday, April 16, 2009 4:12:12 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

In that case you can check whether you are setting the correct web.config file (each folder can have a different web.config), or changes in your web.config has been correctly picked up. As a test you can try it with our sample project first. The sample project has a simpler structure (with a single web.config). The sample web.config already has another setting entry eo_ScriptLocation there but is commented out by default. You can uncommented that and see how that works (you will need to create the corresponding script directory and give it sufficient permission so that script files can be generated there).

If the problem continues, please post your web.config (PM us if it contains senstive information) and we will see if we can spot anything. If that still does not resolve the issue, we will need to take a look of your server, ideally through a ftp account where we can view and change (for testing) files.

Thanks


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.