Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Classic ASP Professional For advanced coder questions in ASP 3. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old February 22nd, 2006, 01:17 AM
Registered User
 
Join Date: Feb 2006
Location: Pune, Maharashtra, India.
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Type mimatch & Exception Occured Error

We have an web application called I-CAL(Interactive Personal Loan Calculator). This application is configured on server with Win 2000, IIS 5.0 and with 1 GB Ram.
The application is facing a very rare problem which is difficult to reproduce and trace. The problem statement is as follows:
The application faces an ASP Error called "Type Mismatch" and the line it points the error to is the statement where we create an Object of the Business Component. For Eg: Set Obj = Server.CreateObject("PrgABC.clsXyz").
This is a very rare error which does'nt occur consistently. We are not able to trace it also.
Can somemone tell me as to why we are facing such kind of error.
Note: It does'nt occur consistently.

The next error we are facing is "Exception Occured". This error basically occurs when the number of users increases. At present the number of users using the application are 350. But when the number increases to 500 the error starts occuring.

We have to restart the IIS to get some memory space. After restarting, the application again start working smoothly.

We tried to simulate the same problem on Development Server by consuming the memory space and then running the application. We
were faced with the same error.

Could any one help as the application is live and a lot chaos is created when the users face such errors during peak hours.

We have to restart the IIS server which is not at all feasilble during such peak hours.

Any Soluion?????? Pleasssseeee.....

Thanks in advance for your valuable time and efforts.

Sameer Kulkarni.


Sameer Kulkarni
Software Engineer
  #2 (permalink)  
Old March 1st, 2006, 04:45 AM
Registered User
 
Join Date: Feb 2006
Location: Pune, Maharashtra, India.
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Does any one have the solution or probable solution for the errors I have posted.?????

Have anyone atleast read the post?????

F1 F1 F1 .....

Regards,
Sameer Kulkarni.

Sameer Kulkarni
Software Engineer
  #3 (permalink)  
Old March 1st, 2006, 06:10 AM
Friend of Wrox
 
Join Date: Jul 2003
Location: , , United Kingdom.
Posts: 683
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hi Sameer,

I don't think there is a clear cut solution to your problem. It looks like your server is running out of memory, which means you could insert more memory into the machine or make changes to your application to reduce it's memory use.

Cheers,

Chris

  #4 (permalink)  
Old March 2nd, 2006, 12:25 AM
Registered User
 
Join Date: Feb 2006
Location: Pune, Maharashtra, India.
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Let me tell we are using Win 2000 server with IIS 5.0. The server has got 1GB
of RAM. There are no other applications running on it accept some which can
be neglected.

In the applications we are destroyiong objects wherever necessary.

Today also the users faced the same problem. The last time the users faced
the same problem was one month back. I was monitoring the server using
Performance tool and I found that the avilable memory was 13 MB when the
error occured. The number of anonymous users on server were 23.

Hope this information helps you in identifying the problem I'm facing and
you could be able to tell me what could be the cause?????

Could you tell me if these kind of errors are common in Web applications???
If so then what are the probable causes fot such errors.

Regards,
Sameer Kulkarni


Sameer Kulkarni
Software Engineer
  #5 (permalink)  
Old March 9th, 2006, 05:41 AM
Authorized User
 
Join Date: Mar 2006
Location: Aberdeen, Scotland, United Kingdom.
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Sameer,

I have seen bizare errors in applications when the server runs out of memory. I think I remember that we had to set a certain external COM object to Nothing; and that solved the memory leak issue. The amazing thing is that this was in .NET, which is supposed to handle memory for you!

In my humble opinion, I believe you have a memory leak; but only you can search for it.

May I suggest the article:
http://msdn.microsoft.com/library/de...ml/aspover.asp

At least it will give you ideas to try out.

Cheers,

Joel


Similar Threads
Thread Thread Starter Forum Replies Last Post
An unidentified error has occured p2ptolu MySQL 0 October 28th, 2005 07:40 AM
Exception occured. Cinderella Classic ASP Basics 4 February 9th, 2005 12:49 PM
A unidentified error has occured. malachany Dreamweaver (all versions) 6 February 4th, 2005 10:31 AM
Exception Occured (0x80020009) problem dominic_huang Classic ASP Databases 1 November 17th, 2004 01:13 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.