473,397 Members | 2,056 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,397 software developers and data experts.

VS2005 Security Settings/Trust


I have just installed VS 2005 (MSDN version) and I am having problems
coping files to the Projects folder while VS2005 is running. The
projects folder is on a network share and I have used mscorfg.msc to
set permissions as follows:

Machine | Code Groups | All_Code | LocalIntranetZone | Copy of DataShare

file://\\Jgsvr\DataShare\*.
What is happening is that copying a file, say an icon, into the
projects folder is taking several minutes during which VS2005 and
Explorer both freeze and are shown as 'Not Responding' in Task Manager.
If I copy the file without VS2005 running it copies at normal speed.

Presumably VS 2005 is controlling this somehow?

What do I need to do to fix it or change permissions or whatever, at
the moment I have to close VS2005, do the copying, and re-open it which
is not very practical.

--
Jeff Gaines
Nov 23 '05 #1
9 1677
Hi Jeff,
What is happening is that copying a file, say an icon, into the
projects folder is taking several minutes during which VS2005
and Explorer both freeze and are shown as 'Not Responding'
in Task Manager.


Would you please give us more detailed info about this issue, such as which
the Windows version of your working machine and the machine that the
network share resides, does this problem only happen to a specific project
or a kind of project type(e.g. web site project), and does your machine
have any firewall or anti-virus software installed?

Currently we are unable to repro this problem in local environment and also
do not find any similar case in our database.
Thanks for your understanding!

Best regards,

Gary Chang
Microsoft Community Support
--------------------
Get Secure! ¡§C www.microsoft.com/security
Register to Access MSDN Managed Newsgroups!
http://support.microsoft.com/default...sdn/nospam.asp
&SD=msdn

This posting is provided "AS IS" with no warranties, and confers no rights.

Nov 23 '05 #2
Hi Jeff,

By the way, I don't think you need to set the permission in mscorcfg.msc,
it is used to manage and configure assemblies in the Global Assembly Cache,
adjust code access security policy, and adjust remoting services. AFAIK, it
doesn't work to a VS.NET project or a Windows file folder...
Thanks!

Best regards,

Gary Chang
Microsoft Community Support
--------------------
Get Secure! ¡§C www.microsoft.com/security
Register to Access MSDN Managed Newsgroups!
http://support.microsoft.com/default...sdn/nospam.asp
&SD=msdn

This posting is provided "AS IS" with no warranties, and confers no rights.

Nov 23 '05 #3
On 19/11/2005 "Gary Chang[MSFT]" wrote:
Hi Jeff,
What is happening is that copying a file, say an icon, into the
projects folder is taking several minutes during which VS2005
and Explorer both freeze and are shown as 'Not Responding'
in Task Manager.


Would you please give us more detailed info about this issue, such as
which the Windows version of your working machine and the machine
that the network share resides, does this problem only happen to a
specific project or a kind of project type(e.g. web site project),
and does your machine have any firewall or anti-virus software
installed?

Currently we are unable to repro this problem in local environment
and also do not find any similar case in our database.

Hi Gary

This is intriguing, I thought I had probably just set some permissions
incorrectly.

The server runs XP Pro SP2, it's a Pentium 4 3.0GHz Prescott with 1GB
RAM. It has Norton PF 2003 which is updated over night.

The development PC is also XP Pro SP2 with an AMD 3200+ and 2GB RAM. It
has the NVidia firewall that runs with the NForce 4 chipset.

The router is a Draytek Vigor 2600G running at 100Mbps wired with CAT5E.

I am working on Windows Forms apps, there is no Web server on either PC
- although there is a desktop version of SQL server on the server
installed by my Pinnacle Show Center, although I don't stream music
while I'm working!

The shared drive is 200GB and 61% full, I have a folder 'Visual Studio
2003' for VS2003 projects and 'Visual Studio 2005' for VS2005 projects.
The problem is particularly noticeable because as I convert apps I copy
them from the VS2003 folder to the VS2005 folder.

I have just done some tests so I can be specific. I opened a project in
VS2005 called 'JFileManager', I then copied an icon from another folder
and when I pasted it to the 'JFileManager' folder it took a couple of
minutes. I then did the same thing from a laptop, copied an icon and
paste it into the 'JFileManager' folder and it copied at normal speed.

I have just copied and pasted an icon into a different sub folder of
Visual Studio 2005 on the development PC and that also took a couple of
minutes.

Finally I closed VS2005 and copied an icon into the 'JFileManager'
folder and it copied immediately.

It seems that VS2005 has some sort of hook into its working folder that
is really slowing things down.

Is that enough detail? I am happy to try some more tests if it would
help, it would be good to get to the bottom of it :-)

--
Jeff Gaines
Nov 23 '05 #4
On 19/11/2005 Jeff Gaines wrote:

[snipped]

A brief follow up, according to 'WhoLockMe' the folder is locked by
devenv.exe, output is:

