AJAX :: There Was No Channel That Could Accept The Message With Action?

Jun 22, 2010

I'm hoping that i'm posting in the right forum. Does anyone know how to recitify the following error from WCF:

[Code]....

I read an article that it has something to do with downloading MEX metadata so I disabled the mex and httpGetEnabled to false but no luck.

View 1 Replies


Similar Messages:

Web Forms :: Post Message Stating That An Action As Taken Place?

Nov 23, 2010

display a simple modal message stating that an action as taken place?For instance, I have a button on my screen that sends an email. After completing the task I enable a label (visible=true) that states 'Email Sent'.I would rather have something pop up after clicking send mail, stating the email was sent.Do I need to use an AJAX control (popup extender), or is there a simple method of doing this?

View 5 Replies

Accept An Out Parameter In Ajax?

Dec 20, 2010

I have a static function in the aspx page with this signature:

public static bool UserNeedsToBeAlertedPwdReset(out DateTime dtExpires)
{
DateTime dt = DateTime.MivValue;
return true;
}

So I want to call this function from the client side, using the jQuery Ajax. How do I get a hold of the out value? Edit Alternatevly I could check for nulls if this is possible with Ajax + jQuery like that:

ublic static DateTime? UserNeedsToBeAlertedPwdReset()
{
if(blah)
return null;
return DateTime.Now;
}

View 2 Replies

AJAX :: How To Get FilteredTextboxExtender To Accept Non English Characters

Aug 11, 2010

We're currently using FTEs to filter input on our registration. New business model wants to explore foreign markets, and I have not been able to figure out how to get the FTEs to accept foreign language characters.

View 2 Replies

AJAX :: How To Configure WCF To Accept & Reply To JQuery Post

Jan 11, 2010

I have a WCF web service and jQuery AJAX implementation that appears to be working perfectly, save for a single line of code: the AJAX calls to the WCF service only have the correct HTTP header & content information if I use GET in my AJAX calls. Once I choose to use POST, the WCF service response with "Method Not Allowed". The calls are coming from domains such as sub1.domain.com, and calling svc.domain.com. How can I configure WCF to allow the cross domain AJAX POSTs?

[Code]....

Here's the relevant section of the web.config:

[Code]....

Here's the AJAX code:

[Code]....

I have indeed tried these changes to my interface:

[Code]....

View 4 Replies

How Does Websites Get Live Channel Coverage

Oct 26, 2010

there are thousand of websites on the internet that have live coverage of the channels ,cricket matches.how does they do that? from where does they pick the coverage?

View 1 Replies

State Management :: Getting SessionID From Channel?

Aug 24, 2010

I need to set ASP.NET_SessionId in order to dowload a file from server.

I use the following code

