Solved

Need Help With IIS / Visual InterDev Connection

Posted on 2013-11-08
12
368 Views
Last Modified: 2013-11-27
Hello,

I am having a problem connecting to IIS using Visual InterDev (the VB6 ASP Classic code authoring system).  When I open a project in Visual InterDev, and double click a file, I get the error popup attached.  Normally, Visual InterDev simply opens the file for editing.

I recently ran a PC Cleaner (PC Cleaner Pro), and it may have deleted a needed service or file.

I am running Win XP SP4 w/ 2.66GHz P4 CPU.

Thank you very much for any help you can provide.

Best regards, Stu Engelman
vs6error.jpg
0
Comment
Question by:stuengelman
  • 7
  • 5
12 Comments
 
LVL 82

Expert Comment

by:Dave Baldwin
Comment Utility
What do you get when you enter 'http://locahost/' in your browser?  Maybe IIS is turned off for some reason.  Also, on my machine (XP SP3) I have limited IIS to the machine IP address so it does not answer at localhost.  It was causing me some problems.  If you choose "All unassigned", it should answer on 'localhost'.
0
 

Author Comment

by:stuengelman
Comment Utility
Hi Dave,

On invocation of http://locahost/ in a browser, I get "Server Application Error.  The server has encountered an error while loading an application during the processing of your request. Please refer to the event log for more detail information. Please contact the server administrator for assistance."

My IIS Default Web Site, which is the container for all other web virtual directories in IIS, already has "All Unassigned" as its IP address.

Stu
0
 
LVL 82

Expert Comment

by:Dave Baldwin
Comment Utility
It appears you need to fix that error before you can do anything else.
0
 

Author Comment

by:stuengelman
Comment Utility
Hi Dave,

You may be right, but the error message is so generic it provides no clue as to how to proceed.

At this point my question is what do I do?  I don't even know what's causing the problem, let alone how to fix it.

Stu
0
 
LVL 82

Expert Comment

by:Dave Baldwin
Comment Utility
I assuming you are running Windows XP SP3 since there is no SP4.  First look in C:\Inetpub\wwwroot for one of the 'default' index files like 'default.asp' or 'default.aspx'.  Rename that to something like 'default0.asp' and then put a simple index file in there like 'default.htm' or 'index.htm'.  Then 'localhost' should come up without that error because an 'htm' file is not going to be an 'application'.  Then you can look at whatever file is causing the error.

In your IIS setup under "Home Directory" in the Properties for your web site, click on Configuration and look at the Debugging tab and make sure that "Send detailed ASP error messages..." is selected.
0
 

Author Comment

by:stuengelman
Comment Utility
Hi Dave,

You are correct that I am running Win XP SP3 (sorry for the mistake in my initial post).

C:\Inetpub\wwwroot does not have any default or index page.

"Send Detailed Error Messages" is already selected both for my Default IIS Web Site, as well as the web site I am trying to work with (the latter is a child object of the former within IIS).

I added index.htm to C:\Inetpub\wwwroot with the following code:

<HTML>
<HEAD>
</HEAD>
<BODY>
This is a test.
</BODY>
</HTML>

I then made sure that index.htm was a default document for the Default IIS web site.

http://localhost/ now displays "This is a test."  So it looks like I'm making some progress.

Let me check Visual Interdev and see if the problem is fixed in respect of the actual site I want to work with,

Stu
0
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 

Author Comment

by:stuengelman
Comment Utility
Hi Dave,

When I try to open up a page from the web site I want to work with in Visual Interdev, I get the error popup attached below.  Also, the World Wide Web Publishing Service turns off, and the Default web site in IIS turns off.  The latter will of course turn off all other IIS web virtual directories, as the Default web site in IIS is the parent object of all other web virtual directories in IIS.

Stu
vid-error.jpg
0
 
LVL 82

Accepted Solution

by:
Dave Baldwin earned 500 total points
Comment Utility
See if this helps: http://support.microsoft.com/kb/315296  I had to go thru this to keep IIS running on this computer and I may have to do it again.  Periodically something kills it and I have to do a restart.
0
 

Author Comment

by:stuengelman
Comment Utility
Hi Dave,

Thanks very much for the link.

Will test it out.

Stu
0
 

Author Comment

by:stuengelman
Comment Utility
Hi Dave,

Your link was very helpful.  I uninstalled/reinstalled IIS and this seemed to fix my registry problems.  I still have the issue of getting VID to communicate with IIS, but the WWW Publishing Service and IIS shutdowns are now resolved.

I'll start a new request to deal with the remaining issue.

Thanks very much for your help.

Stu
0
 

Author Closing Comment

by:stuengelman
Comment Utility
Very helpful advice, that solved two of my three problems.
0
 
LVL 82

Expert Comment

by:Dave Baldwin
Comment Utility
You're welcome, glad to help.
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

771 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

10 Experts available now in Live!

Get 1:1 Help Now