Web Forms :: 'Page Could Not Be Displayed' Error When Application Performing Heavy Task

Jun 23, 2010

I have set executionTimeout in web.config to 3600 (which I found out that the scripttimeout will follow this value), and in the production server, I have set debug=false, session time out = 20 min. sql command time out = 1200 seconds

However, when the application is performing heavy sql task that exceed 90seconds, I got the 'Page Could Not be Displayed' error.

When I change debug=true, the application works fine. The application also works fine when I turn off the 'Show HTTP friendly message'.

View 4 Replies


Similar Messages:

Web Forms :: Any Exception Thrown By Application Displayed As Javascript Error

Mar 17, 2011

Recently I have upgraded my app from .net 2.0 to 4.0. By running application under .net 4.0 I get one strange behaviour. Whenever application throw any error, instead of displaying it in browser with call stack, the error is shown in the browser's error window as javascript error and the whole web page remain as it is. is it feature of .net 4.0 or I need to do some settings to display error in web page.

View 3 Replies

Web Forms :: Error / The XML Page Cannot Be Displayed

Jul 31, 2013

I am new in ASP.net and working with 4.0 framework. My problem is that when i paste all page with directory into local iis configured directory inetputwwwroot , and try to run it with

browser http://localhost/webpage1/default.aspx/

it gives an error message

"The XML page cannot be displayed

Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.

A name was started with an invalid character. Error processing resource 'file:///C:/inetpub/wwwroot/WebSite3/Default.aspx'....

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %> -^"

View 1 Replies

DataSource Controls :: Web Application Crashing Due To Heavy Data?

Mar 13, 2010

In my application i am getting data fROM sql server 2008.It is coming from collection of nearly 12 tables. I have to fillter this data in my application and of fillter data i have to write Xml.

my problem is that to fillter i need to that retrieve data to hold in my application and to achieve this i am using the help of dataset and datatable.But most of time when i am running application ,my application getting hang and very slow OR getting crashes.

View 1 Replies

How To Handle Heavy Page

Feb 26, 2011

I have been asked to design & develop a page in asp.net which contains 7 tabs. Each table contains 2 Editable gridview & clicking on gridview cell should open a popup & that popup will open a new popup ( I would say nested popup). Even when I switch from one tab to another. It should hold the griddata & whenever user will finish all the operations he/she will click on save button which will save all the data contained in the tabs. The page is really too heavy. It will definitely take a long time to load as it contains gridview operations, popup related jobs, tab data & tab switching. I am finding the best way I can achieve this with an acceptable speed of operation.

View 3 Replies

Application Loses Authentication When Performing Redirect To A Virtual Directory?

May 3, 2010

I have the following setup:

[URL]

[URL]

Each virtual directory is configured on IIS6.0 as an application with own AppPool.

When redirecting authenticated user from dir1 to dir2 using response.redirect I lose authentication information for the user and the user is being redirected to the login page. This issue was not coming up with each app (dir1 and dir2) were configured under subdomain, ex: [URL]

I have resolved the issue by adding a machine key to the machine.config file.

View 2 Replies

Generate Runtime Xml / File When Opens Gives The Error Page Cannot Be Displayed?

Jul 16, 2010

i have genarated a xml file through the asp.net code as

public bool createxml()
{
DataSet ds = new DataSet();
clsRegister obj = new clsRegister();
int i = 0;
string strpath = string.Empty;
XmlTextWriter objwriter = new XmlTextWriter(Console.Out);
ds = obj.searchgallery(4);
try
{
strpath = "d:\hellojhasi\glance\jhansigallery\gallery.xml";
objwriter = new XmlTextWriter(strpath, System.Text.Encoding.Default);
if (ds.Tables[0].Rows.Count > 0)
{
for (i = 0; i < ds.Tables[0].Rows.Count; i++)
{
objwriter.WriteStartElement("picturegallery");
objwriter.WriteElementString("fullimage", ds.Tables[0].Rows[i]["fullimage"].ToString());
objwriter.WriteElementString("thumbnail", ds.Tables[0].Rows[i]["thumbnail"].ToString());
objwriter.WriteElementString("title", ds.Tables[0].Rows[i]["title"].ToString());
objwriter.WriteElementString("description", ds.Tables[0].Rows[i]["description"].ToString());
objwriter.WriteElementString("height", ds.Tables[0].Rows[i]["height"].ToString());
objwriter.WriteElementString("width", ds.Tables[0].Rows[i]["width"].ToString());
objwriter.WriteEndElement();
}
}
else
{
objwriter.WriteEndElement();
}
objwriter.Flush();
}
catch (Exception e)
{
}
return true;
}

the code executed well.but the xml file when opens gives the following error

The XML page cannot be displayed Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.

Only one top level element is allowed in an XML document. Error processing resource 'file:///D:/HelloJhasi/glance/jhansigal...

View 1 Replies

Web Forms :: Page Events - Show Page Contents Before Running Task

Jul 15, 2010

