Rene
|
Posted: 01/06/2004, 4:19 PM |
|
I am developing a small project in ASP 3.0. I develop it on my computer and
it works fine. It also worked fine on the IIS production server. However as
I had all the pages in the same level (directory), I created subdirectories
and moved some of the pages there. I adjusted some of the links that were
not automatically adjusted. Now the project is running my computer, but some
pages are not running anymore on the production server. I get an error
"Class not registered":
Error Type:
Provider (0x80040154)
Class not registered
/sales/Classes.asp, line 2511
That line has the following code that is part of the clsCommand Class, in
the Function DoOpen():
"DataSource.Recordset.Open"
The funny thing is that one of the pages that is not running, has several
Grid forms an a Search record form. When I delete some of the controls of
the Search record form (but noone in particular) or all the Search record
form, the page starts running again. I have looked everywhere for a fix but
I don't find it. BTW in the same project I have other pages with Search and
Grid forms that run perfectly.
Any idea where the error can be located?
Rene
Rene Bravo
|
|
|
Edd
Posts: 547
|
Posted: 01/06/2004, 5:01 PM |
|
Rene
If it is fully working on your machine then the files on the production server must be different. Check also that in your subdirectories on your local machine you don't have copies of the core classes.
Edd
_________________
Accepting and instigating change are life's challenges.
http://www.syntech.com.au |
|
|
Rene
|
Posted: 01/08/2004, 6:03 PM |
|
I have drilled down to the problem and isolated it (without finding the
solution). It looks that there is a problem with the ListBox control,
specifically when I use the ListOfValues Data Source. If the page contains
the ListBox control with the ListOfValues datasource, I get the error:
Error Type:
Provider (0x80040154)
Class not registered
/sales/Classes.asp, line 2511
Otherwise I do not get the error and the page runs smoothly (even when using
the ListBox control with a Table/View datasource).
And, as I mentioned in my first email, this only happens in the production
IIS. In my localhost machine, everything runs well. This is turning me
crazy. Any idea?
"Edd" <Edd@forum.codecharge> wrote in message
news:63ffb5a62231a0@news.codecharge.com...
> Rene
>
> If it is fully working on your machine then the files on the production
server must be different. Check also that in your subdirectories on your
local machine you don't have copies of the core classes.
>
> Edd
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>
|
|
|
|