Web Forms :: When The Page Is Loading First Time It Is Working Fine With Out Any Error?

Jan 18, 2010

last from the few days I am getting the following error in my production server("Index was outside the bounds of the array".).The follwoing error is coming in the webpartclass before adding the usercontrol to webpart.Strangely when the page is loading first time it is working fine with out any error.After 5,6 clicks in my page the above error is coming. It is working fine in my local machine and in development server.

The problem is only in production server.

base.CreateChildControls(); OTBTWorkshop = (UserControl)Page.LoadControl(@"~/_layouts/UserControls/tets/teest.ascx"); this.Controls.Add(OTBTWorkshop);

View 2 Replies


Similar Messages:

App Working Fine In Localhost But Giving Runtime Error In Remote Machines

Apr 4, 2012

The title says it all. After a lot of problems with a simple app we use at my workplace, I decided to redo the app again for .NET4 and add some refactoring.

Upon uploading said app, the website runs well on the local host in iis 7.5 Windows server 2008 r2. But when I try to access it on remote machines the server lists a runtime error.

View 6 Replies

AJAX :: Application Is Working Fine In Local, But It Is Giving JavaScript Error After Deploy In Dev Server

Jul 19, 2010

I am working on ASP.NET Ajax site. Application is working fine when I run in my local machine, but same code if I place in Server then it is giving "SpanID is undefined" Javascript error. I found error is due to UI.dll file.

View 2 Replies

Working Fine In PC And Page Is Opening From Browser But Not From Other PC?

Sep 20, 2010

I have an asp.net project both in .net 2005 and 2008.It is working fine in my PC and page is opening from browser but not from other PC.I can able to connect the other pc's,ping it sure there is no connection problem with pc.I think should be in IIS or sharing from my PC.I need both in .net 2005 and 2008.

View 2 Replies

Crystal Reports :: Each And Every Page Loading Time And Where Actually It Take Long Time?

Nov 22, 2010

I have developed an application in asp.net with crystal report. It has more than 30 pages in the project. Now I want to improve the performance of the application.1. What I need is , I want to know each and every page loading time and where actually it take long time to load while requesting the page.There are so many tools available. But am not able to follow as where actually the problem is and how to solve.

View 6 Replies

Windows - .NET Web Page Loading - The First Page Loading Fails With HTTP 404 Error?

Jan 18, 2011

We have installed a web site written by others which is compiled with Visual Studio 2008 and hosted in Windows server 2008 R2.

The IIS connection timeout is set to 120 seconds. But for some pages, the first page loading fails with HTTP 404 error but sequential refresh can bring the page up. The same problem happens for some images which fail to load in web pages. We are not very sure it is network related issue or hosting issue.

View 1 Replies

Aspx Page Giving 404 On HTTPS While Working Fine On HTTP

Mar 17, 2011

Other pages (aspx) are working fine on both http/https, only ashx gives response 404 on https, I used firefox firebug to investigate it.

I have two same virtual directory on IIS, one is mapped for https where this ashx is not working.

I guess some kind of mapping is missing for https on server, not sure where this kind of mapping is stored?

View 1 Replies

Web Forms :: Count The Loading Time For Page?

Jul 14, 2010

I recently re-develop our company's web system. However, when I just finished everything, our internal user complains that the page is noticable slower than the old one. I tested it on my machine and it seems to be ok. As it is a major concern of my manager, I decide to add a bit of code to return the time comsumed in page loading. Can someone give some idea about it? What I try to know is: from the time user click on "submit" button until the page is fully loaded to the user, how many seconds it costs. I have ajax in the page. Is it possible to do it in js? or any other sort of way is fine too.

View 10 Replies

Timestamp - How Much Time Took Whole Page Loading Time In Asp

Jan 18, 2010

i currently use the context.timestamp function to get the time in the beginning of the request but i want to know if i can check the time sooner in the pipeline (before the load page phase) or the timestamp is the earlier time i can get. now i need to find the latest time after the request was processed, of course i can check the time in the end of the function, but is there somewhere else where i can check the time of the request ending.

View 3 Replies

Web Forms :: Created Java Script Calendar Working Fine In Ie6 But Not Working In Firefox

Aug 13, 2010

I created a one Java script calender. Its working fine in ie6 but its not working in firefox. I'm new to this java script so kindly give your suggestion as soon as possible.

