If I run the code in example 4-14: Using the callback feature to populate a random value to a web page (exactly as downloaded) in Visual Web Developer 2005 Express Edition, everything works fine.
If, however, I run the code with IIS (XP Professional) -- same files, same directory location -- I get the error:
Line 70
Char 1
Error object expected
Code: 0
If I try in Firefox, I get:
WebForm _InitCallback is not defined (line 68)
I suspect it has something to do with the WebResources.axd?
If I point IE to:
http://localhost:2317/RandomNumber/W...44679945312500
things work and javascript is displayed (I assume port 2317 is the build-in Web developer server),
if I point IE to:
http://localhost/RandomNumber/WebRes...44679945312500
I get a page cannot be found by IIS.
Any help/suggestions on what needs to be done to get it working in IIS would be greatly appreciated.
Thanks