C# - Unable To Load Webpage After Doing AJAX Request?
Sep 21, 2010
I have a page that does an AJAX request. This request can take a while to complete, sometimes over a minute. This is not an issue.
During the AJAX request I am unable to load any other pages on the website. This is the same for any web browser.
I understand that there are connection limits in the browser, IIS and ASP.NET - but all of them allow at least 2 connections.
I am using IIS7 and ASP.NET 4.0.
I have made some sample code that demonstrates the issue. The code is here: [URL]
See a video of the issue here: [URL] You can see in the video the 2nd tab that is opened does not return a page until the AJAX request is complete.
View 3 Replies
Similar Messages:
Dec 17, 2010
I am working on a financial portal and I am having a problem..I don;t know what to call it so i mentioned it as an 'unknown to me' problem..I have a webpage..whenever I click on any button on my webpage, the request goes through..but nothing show up on the webpage..then If I click on another link and then again come back to previous link,then only I see the results of button_click..
e.g.
I have a currency conversion and investment form..so after filling up the form in following way and if I click on "INVEST" then nothing shows up..
so now if i click on any other link and go back to 'buy currency' link I see the result as 'investment successful'
View 3 Replies
Mar 2, 2011
Asp.net.3.5 ajax + jquery
Well I am including the .js files on preRender event and before of the first post back its working - but filed to load after the postback
[Code]....
View 3 Replies
Aug 17, 2010
am trying to get URL of the page that referred the request to my page, i tried the "
[Code]....
[Code]....
[Code]....
[Code]....
View 5 Replies
Sep 6, 2010
I'm using Visual Studio 2008 and i downloaded the toolkit from Codeplex,I downloaded the zip file which i've marked red in the below link..This is my code, [Code]....
& this is the error i get," Could not load type 'System.Web.UI.ScriptReferenceBase' from assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' "
I saw this post,http://forums.asp.net/p/1273185/3439540.aspx and
i changed my TOOLSCRIPTMANAGER into SCRIPTMANAGER & now i get this error
http://forums.asp.net/t/1529516.aspx
View 5 Replies
Mar 16, 2011
we are creating a custom content management and out portal page is bit bulky it is about 60Kb without images.
and during loading the page in some browser we can see some parts of site load faster than the other parts of the site where as we want to indicate (or instruct the web server) to load some of the areas first then load rest of the page.
is there any particular setting in IIS for is there any particular method in classic asp for doing that?
also I have the same question in asp.net.
View 1 Replies
Feb 18, 2011
I am trying to check the connection with one of active IBM MQ's but I am getting this error.. Unable to load DLL 'amqxcs2.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
I am using the following code..
Included amqmdnet.dll and amqmdxcs.dll in bin and gave the same reference to the project.
using IBM.WMQ;
using IBM.WMQ.PCF;
View 1 Replies
Oct 11, 2010
i have installed ajax control kit successfully and all controls already came in toolbar tab named "Ajax Control toolkit"But when i try to design any page using with ajax control toolkit, follow error is coming:
Could not load type 'System.Web.UI.ScriptReferenceBase' from assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.TypeLoadException: Could not load type 'System.Web.UI.ScriptReferenceBase' from assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Source Error:[Code]....
Stack Trace: [Code]....
[TypeLoadException: Could not load type 'System.Web.UI.ScriptReferenceBase' from assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.]
AjaxControlToolkit.ToolkitScriptManager.OnResolveScriptReference(ScriptReferenceEventArgs e) in [code]...
I am using VIsual Studio 2008 , framework 3.5 but i don't know why in error information version is showing 2.0
i install tool kit according 3.5 framework.also note, framework built-in ajax tags i can use fine and they work properly.
View 1 Replies
Oct 13, 2010
when First user request the webpage called for ex(http://xxxx.aspx) page,at the same time
when the second user request the same page (http://xxxx.aspx).
i have to get the message "Already User is using this page try after some time ".
View 2 Replies
Jan 8, 2010
We have a Web Application (WebApplication A) which is in place and serving fine, we are working on another WebApplication which will use the Engine of Existing Web Application (WebApplication B) to some extent.
Problem: WebApplication A responds when a http request is made for a resource, like LatestPost.aspx, which passes it down to relevant class / Module like FrontManager.cs. I want to know how can we access that Module / class (FrontManager.cs) from WebApplication B, without requesting a Web Page ?
View 2 Replies
May 12, 2010
I am using an SMS Gateway to make my application receive SMSs. For this, the SMS Gateway sends a request to one of the pages in my application with the message as a querystring parameter. eg.[URL]. Now after my page gets invoked, I need to send an OK response to the SMS Gateway so that it doesn't keep retrying to send the same message to my application again and again. I cannot figure out how to send the OK response.
View 1 Replies
Jul 22, 2010
there are a form in a page like this :
[URL]
how we can request that form dynamically and make it in my webform ?
View 5 Replies
Nov 25, 2010
I am trying to redirect to a .aspx page from a controller within my application using following method
[Code]....
[Code]....
[Code]....
View 4 Replies
Sep 2, 2010
I have made web service, when it is accessed by remote computer to send me the data using this web service then the following errors shows on the remote computer:-
"Server was unable to process request..A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)"
View 1 Replies
Feb 24, 2011
I am opening a popup window on a javascript like this:
openPop("/directory/File.aspx?name=" + strSession,
"550", "800")
I want to encode a Session variable that is in strSession. I have tried the following options but when the popup opens the variable is always visible, unencoded, in the browser address window.
strSession = HttpUtility.HtmlEncode(strSession)
strSession = Server.UrlEncode(strSession)
View 2 Replies
Jan 27, 2011
I am trying to call a webservice and i am receiving the following error
Server was unable to process request -- > object reference not set to an instance of object .
Steps done for calling the webservice
1) created a wrapper class using wsdl.exe tool
syntax :- wsdl.exe /l:vb <url.asmx?wsdl>
<url.asmx?wsdl> is the url of the webservice to be called.
2) Imports <webservicenamespace>
[Code]....
3) while checking the trace Its occuring while invoking the webservice function
object[] results = this.Invoke(<webservicefunction(parameters)>)
View 4 Replies
Jun 11, 2010
I set up my 1.1 and 2.0 applications to run on the same website (in different app pools) But the application written in 2.0 code cannot read a cookie on the request coming from a different system.Similar code reads the cookie on the 1.1 website.If I deploy my 2.0 application on a different machine, the code works fine and gets the cookie. Here's the code:
IsNothing(Request.Cookies("HRWebSession"))
In 1.1 application the above returns false, and in 2.0 above returns true. On debugging and watching the value of response,cookies, I dont see the cookie. Since the same application works fine on another server, I am assuming there is some error in my setup. I am using IIS 6 on W2003 r2.
View 4 Replies
Nov 15, 2010
i have a usercontrol which displays 1 inage this control is used several times on my page. the problem i have some images can be large so i need to load them using http request i think, i want to display a loading image until the actual image is loaded, what would be the best way to do this?
View 2 Replies
Jan 18, 2010
I have published ASP.NET web site, using IIS7 on Win7. I can access this web site on my localhost, but it is inaccessable from other computers via internet. I have tried to disable firewall and anti-virus program, but with no success.
Does anyone know what may be causing this problem?
It works fine if I publish it on winXP.
View 4 Replies
Aug 11, 2010
Me with C# asp.net, In my web page I have an Iframe. I want to load another site in this Iframe and switch between diffrent pages in that loaded site with in this Iframe How I can do this?
View 2 Replies
Mar 23, 2010
When I am trying to invoke a method using a proxy class i get error
"System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.NullReferenceException: Object reference not set to an instance of an object. at ..."
View 2 Replies
Aug 12, 2010
i got the mp3 file read as byte[] from the database. how to show this byte[] /assign to which control to make the mp3 load and play in aspx webpage.how to load the mp3 song and display it in webpage?
or. how to download the file?
View 2 Replies
Nov 29, 2010
How to load a user control dynamically in a page?
I have a page that contains radioButtons. Each click on a radio button loads a user control (.ascx) in the page.
What I am doing is loading all controls at the same time, but set their visibility to false. When a user clicks a radiobutton I set the visibility of the specific user control to true.
As a result I am loading all the user controls on each postback.
View 3 Replies
Sep 2, 2010
I tried passing in the name of the file via querstrying but it looks like flowplayer wants to load it before the Request.Querstring["videoName"] value is retrieved.
How can I do this?
View 2 Replies
Sep 6, 2010
I have a ASP.NET MVC 1.0 app.I have a listbox on the page and I want to pass an array to the webpage so that
javascript can use the array to do some processing depending on the item picked in the listbox.So I thought the best way is to pass JSON data to the webpage on load.So what is the best practice on how to do this?Can you please give me a brief step by step process.How do pass the array as JSON and how do I access it by index?
View 1 Replies