VS 2008 - Email Taking Too Long To Send

Jun 22, 2012

I've got a web method that is sending an email - and it's just taking too long to do the email. Anything I can do with multi-threading to have this code run without blocking the web method from returning the POST to the browser?

I do not care about the success of the email - I'm not passing that status back to the browser.

Code:
Private Function SendEMail(ByVal wholist As String, ByVal emailcontent As String) As Boolean
Dim emailSuccess As Boolean = False
Try
Dim strEMails() As String = wholist.Split("~"c)

[Code] .....

View 3 Replies


Similar Messages:

Forms Data Controls :: Ajax In Asp 1.1 / Taking Too Much Refresh And Taking Long Time?

Jan 13, 2010

I am making some application in asp.net 1.1 in 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 box oncheckedchanged event and text box ontextchanged event and hide continue 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.

View 8 Replies

Benchmark App To See Which Part May Be Taking Too Long

Mar 10, 2011

We would like to benchmark the asp.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?

View 1 Replies

The Server Is Taking Too Long To Respond?

Dec 21, 2010

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.

View 3 Replies

Page Taking Too Long To Load?

Sep 1, 2010

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.

View 2 Replies

Pages Taking Too Long To Bring Up?

Feb 21, 2011

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.

View 2 Replies

MVC - Images Taking A Long Time To Load?

Oct 4, 2010

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

View 2 Replies

Installation :: Web Application 3.5 (SP1) Taking Too Long To Load

Mar 30, 2011

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

View 3 Replies

Web Forms :: FileUpload Taking Too Long On Web Host?

Jan 9, 2010

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?

View 5 Replies

Web Forms :: How To Send Email Through SMTP On Server 2008

Sep 1, 2010

I have the following form and trying to click a button and email through an SMTP server.

[Code]....

Code behind:

[Code]....

Web.config file:

[Code]....

View 9 Replies

JQuery :: Script In MVC Application Taking Too Long For IIS / IE To Load

Nov 2, 2010

I have a .Net 4.0 MVC 2.0 web application I built using VS 2010 Ultimate. I have about 413 lines of jQuery with no infiniate loops or anything, just ajax calls, .hide(), .show(), .slideToggle(), etc....the usual stuff. However, when I run the page both in debugging (Vista Enterprise 32bit) or in production (Server 2008 Enterprise 64bit 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.

View 2 Replies

C# - Hosts File Edit Taking A Long Time To Work?

Aug 5, 2010

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.

View 1 Replies

Configuration :: Visual Studio Publish Taking A Long Time

Mar 24, 2010

When I Publish my website it takes around an hour and a half. This is publishing to a directory on my 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.

View 5 Replies

Visual Studio 2010 - Upgrade Seems To Be Taking A Very Long Time To Start?

Oct 13, 2010

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.

View 1 Replies

DataSource Controls :: Taking Long Time To Import Data From Csv To Sql Server 2005?

Feb 20, 2010

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 row to 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 ?

View 1 Replies

Data Controls :: Every Post Back In Form Is Taking Long Time When Several Update Panels Used

Nov 22, 2015

I have a big form in which i have almost 10 update panels. some are having updatemode = conditional and others are always. Now by default when that page is opened i only show one dropdownlist.When that project dropdownlist (from which i populate the rest of the elements in my page) value is changed by user it takes long time to load the other elements. Also the other gridview which is also surrounded by update panel and mode in conditional takes long time to show edititemtemplate controls in edit mode. 

I am unable to trace the reason behing delay. Few days ago it was working fine and fast but now it is slow.

View 1 Replies

Forms Data Controls :: Aspx Page Is Taking Long Time To Load Controls (repeater)

Feb 12, 2011

[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.

View 1 Replies

Web Forms :: Adding Item To Listbox From Another Listbox Taking Way Too Long?

Mar 4, 2010

I have two 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 to the second one. Both of these listboxes are within an update panel and for some reason it takes over 20 seconds for the items to show up in the second listbox.

Is this normal? Is there an alternate, faster way of doing this?

View 6 Replies

VS 2008 Taking Data From One Page To Other?

Aug 9, 2010

I want to take some Data from 1 page to other. Like Username and User Type etc.I wrote the following code which compare that the given Username and Password is correct, what to do next to get the other informations from table and take them to other page(default.aspx)

Code:
Dim Conn As OleDbConnection
Dim DbCmd As OleDbCommand

Dim SqlCmd As String
Dim MyDbPath As String

[code]...

View 8 Replies

C# - Changes In Visual Studio 2008 Not 'taking'?

Sep 16, 2010

I've been consistently having a problem where changes I make to my web form or code-behind doesn't get recognized by the debugger until I quit visual studio and delete the "root" folder located in C:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary ASP.NET Files.

It's very cumbersome and greatly decreases my productivity. I've tried reinstalling visual studio, using visual studio 2010 and a variety of other proposed solutions.

Update: On a hunch, I moved the project to the C: drive. (It was residing on a network drive)
No difference.

I added a control as a test and ran the program. Label shows up. Deleted the label. Ran the program. Label still there. Rebuilt the program; re-ran. Label still there.

View 1 Replies

Web Forms :: Send Email With Arabic (Persian) Text In Email Body

May 7, 2015

I followed this link, it works fine with English Text. [URL] ....

My problem is when I am adding Arabic text to the message body it displays ???? format.

View 1 Replies

AJAX :: Send Email From Modal PopUp Contact Email Form In Master Page

May 7, 2015

how Can i Send Email With Message Using Master Page in Asp.net?

EMail Sending PopUp Open In All Pages To Provide The User Sending Email Facility From All Pages...

View 1 Replies

Web Forms :: Send Forgot Password Email To Multiple Domain Email Addresses Using Single Program

Mar 31, 2013

i have code for forgot password using gmail account. But i want to send password for multiple domains like yahoo,rediffmail and more.

View 1 Replies

Web Forms :: How To Embed Chart In Email Body And Send Email

May 7, 2015

how to display Chart in Email body and excel attachment.

View 1 Replies

Web Forms :: Send Email To Persons Email Address In TextBox

Jun 17, 2012

i will enter an email address in textbox i have button on the click of button i would like to send a mail Hello to the mail address provider

View 1 Replies







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