CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > NEWSGROUP > Asp.Net Forum > visual_studio.visual_studio_2005 Tags:
Item Type: NewsGroup Date Entered: 11/28/2007 8:03:26 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 4 Views: 57 Favorited: 0 Favorite
5 Items, 1 Pages 1 |< << Go >> >|
Muxdaddy
Asp.Net User
Multiple issues connecting to site on mapped drive\UNC share...11/28/2007 8:03:26 PM

0

I am working on a site that I'm writing that is hosted on a server outside my network (DMZ).  I am able to browse to it by IP and have Administrator access to it. I can create a New Website, edit it, compile it, debug it, everything just perfect.

 One of my other programmers opens the site through "Open Website", navigates to the \\servername\share\inetpub\wwwroot\projectfolder and it opens ok.  Now, when they try to open it / build it / debug it, they can get one or more of a ton of different errors.

A.  The specified network name no longer exists.  (this appears when you try to open a file, it goes away after a time or two of trying to open a file)

B.  The server cannot access the application directory.

C.  ~ does not exist or is not accessible because of security settings ~

D.  Failed to start monitoring changes to... 

I got all these errors in a single 3 minute span trying to do different things.  If I tried the same thing (debug for instance), I'd get B, C, and D, interchanging, seemingly at random.  A happens only when trying to open a file (100% of the time the first time i access a file, about 50 - 60% after that)

Also, if I have Project1 open from the wwwroot folder and the other developer has Project2 folder open as well (two different applications in IIS, both under wwwroot) we both start getting tons of "This file has been changed, would you like to reload it", even though we're working in separate folders.  Confusing.

I've searched all over here and haven't found any solutions or anyone that has had similar issues.  Would anyone care to take a stab at what might be happening here?

Thanks! 

Mikhail Arkhipo
Asp.Net User
Re: Multiple issues connecting to site on mapped drive\UNC share...11/28/2007 10:52:38 PM

0

Network shares are not considered trusted locations. Therefore loading assemblies from shares will fail for security reasons. Try either opening site via http:// or use caspol.exe to adjust security policy.


Thanks

------------------------------------------------------------

This posting is provided "AS IS" with no warranties, and confers no rights.
Muxdaddy
Asp.Net User
Re: Multiple issues connecting to site on mapped drive\UNC share...11/28/2007 11:15:02 PM

0

I guess what's confusing me the most then is that it works perfect from my machine, but not at all on another which is configured exactly the same, with the location mapped the same, with both of our user account's permissions set up identically on the remote machine. 

Mikhail Arkhipo
Asp.Net User
Re: Multiple issues connecting to site on mapped drive\UNC share...11/28/2007 11:26:07 PM

0

Security policy is set per machine, so perhaps it is different. In any case - working off UNC shares is not something that is supported really.


Thanks

------------------------------------------------------------

This posting is provided "AS IS" with no warranties, and confers no rights.
Muxdaddy
Asp.Net User
Re: Multiple issues connecting to site on mapped drive\UNC share...11/28/2007 11:38:09 PM

0

Are unc shares treated the same as mapped drives then?

 What would a workable solution be for this scenario?  We have 4 web servers.  Each of these host anywhere from 20 - 50 websites at a time.  Each site is setup in about a day (generated from a tool we wrote) and are "live" for about 2 or 3 weeks.  During their lifecycle, there a numerous tweaks and changes.  Hence, it's a real drag and not very efficient for us to have a "development" version locally (as a site can be edited from any of the 6 of us developers over its life) and a live production version.  So, we have each IIS root folder on the 4 servers mapped and we use the File System option to open/create new sites.  If we use Http to do this, it's slower, requires the Server Extensions to be installed on the servers, and we can't use the neat VS2k5 localhost debugging.

fyi:  we've been developing these sites in classic asp, using interdev 6.0 for about 10 years, and I finally convinced the powers that be to upgrade our process to c# and use vs2k5/2k8.  I've got our code updated, now I just need to get a workable solution to make the process efficient for our developers.

A.  Is there a better option for us?

B.  what options would i pass to caspol to allow me to have full trust from these mapped drives, if this is the best way to go?
 

5 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Home Networking For Dummies Authors: Kathy Ivens, Pages: 338, Published: 2007
Windows XP Cookbook Authors: Robbie Allen, Preston Gralla, Pages: 653, Published: 2005

Web:
Multiple issues connecting to site on mapped drive\UNC share ... Multiple issues connecting to site on mapped drive\UNC share... Last post 11-28- 2007 6:38 PM by Muxdaddy. 4 replies. Sort Posts: ...
IIS runs out of work items and causes RPC failures when connecting ... If a UNC path is mapped to a local drive letter in Windows Explorer, .... IIS can have multiple virtual directories or Web sites pointing to shares on ...
UNC very slow but Mapped drive very fast Visit our forum to discuss UNC very slow but Mapped drive very fast. ... We have recently discovered that when connecting to a share from ...
mapped drives Resources | TechRepublic 200 windows XP Pro. computers that are mapped to shares on a Server 2003 Standard OS on my server. The problem is the mapped drives disconnect at random ...
IIS Virtual Directory to access UNC Share : iis, virtual ... The share should be set up as a Virtual Directory under the web site root. ..... server by performing "map network drive" from this share using a variety of ...
Exit Code 2 / Mapped Drives / UNC paths - ViceVersa Forum: File ... Set up the folder as UNC paths rather than mapped drive letters (eg \\server\ share\). - Verify that the user name and password for the ...
The Green Button - another use extender with network drive question to map a UNC path without assigning a drive letter you use the following ... I just happen to deal with connecting users to network shares on computers that ...
ZDM ZENworks Best Practice Middle Tier - CoolSolutionsWiki If the file reference is not a mapped drive or if the UNC share is .... a large amount of workstations will be connecting through this Middle Tier server. ...
How To Connect To Windows Shared Folders Without Browsing The Network For most people connecting to Windows shares on a PC or Server is usually accomplished ... If you need to map a drive when using UNC from the Run window, ...
Universal Naming Convention and Drive Mapping, Scientific Computing One caveat to remember, if you set up a mapped drive pointing to a share outside of your ... This format is called the universal naming convention (UNC). ...






unexplainable problems referencing other project in solution

visual studio is really slow at simply opening aspx pages and switching tabs between already opened pages

global.asax - application_start - executing multiple times on a load

help me! contro disabled

error "object reference not set to an instance of an object" when adding a new web form

add code with code snippets to a specific region

asp.net 2.0 issues

asp.net 2.0 - need to be installed on the server

cannot use controls

msdn where!!

question on project dependency

getting a specific value from collection

helppp(image editor)

extending sqldatasource - where's the toolbox icon?

task management

develop asp.net 1.1 application using vs2005

vs2005 std edition freezes when attempting to create web project

i could not debug my web application in vs 2005

how to upload 25 mb or 50 mb pdf file in to data grid using asp.ne with c#

missing web form option

remove vs output window

page fails compiling - 'does not exist in the current context'

visual studio validation schema

.net style regex support in find and replace dialog

can i create 1.1 projects in vs 2005

errors opening solution in vs2005 that are a complete mystery

custom item templates

crystal report 10 deployment (licensing issues)

creating asp .net web service

vs.net 2003 and vs.net 2005 on same machine

   
  Privacy | Contact Us
All Times Are GMT