Latest developer linksBookmark and Share
 
HomeThis WeekTop MonthTop AlltimeSearchRegisterFAQ
  
 
Submit Your Link
Please login to submit your Link
 

strange problem with webservice

Posted: Feb/10/2010   By: pankaj   Points:15   Category: .NET  - .NET Framework    Views:127   Vote Up (0)   Vote Down (0)    
Hi,I am facing a strange problem here, I am using a webservice to send emails through my website.Strangly when I run the application through VS2008 web development server only one email is sent which is normal, but when I publish the website on IIS then two copies of the emails are sent to the sender, which I don't understand.Any suggestions or help shall be appreciated!

View Complete Post


Comments:
Be the first to comment this post.
 
Post Comment
Please login to post your comment
More Related Resources

Concurrent Affairs: Solving The Dining Philosophers Problem With Asynchronous Agents

  
We use the new Asynchronous Agents Library in Visual C++ 2010 to solve the classic Dining Philosophers concurrency problem.Rick MolloyMSDN Magazine June 2009

Extreme ASP.NET: A New Solution to an Old State Storage Problem

  
State management in Web applications is a contentious issue. Should you store user data per session or should you persist it across sessions? You can easily store information temporarily while someone navigates your site by using session state. Fritz OnionMSDN Magazine April 2006

ASP .NET 2.0 website crashing problem

  
Hi,I have an ASP .NET 2.0 web application. I used VB .Net to implement and the DB is in Microsoft SQL Sever 2000. After I published it to the production severs, I encountered a problem. Several times, the site just kind of crashed. No any error pages. Basically, everytime, the site was working fast and good at the beginning. After completing several forms, it suddently takes forever to response to another user's action, like button clicking... It looks like the DB connection is suddenly broken for a while. I checked the Event Log, i didn't see anything wrong. But after a while, it starts to work fine again. Does anyone have any suggestions? thanks

Problem with web.config file

  
Hi, I have a hosting plan with .NET 2.0, 3.0, 3.5
Windows Server 2008 / IIS 7.0. I made a project in asp.net (net 2.0) but when i upload it to my hosting plan I always get this error message:

500 - Internal server error.
There is a problem with the resource you are looking for, and it cannot be displayed.

I removed web.config file from my directory and start getting the main page of my website but when i click on the button (asp.net button which verifies the password from the database after taking it from a checkbox) i get the following error message.
Server Error in '/' Application.


Runtime Error




Description: An
application error occurred on the server. The current custom error
settings for this application prevent the details of the application
error from being viewed remotely (for security reasons). It could,
however, be viewed by browsers running on the local server machine.

Details: To enable the
details of this specific error message to be viewable on remote
machines, please create a <customErrors> tag within a
"web.config" configuration file located in the root directory of the
current web application. This <customErrors> tag should then have
its "mode" attribute set to "Off".







<!-- Web.Config Configuration File --><configuration> <system.web> <customErrors mode="Off"/> </system.web></configuration>






Notes:
The current error page you are seeing can be replaced by a custom error
page by modifying the "defaultRedirect" attribute of the application's
<customErrors> configuration tag to point to a custom error page
URL.







<!-- Web.Config Configuration File --><configuration> <system.web> <cus

Publish Problem

  
hi everyone,this is my first time in www.asp.net , hope you and i will have great time.My problem is:I'm publishing a web site with'a 3 layered design pattern. a web site , a database model and a layer used for database queries.when I publish the web site, i can't see differences i made in query layer(A Class Library project).I can see those differences when I run and debug the code but same thing is not working when i publishCould anyone tell me how can i see the differences i made in class library project(I have read lots of post and articles but i couldn't solve it)