I'm trying to create a page that displays a databound gridview to the user showing them the items being processed. Then the page should immediately begin processing. The problem is that the page never shows the gridview (or any other control) until the process is complete. The process is being sent to a WCF service. I've tried setting the page to async and running the wcf in async mode but the content still fails to display.

View 1 Replies

Architecture :: Designing Heavy Page (Takes Time To Load)

Aug 17, 2010

What should be the approach while designing when you know that your page would take considerable time to load? e.g. if it has controls which are heavy & some which are lighter? Can we make use of any of the design patterns to solve this issue?

View 4 Replies

AJAX :: WebSite Performance Decreasing Due To Heavy Page Size

Apr 10, 2012

In my website for one project we have 5000+ records in sql database. If I give page size is 100 for gridview then the paze size showing 800kb in firebug net panel and it is taking 20-30 seconds to load webpage. If I give page size is 10 for gridview then the paze size showing 160kb in firebug net panel and it is taking 5-6 seconds to load webpage.  If I give page size is 5for gridview then the paze size showing 130kb in firebug net panel and it is taking less than 6 seconds to load webpage. I noticed that due to heavy paze size the performance decreasing but as per my requirent the paze size should be 100 or above and the page should be load less than 2 seconds.

Note: I am using Ajax Update panels

View 1 Replies

How To Close Automatically Web Application After Completing Task

Nov 2, 2010

I have developed a web application which downloads files from FTP server. I want to run this application every day at 09:00 and automatically closed when the job is done.

I tried javascripts "window.close, self.close etc" but couldn't workd.

It is worth mentioning that the website is hosted on Windows Server 2003.

View 4 Replies

Forms Data Controls :: Faster Loading With Data Heavy Page

Aug 10, 2010

I am trying to find the best way to have a page with a lot of data from queries to a database load faster. Looking at [URL], when viewing information about a domain, I see that their page loads and each section has a loading symbol, so the page itself displays fast and the data comes when it is available. How do they do this? Update panels around each section with a call to a Web Service? Also, Google AdWords seems to do this too when you load the Ads or Keywords tabs of a Campaign.

View 3 Replies

Ssis - Performing Bulk Processing In Page?

Jan 19, 2010

