Solved

asp page hangs on creating object

Posted on 2008-10-28
4
285 Views
Last Modified: 2008-11-06
i am creating some objects and the dll seems to be registered. however,  am not sure how to verify thru regedit.
but at the point where i create the object in the asp page.. the page hangs. what does this mean..
i am unable to run the asp page.
0
Comment
Question by:samir25
  • 2
4 Comments
 
LVL 13

Accepted Solution

by:
kaylanreilor earned 400 total points
ID: 22828837
I think you mean that you're instanciating an object from a class defined in a dynamic library (a dll), right ?
For example writing "A a = new A();" where the class A is defined in a dll that your project has a reference on.
So I suppose that you can forget an issue with the dll registration since if the dll was not registered, the compiler would have failed to build the page and then you would have had an clear error reported.

Probably you could try to debug and set a breakpoint in the init handler event, in the load event handler and in the render event handler of your page to see what's going on.

When you ask "what does this mean", I guess that I can ask you back the same question because you don't give a lot of details.
0
 
LVL 1

Author Comment

by:samir25
ID: 22838591
yes u r rite. and sorry for not providing complete details.
in asp how can i do event handling?
when i do something like this is where it causes the prob; bec if i remove this statement the page runs.
set obj = Server.CreateObject("Dart.Zip")

can u provide some inputs to help debug further?
0
 
LVL 7

Assisted Solution

by:Norush
Norush earned 100 total points
ID: 22838896
Can you do the following and run the page again including that line?

In Internet Explorer goto Tools-->Internet options-->Advanced and UNcheck the entry called "Show friendly HTTP error messages"

Now run the page again and report the exact error you are getting.
0
 
LVL 13

Assisted Solution

by:kaylanreilor
kaylanreilor earned 400 total points
ID: 22848366
"in asp how can i do event handling?"
?? You said "asp page hangs on", so I suppose you can access the source of your page, set a breakpoint into the Page_Load event handler, run the page and then add further info on what's going on.
Same issue for init or render.
BTW, same also concerning the creation : you can see what's happenning after set obj = Server.CreateObject("Dart.Zip").
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now