Solved

Need Help With IIS / Visual InterDev Connection

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

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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Not long ago I saw a question in the VB Script forum that I thought would not take much time. You can read that question (Question ID  (http://www.experts-exchange.com/Programming/Languages/Visual_Basic/VB_Script/Q_28455246.html)28455246) Here (http…
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 …
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

861 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

29 Experts available now in Live!

Get 1:1 Help Now