I downloaded the atlas.dll, the toolkit, and the samples. I am trying to run the Gadgets sample. If I run it locally and register the .asbx with the server (again, all locally) this works fine. if I upload the same set of files to my host I get:
GEThttp://www.mysite.com/
200 OK
GEThttp://www.mysite.com/rssgadget.css
200 OK
GEThttp://www.mysite.com/images/rss.jpg
200 OK
GEThttp://www.mysite.com/images/refresh.jpg
200 OK
GEThttp://www.mysite.com/rssgadget_wt.js
200 OK
GEThttp://www.mysite.com/aspnetforums.asbx?mn=Get&feedURL=http%3A%2F%2Fforums.asp.net%2Frss.aspx%3FForumID%3D1007
404 Not Found
I keep getting page not found. My web.config has the bridgemodule for tunneling:
<httpModules>
<add name="ScriptModule" type="Microsoft.Web.Services.ScriptModule"/>
<add name="BridgeModule" type="Microsoft.Web.Services.BridgeModule"/>
<add name="WebResourceCompression" type="Microsoft.Web.Services.WebResourceCompressionModule"/>
</httpModules>
It just never finds it. I used fiddler. It just show the 404 error. In fact, that snapshot above is from fiddler.
Thank you for any help. Is it too much to as the host to register .asbx files? Is that a security risk? Thank you.
I have tried everything here:
http://atlas.asp.net/docs/atlas/doc/bridge/tunnel.aspx
including the scriptmanager adjustment at the bottom of the page. All the results. Thanks again.
If the asbx isn't registered on the host, you aren't accessing the bridge url properly, you should be hitting
GEThttp://www.mysite.com/aspnetforumsBridge.axd?mn=Get&feedURL=http%3A%2F%2Fforums.asp.net%2Frss.aspx%3FForumID%3D1007
Basically replace .asbx with Bridge.axd
Hope that helps,
-Hao
No comments:
Post a Comment