Active Server Pages

Moderators: None (Apply to moderate this forum)
Number of threads: 1763
Number of posts: 4498

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Error Type:Server object, ASP 0177 (0x800AEA5F)800aea5f Posted by sijdk2004 on 19 Dec 2007 at 4:38 AM
I have used COM component for ASP WebPages to show pages. The old component

worked fine. When I added new procedure to the COM component, compiled and

registered it, I get the following error in end user machine:

Error Type:

Server object, ASP 0177 (0x800AEA5F)

800aea5f

In the development machine the component working fine. Any idea what is the

problem.


Report
Re: Error Type:Server object, ASP 0177 (0x800AEA5F)800aea5f Posted by HackmanC on 19 Dec 2007 at 9:24 PM
Unregister the previous component,
regsvr32 /u yourcomponent.dll ' THE OLDER VERSION (Which you have in a backup)

Register your new component,
regsvr32 yourcomponent.dll ' THE NEW VERSION

And reboot the server machine.
Or at least reload the process of IIS.

Good luck!
Hackman
Report
Re: Error Type:Server object, ASP 0177 (0x800AEA5F)800aea5f Posted by sijdk2004 on 19 Dec 2007 at 10:49 PM
hi,
i did the same. but, still it is giving the same error. if i run the website without registering the component, it is showing the same error with "Invalid class string" message.


Unregister the previous component,
: regsvr32 /u yourcomponent.dll ' THE OLDER VERSION (Which you have in
: a backup)
:
: Register your new component,
: regsvr32 yourcomponent.dll ' THE NEW VERSION
:
: And reboot the server machine.
: Or at least reload the process of IIS.
:
: Good luck!
: Hackman

Report
Re: Error Type:Server object, ASP 0177 (0x800AEA5F)800aea5f Posted by HackmanC on 20 Dec 2007 at 12:11 PM
:o

This looks like the "Twilight Zone" for me !!!
Thats odd, but funny, kind of funny ... :)

http://www.google.com/search?q=ASP+0177+800AEA5F

You have 171 (more or less) answers to the
same question, but it looks like none of them
was useful.

That is a little bit scary. :)
You are in the unknown dimension.

The most interesting one for myself...
I quote:

Dar - 4/15/2005 12:00:00 AM

I've had this problem a couple of times now.
The error is just not recognised by Microsoft at all, so you're on your own.

http://www.developmentnow.com/g/60_2003_10_0_0_254236/Server-CreateObject-error.htm

This is what I would do in your case:

1. Take the older one and register properly on the server.
   Check if it still works.
2. Unregister the older one in the server and check in the
   "Registry" to remove everything about your component.
   Use search in the "Registry Editor".
3. Open the older project on VB on the development machine
   and ensure "Binary Compatibility".
4. Compile the new component.
5. Copy the component to the server and check security ACL.
   The user which the server is running on should have read
   access to your component .dll
6. Register properly the component on the server.
7. Shutdown (power-off) the server and restart.


Good luck!
Hackman
Report
Re: Error Type:Server object, ASP 0177 (0x800AEA5F)800aea5f Posted by sijdk2004 on 21 Dec 2007 at 2:12 AM
hi,
now it is working fine. but, i have added some code in one DLL file which will check the SQL service status,if it is stopped,it will display a messagebox. now, how to display the messagebox which i have added in DLL file? also, can u provide the sample code for checking for sql service status? i am Visual Basic 6.0.
Report
Re: Error Type:Server object, ASP 0177 (0x800AEA5F)800aea5f Posted by HackmanC on 21 Dec 2007 at 1:35 PM
Would be great for all those people having the same problem than you, if you share how did you fix the problem, in a blog or something.

To check the SQL Service status could be easy handled by opening a connection, and catching the "On Error" if the connection can't be opened.

But displaying a "MessageBox" from your DLL running inside "Internet Information Server" IIS would be lot of trouble, if the MessageBox can't be displayed could shutdown the whole server. For you convenience ... nobody does that. IIS runs like a Windows Service, and Windows Services should not relay on user interaction.

You better find another logging method. If you want monitor SQL Server status and get alerts, there are tools in SQL 2000 to do exactly that. Your application shouldn't monitor the status unless your applications is a monitoring application.

App.LogEvent() to log events to "Event Viewer".

Good luck!
Hackman



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.