This is a migrated thread and some comments may be shown as answers.

Load on demand error

3 Answers 70 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
rwozniak
Top achievements
Rank 1
rwozniak asked on 19 Jan 2009, 08:01 PM
I experienced the following error when loading my nodes via web service (ExpandMode.WebService):

The HTTP verb POST used to access path '<my webservice url>' is not allowed.

I finally found that removing the mapping of '*' to aspnet_isapi.dll in my IIS settings on my site resolved the problem. Only thing is, removing this mapping breaks something else in our product.

Any suggestions for what I can do to get this to work, and still have the wildcard mapping?

Thanks,
Ross

3 Answers, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 20 Jan 2009, 08:12 AM
Hi rwozniak,

Please try adding the following lines in your web.config  (inside the <system.web> tag)
        <webServices>
            <protocols>
                <add name="HttpPost"/>
            </protocols>
        </webServices>

I hope this helps,
Albert
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
rwozniak
Top achievements
Rank 1
answered on 21 Jan 2009, 01:52 PM
We actually did have that entry in web.config, but it still didn't work until we removed the wildcard mapping.

Ross
0
rwozniak
Top achievements
Rank 1
answered on 21 Jan 2009, 01:54 PM
We actually have HttpGet in there as well, but I'm guessing that wouldn't cause the issue.

        <webServices>
            <protocols>
                <add name="HttpGet"/>
                <add name="HttpPost"/>
            </protocols>
        </webServices>
Tags
TreeView
Asked by
rwozniak
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
rwozniak
Top achievements
Rank 1
Share this question
or