IE Hangs On Web Site When Contacting Web Service?
Feb 18, 2010
I have a website that seems to be Ok in Mozilla but when I access some pages in IE (mostly the ones where it has to contact a web service) the page hangs. If I refresh and then click the same button again, it seems to work fine 90% of the time. As mentioned, the same features work flawlessly in Mozilla.I am not really sure where I need to go to start debugging this but does anyone have any ideas on a cause?The website is hosted on my machine which is running on localhost using IIS7 on Vista and the web service is hosted in the same place. (So all it should need to do is contact itself). Its is an ASP.NET website running framework 2.0 (something)
View 1 Replies
Similar Messages:
Oct 4, 2010
Developing a website in ASP.net. On the development site all is working fine.We decide to publish the site using visual studio 2008's publish mechanism.The publish goes flawless.When we go to the live site, it hangs anywhere from 2 minutes to 30 minutes before it starts serving pages.All other sites on the same server seem to work fine.If we reboot the server it starts serving pages right away.It is not a programming issue, as once the site kicks in all seems to work fine.VS 2008, .NET 3.5, On both IIS 6.0 and 7.5
View 3 Replies
Nov 11, 2010
have a web application hosted on Windows Server 2003 SP2 with IIS 6. I use ASP.net Web Forms and ASP.net AJAX.Some times, when clicking on a button to perform an action the web application does bot respond to the user.After debugging i have found that ErrorSys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 413
View 3 Replies
Jan 5, 2011
I have asp.net 2.0 site which is calling web services hosted on another server. When i have an xml file from where web service ip for eg. www.mysite/webservice1/myservice.asmx is given. When i call the same server from developer machine using local networkit works fine.But the same is when hosted remotely and from client end when services is called reading xml fiile from client machine it given a message 'remote server not connecting'.
View 1 Replies
Nov 30, 2010
We are trying to implment some forms written in ASP.NET 2.0 and I'm trying to understand what Windows server version requirements are needed when contacting a web hosting provider etc? I see there are many versions from 1.0, 2.0, 3.5 and 4.0 which appears to be the latest version, well as far as I can see. Therefore if we sign up for hosting services and the provider only have only version 4 will this be backward compatible to support our ASP.NET 2.0 forms?
View 3 Replies
Aug 31, 2010
Is it possible to have a web Service and Website in the same application. The web service would be [URL] and website [URL] Both would share the same code for logic and data access
View 8 Replies
Jan 25, 2011
I'm trying to consume a WSE enabled Web Service from an ASP.NET Web Site.I've installed WSE 3.0, used the config tool to add WSE info to my web.config and then done an Add Web Reference.I believe that the problem may be that this is a Web SITE, not a Web APPLICATION. As such, the proxy class is generated at runtime, perhaps not adding the WSE magic.I can access the proxy class from metadata, and it's of typeSystem.Web.Services.Protocols.SoapHttpClientProtocol, which as far as I can tell doesn't have any WSE functionality.I realize that this is all old technology, but I don't get to decide what the servers run :(
View 1 Replies
Feb 20, 2010
I want to pull down a feed (like twitter) and place in on a page using javascript (jquery). Ultimately, the "service" just needs to hand off JSON. I created a web service that allows me to do that, sort of. I don't know if using a stream reader is all that efficient and I was a little bothered by having to use what amounts to 2 evals on the clientside.
My question is twofold: is there a better method than using a web service and two, is there a problem with my implementation?
asmx:
[WebMethod]
public string World()
{
WebRequest request = WebRequest.Create("http://twitter.com/statuses/user_timeline/username.json?count=1");
HttpWebResponse response = (HttpWebResponse)request.GetResponse();
StreamReader reader = new StreamReader(response.GetResponseStream());
string tmp = reader.ReadToEnd();
response.Close();
reader.Close();
return tmp;
}
aspx
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js" type="text/javascript"></script>
<script>
$(document).ready(function() {
$.ajax({
url: "WebService1.asmx/twitter",
type: "POST",
data: "{}",
contentType: "application/json; charset=utf-8",
dataType: "json",
success: function(obj) {
var t = eval(obj.d)[0].text;
$('div').html(t);
}
})
});
</script>
View 2 Replies
Sep 27, 2010
I am building a web service which uses some of an existing web site's methods. However, some classes and methods cannot be used (for example Redirect - which obivously throws an exception when not invoked from a web site's context).
Now I came to a section in code where
HttpContext.Current.Application.Get(keyNames.EncodedKey) Is used. (Where keyNames is a struct, and EncodedKey is a string.)but HttpContext.Current is null..
What is a valid substitution for HttpContext.Current.Application.Get?
I should mention that I've only checked this from a unit test, not the web service itself and following Darin's answer I realize that is the problem, so the question now is- how to mock HttpContext.Current(using moq)?
View 1 Replies
Sep 30, 2010
I am planning to build a news publication website that should be automatically scalable when traffic is increasing. I have good experience in developing web applications using ASP.NET and PHP. To move forward on selection of specific technology here are some questions for which I need some clarifications.
My primary intention is to reduce the hosting charges. If we choose LAMP this will cost lower than ASP.NET on Windows. As my intention is to host web application on cloud service, will this make any difference? Means, for dedicated servers we need to pay extra cost for Windows O/S if you compare it with Linux. If we go for cloud servers, will they charge anything for O/S for each instance or will they just charge on computation hours irrespective of Operating System?
Do we have complete control (like dedicated server) on cloud instance to install any other softwares?
Do we need to host web server and and database server on multiple instances when traffic is increasing or will a big size instance can handle huge traffic?
View 5 Replies
Aug 3, 2010
I'm trying to get a visualisation of the status of a service - By visulisation, I mean a telerik tool tip, or a label or something like that!
My site is going to be used in an intranet environment and i need on page load to find whether a specific service on a remote server is running. I have googled and found various little bits and pieces, but nothing seems to have worked for me so far!
View 5 Replies
Sep 9, 2010
I am trying to have a marker show whether or not a particular service within the services.msc is running on a remote server(s). I have a service called Yardi Services on a virtual server. I want to be able to show on a dashboard I am creating for work, whether this service in running or stopped. For some reason this service will randomly stop though I have a auto restart on error. I am assuming that I would need to create a web service or use WMI?
View 2 Replies
Apr 17, 2010
Yesterday I added a custom MembershipProvider to an ASP.NET web application, but when I deployed the application to its remote host server, it failed. I know I had the login info correct, and I also know that for nearly any exception in the login process, the Login control displays the standard error message, "Your login failed", so I assume something is wrong in the code/config.
What can I do to diagnose what is wrong on the server?
BTW: This weekend I only have FTP access to the server, so no event log, and CustomErrors is already set to Off.
THE END: I was an idiot, and using the wrong query window to check if the my login actually existed on the server.
View 1 Replies
Sep 3, 2010
I have multiple PDFs coming from a report generator and I want to merge them to a single document. The merging process must run in a web site or WCF web service environment (Framework 4.0, IIS 7.5). Is there a component, open source or commercial, to accomplish this?In my process I get the PDFs as streams. If I have the choice, I would prefer a merging method, working directly on these streams - without file representations.
View 2 Replies
Jan 7, 2011
We've recently been experiencing an SSRS (SQL Server 2008) report displayed in an ASP.NET web application using the ReportViewer control (Microsoft.ReportViewer.WebForms,Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a) hanging when rendering a report with over 100 rows and causing Internet Explorer (6, 7, 8) to use 100% (of one core) of CPU.The report renders quickly in Firefox (and doesn't use high CPU).
View 1 Replies
Jun 18, 2010
Visual Studio 2010 hangs up more tha 20 times in a working day. I'm thinking of going back to 2008 but that is such a hassle. Mostly it hangs when debugging starts and when I open a xaml file. I'm doing silverlight/WCF development.I have HP I7 laptop, 8gig, windows 7 64bit.
View 4 Replies
Jun 16, 2010
When I try to start my application in debug mode (F5), 1 out of three times IE opens with a blank screen, and Visual Web Developer says it cannot start the application. Sometimes it also says "Element not found". I can only shut down IE by using the task manager.
View 6 Replies
May 24, 2010
I'm having a simple ASP.NET application hosted on my local IIS6, under Vista.It contains a button that when I click I execute a piece of code for recognizing the text in a WAV file (using the System.Speach.Recognition.SpeechRecognition class) and display the text in a label.
The code works great on a desktop application, and it almost works on the web one... I say almost, because if I debug, I can see that the recognizer returns the correct text from the WAV, I can see that I am finishing the handler for the button click with no error, but nothing gets displayed in my page, and the page appears like loading... it's hanging, or something... No errors, no timeout, nothing. Just loading...
I don't know if this detail helps, but in order to make the piece of code that was already working on the desktop application work on the web application, I had to set the identity of the ApplicationPool of my application to LocalSystem (security breach, I know). Otherwise, I would have received a Access Denied error (0x80070005(E_ACCESSDENIED)).
View 1 Replies
May 1, 2010
We have an ASP.NET 3.5 application that has been in production for over a year. Our last release was a couple of months ago. We use CSS for styling and application of background images to divs and such. The server is Windows 2003 with IIS.
Suddenly, this week, we have had reports from some users that the page seems to hang up while loading. The status bar was showing the name of a background image used in the page main area (assigned in CSS). At our office, some of us could recreate the problem, while others could not. IE6 and Firefox do not seem to be affected, only IE7/8. Running Fiddler on an affected machine and trying to see what was happening with the requests seemed to make the problem go away (while running through Fiddler, it returned when not). Hitting Refresh on a hung load often made the page load just fine.
I checked the background image, and even replaced it with an archived copy. No joy. We re-deployed the app from our production source. No Joy. We restarted IIS and eventually rebooted the whole server. There are no unusual entries in the event logs, the app logs or the IIS logs. Finally, I removed the image entirely and re-styled the page not to use a background image. That solved the problem at least for now.
However, we have reports of other images "hanging." The images are PNGs, but I have heard some rumors that sometimes a GIF hangs, but I have no screenshot to confirm.
This just started happening "out of the blue." There have been no releases or updates applied to the server recently. We even checked updates on clients to see if a recent Windows Update might have caused this on the client, but there was nothing updated within the last couple of weeks.
View 4 Replies
Mar 14, 2011
I have a development box running Win7 and VS2010. A User Acceptance Testing server running Windows Server 2008 / Sql Server 2008 and a Live server running Windows Server 2008 / Sql 2008.
When doing development I connect to a development database on the UAT server.
I have a problem that only occurs when I change the connection string to point to the database on the Live Server.
So, before I start describing the problem - the app works fine in development and when published to the UAT server - but there is a problem when I either publish it to the live server or, whilst on my dev box, point the connection string to the live database.
Here's an example.
I have a page with a gridview on it. In each row of the gridview there is a drop down list. All calls to the database are done through a Data Access class.
Say I have a function on an .aspx.cs page called GetDetails().
In this - to populate the Gridview I'll have something like ...
Code:
[code]....
View 10 Replies
Feb 19, 2010
I am using update panel and Tab container of Visual Studio 2008 (VB .NET) in my pages, but in one of the pages I am having a problem. The page structure is something like a List Tab and Details Tabs. On page load LIST tab is visible and other tabs invisible. User clicks on a record and click Modify button. Then List tab gets invisible and other details tabs (4 of them) visible. Here I have OK (to save data) and CANCEL (do not save the data) buttons. On which the list tab again gets visible and other tabs invisible. Now here I am facing a problem. I have same functionality on my other pages also. But in this page when I click on OK or CANCEL button my application hangs after END SUB. My whole click event of both the buttons runs fine up to END SUB but after that the problem starts.
View 2 Replies
Apr 27, 2010
I start learning ASP.NET few days. I don't know why my computer hangs when I debug my very simple application? My computer hangs, not only IDE hangs?
View 1 Replies
Sep 28, 2010
I'm generating reports on the fly using the great SpreadSheetGear tool. At first things were great because the reports were simple and done in under 1 second. Now I'm at more complex reports and they are taking about 30 seconds up to 1 minute. This isn't a problem, we just throw up an activity image and let the user wait, fine by us.
The problem I've found is when two users come to the site.
User 1 comes to the site
User 1 runs a report that takes 30 seconds.
User 2 comes to the site
User 2 waits until user 1 report is done then the page loads.
The report running for User 1 hangs up the site until it's done. What is going on and how can I fix this?
View 2 Replies
Jun 1, 2010
I have a Main page containing links to five other pages. each page has a button which does some job using Thread. Problem is when i open a window from main page and click the button, The Process starts but if now i want to open another page from main window it doesn't load untill that previous page loads fully(when thread ends). I am not using any session variable on my page.
View 2 Replies
Nov 24, 2010
I have a web application which hangs after clicking a checkbox which is set to autopostback. This checkbox is supposed to do some process.
It didn't fire the OnPreLoad and the OnLoad events.
Below are the codes
protected override void BindReference()
{
BindComboBox(ref rcbPortfolioId, CNPL_Portfolio.GetPortfolioDicWithAll());
BindComboBox(ref rcbProductId, CNPL_Product.GetProductDicWithAll());
BindComboBox(ref rcbNewAgencyId, CNPL_Agency.GetAgencyDicWithAll());
BindComboBox(ref rcbPreviousAgencyId, CNPL_Agency.GetAgencyDicWithAll());
[Code]....
View 2 Replies