Solved

asp page hangs on creating object

Posted on 2008-10-28
4
310 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Downside of adding characters set in ASP pages 6 29
If condition on Html with Asp 11 27
Html form and modal / img src -problem 3 29
asp Google Map 2 27
Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

839 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