Locker Name devenv.exe
PID 0x018c (396)
Opened File \\jgsvr\datashare\Visual Studio 2005\Projects\JFileManager
Handle 0x0420
Domain JGMAIN
User jeff
Locker Full Path C:\Program Files\Microsoft Visual Studio
8\Common7\IDE\devenv.exe

A similar check of 'Visual Studio 2005' shows it and all its sub
folders are locked by devenv.exe.

--
Jeff Gaines
Nov 23 '05 #5
Hi Jeff,

Very thanks for the detailed information!

Based on my experience, such problem could be caused by some anti-virus
software and firewall settings, have you tried to shut-down the develop
machine's and the server's Norton's PF2003 and NVidia firewall for a test,
is there any difference when running your VS2005 without those anti-virus
softwares?
Thanks!

Best regards,

Gary Chang
Microsoft Community Support
--------------------
Get Secure! ¡§C www.microsoft.com/security
Register to Access MSDN Managed Newsgroups!
http://support.microsoft.com/default...sdn/nospam.asp
&SD=msdn

This posting is provided "AS IS" with no warranties, and confers no rights.

Nov 23 '05 #6
On 22/11/2005 "Gary Chang[MSFT]" wrote:
Hi Jeff,

Very thanks for the detailed information!

Based on my experience, such problem could be caused by some
anti-virus software and firewall settings, have you tried to
shut-down the develop machine's and the server's Norton's PF2003 and
NVidia firewall for a test, is there any difference when running your
VS2005 without those anti-virus softwares?

Hi Gary,

I turned off both firewalls but it made no difference :-(

The only thing that does make a difference is closing VS2005 completely
when copying works at normal speed. 'WhoLockMe' shows that 'devenv.exe'
has a lock on the 'Visual Studio 2005' folder and all its sub-folders.
It's very odd, I also have VS2003 on the PC and that doesn't lock any
folders.

--
Jeff Gaines
Nov 23 '05 #7
Hi Jeff,

I just have perform some tests on my local environment(similar to your
description), but unable to repro this problem. Since this problem happens
when you copy the icon file via the Windows Explorer, have you tried copy
the icon within the VS2005 IDE(via the Add Existing Item to the project),
is it OK?

By the way, I suggest you also can use the Filemon
utility(www.SysInternals.com)to monitor the server machine when this
problems happens...
Thanks!

Best regards,

Gary Chang
Microsoft Community Support
--------------------
Get Secure! ¡§C www.microsoft.com/security
Register to Access MSDN Managed Newsgroups!
http://support.microsoft.com/default...sdn/nospam.asp
&SD=msdn

This posting is provided "AS IS" with no warranties, and confers no rights.

Nov 24 '05 #8
On 24/11/2005 "Gary Chang[MSFT]" wrote:
Hi Jeff,

I just have perform some tests on my local environment(similar to
your description), but unable to repro this problem. Since this
problem happens when you copy the icon file via the Windows Explorer,
have you tried copy the icon within the VS2005 IDE(via the Add
Existing Item to the project), is it OK?

By the way, I suggest you also can use the Filemon
utility(www.SysInternals.com)to monitor the server machine when this
problems happens...

Hi Gary

I'll have a play with Filemon but I am beginning to think I have a bad
install and somehow VS2003 and VS2005 are clashing. I had to re-build
some tools in VS2003 today (to debug things I have written in VS2005)
and it froze several times while building.

I'll do a fresh OS install in a couple of weeks and just install VS2005
and see if it's better.

Many thanks for your input :-)

--
Jeff Gaines
Nov 24 '05 #9
You are welcome, Jeff!

Wish this problem will disappear after the re-installation, good luck:)
Best regards,

Gary Chang
Microsoft Community Support
--------------------
Get Secure! ¡§C www.microsoft.com/security
Register to Access MSDN Managed Newsgroups!
http://support.microsoft.com/default...sdn/nospam.asp
&SD=msdn

This posting is provided "AS IS" with no warranties, and confers no rights.

Nov 25 '05 #10

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

Similar topics

16
by: Marina | last post by:
Hi, I am trying to find the minimum security settings to allow a windows control embedded in IE have full trust. If I give the entire Intranet zone full trust, this works. However, this is...
3
by: musosdev | last post by:
Hi guys I've got the following error on a project which is running locally on a vs2005 machine (built in webserver), trying to connect to my win2k3 server active directory. the error is... ...
1
by: John Bowman | last post by:
Hi All, I originally sent this to the dotnet.security ng, but no repsonse in 5 days. Hopefully, someone here can explain to me what's going on. I'm fairly new to .NET app security and manifests....
8
by: =?Utf-8?B?UGV0ZXJX?= | last post by:
I install Visual Studio 2005 Pro on Vista. I open and migrate a 2003 web project to 2005. I attempt to browse an aspx file from the Solution Exploer. It displays a blank html page. I create a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.