asp.net1.1 threading problem

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts

  • =?Utf-8?B?dGFzbGVlbQ==?=
    Guest replied
    Re: asp.net1.1 threading problem

    no there is no Access issue, log function is called from thread creating
    function
    but and it is logged i mean values are written. so no access issue.
    anything else or any other suggestion, to do such thing.

    "Marc Gravell" wrote:
    Are you sure that perhaps it *is* calling it, but IIS (quite
    reasonably) isn't allowing access to the file system?
    >
    This might be better aimed as an ASP.NET group
    >
    Marc
    >
    >
    >

    Leave a comment:


  • Marc Gravell
    Guest replied
    Re: asp.net1.1 threading problem

    Are you sure that perhaps it *is* calling it, but IIS (quite
    reasonably) isn't allowing access to the file system?

    This might be better aimed as an ASP.NET group

    Marc


    Leave a comment:


  • =?Utf-8?B?dGFzbGVlbQ==?=
    Guest started a topic asp.net1.1 threading problem

    asp.net1.1 threading problem

    Hi!

    I am using thread to send multiple/bulk email. But my thread is not calling
    the me method that send emails.
    I work well on localhost. But when i upload it on server it didn't call the
    method (sendNewsletter _1).
    I am using following code
    public static bool sendBulkEmail_1 (int newsletterID)
    {
    m_newsletterID = newsletterID;
    Thread threadMail = new Thread(new ThreadStart(sen dNewsletter_1)) ;
    threadMail.IsBa ckground = true;
    threadMail.Star t();
    Thread.Sleep(20 00);
    return true;
    }
    public static void sendNewsletter_ 1()
    {
    Log_1("SendNews Letter"); //just write this test string to a file. Its just
    or testing.
    }

Working...