MagicAjax = Problems

  • Thread starter Thread starter ryan.mclean
  • Start date Start date
R

ryan.mclean

Hello everyone,

I thought I would try the MagicAjax and I first recieved this message:

The MagicAjax HttpModule is not included in web.config. Add
[<httpModules><add name="MagicAjax" type="MagicAjax.MagicAjaxModule,
MagicAjax" /></httpModules>] inside the <system.web> section.

Okay seems simple enough, I added what it read like this:

<httpModules>
<add name="MagicAjax" type="MagicAjax.MagicAjaxModule, MagicAjax"
/>
<add name="ScriptModule"
type="Microsoft.Web.Services.ScriptModule"/>
</httpModules>

Now I get:

Could not load file or assembly 'MagicAjax' or one of its dependencies.
The system cannot find the file specified.
(C:\Inetpub\wwwroot\Headquarters\web.config line 70)

Line 70 is the <add name="MagicAjax" . . . line.

Any help would be greatly appreciated.

Thanks and have a nice weekend,
Ryan
 
As I recall, the MagicAjax download includes at least one working web app and
demo page. Use the web.config from that and make sure the MagicAjax assembly
is in your /bin folder.

Peter
 
Thanks Peter,

I actually got the same results when testing the demo. I tried putting
the dll in the gac and rebuilding the demo after re-referencing the dll
.. . . I'm not quite sure what I am doing wrong.

Thanks again,
Ryan


As I recall, the MagicAjax download includes at least one working web app and
demo page. Use the web.config from that and make sure the MagicAjax assembly
is in your /bin folder.

Peter



Hello everyone,

I thought I would try the MagicAjax and I first recieved this message:

The MagicAjax HttpModule is not included in web.config. Add
[<httpModules><add name="MagicAjax" type="MagicAjax.MagicAjaxModule,
MagicAjax" /></httpModules>] inside the <system.web> section.

Okay seems simple enough, I added what it read like this:

<httpModules>
<add name="MagicAjax" type="MagicAjax.MagicAjaxModule, MagicAjax"
/>
<add name="ScriptModule"
type="Microsoft.Web.Services.ScriptModule"/>
</httpModules>

Now I get:

Could not load file or assembly 'MagicAjax' or one of its dependencies.
The system cannot find the file specified.
(C:\Inetpub\wwwroot\Headquarters\web.config line 70)

Line 70 is the <add name="MagicAjax" . . . line.

Any help would be greatly appreciated.

Thanks and have a nice weekend,
Ryan
 
Back
Top