Debugging ASP apps in Interdev.
yeahh i decided to start with posting some technical solutions to problems which we developers face in our day 2 day life..
Most of us work on VS 6.0 & Visual Interdev and are not aware that we can debug the Visual Interdev solutions / ASP apps just as we debug the normal VB apps. To enable Visual Interdev to debug below go thro the steps given below.
1. First Install a Working copy of Visual Interdev 6.0.
2. Next we need to install the Back Office components. These are typically present in the 5th CD of the Visual Studio 6.0 set.Insert this Cd and then select Launch Backoffice Installation Wizard after that select the following components to install.a. Remote Machine Debuggingb. Frontpage Server Extensions.(imp. these are the 2 apps which are needed for debugging ASP apps.)Complete the Backoffice Installation.
3. Next give a breakpoint in one of your ASP page and run your Visual Interdev solution.
- The first time you run it there would be a message box which says. "This Project is not set up to enable ASP Debugging. Would you like to enable ASP Debugging on this Project ?" Select Yes on this message box (cos we need ASP pages to be debugged).
- Now if you get another message box which says. "Unable to set server into Correct Debugging state automatically..." Select Yes over here also.
- Now browse to the page where you have set up the breakpoint and the Visual Interdev app will go in the Debugging mode and you will be able to look into variable values, Immediate window etc.
- If after the c. step you are still unable to debug the ASP application then stop the Interdev app perform the following steps.
a. Go To Control Panel --> Administration --> Internet Services Manager / Internet Information Service / IIS.
b. Here go to your Virutal Directory and right-click --> Properties.
c. Click on the Configuration button which is in the Directory tab. Select the Debuggin Tab in the Application Configuration window.
d. Check the boxes 'Enable ASP server-side script debugging' and 'Enable ASP client-side script debugging'
Run the Interdev application and you will be able to debug it now.
(imp. You will also need to enter the Administrators / Logged In Users password while running the Interdev app. So enter the correct password.)
This was it about Debugging the ASP scripts in Visual Interdev.
We can also similarly debug the Client-Side vb/javascript code in the ASP/HTML pages.
While running the ASP page in IE Webbrowser click on the menu View --> Script Debugger --> Open.
This will open the Script Debugger in Interdev after which you can debug your client code.
If you want to debug after say clicking on the Submit button then select View --> Script Debugger --> Break at Next Statement.
This will open the code at the onclick event of the Submit button.
This was a very brief overview about debugging the Interdev apps.
If you are still unable to make Debugging work youcan find the MSDN article at
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnvid/html/msdn_videbugging.asp


10 Comments:
Hi Bharat,
Your blog is cooooool:). This post is really helpful as I face the problem of finding errors in an ASP application many a times. I will try out the solution whenever the next time I work on an ASP project.
By
Adarsh, At
11:30 PM
i thought your blog was cool and i think you may like this cool Website. now just Click Here
By
miketheobold6287, At
12:58 PM
discount web hosting BLOGGGGGGGERS
I would like to tell everyone I know about a new web site for discount web hosting... If you are looking on ways to mkae money starting a business and need a site to host it on . Visit http://webhost11.com/ Today
By
discount web hosting, At
9:31 PM
nice site
By
Flights, At
11:21 PM
best site
By
night vision, At
11:22 PM
nice site
By
Flooring, At
11:28 PM
best site
By
B2b, At
11:28 PM
nice site
By
Flights, At
11:29 PM
This information is very useful bharath,thanks for it,keep up the good work
By
karthikeyan, At
5:06 PM
Today is the gold für wow second day of 2009 ,world of warcraft gold it also a mesos special for me .cheap wow gold Because i have cheap maplestory mesos a chance to go to an english speech of LiYang and crazy to learn english follow him . He is a firendly,kindly person who make me feel good.wow gold kaufen What‘s more ,maple story mesos he very confidence .And he make me sure what he can do i also can do,as long as i make a determination and force myself to do it every second,Crazy just like him .wow geld I learn one setence from his book ever :maple story items If you want to succeed always force yourself to do more .I can't agree more with him .wow gold farmen To be honest ,when i was a littel girl i already fall in love with english.But what a pity i am poor in english ,Maple Story Account and it make me feel frustrating .So i want to give up many times ,but i can't as i still love it .So i tell mysefl :if you think you can you can wow leveling,and all your maple story power leveling hard work will pay off.wow power leveling Today i am very happy i can listien this wonderful speech of LiYang. I reap a great benifits from him .maple story money As he say :i am the best ,and every one can do it . world of warcraft power leveling Yes,i belive i can do it if i crazy as he buy archlord gold.Now i want to say :i will never give up.
By
dghnfgj, At
7:11 PM
Post a Comment
Subscribe to Post Comments [Atom]
<< Home