Page
Language="C#"
AutoEventWireup="true"
CodeFile="Default.aspx.cs"
Inherits="_Default" %>@
Register
Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
Namespace="System.Web.UI"
TagPrefix="asp" %>
DOCTYPE
html
PUBLIC
"-//W3C//DTD XHTML 1.0 Transitional//EN".......................

View 1 Replies

Web Forms :: Url Rewriting Not Working On Live Server In Asp.net But Locally Working Fine

Feb 23, 2010

Url rewriting not working on live server in asp.net but locally working fine. but locally it's not case sensitive.

View 1 Replies

C# - UrlMapping Giving 404 Page Not Found On IIS But Working Fine On Local Server Port?

Jan 19, 2010

Well I am having a problem when I have put my .NET 2.0 web site on IIS 6. I have used UrlMapping to redirect some old urls. It is working fine when I am using it on the VS local server port but when I deploy it to IIS 6, its giving a 404 Page not found error.

I've found that in a few forums they are talking about using Wildcard Mapping, but none of them provide me with a good explanation of how to achieve this. Added to this, what are the security risks of doing such a modification on IIS Level (if there are any?)

View 3 Replies

Forms Data Controls :: Loading GridView Page At A Time?

Jan 5, 2011

I know you can do paging in gridview but is there a way which allows u to load one page ie page 1 and then when the user select page 2 it loads that page...because I will have 100,000 rows and I dont want to load all of them.. But I need to show all, so is there a way which u can do paging which allows u to load a page at a time?

View 2 Replies

Web Forms :: Progress Image Is Moving Only One Time When Page Is Loading

Aug 11, 2012

I am making one application where i am fetching huge data from database to gridview.

for this it was taking some 30 to 40 seconds. so instead of showing nothing in the page

I am using update panel and update progress bar.

everything is ok but when progress image is showing in the page that time it's moving only one time and stop and before completing page postback.

Here is my code:

 <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">   
</asp:ToolkitScriptManager>    <div><script language="javascript" type="text/javascript">   
var prm = Sys.WebForms.PageRequestManager.getInstance();  
var popup = $find('<%= modalPopup.ClientID %>');   
prm.add_initializeRequest(InitializeRequest);   

[Code] ....

And here is my code behind:

 protected void Button1_Click(object sender, EventArgs e)    {       
con.Open();       
SqlCommand com = new SqlCommand("select * from processdailydata", con);       
SqlDataAdapter sda = new SqlDataAdapter(com);       
DataSet ds = new DataSet(); sda.Fill(ds);       
GridView1.DataSource = ds;        GridView1.DataBind();        con.Close();    }

i want to show progress image move regularly untile page load is not finished.

View 1 Replies

Web Forms :: Displaying Loading GIF Image Whenever Page Takes Time To Load

Apr 27, 2016

Displaying loading gif image whenever my page takes time to load but not for particular single control. i had seen this. URL...but it working for button , can i check it for my whole page  and all controls whenever it takes times to load.

View 1 Replies

Page Is Loading For The First Time In The Web Browser?

Jan 15, 2010

Is there any way I can figure out that the page is loading for the first time in the web browser. We are deploying in a web farm scenario and doing some crazy operations with our website and it has become hard for me to figure out how to know that the website is loaded th e first time in the browser.

Also is there any way I can clear cache as old data keeps on getting displayed.

View 3 Replies

Reduce Time Of Loading Page?

Jun 11, 2010

I am facing a problem related to webpage loading. After analysing the problem I got the conclusion that this is because of the use of third party control (Telrik Control) on the page.

it loads "ScriptResource.axd?d=VHFRlHPU4ruHmOYm-mEPLk5XeFL0XZCCksSiaq9cH120I4XzMjzdvS3A-Z1Q4FSlJuGkXycxn8tvOxEGZvni7w2&t=634068427680000000"

type of scripts on browser so it take time to load the page. Is there any way to reduce time of loading page?

View 5 Replies

AJAX :: Drag And Drop Is Not Working In Chrome And Safari But It Is Working Fine IE And Firefox

Nov 19, 2010

After the implementation of ajax drag and drop, we have observed that which is working fine in IE and Firefox and not in chrome and safari, In Google chrome and Safari when we try to drag a module, the page getting scrolling to the top of the page.

View 1 Replies

Visual Studio :: Javascript Debugger Is Not Working On Mozilla Firefox But Working Fine On IE8?

Jan 15, 2011

I am using vs2008 pro. my problem is that javascript debugger is not working on mozila firefox but working fine on IE8.

