Are Concurrent Calls To PageMethods Allowed

Mar 15, 2010

Can I call a PageMethod and then call another PageMethod before the first has finished? Are concurrent calls to PageMethods allowed?

View 1 Replies


Similar Messages:

AJAX :: PageMethods Calls Inconsistent?

Jun 14, 2010

Ran into a bit of problem when using PageMethods when calling a webmethod in the code-behind. My markup page has a radgrid which gets populated via the objectdatasource.Pagemethods works and returns data as expected when the objectdatasource binds the radgrid with some data but not when the objectdatasource returns nothing, i.e. radgrid is empty. PageMethods call has got nothing to do with the objectdatasource, I'm simply using its output to build a list of checkboxes dynamically on the client side using Javascript. And this is how my code snippets looks like:Markup page:

<script type="text/javascript">
function CallGetARInvoices(src,dest)
{

[code]...

View 1 Replies

DataSource Controls :: Subqueries Are Not Allowed In This Context - Only Scalar Expressions Are Allowed

Mar 22, 2010

i get the above error when i try to run this sql statement

INSERT INTO PSPS_Posts (Post, Date_Posted, user_ID, Thread_ID) VALUES (@Post, @Date_Posted, @user_ID, (SELECT Thread_ID FROM PSPS_Thread WHERE Thread_ID = (SELECT MAX(Thread_ID) FROM PSPS_Thread

View 5 Replies

SQL Server :: Subqueries Are Not Allowed In This Context. Only Scalar Expressions Are Allowed?

Jan 9, 2011

[code]...

I get the Subqueries are not allowed in this context. Only scalar expressions are allowed - i am going to run into this quite alot so I figuredI'd better see what the right way is!

View 2 Replies

Calls To Successive Calls On Repeater With XML Datasource Is Not Binding New Data?

Feb 17, 2010

I have the following Page_Load function...

protected void Page_Load(object sender, EventArgs e)
{
XmlDataSource1.Data = GetXmlFromFile(Request.QueryString["file"]);
XmlDataSource1.DataBind();
Repeater1.DataBind();
}

The page in which this Page_Load resides is called by a parent page. Each time this Page_Load gets called the value of "file" in the query string will be different. So each time I will be receiving the XML contents from a different file which are inserted into the XmlDataSource and then bound against by the Repeater. Getting the XML data from the file works great but when I bind against the repeater that only works the first time through Page_Load. Each time after that when this code is executed the same results from the first XML file are displayed in the repeater.

What am I missing here. How can I get the XML data to be bound against the repeater on each page load instead of just the first one?

View 3 Replies

Multiple Webservice Calls / Some Of Its Calls Are Duplicated (with Difference Of Milliseconds)

May 10, 2010

I have a webservice (ASP.NET) deployed on a webfarm. A client application consumes it on daily basis. The problem is that some of its calls are duplicated (with difference of milliseconds). For example I have a function Foo(string a,string b). The client app calls this webmethod as Foo('test1','test2') once but my log shows that it is being called twice or sometimes 3 or 4 times randomly. Is this anything wrong with the webfarm or the code? Note that the webmethod has simple straighfarward insert and update statements.

View 1 Replies

&oacute; Not Allowed In Xml File But Allowed In .net Resource File?

Jan 11, 2011

i'm parsing a few .net resource files (.resx).In that, i have this piece of data:informaciónThis works in my .net app, but when i try to load this file in my xml document

XDocument xmlDoc = XDocument.Parse(s);

i get this error:Reference to undeclared entity 'oacute'.

View 2 Replies

Concurrent Viewing And Logon ID?

Aug 19, 2010

I am a windows application developer doing a web application with VB.net and SQL 2008 for the first time.I have developed a web application where users are supposed to view a file after selecting from a listbox. I then pick the users logon ID from windows then store in database and produce statistical reports later. It was working fine on my local machine till i deployed it on server to make it accessible on the intranet. The server OS is Windows 2008 Server and runs IIS. My issues are as follows,1. The application is unable to store the user logon id from the client.2. When more than one user uses the application, then there are errors but one user does not produce errors.

View 1 Replies

WCF / ASMX :: Concurrent Requests WCF + Net.tcp?

Nov 18, 2010

we are using the WCF service and hosted using a console application, now we are using LoadRunner and hitting it concurrently

Where giving 50 hits at a time few requests (26) gets completed successfully and remaining gives error TCP error code 10061: No connection could be made because the target machine actively refused it.

View 1 Replies

Pagemethods In Javascript - Never Gets Redirected?

Jan 5, 2010

I am using PageMethods in my javascript to call a function in my c# code which is static. In that code, all I have was "response.redirect("default.aspx").. but somehow it never gets redirected. It just stays there.

Code:
function testredirect()
PageMethods.Navigation()
C# code:
Public static void Navigation()
Response.redirect("Default.aspx");

View 2 Replies

Why Ajax Pagemethods Are Static

Aug 18, 2010

Why Ajax pagemethods are static?

View 1 Replies

AJAX :: PageMethods Not Getting Invoked?

Mar 28, 2011

I have defined a Shared Function in the code behind and a javascript function to call the webmethod. Also, I have EnablePageMethogs set to true in ScriptManager.

View 22 Replies

VS 2008 Concurrent Viewing And Logon ID?

Jun 7, 2010

I am a windows application developer doing a web application with VB.net and SQL 2008 for the first time.

I have developed a web application where users are supposed to view a file after selecting from a listbox. I then pick the users logon ID from windows then store in database and produce statistical reports later. It was working fine on my local machine till i deployed it on server to make it accessible on the intranet. The server OS is Windows 2008 Server and runs IIS. My issues are as follows,

1. The application is unable to store the user logon id from the client.
2. When more than one user uses the application, then there are errors but one user does not produce errors.

View 7 Replies

Large Number Of Concurrent Users?

Apr 28, 2010

I am working on a website in which more than a thousand users can login at a time and there may be more than 50000 total users. I am worried about the performance of the application in case of concurrent access.

what is the best way to manage that, so that my application runs without any performance issues.

View 2 Replies

C# - Access Session Value During Concurrent Requests

Mar 9, 2010

in one request i am updating session variable. in the other request, i am trying to access that session value, but it was blocked until the first request finish. I am using C# with ASP.NET 2.0 UPDATE: My page code looks like this.

while(int progress = DoWork() && progress <= 100 ){
Session["Progress"] = progress;
}

and my handler just return Session value.

context.Response.Write(Session["progress"].toString());
context.Response.End();

View 1 Replies

Security :: How To Prevent Concurrent Login In C#

Jun 22, 2010

I want to prevent concurrent login under same username. I am using aspnet_users & membership concepts. So How can I achieve this....

View 6 Replies

Web Forms :: Concurrent Requests From Same Session?

Feb 15, 2010

concerning requests being blocked from a main window after a popup window had initiated a file download. Further requests from the same session are being queued until the download is complete. So, is there any way to override this? Is there anyway to tell asp.net to not serialize same session requests? Is there any way to tell asp.net to ignore session for a specific request...httphander(module) or otherwise?

why requests from the same session are being queued until the download is complete. please tell me the funda behind it and how to overcome it.

View 1 Replies

Architecture :: Concurrent User Management

Jan 18, 2011

I'm developing web application with concurrent user using the application. The problem i'm facing is that if the first user login his details are taken affecting the second user how is process the data in the application.How to avoid it?the best way to code to maintain concurrent users.

View 4 Replies

Managing Concurrent Connections In IIS7?

Feb 8, 2011

I'm having an issue with my hosting provider (winhost.com). My app is built on ASP.NET 4 MVC 3. Up until a few days ago, everything was running fine. All of a sudden I've started getting 503 errors when trying to access my site (wikipediamaze.com). It doesn't happen all the time, just most of the time.

When someone starts playing the game a request is made to wikipedia.org to get the contents of the page for the current step in the puzzle. Basically I'm screen scraping wikipedia.org, injecting some html and then displaying the results. All of my web requests are closed immediately after receiving the data.

What winhost is telling me is that there are connections remaining open and causing any additional requests to the site to get the 503 Service Unavailable Error. What I can see from my end is that only 1 request is ever allowed to be made to wikipediamaze.com at a time. If you keep refreshing the page you'll eventually get the HTML but all subsequent requests (css,images,js) all get the 503 error. Even pages that don't ever call out to wikipedia.org.

If it was an issue with connection throttling in IIS, do both incoming and outgoing (requests made internally) fall in to the same bucket? If I'm sure all of my connections are being closed (and I've never had this issue before) what else could cause this?

View 1 Replies

SQL Reporting :: Concurrent Report To PDF Not Working?

May 10, 2010

I have written a code using SRS 2005 where report will download in PDF/EXCEL format. All work fines except when we downoad same report concurrenlty.

When same report is downloaded by 4-5 users simultaneously some of the users get error:

Exception:System.Net.WebException: The request failed with HTTP status 405: Method Not Allowed at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)

for this error on web it is mentioned that, try to use .asmx instead of .wsdl but I called asmx only.The reports works fine for single user when downloaded. Why sometimes it is not working? Is the issue with SRS web service

View 1 Replies

C# - Handling Concurrent File Writes?

Dec 29, 2010

I am developing an ASP.NET application that takes user input and serializes them into a text file. Now, when a second update request comes while the file is still being written, an IOException will be generated.How do I handle concurrent update request to this file?

View 2 Replies

VS 2005 PageMethods Is Undefined / How To Fix This Error

Jan 17, 2010

i got this error "PageMethods is undefined" on my AjaxEnabledWebsite. Any one had the same problem?

Client Side Code:

[code]....

View 6 Replies

AJAX :: Executing Code From Js Pagemethods?

Jul 15, 2010

I wrote a code to call some event...

[Code]....

and

[Code]....

js calls this code and I get object reference not set to an instance of an object

View 7 Replies

Web Forms :: PageMethods Is 'Undefined'' Error?

May 11, 2010

PageMethods Is 'Undefined'' errorI am trying to call a c# function from javascript when the user navigates away from this page. I am using a master.page. I have this script on the page:

<script>
window.onbeforeunload = CallMe;
function CallMe() {

[code]...

View 8 Replies

DataSource Controls :: DropDownList And PageMethods?

Jun 22, 2010

[Code]....

DropDownList and PageMethods?

View 3 Replies







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