Sunday, March 11, 2012

Web Service for DynamicPopulate control in VB.

Hmmm... the service ran fine in 'test' mode from the browser, but if I tried to compile the service with VS2005 I got "Could not create type: Service"

Deleted the service, created a new one (with no code behind) and it works fine now.

*sigh*


Another update.....

if I have WebService.asmx in the same folder and call

ServicePath

="webservice.asmx"

it works just fime. If I try to move it to another folder and do:

ServicePath

="http://localhost/wstest/webservice.asmx"

then it breaks again with the Web Service 500 error... It still works if I point a browser at it though ?

Bri


Are you making cross-domain calls? If so, you'll need to enable that line in web.config (there's a comment describing it in the config file).

rchern13:

Are you making cross-domain calls? If so, you'll need to enable that line in web.config (there's a comment describing it in the config file).

Please could you post the lines that need to be enabled? I'm using AJAX 1.0

No comments:

Post a Comment