MagicAjax = Problems

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
 
G

Guest

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
 
R

ryan.mclean

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
 

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