all groups > visual studio .net setup > january 2006 >
You're in the

visual studio .net setup

group:

VS.NET 2003 and VS.NET 2005 problems


VS.NET 2003 and VS.NET 2005 problems PeterW
1/24/2006 4:30:03 AM
visual studio .net setup: I have just resorted to a full uninstall of both VS.NET 2003 and 2005
followed by a re-install of VS.NET Enterprise version.

The problem I am having is that on attempting to open a sample solution
supplied by Protx that contains a Web project, IIS hangs and takes 99% of CPU
resources till I kill it. I have run aspnet_regiis /i thinking that this
might be the problem. No change. I have checked the virtual directory
permissions etc and do not find anything amiss. Protx (Payment Service
Provider) have released a .NET kit for VS.NET 2003 in the last few days. The
trouble is that I can't open any .NET Web project.

It may be my imagination but this only surfaced after I did a full system
rebuild and used a volume licencing version of XP SP2 that I get with my MYO
Universal subscription. Before this I have never used a volume licencing
version and never had this problem.

If I uninstall all VS versions, I am left with IIS working for ASP 3 files.
That is the last time I have any Web stuff that does not hang on attempting
to open let alone do anything. I have inspected the solution and project
files and cannot find anything wrong. Yet it hangs.

I urgently need to get on and get some real work done instead of fighting
systems.