We need the ability to send out automatic emails when certain dates occur or when some business conditions are met. We are setting up this system to work with an existing ASP.NET website. I've had a chat with one of the other devs here and had a discussion of some of the issues.Things to note:All the information we need is already modelled in the ASP.NET websiteThere is some business-logic that is required for the email generation which is also in the website alreadyWe decided that the ideal solution was to have a separate executable that is scheduled to run overnight and do the processing and emailing. This solution has 2 main problems:If the website was updated (business logic or model) but the executable was accidentally missed then the executable could stop sending emails, or worse, be sending them based on outdated logic.We are hoping to use something like this to use UserControls to template the emails, which I don't believe is possible outside of an ASP.NET websiteThe first problem could have been avoided with build and deployment scripts (which we're looking into at the moment anyway), but I don't think we can get around the second problem.So the solution we decided on is to have an ASP.NET page that is called regularly by SSIS and to have that do a set amount of processing (say 30 seconds) and then return. I know an ASP.NET page is not the ideal place to be doing this kind of processing but this seems to best meet our requirements. We considered spawning a new thread (not from the worker pool) to do the processing but decided that if we did that we couldn't use the page returned to signify a success or failure. By processing within the page's life-cycle we can use the page content to give an indication of how the processing went.So the question is:re there

View 6 Replies

Elect One Web Application Instance To Perform A Task Triggered By An External Event?

Mar 4, 2010

I have an ASP.NET application running on multiple IIS6 web servers, with a SQL Server 2005 database back-end.

I need to:

monitor the database for the completion of an external job event, and then have exactly one web application instance submit some information to a web service For (1) it seems like a SqlDependency would be the best approach (or just plain old polling). Each web application instance would register such a dependency when it starts up. (I don't want to configure a 'master' instance because the failure of that instance would mean the task doesn't proceed, even if other instances are available. Thus my design is to ensure that if there is an instance available to do the work, then the work ought to proceed.)

For (2) I have been thinking of having some sort of flag in the database that the web application instances try to update once they receive the SqlDependency notification in (1), along the following line (greatly simplified):

UPDATE StatusTable SET TaskStatus = 1 WHERE TaskStatus = 0

SELECT @@ROWCOUNT

that only one application instance would have been able to update the TaskStatus, and thus only one instance would have a @@ROWCOUNT > 0. This would then be the instance 'elected' to submit the information to the web service.

View 1 Replies

Config Transformations And TransformXml Task Failed Error Message?

Mar 25, 2010

I've just enabled config transformations on a .NET 3.5 project in VS2010 RC after watching Scott Hanselman's video on web deployment. Unfortunately every time I go to publish I now get the following error:

The "TransformXml" task failed
unexpectedly.
System.UriFormatException: Invalid

[code]...

If I take a brand new VS2010 web application which already has the configtransformations by default I don't have a problem so I suspect my issue is project related.

View 1 Replies

SQL Reporting :: Report Timeout - Getting Error Like "Page Can Not Be Displayed" ?

Aug 10, 2010

The reports accessed by Branch users is gets time out, they are getting error like "Page can not be displayed" or asking again userid and password window. This error generally occurs when we select selection parameter of the report or sometime when click
in view report option.

At branch end some of the other reports doesnot have such problems, they are opening. but i doesnt know why such prob comes in these reports.My branch user is connected to the Windows server 2003 s2, sql 2005 with VPN.

Actaully the problem only occuring in branch offices, all the locally end user there is not any problems.

View 1 Replies

Facebook-like Error Giving / "Page Can Not Be Displayed. Try Again"?

Feb 1, 2011

Today I was sending some messages to my friends on Facebook. My friend by accident plug-out my network cable and I didn't see my connection lost. When I tried to send my message, Facebook gave me a little error on message sendin window, but Facebook was looking very good as when my connection online. When connection losts during form or data sending/receiving process on my Asp.NET web sites. Standart "Page can not be displayed. Try again." page shows up. How can we do it like facebook?

View 1 Replies

While Trying To Run The Login Page Received Error:Server Error In '/' Application?

Oct 2, 2010

created website in VS2008 with createuser and login page.I was able to run the createuser page, but while trying to run the login page i received error:Server Error in '/' application.resources not found.

View 1 Replies

How To Schedule The Task To Execute Page

Sep 1, 2010

I am creating a feature which will allow users to import data of excel sheet to database.First, data will be imported from excel sheet and will be displayed in a tabular format.User performs a mapping porcess for database fields and click Submit button.Then a stored procedure inserts all the data of each row into more than 15 tables.

Above mentioned process might cause an issue if users import more than 1000 records (they are definitely going to do that. Thats why this entire functionality is intended for).Basically, what I would like to do is, Insert all the rows to a single table (Temp table), have a cloumn in a table which will be a flag and initially, will be set to "Pending".Create a page which will be executed when there are less users accessing the system (Specific time),

This page will see if there are records in a temp table with FLAG "Pending". If yes then it will fetch one record from the table and will insert data of first row into all the necessary tables. After first transaction it will wait for some time and will fetch the second record....This will last until the final row of temp table is reached.

View 3 Replies

Web Forms :: Validation / Error Messages Are Displayed When Click?

Apr 14, 2010

I have a text box for entering Email Id and other for Password

I have a LinkButton(text= forgot Password) and an ImageButton(text =SignIn)

Validation Rule as follows.

1.When i click theLinkButton Email ID is mandatory

2. When i click the signin btn both Email and Password are mandatory

So for the above validation i have a two Required field validator one with validation group as signin and other as forgot

and next two RegularExpressionValidator with validation group as signin and other as forgot .

for the LinkButton and ImageButton I set the validation group as signin and forgot,

Problem

When i click on any of the buttons Error Messages are displated twice...

IS there are any simple way to do this...

COde

<asp:TextBox ID="txtUserID" runat="server" TabIndex="1"></asp:TextBox>

View 5 Replies

Web Forms :: Ajax Makes Website Heavy?

Jun 1, 2010

Just wanna ask every one, does excess use of Ajax in ASP.NET makes website heavy?

If it does, then when to use and when to not use ajax control?

View 4 Replies

Forms Data Controls :: Web Application To Go To User's Error Page

Mar 6, 2010

I can't catch what error is causing my web app to go to the user's error page when I use Profile.Save. I use the following code and nothing is caught:

[Code]....

Any ideas on why this doesn't catch the error, or where the error might be coming from?

View 5 Replies

Web Forms :: Master Page Works As It's Supposed Too For Each Web Page That Gets Displayed?

Apr 27, 2010

I'm using ASP.NET 3.5I have created a Master Page. The master page is simple. It has a table at the top which has the colors and rows and columns and text that I need on each web page that gets displayed. Beneath the table I have a ContentPlaceHolder. The master page works as it's supposed too for each web page that gets displayed.My question is that I have this header at the top and then the ContentPlaceHolder, but how do I add a Footer to the Master Page? The footer naturally needs to be at the bootom of the Master Page!How do you add a footer and make it remain after the ContentPlaceHolder at the bootom of the Master Page?

View 4 Replies

Web Forms :: HTML Encode Not Performing?

Apr 22, 2010

I have a listview in a User Control. It uses FreeTextBox for one of the fields.

I do not want to utilize

[Code]....

Here is my code from the listview edit item template:

[Code]....

What else can I do to not have the validate request set to false and still get beyond the error?

View 4 Replies

Unable To Get Images Displayed After Uploading Application?

May 24, 2010

i am getting the images in my localhost.But when i am uploading my project the images are not displayed.

I am saving my images in "~/App_Themes/darkOrange/images/button_line.jpg".

Is their is another method for giving image path in ASP.Net.

View 2 Replies







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