Solved

asp page hangs on creating object

Posted on 2008-10-28
4
326 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I would like to start this tip/trick by saying Thank You, to all who said that this could not be done, as it forced me to make sure that it could be accomplished. :) To start, I want to make sure everyone understands the importance of utilizing p…
IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

691 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