Facebook Silverlight application invalid method (HTTP verb) - asp.net

Hi
I made a simple application in Silverlight to facebbok with the facebook C# SDK, and it runs fine in a localhost. I have published on a server and know start the problems. When I try to run the application from the facebook I get the this messege (405 - HTTP verb used to access this page is not allowed.)
anyone have any ideias of what is the problem ??
thanks

That sounds like server/IIS/Web server configuration. Try hosting the web site in an iframe locally and see if you can get there...

Related

How to host a SignalR application with GoDaddy?

I've written a small demo application using the ASP.net SignalR library. It works fine when run locally, but when I deploy it to my server hosted by GoDaddy, it gives the following error: GET http://xxxxxxx.com/techdemo/signalr/hubs 404 (Not Found)
I did a Google search and was only able to find this one article: https://blog.adamzolo.com/hosting-signalr-godaddy-full-trust/. Unfortunately, the advice there didn't fix my problem.
I know from the documentation that signalr/hubs is a Javascript file generated by SignalR. Somehow, it doesn't get loaded when the site is hosted by GoDaddy. I need to get this working, so what do I do to make it work?

SignalR Chat application not working with IIS

This is the url from where I've downloaded the SignalR chat application between a web server and a web client.
http://www.asp.net/signalr/overview/getting-started/tutorial-getting-started-with-signalr
This works fine when debugged on VS2013 but when published and deployed on IIS 7, somehow doesn't work as expected. To be more clear, I'm getting page displayed properly, but the dialog box doesn't popup for entering the username(which it is supposed to behave like) and the page remain static, when the url is hit from a browser.
Is this a configuration issue with SignalR and IIS ? Kindly help in making it work. I'm new to SignalR, and am trying to make a sample SignalR app work in IIS.
Thanks in advance !
Check the Applicatlion pool it should be ASP.Net4.0 (integrated).

WCF and Client accessing error, local runs fine, on uploading gives 404

I have a RESTful service on a server whose url say is www.webserve.com
i have a proxy client on my local machine to hit and get the details from this service.. the client has a page name default.aspx which post and hit the www.webserve.com and get the data.
it works fine but as soon as i upload this client on the same server(IIS) with a name say www.proxyclient.com and open it with my browser the default.aspx works fine but as soon as i post the data and hit the service through it it gives mt a 404 error..
I dont know whats wrong with it.. may be this is the static vs dynamic IP mess or something like that..
can u please help me out. i need to get this done on urgent basis
Thnx guys
Alright got the solution. my proxyclient was using a handler to handle a custom extension. I mapped that extension to IIS with aspnet dll and it worked.. thnx guys for ur support :)
Actually I needed to register .svc to my IIS ISAPI with .net framework dll
then it worked fine :)

Cannot connect to Facebook Connect

I'm using the following step by step guide to connect to Facebook Connect:
http://msdn.microsoft.com/en-us/windows/ee702803.aspx
However I have a problem at the 'Authentication and Initiating a Session' stage.
When I go through the steps, I click on 'Connect' in my browser, which opens a popup, where I login to Facebook and 'Allow' the application to access my account. I'm then redirected to the filename I specify in thw 2nd parameter of the javascript function 'FB.init'.
However, this page then displays:
Please sign-in with Facebook.
Why is this happening?
I'm developing this on localhost, I don't know if that could cause a problem? Please help! Thanks.
You actually can use localhost. The one problem you may have is that there is a bug with the Facebook Javascript SDK in internet explorer if you are on a port other than 80 or 443. http://github.com/facebook/connect-js/issues#issue/106
If you check out my Facebook .Net SDK on codeplex you can download the sample app. As it is configured it will run locally. The one thing is you need to set your site url and/or canvas url to point to http://localhost:port#/
Do download the sample go to: http://facebooksdk.codeplex.com
I ran into a similar problem where I could not test Facebook on localhost. Due to security requirements from Facebook you must test from the domain you used to register your application.
Create a dev.yourname.com subdomain and test it there.

vs2010 express asp.net c#: facebook beginner's application

I followed all the instructions in the following links yet I am getting the following error
Errors while loading page from application
The URL http://zsswfacebooklocal.com:1940/Default.aspx/ did not respond.
Has any one successfully got a simple asp.net application tested on facebook from their localhost on local dev machine. I did update my host file to have local ip 127.0.0.0 point to a temp domain name like zsswfacebooklocal.com
I used the following tutorials but no luck so far. Please help. For FB asp.net application: http://fbtutorial.qsh.eu/section1/step1.aspx
For local host: http://www.stevetrefethen.com/wiki/Facebook%20application%20development%20in%20ASP.NET.ashx
The HOSTS workaround will only work if your app's render method set to IFrame, so double-check that.
On the other hand, if you require your render method to be FBML, then see my response in your other (similar) question:
vs2010 express asp.net c#: facebook asp.net application
If your app's render method is FBML, Facebook tries to load your website the same way anyone over the internet would, so you'd need to set your local website to be accessible to the internet.

Resources