472,779 Members | 1,977 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,779 software developers and data experts.

VS.NET Create Web Application Hang

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
Jul 21 '05 #1
2 3031
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...;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*efau...n-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

Jul 21 '05 #2
Hi Greg,

Thanks for your descriptive explanations, but regretably most of them have
already been tried.

As I said in my original post, because making him a domain admin did not
have an affect, and all users are already local admins of their own boxes, I
do not believe this is a security issue, at least not directly.
Additionally, we have very few deny permissions in use on our network, plus
the issue does not occur when he logs on to other developer stations, and
his computer and user account are now currently blocked from inheriting ANY
Group Policies.

However, we had not previously verified his membership in the two local
groups that you mentioned... upon checking it just now, interestingly
enough, his account is the ONLY one listed under VS Developers, and yet is
the ONLY account that can not create a web application from scratch. His
account is and has been a member of both 'VS Developers' & 'Debugger Users.'

As you correctly presumed, his staion is not a DC, it is a Win2K
professional member station in a Windows 2000 Active Directory domain. We
have already tried the aspnet_regiis /i command and the User post message
limit registry edit to no avail.

We realize we may need to completely resintall his O/S and applications, but
since this is a tax company, and he is the primary web developer, we can not
do so until after tax season. So we are hoping to identify a less drastic
measure.

Please let me know if you (or anyone else) has any more ideas... but thank
you very much for your help!!

Keith C. Jakobs, MCP

"Cowboy (Gregory A. Beamer) - MVP" <No************@comcast.netNoSpamM> wrote
in message news:E1**********************************@microsof t.com...
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...;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*efaul...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

Jul 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Omey Samaroo | last post by:
I have had most of my questions answered in this forum and learned a lot from reading others post. In fact, I have even discovered answers to questions that I thought were totally impossible and...
1
by: varadha | last post by:
Hi, My Application listening to a port of my machine and it response with data to the requesting system. This application is provided as a service in my machine. Now i am planning to have more...
5
by: Loane Sharp | last post by:
Hi there I've got a hang of a problem ... I'm running the .NET framework (2.0.40903), SQL Server 2000 and SQL Express 2005 on Windows XP Pro on a pretty good and new IBM Thinkpad X41. Some...
0
by: Ben | last post by:
Hi there, We've asp.net application running on a Win2000 server + .net framework 1.1.4322 . After running for a few weeks, it got hang. Even calling up a simple page such as the home page took...
12
by: JohnR | last post by:
I have narrowed a problem down to a simple example. A form with two buttons. One EXIT and one FBD. The exit button does an "END" to end the application. The FBD button does a...
2
by: Keith Jakobs, MCP | last post by:
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...
2
by: agus liem | last post by:
Hai.. I introduce myself, my name : Agus, from Indonesia. Im develop application using POwerbuilder 7 and postgresql 7.3. I have serveral error, and cannot solve yet. Anybody help me? This is...
23
by: sandy | last post by:
I need (okay, I want) to make a dynamic array of my class 'Directory', within my class Directory (Can you already smell disaster?) Each Directory can have subdirectories so I thought to put these...
10
by: nagar | last post by:
I noticed this behavior in a C# application. For its nature the applications stays mainly minimized to the tray icons As soon as it's launched the application responds normally. After a while,...
0
by: Rina0 | last post by:
Cybersecurity engineering is a specialized field that focuses on the design, development, and implementation of systems, processes, and technologies that protect against cyber threats and...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
0
linyimin
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
0
by: erikbower65 | last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA: 1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
0
by: kcodez | last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.