473,725 Members | 2,254 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 | LocalIntranetZo ne | Copy of DataShare

file://\\Jgsvr\DataSha re\*.
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 1697
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\datasha re\Visual Studio 2005\Projects\J FileManager
Handle 0x0420
Domain JGMAIN
User jeff
Locker Full Path C:\Program Files\Microsoft Visual Studio
8\Common7\IDE\d evenv.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(sim ilar 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(sim ilar 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
2119
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 very broad and gives the entire zone high privleges. I tried giving just the assembly full trust (using the full URL for the DLL), but this doesn't seem to work.
3
2160
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... System.SystemException: The trust relationship between this workstation and the primary domain failed.
1
7085
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. I'm working with a test app: "MyApp.exe". Couple Q's: 1) When I turn on the security project setting in VS2005 for "Enable
8
1976
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 master page with 3 content placeholders. I create a WebForm that uses the master and then browse it to have a look. I get an empty html page. I change from the IIS to the internal server. No change. Only displays blank page.
0
8752
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9401
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9179
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6702
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4519
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4784
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3228
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2637
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2157
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.