View 1 Replies

Configuration :: Application Is Working Fine In Local Environment But Not Working After Push Code In Live

Aug 19, 2010

My application is working fine in local environment but not working after push code in live. My locale environment and hosting environment both are having same configuration. Same app working fine 2 month before but in different domain but same hosting server.

how to check the both config / any possible to run debug mode in hosting server please let me know. below code used in all page for checking user session status but when I click on any link page redirect to login.aspx I think session got timeout. I don't know why session got time frequently, but this issue not happening in local environment (desktop).

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

View 6 Replies

WebSite Page Loading / Response Time

Jan 22, 2010

I have noticed two time-related problems with my website:

[1] Slowness of loading the graphics for each page in the browser;
[2] Receiving a "Runtime Error" page in the browser when I do take action on the site (e.g. navigate to another page) within approx. 30 seconds.

Are these problems related to limitations of my web host?

View 3 Replies

Web Forms :: Application Is Working Fine In IE6 But Not IE 7 And Above?

Mar 30, 2010

I have developed a web application, it is working fine without any issues in IE5 and IE6. However it is not getting executed in IE7 properly. The look of the web application was changed and doesn't look as it need to be in IE7. And one more issue is I will be using PopUp windows in the page. When I try to open the PopUp window they were not getting opened. I have checked if the PopUp blocker was blocked, the pop up blocker settings was Okay.. I have cross checked the code it was fine.

"How to solve these sort of issues that occur with IE7 or above"

View 3 Replies

Master Page Sometimes Take Much Page Loading Time?

Dec 21, 2010

Sometimes master page makes the application slow according to the page load time in respect to individual page.

How to overcome this problem?

View 6 Replies

Performance - Page Contains Dynamic Elements - Loading Takes Time

Feb 10, 2010

I am dynamically creating a table of checkboxes on my test.aspx page. The dimensions (row and column count) of the table are determined by querying the database. In test.aspx page, I do the following:

<script language="C#" runat="server">
protected void Page_Load ( object src, EventArgs e ) {
//Query the database to get the data for rows and columns
CheckBox[] chkBox = new CheckBox[rows * columns]; //creates a collection of checkboxes
//Iterate over the query set in a double for loop to create dynamic checkboxes
}
</script>

Right now I have the number of rows=20 and columns=10, but it can increase (with the columns more likely). I used the Net tab in Firebug to ascertain the time taken by different events and found that GetTest.aspx is taking close to 4 minutes, which is too long a time to wait. Is there a way to being down the page load time? Is my approach to create dynamic check boxes correct?

View 4 Replies

Web Forms :: Asp Menu Working Fine In The Dev Environment But Not On Server

Sep 17, 2010

I am sorry to be asking what is probably a really stupid question, but i have a problem with my asp menu, when i run it on my dev machine(thru vs2010) it works perfectly, all the menu's are displayed correctly with the correct child items in the correct order but when i publish it to the server all the menu items become flat and take up the whole page. I am populating the menu using a reentrant function as follows to call the function and add the menus i am using

Dim childMenuItems As List(Of MenuItem) = CreateMenuLevel(0, uniquemenulist)
childMenuItems.ForEach(Sub(n) NavigationMenu.Items.Add(n))
Public Function CreateMenuLevel(ByVal parentId As Integer, ByVal menulist As List(Of MenuList)) As List(Of MenuItem)
Dim menuItems As New List(Of MenuItem)
For Each menuListItem As MenuList In menulist.Where(Function(n) n.ParentId = parentId)
Dim MenuItem As New MenuItem
If (Not String.IsNullOrEmpty(menuListItem.PagePath)) Then
MenuItem.NavigateUrl = menuListItem.PagePath
End If
MenuItem.Text = menuListItem.MenuName
MenuItem.Selectable = True
MenuItem.Enabled = True
menuItems.Add(MenuItem)
Dim childMenuItems As List(Of MenuItem) = createMenuLevel(menuListItem.MenuId, menulist)
childMenuItems.ForEach(Sub(n) MenuItem.ChildItems.Add(n))
Next
Return menuItems
End Function

now as i say this all works fine in the dev environment so i dont think its a coding issue unless i am missing something mad.

server 2003 x64
iis 6.0
asp 4.0.303.19
relevant .net 4 framework packs installed
dev environment
visual studio 2010

am using the same browser for to check both dev and server

View 2 Replies







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