Problem about loading Web Application in IIS7

  
Hello, ive installed a web application on IIS 7 ,Windows 2008 Server.(64bit)the application works fine,but every morning opening the application taking long time, the explorer waiting about 2-3 minutes to load it,after its loads passing between the pages works great.(on Visual Studio 2008 everything works,its because its works on the Virtual ASP.NET Develpoment Server,in addtiong the same application works good on IIS 6)so i think that i have to configure somthing on the IIS7...What i have to do?Thanks!

problem of deployment of java applet in iis 7.0 with asp.net

  
Hi, we have created Simple html page and use java applet with activex control. I found some problem. I can successfully run this sample from the project folder but while I am uploading this on IIS web server 7.0 on Windows server 2008 i am getting Some error in Jre console. Can't open URL for reading. Stack trace for diagnostics (no exception thrown): java.lang.Exception: Stack trace at java.lang.Thread.dumpStack(Unknown Source) at com.genlogic.GlgDefaultErrorHandler.Error(GlgGlobal.java:661) at com.genlogic.GlgGlobal.ErrorHandler(GlgGlobal.java:627) at com.genlogic.GlgStream.stOpenStream(GlgStream.java:268) at com.genlogic.GlgObject.obLoad(GlgObject.java:3468) at com.genlogic.GlgObject.LoadObject(GlgObject.java:4924) at com.genlogic.GlgObject.LoadWidget(GlgObject.java:4949) at com.genlogic.GlgBeanComponent.load_viewport(GlgBeanComponent.java:631) at com.genlogic.GlgBeanComponent.load_drawing(GlgBeanComponent.java:684) at com.genlogic.GlgBeanComponent.Start(GlgBeanComponent.java:463) at com.genlogic.GlgBeanComponent$GlgStartStop.run(GlgBeanComponent.java:389) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) Null drawing. Stack trace for diagnostics (no exception thrown): java.lang.Exception: Stack trace at java.lang.Thread.dumpStack(Unknown Source) at com.genlogic.GlgDefaultErrorHandler.Error(GlgGlobal.java:661) at com.genlogic.GlgGlobal.ErrorHandler(GlgGlobal.java:627) at com.genlogic.GlgObject.ExtractWidget(GlgObject.java:4972) at com.genlogic.GlgObject.LoadWidget(GlgObject.java:4949) at com.genlogic.GlgBeanComponent.load_vie

IIS problem

  
hey there,
my website has good traffic, around 30.000 user/ day , but i have a problem.
from time to time the website gives a runtime error and going down from time to time.
and the only solutions to make it work again by restarting the IIS on server.
i really dont know what to do :S
any help please ;)

Transform Matrix Problem

  
Hi, Assume drawing a house on the lower left corner of one form:
protected override void OnPaint(PaintEventArgs e)
{
float zoom = 1F;

e.Graphics.Transform = new System.Drawing.Drawing2D.Matrix(
new System.Drawing.RectangleF(0, 0, Width, Height),
new System.Drawing.PointF[]{
new System.Drawing.PointF(0,Height/zoom),
new System.Drawing.PointF(Width/zoom,Height/zoom),
new System.Drawing.PointF(0,0)});

Pen p = new Pen(Color.Black, 1);
e.Graphics.DrawLine(p, 0, 0, 100, 0);
e.Graphics.DrawLine(p, 100, 0, 100, 100);
e.Graphics.DrawLine(p, 100, 100, 0, 100);
e.Graphics.DrawLine(p, 0, 100, 0, 0);
e.Graphics.DrawLine(p, 0, 100, 50, 150);
e.Graphics.DrawLine(p, 50, 150, 100, 100);
}


My problem is that with this transformation some parts of that house will disappear. And if I set zoom to something other than 1, the house will move on the form. Can anybody please say where is my fault?
 
Categories:
.NET
Java
PHP
C/C++/VC++
HTML/XML
SAP
MainFrames
Data Warehousing
Testing
MySQL
SQL Server
Oracle
Javascript/VB Script
Others
Login
 
 
 
 
 Forgot password
 Contact Us   Terms Of use   Share your knowledge