473,320 Members | 1,863 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 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 3079
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: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.