RE: VS.NET Create Web Application Hang

From: Cowboy (Gregory A. Beamer) - MVP (NoSpamMgbworld_at_comcast.netNoSpamM)
Date: 03/25/05


Date: Fri, 25 Mar 2005 06:49:05 -0800

Not sure if this will help, but here goes.

.NET 1.x pretty much requires that the user is a local Admin. While Domain
Admin should solve this, I am not sure it is a definite fix, as you can have
specific Policy on the user account that contains a deny, which would
override his permissions.

I do not have the URL in front of me (will try to find it), but there is a
white paper on how to set up a user without making him an admin. I have found
that this works in most cases, but there are still times when policy bites
you and you have to resort to making the user an admin.

Beyond that, here are some suggestions:

1. Set the user up in both VS Developers and Debugger Users. This is a
common sticking point.

2. Ensure IIS is set up properly for ASP.NET. The easiest manner is running
aspnet_regiis /i from a .NET command prompt. You will probably have to be
logged in as an admin to run this.
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q306005

3. Assume the user's box is not a DC, so you can likely ignore this one:
http://support.microsoft.com/d­efault.aspx?scid=kb;en-us;Q315­158

4. This one is a bit strange, but happens in some machines (try permissions,
etc., first). The message limit is hit before the final success message. The
solution here is:
a. Run regedit .exe
b. Find the key:
     HKEY_LOCAL_MACHINE\SOFTWARE\Mi­crosoft\Windows
     NT\CurrentVersion\Windows \USERPostMessageLimit

c. Change USERPostMessageLimit (DWord) to a value greater than 10,000
(create if not there)
d. Reboot

---
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
***************************
Think Outside the Box!
***************************
"Keith Jakobs, MCP" wrote:
> Greetings:
> 
> I had seen several posts around the Internet about this issue from a few
> months back, but have been unable to find a resolution ...
> 
> I have a user who is trying to get started with Visual Studio.NET 2003.  We
> have uninstalled and reinstalled the Product.... then we did a complete
> cleanout of development products, re-installed IIS, and reinstalled JUST
> Visual Studio.NET 2003 with Framework 1.1 (no more 2002 edition or Framework
> 1.0)... and even went so far as to delete his profile and create it from
> scratch... yet he still has the same issue:
> 
> Every time he tries to create a VB.NET web application inside the Visual
> Studio.NET IDE, the environment hangs while 'Initializing offline cache...'
> (message appearing in lower left corner of IDE window).
> 
> We have tried having other users log on.  They have no issue starting the
> environment and creating a blank web application.  These users include
> individuals that have both more restricted and completely unrestricted
> permissions (Domain Admins) on the network/domain.  All of them can create a
> web application in the IDE.  We even created a local account for him to
> test, even though he has local administrative rights using his own domain
> account.  That local account allows him to create a web app, but not his
> domain account.
> 
> As an additional test, this user was temporarily made a member of the Domain
> Admins group, which should have no restrictions in our domain.  The user
> profile was deleted again, and created with the user as a Domain Admin.  He
> still has no success creating a web application inside the VS.NET IDE.
> 
> We do have several Group Policy objects in effect on our domain, but without
> knowing what permission or security setting might be preventing the offline
> cache from initializing, it would be difficult, if not impossible, to debug
> the GPO's (this is a Windows 2000 domain only with no XP nor 2003... so RSOP
> and GPMC tools are not available).  Also, we have moved both his computer
> and his user account to an OU that blocks all policy inheritance, so I am
> hoping it is a local machine issue and not a GPO or security issue.
> 
> Actually, I am reasonably confident that this is not a permission nor a
> security issue because not only does making him a Domain Admin have no
> impact - he is still unable to create a new web app with that group
> membership - but also because without elevated DOMAIN permissions, he has no
> issue creating web apps on other computers that have Visual Studio.NET
> installed, which are also on computers that have GPO's applied to them.
> 
> Yes, IIS is running on his box, and applications do execute there...
> however, we also had problms with even running .NET apps on his system
> originally, which is what prompted the complete uninstall and re-install of
> the infrastructure.
> 
> I know this may be a difficult issue, but I also know from other posts, that
> this issue is not unique to our environment.  Any help that can be suggested
> or provided would be GREATLY appreciated.
> 
> Thank you in advance.
> 
> Keith C. Jakobs, MCP
> 
> 
> 


Relevant Pages

  • Re: Incoming E-Mail - cant create contact in OU
    ... account out of local administrator to attempt to find any denied ... I then added full permissions to my user account on both of these keys, ... that's for every app pool you create for every new web app on the ... local admin rights to the server hosting incoming email. ...
    (microsoft.public.sharepoint.windowsservices)
  • Re: Incoming E-Mail - cant create contact in OU
    ... account out of local administrator to attempt to find any denied access. ... I then added full permissions to my user account on both of these keys, ... local admin rights to the server hosting incoming email. ... what permission I need to give the app pool locally to avoid this issue. ...
    (microsoft.public.sharepoint.windowsservices)
  • Re: NTFS owner problem
    ... power options, ... permissions that control access. ... to which any admin account should have full access. ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Incoming E-Mail - cant create contact in OU
    ... account out of local administrator to attempt to find any denied access. ... I then added full permissions to my user account on both of these keys, ... local admin rights to the server hosting incoming email. ... what permission I need to give the app pool locally to avoid this issue. ...
    (microsoft.public.sharepoint.windowsservices)
  • Re: enable "runas" under account, without log into workstations ?
    ... > regular user with some permissions mods to program files folder, ... > help with tracking down permissions problems if you logon as regular user ... item 1 states that you create the account as an admin. ...
    (microsoft.public.windows.server.networking)