IContextChannel mychannel = (IContextChannel)myService;
using (OperationContextScope scope = new OperationContextScope(mychannel))
{
res = myService.DoSomething();
System.ServiceModel.Channels.MessageProperties messageProperties = ......

View 1 Replies

Stream The TV Channel From TV Tuner Card In .net ?

Nov 15, 2010

I have system with TV tuner card. In my project, I want to stream one of the channel from my system to other users in my LAN.

I don't have any idea how to stream TV channel from TV Tuner Card.

I want to use ASP.NET with C#.

View 2 Replies

Displaying Videos From Youtube Channel?

Dec 7, 2010

I had YouTube Channel and I Had Web Page on my web site which display this video ,I diplay the viedo in ModalPopupExtender ,and I had problem when I finsihed from displaying this video and close ModalPopupExtender the sound of viedo still displaying.
' id="Image" runat="server" width="96" height="86" alt="Video" />
'>
' type="application/x-shockwave-flash"
allowscriptaccess="always" allowfullscreen="true" width="400" height="320">

[Code]....

View 1 Replies

Display A Live Streaming Of A TV Channel?

Jan 12, 2011

I am going to develop a website in asp.net , in which i will have to display a live streaming of a TV channel.

View 2 Replies

MVC :: Parsing Weather Channel Xml File Using Linq

Aug 31, 2010

I never used linq before and i'm having trouble parsing the xml file at

[Code]....
[Code]....
[Code]....

View 10 Replies

C# - WebException Could Not Establish Trust Relationship For The SSL/TLS Secure Channel

Dec 20, 2010

My company has developed a .NET web service and a client dll that uses that web service. The webservice is hosted on our server over ssl and the cert is provided and signed by GoDaddy. We have some clients in a hosted environment that are getting the following error message from the client dll when it tries to access our web service.

System.Net.WebException The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.

Our fix has been to have them open IE on the server, which is a challenge in and of itself for a lot of the hosted services, and go to the WSDL url. IE then prompts them with a security alert dialog. It says the cert date is valid and a valid name matching the name of the page, but was issued by a company you have not chosen to trust. When they click Yes to proceed, the client dll can then succesfully connect to the web service and operate as normal. why GoDaddy would not have been in there valid publishers list? All of the servers we have running has GoDaddy as a valid authority. I'm guessing, for security reasons, they've uninstalled the authority for GoDaddy, but not totally convinced that there's not some other underlying issue.

Unfortunately, I haven't had much luck trying to recreate this locally. If I go into Internet Options and remove the GoDaddy authorities and hit our service, ssl works just fine. I go back into the list of publishers and GoDaddy gets put right back in. So my second question is, How the heck do you get rid of GoDaddy so I can get an invalid cert warning?

Okay, last question. Is there a way in code I can tell the web service to ignore invalid certs. I've seen some posts on doing this programatically with WCF but not old web services.

View 2 Replies

What Is The Default Connection Limit Of .Net Remoting Http Channel

Jun 13, 2010

When using .net remoting, does the server limit incoming client remoting calls?

I find a particular remoting call (during ASP.NET page rendering) to take from 200ms to 1500ms. While the underlying data call is only 50ms. Factoring in remoting overhead of 150ms per call, the only difference between the two cases is that the latter scenario has about a dozen more parallel remoting calls in progress. So my guess is that when too many remoting calls are happening, some will get queued up? I also doubt system resource is the cause of the delay because it is not nearly saturated.

Searching MSDN, I find the below:

http://msdn.microsoft.com/en-us/library/ms973907.aspx
clientConnectionLimit: specifies how
many connections can be simultaneously
opened to a given server. The default
is 2. This is exactly the same as the
connection limit on ServicePoint in
the net classes.

That seems awfully low to me and if were the case, my app's performance would have been much worse. Can someone confirm if there is indeed a connection limit or some other throttling in .net remoting?

View 1 Replies

WCF Service Failing Every 23 Hours - Request Channel Timed Out

Oct 27, 2010

We have a WCF service self-hosted in a Windows Service. Right now we're experiencing a really strange behavior with it, which is that every 23 hours, approximately, the service raises an exception for every call made to it with the following error: Server was unable to process request. ---> The request channel timed out while waiting for a reply after 00:01:00. Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding. The time allotted to this operation may have been a portion of a longer timeout.---> The HTTP request to [URL]has exceeded the allotted timeout of 00:01:00. The time allotted to this operation may have been a portion of a longer timeout.---> The operation has timed out. The duration of the failure is between 4 and 6 minutes and, without touching anything at all, the service then goes out of the failure and the following responses are ok, for the next 23 hours, and then, again the error.

As pointed above, the WCF service is self-hosted in a Windows Service, installed on a Windows 2008 Server OS. The clients calling the service are two different Asp.NET web services, one running on the same server and the other on a virtual server in a production environment. Both clients have presented the same issue. The configuration of the complete environment is this: Phone calls are received in an IVR system (let's say node 1), which calls a web service (node 2) that retrieves some information about the customer calling. Once the customer approves the operation, the IVR calls the web service (node 2), which relays the call to the WCF Service (node 3) to process a credit operation. The WCF then makes a TCPIP socket operation through a VPN connection to another entity (node 4). That communication lasts between 3 and 10 seconds, is registered in a persistent database and then is sent back in the same path to the customer (node 3, 2 and 1). This platform processes about 2,000 transactions a day, 24/7, except for the ones failing with the timeout. The reason to have the transaction relayed to a second service is for security purposes. The amount of data exchanged in each call is about 200 or 300 bytes.

I've already tried most of the workarounds posted right here in stackoverflow ([http://stackoverflow.com/questions/981475/wcf-timeout-exception-detailed-investigation][1]) and the ones appearing there and some others found in google. The error is still persistent. The TCPIP socket operations are logged to a text file, and found no issues there with the response times from the external entity. The largest time was 9 seconds. Also, a database operations trace has been logged and did not show any performance issues either. The concurrency mode of the service is set to ConcurrencyMode.Multiple and, before going into production we made an stress test with ten clients making iterative calls over 2 hours, processing the wcf service about 30k transactions with no signs of performance impact. However, I already discarded a concurrency issue because the average time between transactions is one minute, and the largest one lasts for 9 seconds approximately. Besides, all other transactions complete successfully, independently of the load on the service.

I cannot increase the timeout of one minute given the fact that the service is for executing ecommerce operations and in fact there's nothing really taking more than a few seconds to complete. This are the facts, and I hope you guys could come up with something I haven't already tried yet. Please have in mind at the time of answering that this is a critical mission service, and the changes or configurations possible to apply in a production environment are very limited.

View 2 Replies

Security :: Could Not Establish Trust Relationship For The SSL/TLS Secure Channel With Authority

Jul 25, 2010

i have a web application that is using a https webservice and for accessing this webservice i have installed the PFK file into the mmc console in the personal storage folder and also installed in IIS. After installing the PFK file the properties of the installed PFK file shows a warning that "Windows does not have enough information to verify this certificate" but the installation is done with success. After this i go to add the wsdl to my project as service reference, but it shows the error "Could not establish trust relationship for the SSL/TLS secure channel with authority". What is the solution for this?

View 17 Replies

MVC :: Why Synchronous Action Wasn't Executed Until Asynchronous Action Completed

Nov 29, 2010

I'm implement Comet in Asp.net MVC, I used timer to keep Async request in server, Async request will complete when timer elapsed 1 minute and response to client (to avoid 404 error) and then reconnect to Async Controller. I also wanna execute some Synchronous action during Async request was holding, but the problem is: When an Async action was executed and hold by using timer, the Sync Action wasn't called until Async action (comet long-live request) completed. I did test with firefox 3.6 many times, but the result is the same, so strange, Do you know why ? I have a sub some questions : To implement comet, using timer (response after some minutes elapsed) or thread (response after several time sleeping thread) to hold async request, which is better?

View 1 Replies

MVC :: Redirect Action Not Working In Jqgrid Action Results Method

Mar 23, 2011

I am desiging a master and details page from a search page..user can search for something and I need to display the result in jqgrid if the result has more than 1 row or record.. if the result is just one record then i have to directly send then to details page by skiping grid page... I do have an action method for results page and one more action method for Jqgrid data..i am trying to check the row count for the database result and trying to redirect to details action results..but its not working at all..and showing an empty jqgrid..

[Code]....

View 9 Replies

Test That A Controller Action Simply Returns A Link To Another Action?

Apr 29, 2010

Lets say I have a simple controller for ASP.NET MVC I want to test. I want to test that a controller action (Foo, in this case) simply returns a link to another action (Bar, in this case).How would you test TestController.Foo? (either the first or second link)

My implementation has the same link twice. One passes the url throw ViewData[]. This seems more testable to me, as I can check the ViewData collection returned from Foo(). Even this way though, I don't know how to validate the url itself without making dependencies on routing.The controller:

public class TestController : Controller
{
public ActionResult Foo()[code].....

View 1 Replies

How To Get The URL Of An Action Method In .NET MVC Using AJAX

Nov 11, 2010

How can I make an AJAX call to retrieve the URL of controller's action method?

View 2 Replies

MVC :: Ajax Action Link?

Oct 6, 2010

I have code like this. Always the "Get" method is getting called insted of "Post" method eventhough I have explicitly mentioned it as "Post"

<%= Ajax.ActionLink("Create",
"Create",
new
AjaxOptions {HttpMethod =
"POST" })%>

View 2 Replies

MVC :: Create Action Not Carrying Model Across To Http Action

Jun 12, 2010

My httppost action doesnt seem to have received my model. The code is below;

[Code]....

i put a breakpoint on the line; return RedirectToAction("Error", "Dashboard"); and i found that appQualif carried no values whatsoever from the form i submitted..

View 5 Replies

MVC :: Calling Action On Controller Via AJAX?

Nov 29, 2010

I'm working on a forum application using MVC 2.0. I've built a basic page listing all the forum posts, held in a database and I've added a simple section on the bottom for a user to add a new post:

<% using (Ajax.BeginForm("AddChat", "Chat", new { text = Model.AddChat.Text}, new AjaxOptions { OnSuccess = "handleSuccess" }))
{%>
<%: Html.ValidationSummary(true)%>
<fieldset>
<legend>Fields</legend>
[code]....

View 6 Replies

MVC :: Ajax.BeginForm Not Reaching Action?

May 20, 2010

Using the following Ajax.BeginForm, it`s not reaching the controller. What is wrong with the following code? The $('#editForm').submit(); is reached but after that, it doesn`t reach the action.

[Code]....

View 4 Replies

How To Pass Parameters To An Action Using Html.Action() In MVC?

Jun 30, 2010

I've been using Html.Action("ActionName", "ControllerName") to invoke child actions across controllers without needing to have the view in ViewsShared. This has been working great for displaying things like session or cookie information.

Instead of just accessing cookies, I would like to pass additional parameters to Html.Action("ActionName", "ControllerName") so the action can execute different code based on the the data passed to the original view.

Should I be using a different method to pass parameters to a child action in a different controller?

View 1 Replies

MVC :: Controller Invokes GET Action Instead Of POST Action

May 20, 2010

I'm trying to add file upload functionality to a page. I've got a form that posts the selected file to a controller with a 'savefile' method. But if I don't add a get version of 'savefile' I'll get a 404 error. Here is the form code which is presented on the Index page:

[Code]....

And here is the controller code:

[Code]....

Intuitively I don't think I should need a GET version of SaveFile but if omit it I get a 404 error when the form posts. Why should I need a GET version of SaveFile when all I want is to post a form and save the file?

View 4 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved