Tracking Forums, Newsgroups, Maling Lists
Home Submit Tracker Forums
  Advanced Search
  HOME    TRACKER    ASP.NET


Advertisements:










Picture Taking To Long To Load?


1. Firstly, I have created my first .net website and find that the pictures are taking very long to load. Can anyone tell give me some tips on how I can speed up the loading of the pictures on this website. [URL]. I have attached the source code below my second question.

2. I did some small amout of PHP development in the past and I know that to open my default page when someone enters my website address is to have a html file called index.html in the root directly. But how do i go about doing the same thing in .net. I want them to enter [URL] and get the homepage of my website.

[Code]....


View 3 Replies (Posted: Feb 26, 2009 01:30 AM)

Sponsored Links:

Related Forum Messages For ASP.NET category:
Page Taking Too Long To Load?
Am working currently on a project with Dundas chart and to populate 3 similar charts on the dashboard page, there are more than three thousand rows returned from the database for each chart. These rows now retrieved are just test data and while launching the application there would be enormous amount of data being retrieved. It takes ample of time for the page to load on every postback. Is there any way to load the page more quicker inspite of huge data being populated.

Posted: Sep 01, 2010 03:22 PM

View 2 Replies!   View Related
MVC - Images Taking A Long Time To Load?
I have tested my pages in Firefox & IE and looking at Firebug in Firefox for some reason some images are taking a long time to load. They are not very big in comparison to the ones which are loading quicker.

Attached is a screenshot of Firebug.

I especially notice it in IE with the progress bar at the bottom of the page, it just sits there saying loading image...

Could it be the path or something which is http://localhost:49211/Content/_layout/images/bg-footer.png for example

Posted: Oct 4 10 at 10:53

View 2 Replies!   View Related
Installation :: Web Application 3.5 (SP1) Taking Too Long To Load
I have a project in .net 3.5 SP1 (Visual Studio 2008) and it took approx 5 to 10 minutes to load. My sln contain 3 projects. how can I improve efficiency.

My machine specs are

Intel(R) Core(TM)2 Quad CPU
Q8200 @ 2.33 GHz
2.33 GHz, 1.96 GB of RAM

Posted: Mar 30, 2011 05:37 AM

View 3 Replies!   View Related
JQuery :: Script In MVC Application Taking Too Long For IIS / IE To Load
I have a .Net 4.0 MVC 2.0web application I built using VS 2010 Ultimate. I have about 413 lines of jQuerywith no infiniate loops or anything, just ajax calls, .hide(), .show(), .slideToggle(), etc....the usual stuff. However,when I run the page both in debugging (VistaEnterprise 32bit)or in production(Server 2008 Enterprise64bit w/ IIS 7) I get the following Windows Internet Explorer message dialog box that pops up:

Stop running this script? A script on this page is causeing Internet Explorer to run slowly. If it continues to run, your computer may become unresponsive.

I commented out all 413 lines of my jQuery and this didn't fix a thing. So, then I started to comment out the external js files my page points to, and when I removed this line, the problem stopped, but my page also doesn't function are look right.

[Code]....

I have Googles the hell out of this error, and have found all sorts of reasons as to why this can be caused, and have seen many solutions, even Microsoft has a solution for it which involves a registry mod, but I can't do that since it would have to be done on every client machine. Does anyone know why this js file would be causing this problem? If there just too much js on the page with this file added?

I figured the MVC discussion board would be the place for this since us MVC developers use the hell out of jQuery most.

Posted: Nov 02, 2010 12:41 PM

View 2 Replies!   View Related
Web Forms :: Progress Bar On Page Load Taking Long Time?
I am developing asp.net application. My page takes long time to load due to loading data from database.I want to display progress bar until all data from database is retrieved.One more thing i want to redirect to login page after session expires. I searched google but found nothing useful.I tried Response.AppendHeader .How to use it to redirect to login page i wrote the code.

Response.AppendHeader("Refresh", Convert.ToString((Session.Timeout * 60) + 10) & "; url=Login.aspx")

Posted: Sep 28, 2009 08:37 AM

View 3 Replies!   View Related
Forms Data Controls :: Ajax In Asp 1.1 / Taking Too Much Refresh And Taking Long Time?
I am making some application in asp.net1.1in that I am displaying data in datagrid from database. In data grid first column is of check box and radio button and in the last column we have text box now thing is that when i click on check box crosponding textbox we fill some figure and at the end we press calculate button to get total. After getting total we have to press continue button to go next step

But suppose if some body remove that check the we should press calculate button or chnage some figure in the text box then we should press calculate button again to recalculate. for that i kept autopost back on check boxoncheckedchanged event and text box ontextchanged event and hidecontinue button so user will click calcutae button abd then continue button will re-apper

Problem it that it taking too much refresh and taking long time. So was lloking for some ajax method to use in my application.

Posted: Jan 13, 2010 10:33 AM

View 8 Replies!   View Related
Forms Data Controls :: Aspx Page Is Taking Long Time To Load Controls (repeater)
[Code]....

I am retrieving records from database nearly 380 records and binding them to a repeater control.My page is taking long time to load. how to improve the performance and here is the code of my repeater.

Posted: Feb 12, 2011 01:30 PM

View 1 Replies!   View Related
Benchmark App To See Which Part May Be Taking Too Long
We would like to benchmark theasp.net c#app to see which part may be taking too long. How would you do this? We need to check:

1. The query on the server side.
2.The summarization that the app code is doing once it gets all the data.
3. Add in logging statements at various points in the code so we can see how long each step is taking
4. Time the sql query to see how long that takes.

How is the best way to make this benchmarking?

Posted: Mar 10, 2011 04:50 PM

View 1 Replies!   View Related
The Server Is Taking Too Long To Respond?
I have deployed my .NET application on IIS and Iam facing the Same Problem " the server is taking too long to respond" My OS is Windows XP and IIS 5.1.

Posted: Dec 21, 2010 04:49 AM

View 3 Replies!   View Related
Pages Taking Too Long To Bring Up?
We have been using the same pages for many years. All of a sudden it is taking the classroom educators 23 minutes to go from page to page. We hired an individual and they find nothing wrong with our firewalls and security system.

There are no loops in our code or referring to databases.

We also hired a Microsoft consultant from Washington State and she recommended that we stay with asp Classis because we have over 27,000 pages.

Whare can I find the forum for asp classic. I need to find out why it is taking so lon to go from one page to another. Our Web Site programmers are getting pretty disgusted.

Posted: Feb 21, 2011 03:29 PM

View 2 Replies!   View Related
Web Forms :: FileUpload Taking Too Long On Web Host?
I have a webform that uploads data to a SQL Server 2005 DB. When run it on my local machine it works like a charm and is very fast. When I move my web form to my Hosting company's web server and try to upload to my DB it takes a very long time (5 min plus to upload 10MB) or it times out or both. My web hosting company can't seem to fix this.

Has anyone had a similar problem or any clue what might be happening?

Posted: Jan 09, 2010 02:25 PM

View 5 Replies!   View Related
Visual Studio :: Compiling Taking Too Long?
I'm running Visual Studio 2008 SP1 with .NET 3.5, trying to develop my website. I'm working inside of Windows 7 build 7077, and so far things have been going pretty good. The only major issue I've been having is whenever I try running a project with debugging enabled(F5), it takes some time to load the project, lagging whenever it gets to "Loading Symbols", particularly when loading CppCodeProvider.dll. If I build without debugging(ctrl+F5) the site comes right up in under 30 seconds. I've been hunting for configuration I can do inside of visual studio 2008, but I can't seem to pinpoint the issue. This seems to happen for all of my projects, so I know it's not just the particular site I'm working on.

Posted: Apr 27, 2009 07:25 AM

View 1 Replies!   View Related
C# - Hosts File Edit Taking A Long Time To Work?
Whenever I add an entry to the Hosts file on Windows, it takes a long time for the change to take place? I have tested using Firefox and IE and it seems to take around 5 minutes on both of them before the new IP/Domain entry on Hosts is recognised.

Is there anything I can do to overcome this? Perhaps "refreshing" the cache in some way? ipconfig /flushdns doesn't work.

Posted: Aug 5 10 at 15:51

View 1 Replies!   View Related
Configuration :: Visual Studio Publish Taking A Long Time
When I Publish my website it takes around an hour and a half. This ispublishing to a directory onmy local machine, it is not FTP'ing to a remote server. The build seems to take about an hour (when I build without publishing it is noticeably slow, but 5 minutes slow, not an hour), then the publish seems to take a further half an hour.

what could be causing this and how I can improve this? This obviously causes issues when I make a change (I'm constantly updating the site) as I need to wait for an hour an a half. I'm considering not precompiling the site now and simply uploading the .aspx and .cs files direct to the server as this is unmanageable for me.

Posted: Mar 24, 2010 01:49 PM

View 5 Replies!   View Related
Visual Studio 2010 - Upgrade Seems To Be Taking A Very Long Time To Start?
At work I'm tryhing to upgrade an ASP.NET 2.0 app (which we wrote using VB.NET 2005) to ASP.NET 4.0. I had a few problems during the upgrade, but eventually worked them all out. At the end of the day I decided to give it a quick compile and see if I'd get the start page, so I hit F5 in VS 2010. I left it that way, and man was it acting weird. VS 2010 wasn't responding to anything. If I hovered the mouse over VS 2010's minimize or close buttons, in the upper right corner, then those buttons were flashing very rapidly. I'm not sure what was going on. After waiting 15 minutes to see if it would come up, I decided to try clicking on the close button. Nothing happened. Eventually, I had to leave (I take public transit, and I have to leave when the bus comes)But what I want to know is this, is this pretty standard behavior? Does it normally take this long to do this? This website is of modest size (<100 pages).

(Later) When I came into work today, 8 hours later, VS 2010 was still doing whatever the heck it was doing, but basically it wasn't responding to anything.

Posted: Oct 13 10 at 16:03

View 1 Replies!   View Related
DataSource Controls :: Taking Long Time To Import Data From Csv To Sql Server 2005?
I have an application which imports data from csv to sql server 2005. It is taking long time to import data from csv to sql server 2005. it has a timer. on tick of timer, I am checking if current rown in csv exists in database. If it exists, It is not added to sql server otherwise, It is added that rowto sql server 2005. Also, In page load, It checks on each tick, whether user is logged in or not. it adds value to log file that user is logged in. How can I optimize this ?

Posted: Feb 20, 2010 11:47 AM

View 1 Replies!   View Related
AJAX :: Trying To Create A Progress Bar For Page Load As It Takes Long To Load?
Iam trying to create a progress bar for page load as it takes long to load. I need help to resolve jscript error 'null' is null or not an object on line$get("btn").click();

[Code]....

Posted: Jul 07, 2010 06:47 PM

View 3 Replies!   View Related
Web Forms :: Adding Item To Listbox From Another Listbox Taking Way Too Long?
I havetwo list boxes, one has a list of available users (about 1500 items)and the other is blank. There is a button to add the seleted items from the first list box tothe second one. Bothof theselistboxes are within an update panel and for some reason it takes over 20 secondsfor theitems to show up in the second listbox.

Is this normal? Is there an alternate, faster way ofdoing this?

Posted: Mar 04, 2010 09:51 PM

View 6 Replies!   View Related
Asp - Gridview Taking Much Time To Load
I am having a Gridview which takes much time to load its data, I tried to make the loading faster by implementing paging in gridview and reducing the rows to render in the grid and it got worked to an extent but still it lags in processing to bind data. The database i am using is SQL Server 2005 and the code is as follows

DataTable dtProducts = objProducts.GetProductDetails(iCat.ToString(), userId);
dgrdProductList.DataSource = dtProducts;
dgrdProductList.DataBind();
public DataTable GetProductDetails(String CatID, String UserID)
{
DataAccess DAB = new DataAccess();
DataTable dtbProducts = new DataTable();
try
{
string SQL = "select *,CAST(ShortDescription AS varchar(200)) AS ShortDescriptionList from vw_products where IsActive=1 AND CategoryID = " + CatID +
" AND LanguageID in( SELECT PW_UserLangRel.LanguageID FROM PW_Language INNER JOIN " +
" PW_UserLangRel ON PW_Language.ID = PW_UserLangRel.LanguageID WHERE PW_Language.IsActive=1 AND PW_UserLangRel.CompanyID=" + UserID +
" ) Order By ID Desc,LanguageID";
dtbProducts = DAB.Fill(SQL, CommandType.Text).Tables[0];
}
catch (Exception ex)
{
throw new Exception(ex.Message + "WebShopPaolo.CProducts.AddProductImages");
}
return dtbProducts;
}

Posted: Oct 29 10 at 4:15

View 1 Replies!   View Related
Website And Some Other Page Also Are Taking Some Time To Load?
The home page of my website and some other page also are taking some time to load, instead of making them load fast, I want some please wait screen or progress bar and mean while the required page would be loaded behind.

Posted: Apr 20, 2010 07:44 PM

View 3 Replies!   View Related
Want To Show 150,000 Recods In Treeview / Taking Much Time To Load?
Ive to show more than 150,000 recods in treeview up to 5 level ofHierarchy...ryt now i loading all records in page load but it taking much time even in mins..tell me some alternative


Posted: Sep 07, 2009 06:04 AM

View 7 Replies!   View Related
A Little Predicament Concerning Time, Picture And Simultaneous Load?
2 - code to resize the pictures to my desired resolution when saving it to a folder4 - can i use the system.bitmap to load my picture from a url?5 - since im loading my page with images coming from different sources, lag and "gateway timeouts" might be apparent. is there any way to do a work around with this? lets say i have 5 images to load in my page all at the same time, the site of picture 3 is down so my page will give me an error of a gateway timeout but site's 1,2,4,5 are up and running. at least my page would load up the pictures of 1,2,4,5

Posted: Nov 10, 2008 04:06 AM

View 12 Replies!   View Related
Web Forms :: Load A Picture From Client On Image Control?
i have a photo in client

i send the address photo from address bar to the form

but the image control can't show the photo

how can i show the photo from client

Posted: Dec 28, 2010 04:54 PM

View 4 Replies!   View Related
Web Forms :: Modal Form Taking Ages To Load / Gif Whilst The Page Loads?
I have a modal popup which contains a listview with multiple rows containing multiple controls so the form takes around 6-7 seconds to load, which is fine. What I want to do is display a little animated gif whilst its loading. What I don't understand is from thePage_PreInIt to thePage_SaveStateComplete (which is the first lifecycle method to last i think) it's only a matter of milli seconds.

a) why is it taking so long to load?

b) hows best to show the gif whilst the page loads (if possible)

Posted: Nov 25, 2010 03:45 PM

View 2 Replies!   View Related
Forms Data Controls :: Picture Failing To Load On Form?
I have an .aspx page with a gridview and a details view for looking up products. It is working perfectly. When I select "Details" on the gridview the details view accurately populates.I added an image named TagImageand need that image to display the correct one based upon the product changed when "Details" is hit. I'm using code behind and have checked my image directory string to make sure it is OK but the images do not display. Here is the vb.net code hehind I am using that successfully populates the details and was hoing it to display the picture:

Protected Sub GridView1_SelectedIndexChanged(ByVal sender As Object, ByVal e As EventArgs)
AccessDataSource2.SelectParameters("ProdID").DefaultValue = _
GridView1.SelectedDataKey.Value.ToString()

[code]....

Posted: Sep 23, 2010 06:04 PM

View 13 Replies!   View Related
C# - Long Time To Load First Sql Connection In .NET?
For some reason it takes 7 seconds to open a connection to a sql server database for the firt time, subsequent connections takes a second.

I'm using C# and asp.net

Its after compilation, i essence every time i restart the site, which means every time it needs to actualy create the "first" connection. i understand that setting up connection pooling has overhead, but i have never seen that i should take 7 second to set it up.

Posted: Apr 9 10 at 20:49

View 3 Replies!   View Related
Ajax CalendarExtendar Take Long Time To Load?
I have a web page which has a textbox and a button. The textbox has a calendar extender attatched to it.On my machine it is popup quickly but when i published it on the server it's taking a very long time to show and sometimes it doesn't. It's like loading or downloading something. Any Clues .....

asp:TextBox ID="txtDateFrom" runat="server" CssClass="TxtBoxDate" meta:resourcekey="txtDateFromResource1"></asp:TextBox>
<ajax:CalendarExtender ID="extCalendarStartDate" runat="server" CssClass="calTheme" Format="yyyy/MM/dd" FirstDayOfWeek="Sunday" PopupPosition="BottomRight" TargetControlID="txtDateFrom" OnClientDateSelectionChanged="checkDate" Enabled="True"> </ajax:CalendarExtender>
[code]...

Posted: Apr 15, 2010 10:51 AM

View 2 Replies!   View Related
Configuration :: Site Take A Very Long Time To Load?
i developed a website already and it was hosted in live too. My Problem is , sitetake a very long time to load , it take nearly 30-60 seconds to open , once it opened then it is some what better, MY Url Ishttp:\shoesrus.msinternational.bizplease verify and give me a solution , is their is any setting changes has to be taken in iis or server side etc..

Posted: Mar 26, 2010 10:56 AM

View 3 Replies!   View Related
JQuery :: Showing Animation During A Long Page Load
I have a page that takes a long time to load because it utilizing multiple user controls. Is there a way where I can display a wait animation during the page loading utilizing JQuery? I'm a newbie to Jquery and client side development

Posted: Jul 19, 2010 02:52 AM

View 7 Replies!   View Related
2008 Takes A Long Time To Load Pages From Solution?
I installed 2008 a few months ago. I had several 2005 projects that I carried over from my old laptop. One particular web site opens fine in the solution explorer, but as soon as I double click onone of the aspx pages, it takes an extremely long time to load.

Posted: Dec 09, 2009 03:38 PM

View 5 Replies!   View Related
AJAX :: HTML Editor Load Time Excessively Long 30+ Seconds?
I'm in the process of trying to migrate upto the 3.5 toolkit and extentions..

with that.. I was going to replace the FCKEditor with the Ajax version in the tool kit, do to a problem I was having with a pop-up modle / editors issue.

Anyways, as soon as I drop the new Editor onto my page, the page loadtime gets excessivly long.

At this point I figure it must be a configuration setting on my part, but haven't been able to find any references wiht my search on the web.

Posted: Sep 17, 2009 10:46 PM

View 3 Replies!   View Related
To Show Pdf Files In Web Page - Taking Much Time To Load Page?
I have web application where i want to show pdf files in web page. in my page there are 5 pdf files i have to show at a time.it's taking much time to load page. and also user has to wait until all files are loaded in page.is there any free components to show pdf files.

Posted: Mar 6 10

View 3 Replies!   View Related
Partial Rendering - Pages Are Taking Time To Load First Time?
Issue:

As my pages are taking time to load first time.

So user has to wait till full page gets loaded and thats irritating . Was this the reason MVC was evolved?

Solution :Should i use partial rendering on all pages including home page, and all forms gettingcalled from home page.

So even if half page is loaded thats less frustrating

For Partial rendering what i plan is : i will put Scriptmanager with Enable partial renderingand update panel for half part of page.

So that user dont have to wait for full page to load.

Is my plancorrect? Problem is i cannot regenerate page load issue every time.

Posted: Aug 25, 2010 10:55 AM

View 4 Replies!   View Related
Installation :: Website Taking Too Much Time To Load For First Time After Publishing
Am new to deploying the Web Application built in ASP.Net 2.0. I have deployed the Website on serverusing Publish Website feature in ASP.Net 2.0. I learnt from somewhere that Publish feature also coversPreCompilation at the time of Deployment. My problem is that even after publishing the website, its taking too much time to load for the first time. For subsequent requestsresponse is generated quickly for the same page. Can anyone direct me towards the right approach to ensure that Website is pre compiled and not take too much time to load even for the first time.

Posted: Apr 01, 2009 12:32 PM

View 2 Replies!   View Related
Web Forms :: How To Allow User To Upload Picture And Then Save The Picture In Database
i'm new to c# and i wanted to know how can i allow user to upload a picture from a text box and a button??

after uploading the picture, how can i save the picture in the database??

**note**the picture i allow user to upload need to be in a fixed size.

Posted: Feb 08, 2011 08:21 AM

View 4 Replies!   View Related
Web Forms :: Get Full Picture When Try To Put Picture In Image Control?
I have this code to insert a picture from database into an ImageControl on my ASP.NET form:

strConnString = "server=" + Server + ";database=" + DataBase + ";UID=" + UID + ";password=" + PASS + ";";SqlConnection MyConnection = new SqlConnection(strConnString);SqlCommand MyCommand = new SqlCommand("SELECT Pic FROM MEN WHERE ID=5", MyConnection);MyConnection.Open();SqlDataReader MyReader = MyCommand.ExecuteReader();if (MyReader.Read()){ byte[] m_MyImage = (byte[])MyReader["Pic"]; Response.BinaryWrite(m_MyImage);}

And I have thisImageControlon the form:

<asp:Image Width="88" Height="100" Runat="server" ID="m_Image" NAME="m_Image" />

but when I run the code, I see the picture big on the screen and not in myImageControl.

i also put this in the form_load:

m_Image.ImageUrl = "MyPhoneBook.aspx?m_Image";my control is: m_Imagemy control ID is: m_Imagemy namespace is MyPhoneBook

but still dont work

Posted: Dec 23, 2010 07:07 PM

View 5 Replies!   View Related
Displaying Picture In A Picture Box From MS-access Database?
----mplemntation-----------

Csharp Code:
Image img;
try
{
[code]...
I am using the above method to access the image from the database...but I get the parameter not valid exception.

Posted: Apr 17, 2009, 11:35

View 1 Replies!   View Related
Web Forms :: Timeout Error Continues On Long - Running Web App Supposedly Already Configured To Accommodate Long
I've developed a web application to accept video file uploads and then pass them to a backend service on an external server. The application runs without error on the visual studio debugging webserver, but once on a production iis 6 or 7 server, yields a timeout error at about a consistent amount of time into handling a large upload. Specifically, it errors in the middle of transferring the video file to the external server, once the application has successfully received it from the client. I'm aware of several timeouts to be configured related to the problem, and have done so. The application's web config has been tested with one or both of the following settings

<system.web>
<httpRuntime executionTimeout="9999999" maxRequestLength="2048000" />
</system.web>
and
<configuration>
<location path="default.aspx"> (the page at issue that's timing out)
<system.web>
<httpRuntime executionTimeout="9999999" maxRequestLength="2048000" />
</system.web>
</location>
</configuration>

And within the initialization of the webrequest made to the external server to send the video received from the client browser:

HttpWebRequest httpWebRequest = (HttpWebRequest)WebRequest.Create(url);
httpWebRequest.ContentType = "multipart/form-data; boundary=" + boundary;
httpWebRequest.Method = "POST";
httpWebRequest.Timeout = System.Threading.Timeout.Infinite;

So with the execution time limits on both the webform as a whole and the connection made to the external server, I'm at a loss for what timeout is left unconfigured, or how to determine such, when I continue to get the following error: Unexpected error executing Brightcove Upload:...........................

Posted: Jun 16, 2010 11:51 PM

View 3 Replies!   View Related
Forms Data Controls :: Web Application Project Performance Takes Long To Load Data
I there I have recently created an ASP website wich uses .net 4 and SQL db but soem some reason even displaying 20 records in a gridview is slow... So after some reading I converted the website to a Web Application Project so its compile prior to publish.. But yet again this is a bit slow. pages loading time is not of a bit issue...

Posted: Dec 13, 2010 12:34 PM

View 8 Replies!   View Related
Copyright 2005-08 www.BigResource.com, All rights reserved