Solved

Need Help With IIS / Visual InterDev Connection

Posted on 2013-11-08
12
376 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 83

Expert Comment

by:Dave Baldwin
ID: 39635199
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
ID: 39635933
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 83

Expert Comment

by:Dave Baldwin
ID: 39635943
It appears you need to fix that error before you can do anything else.
0
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 

Author Comment

by:stuengelman
ID: 39635987
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 83

Expert Comment

by:Dave Baldwin
ID: 39636136
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
ID: 39637304
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
 

Author Comment

by:stuengelman
ID: 39637335
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 83

Accepted Solution

by:
Dave Baldwin earned 500 total points
ID: 39637408
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
ID: 39650259
Hi Dave,

Thanks very much for the link.

Will test it out.

Stu
0
 

Author Comment

by:stuengelman
ID: 39682631
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
ID: 39682634
Very helpful advice, that solved two of my three problems.
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 39682700
You're welcome, glad to help.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
This article is the result of a quest to better understand Task Scheduler 2.0 and all the newer objects available in vbscript in this version over  the limited options we had scripting in Task Scheduler 1.0.  As I started my journey of knowledge I f…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

840 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