473,549 Members | 2,723 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ASP error in pm.asp line 192 (second try - Please help)

I posted this question already but nobody could answer me. Please forgive for
doing it again, but it's very important for my company. We have been
searching for this error with different engines (Google, MSN, etc) and in
different newsgroups but we didn't find any solution. Some people had the
same problem but they never got an answer. :-(

This managed group is my last chance!

We have a "legacy" ASP application that is showing a strange behaviour. You
can go to a page 20, 30 or 50 times and it works. But then it shows an error
"800a0005 Invalid procedure call or argument /_ScriptLibrary/pm.asp, line
192". When this error comes then the page enters a strange loop. When you go
the next time it works, if you go to the page again it doesn't work, the next
time it works and so on. After some time without working it seems to "repair"
itself. Maybe the IIS process is being recycled or something like this and
now it works again till 50 times before starting the loop again.

As it seems it has something to do with the "Interdev Extensions" from
Microsoft.
The line 192 is trying to create a DERuntime object.

//*************** *******
// function _SOM_createDE()
// Create the data environment object as DE
//*************** *******
function _SOM_createDE()
{
if (!this._bDECrea ted)
{
DE = Server.CreateOb ject('DERuntime .DERuntime');
DE.Init(Applica tion('DE'));
this._bDECreate d = true;
}
}

As I said: the strange thing is that it works till 50 times but then it fails!
The environment is a Windows XP machine with SP2 installed. We have been
able to reproduce it in two different machines and accessing Oracle 9 and MS
SQL 2000. In many other machines it's working with no problems.

Thank you in advance
Raul
Dec 13 '05 #1
6 2075
Have you been able to reproduce this error on a Server box? E.g. Windows
2000, Windows 2003. If it as important for your company as you say, you
should be using one of these, rather than Windows XP which is designed as a
client machine; it may have a version of IIS on it, but that doesn't make it
suitable for production usage.

Regarding the actual problem, forgive my lack of knowledge as I'm generally
ASP.Net focussed these days, but is pm.asp a script file your company have
created, or does it come with Interdev? If the latter, have you checked if
there is a newer version? If the former, my understanding of
Server.CreateOb ject is that calls should be in the form:
Set <VariableName > = Server.CreateOb ject("<ObjectTo Instantiate>")
rather than
<VariableName > = Server.CreateOb ject("<ObjectTo Instantiate>")
as you have currently. However, even then I'm not convinced this is the
problem. Are you absolutely certain that line 192 is the CreateObject line,
and not the Init line afterwards?

Jevon
"Raul Rodriguez" <Ra***********@ discussions.mic rosoft.com> wrote in message
news:D6******** *************** ***********@mic rosoft.com...
I posted this question already but nobody could answer me. Please forgive
for
doing it again, but it's very important for my company. We have been
searching for this error with different engines (Google, MSN, etc) and in
different newsgroups but we didn't find any solution. Some people had the
same problem but they never got an answer. :-(

This managed group is my last chance!

We have a "legacy" ASP application that is showing a strange behaviour.
You
can go to a page 20, 30 or 50 times and it works. But then it shows an
error
"800a0005 Invalid procedure call or argument /_ScriptLibrary/pm.asp, line
192". When this error comes then the page enters a strange loop. When you
go
the next time it works, if you go to the page again it doesn't work, the
next
time it works and so on. After some time without working it seems to
"repair"
itself. Maybe the IIS process is being recycled or something like this and
now it works again till 50 times before starting the loop again.

As it seems it has something to do with the "Interdev Extensions" from
Microsoft.
The line 192 is trying to create a DERuntime object.

//*************** *******
// function _SOM_createDE()
// Create the data environment object as DE
//*************** *******
function _SOM_createDE()
{
if (!this._bDECrea ted)
{
DE = Server.CreateOb ject('DERuntime .DERuntime');
DE.Init(Applica tion('DE'));
this._bDECreate d = true;
}
}

As I said: the strange thing is that it works till 50 times but then it
fails!
The environment is a Windows XP machine with SP2 installed. We have been
able to reproduce it in two different machines and accessing Oracle 9 and
MS
SQL 2000. In many other machines it's working with no problems.

Thank you in advance
Raul

Dec 13 '05 #2
Thank you for your time, Jevon!
Have you been able to reproduce this error on a Server box? E.g. Windows
2000, Windows 2003. If it as important for your company as you say, you
should be using one of these, rather than Windows XP which is designed as a
client machine; it may have a version of IIS on it, but that doesn't make it
suitable for production usage.
The problem is that these machines are used by our sales force. They go to
the customers and show them our software on their laptops and they use
Windows XP. The software is working fine on many of them, but sudenly one of
these laptops started to malfunction as I explained. The strange thing
(Murphy?) is that one of our customers deployed our solution 2 days later on
another Windows XP and they got the same behaviour. Now our product manager
is afraid that this could happen to potentially hundred other customers.
Without an explanation for this "bug" we cannot be sure that this could
happen to many other rollouts. :-(
Regarding the actual problem, forgive my lack of knowledge as I'm generally
ASP.Net focussed these days, but is pm.asp a script file your company have
created, or does it come with Interdev? If the latter, have you checked if
there is a newer version?
Yes, we have got the same "problem". Our programmers are now using ASP.NET
and we got this "old" modules that we need to install / sell till we rewrite
them using .NET.
The pm.asp file is something that gets installed when you use Interdev. The
newest version we found is to install the Service Pack 5 for Visual Studio 6.
Are you absolutely certain that line 192 is the CreateObject line,
and not the Init line afterwards?


Uuuuuuuupppppps ss!! You are right!! Yes, it is the Init line!! I wrote it
wrong. We looked in the MSDN site for information about the DE object and
this Init method but we couldn't find anything that could help us.

Thank you again, Jevon
Dec 13 '05 #3

"Raul Rodriguez" <Ra***********@ discussions.mic rosoft.com> wrote in message
news:DE******** *************** ***********@mic rosoft.com...
Thank you for your time, Jevon!


No problem!
Are you absolutely certain that line 192 is the CreateObject line,
and not the Init line afterwards?


Uuuuuuuupppppps ss!! You are right!! Yes, it is the Init line!! I wrote it
wrong. We looked in the MSDN site for information about the DE object and
this Init method but we couldn't find anything that could help us.


So it's definitely
DE.Init(Applica tion('DE'));
at fault.

My only real suggestion here is to investigate Application('DE ') - when is
this set? If it's null/empty/not set, that could be causing your problem as
the "signature" for the Init function would be different, hence your
"Invalid procedure call or argument". Does that make sense? I doubt it's a
concurrency issue as from your description the problem happens under low
loads. Maybe for some reason the application is reset? Or your code uses the
DE object/variable somewhere and doesn't release it properly? This might
explain the work/not work cycle.
Dec 14 '05 #4
"Jevon" wrote:
So it's definitely
DE.Init(Applica tion('DE'));
at fault.

My only real suggestion here is to investigate Application('DE ') - when is
this set? If it's null/empty/not set, that could be causing your problem as
the "signature" for the Init function would be different, hence your
"Invalid procedure call or argument".


This Application('DE ') gets never set in our code. The Interdev "runtime"
sets it in the global.asa like this:

<SCRIPT LANGUAGE=VBScri pt RUNAT=Server>
Sub Application_OnS tart
'==Visual InterDev Generated - startspan==
Set DE = Server.CreateOb ject("DERuntime .DERuntime")
Application("DE ") = DE.Load(Server. MapPath("Global .ASA"),
"_private/DataEnvironment/DataEnvironment .asa")
'==Visual InterDev Generated - endspan==
End Sub
</SCRIPT>

So it's been initialized on Application_OnS tart and never changed again! And
as I said, the strange thing is that it works till 50 times before it goes
into the "strange" loop.

Dec 14 '05 #5
"Raul Rodriguez" <Ra***********@ discussions.mic rosoft.com> wrote in message
news:6D******** *************** ***********@mic rosoft.com...
"Jevon" wrote:
So it's definitely
DE.Init(Applica tion('DE'));
at fault.

My only real suggestion here is to investigate Application('DE ') - when
is
this set? If it's null/empty/not set, that could be causing your problem
as
the "signature" for the Init function would be different, hence your
"Invalid procedure call or argument".


This Application('DE ') gets never set in our code. The Interdev "runtime"
sets it in the global.asa like this:

<SCRIPT LANGUAGE=VBScri pt RUNAT=Server>
Sub Application_OnS tart
'==Visual InterDev Generated - startspan==
Set DE = Server.CreateOb ject("DERuntime .DERuntime")
Application("DE ") = DE.Load(Server. MapPath("Global .ASA"),
"_private/DataEnvironment/DataEnvironment .asa")
'==Visual InterDev Generated - endspan==
End Sub
</SCRIPT>

So it's been initialized on Application_OnS tart and never changed again!
And
as I said, the strange thing is that it works till 50 times before it goes
into the "strange" loop.


I'm afraid I'm out of ideas then. Sorry! My last suggest would be to contact
Microsoft directly, but that might cost you.

Jevon
Dec 14 '05 #6
> I'm afraid I'm out of ideas then. Sorry! My last suggest would be to contact
Microsoft directly, but that might cost you.


Thank you for your interest
Dec 14 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1193
by: Morten Gulbrandsen | last post by:
C:\mysql\bin>mysql -u elmasri -pnavathe company Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 29 to server version: 4.1.0-alpha-max-debug Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> select database(); +------------+ | database() | +------------+
6
4721
by: Peter Frost | last post by:
Please help I don't know if this is possible but what I would really like to do is to use On Error Goto to capture the code that is being executed when an error occurs. Any help would be much appreciated. Thanks in advance
7
1651
by: Leon Shaw | last post by:
Need help understanding? Server Error in '/solo' Application. ---------------------------------------------------------------------------- ---- Object must implement IConvertible. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the...
6
3867
by: ST | last post by:
Hi, I keep getting the parser error, and I have no idea why. I've tried a number of things including: 1)building/rebuilding about 100x 2)making sure all dll's are in the bin folder in the root of the web app 3)restarting IIS 4)recreating the virtual dir in IIS 5)playing with any and all settings I could find for the web app in IIS,...
6
6108
by: blash | last post by:
Can someone help me? I really don't have a clue. My company staff told me they often got such error: "Object reference not set to an instance of an object." when they are in search result page then tried to access 2nd, or 3rd, etc page. The problem is it happens sometimes - sometimes when they clicked refresh button, then everything is ok....
8
1956
by: Chris | last post by:
Hi, I have two froms (form1 and form2). I want to be able to pass values from form 1 to form2 and be able to use those values leter in form2. This is my code for form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Server.Transfer("form2.aspx", True) End Sub
8
1197
by: Eric | last post by:
When data is more than one line it skip the second line in my program. Case Summary where it get data only from first line. I need help what changes i will do in my program so that it read the whole summary from text file. ERROR -----------
13
4718
by: problem. | last post by:
#include <stdio.h> #include <stdlib.h> int main(void) { int a, b; float result = 0.0f; char symbol = '\0'; int loop = 0;
3
2384
by: Dameon99 | last post by:
Hi.. Im experiencing a weird error I dont know how to fix. I have a scanner object and whenever I use nextInt, anything above 3 causes the program to crash saying and links me to this line of the class: (one I added all the asteriss to. // If we are at the end of input then NoSuchElement; // If there is still input left then...
9
7536
by: 2DIL | last post by:
hello all experts, basically, i have a very small project, in which 97% of the work is complete. yet there is an issue which i cannot solve and i have no error to indicate what the problem is.Perhaps, in this case, it might just be a bad thing I have 2 webpages, one with a datepicker in jscript with an id/name ="calendar"; this passes...
0
7957
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7809
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5368
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5088
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3500
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3481
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1941
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1059
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
763
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.