Any ideas please.
--
RE: VS.NET 2003 and VS.NET 2005 problems wjzhang NO[at]SPAM online.microsoft.com (
1/25/2006 12:00:00 AM
Hi Peter,

According to your description, the problem is VS2005 hang when you try to
open a ASP.net 2.0 project, correct?

If so, I'd like to suggest you uninstall VS2005 and .net framework 2.0.
Then backup your IIS metabase configuration: In IIS mmc, right-click the
server icon. select all tasks->backup and restore IIS configuration. The
backup files will be located in \WINDOWS\system32\inetsrv\MetaBack
directory. Then please backup your web content in \Inetpub .

After this above, uninstall IIS in Add/Remove Windows Components. Delete or
remove WINDOWS\system32\inetsrv directory and \Inetpub directories.
Reinstall IIS. At this stage, you can install standalone .net framework 2.0
and deploy a test ASP.net 2.0 application on IIS to test. If it works fine,
please install VS2005 again and see if the problem still persists.

Microsoft .NET Framework Version 2.0 Redistributable Package (x86)
http://www.microsoft.com/downloads/details.aspx?FamilyID=0856eacb-4362-4b0d-
8edd-aab15c5e04f5&DisplayLang=en

Let me know how things are going. Thanks.

Best regards,

WenJun Zhang
Microsoft Online Partner Support

This posting is provided "AS IS" with no warranties, and confers no rights.
RE: VS.NET 2003 and VS.NET 2005 problems PeterW
1/25/2006 7:44:05 AM
WenJun

I never got to the point of re-installing VS.NET 2005 but had re-installed
VS.NET 2003. Uninstalled that and .NET framework 1.1. Backed up IIS
Metadata and deleted direcories etc.

reinstalled IIS and Framework 1.1 from MSDN DVD's

Result is that IIS still has problems.

Attempts to restart IIS Admin service results in report: Error 1053: did not
respond in a timely fashion and leaves SMTP and FTP Publishing services where
they report that their state as "Stopping". WWW is still Started.

Attempts to re-install VS2003 result in hanging IIS on any attempt to load a
web project.

IIS seems to be unable to recognise or do anything with aspx and related
files.

Any other suggestion?

--
PeterW


[quoted text, click to view]
RE: VS.NET 2003 and VS.NET 2005 problems PeterW
1/25/2006 8:12:02 AM

When attempting to open with VS2003 the following shows in EventViewer:
Hanging application devenv.exe, version 7.10.3077.0, hang module hungapp,
version 0.0.0.0, hang address 0x00000000.
Fault bucket 41735662.

If IIS:
Hanging application mmc.exe, version 5.1.2600.2180, hang module hungapp,
version 0.0.0.0, hang address 0x00000000.
Fault bucket 126818269.

On the same computer I also use a virtual PC console as a sandbox that runs
Server 2003, VS2003, Biztalk Server 2004 and where IIS gives no trouble.

I have had a look at the firewall in case it is that, but see nothing
untoward. Can't think of anything else to try at the moment short of a full
operating system re-installation which I just do not want to do. I had been
hoping to get the system stable enough to set a restore point but no such
luck!

I hope the Fault Buckets give you some clue as to cause.

cheers
--
PeterW


[quoted text, click to view]
RE: VS.NET 2003 and VS.NET 2005 problems wjzhang NO[at]SPAM online.microsoft.com (
1/26/2006 12:00:00 AM
Hi Peter,

Do you have any special anti-virus or firewall applications installed on
the machine? This is the most common reason which may impact IIS function
properly.

Best regards,

WenJun Zhang
Microsoft Online Partner Support

This posting is provided "AS IS" with no warranties, and confers no rights.
RE: VS.NET 2003 and VS.NET 2005 problems PeterW
1/26/2006 1:20:03 AM
WenJun

Firewall used is one built into XP SP2. Virus checker is Norton Anti-Virus
2005.

I did have some similar problems late last year and they seemd to relate to
a Vodafone 3G datacard that I use with my notebook when I am away from home.
However I have uninstalled the software for that and it makes no difference.
The card was also faulty and replaced by Vodafone a month ago. I do not
recall ever having not been able to use Services mmc to restart IIS. I tried
to restart this morning before any attempt to browse and it all worked fine.

However any attempt to access an aspx page after that hangs whereas an html
page displays. That sounds to me like the framework is not automatically
compiling or something like that. It makes no difference if it VS2003,
VS2005, the IIS mmc window, or a broswer that is attempting to browse to an
aspx page. Immediately after such an attempt has been made and despite the
closing the offending browser, the Services mmc fails to restart the iis
admin and dependent services and hangs. It results in Error code 1053.


--
PeterW


[quoted text, click to view]
RE: VS.NET 2003 and VS.NET 2005 problems PeterW
1/26/2006 1:41:03 AM
WenJun

When I attempt to browse directly to an aspx file using IE, I get Cannot
find server or DNS Error. Have checked hosts file but localhost is defined
as 127.0.0.1 as it should be. There are no other entries. Yet everything that
is happening seems to indicate that it does not understand how to resolve
localhost when aspx or similar files are involved

What else sould I maybe have to do?

Just on the off-chance I have tried to add devenve.exe and inetinfo.exe to
the list of permitted programmes for both firewall and virus checker without
any change.

I am stumped. Starting to think of a rebuild yet again. :-(

cheers
--
PeterW


[quoted text, click to view]
Re: VS.NET 2003 and VS.NET 2005 problems jeanluc.praz NO[at]SPAM gmail.com
1/26/2006 5:03:31 PM
I am having the same issue
RE: VS.NET 2003 and VS.NET 2005 problems wjzhang NO[at]SPAM online.microsoft.com (
1/27/2006 12:00:00 AM
Please run in a command line:

netstat -ano

See if PID of inetinfo.exe is properly listening on 0.0.0.0:80

Windows firewall will disable you to connect to IIS from a remote machine.
So you may shutdown it during the test or add IIS into exception list:

Help: Add a program to the Windows Firewall exceptions list
http://www.microsoft.com/technet/prodtechnol/windowsserver2003/library/Serve
rHelp/8b5e3b52-b77b-4d98-a058-b8083f393583.mspx

Norton Anti-Virus is also a suspect here. Most of consumer anti-virus
software will prevent IIS from working well.

Also please check your event viewer. Look at System log and Application
log, see if there is any IISAdmin, W3SVC or ASP.net related error or
warning in them.

Have a nice day.

Best regards,

WenJun Zhang
Microsoft Online Partner Support

This posting is provided "AS IS" with no warranties, and confers no rights.
RE: VS.NET 2003 and VS.NET 2005 problems PeterW
1/27/2006 5:31:03 AM
WenJun

I took drastic action and re-installed XP.

At the moment I have VS2003 working and opening web projects and I can get
some work done. Next VS2005..... and all the other stuff I normally have on
my system.

I took particular care with Norton and XP Firewall. So far all is OK. I
think Norton AV was the culprit.

Thanks for your efforts.

cheers
--
PeterW


[quoted text, click to view]
RE: VS.NET 2003 and VS.NET 2005 problems wjzhang NO[at]SPAM online.microsoft.com (
1/30/2006 12:00:00 AM
You are welcome Peter.

Best regards,

WenJun Zhang
Microsoft Online Partner Support

This posting is provided "AS IS" with no warranties, and confers no rights.
AddThis Social Bookmark Button