Solved

Need Help With IIS / Visual InterDev Connection

Posted on 2013-11-08
12
375 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
Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

 

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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Need to Modify a Script I found 5 98
AD permission to get performance data (CPU, Disk, Memory) via WMI ? 6 51
MsgBox 4 59
Zip Folders Using Chilkat Routines 1 36
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
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…
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…

786 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