Click here to Skip to main content
15,913,941 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Need lowdown on my custom CacheDependency implementation Pin
Parwej Ahamad15-Sep-11 19:22
professionalParwej Ahamad15-Sep-11 19:22 
QuestionNeed help with Multi Select Drop down display Pin
Parul Jee15-Sep-11 10:46
Parul Jee15-Sep-11 10:46 
AnswerRe: Need help with Multi Select Drop down display Pin
MaulikDusara19-Sep-11 2:17
MaulikDusara19-Sep-11 2:17 
Questionasp.net buttons Pin
jassiedog15-Sep-11 10:08
jassiedog15-Sep-11 10:08 
AnswerRe: asp.net buttons Pin
Parwej Ahamad15-Sep-11 19:27
professionalParwej Ahamad15-Sep-11 19:27 
QuestionAccess physical file in AS 400 from stored procedure Pin
Member 322226415-Sep-11 6:11
Member 322226415-Sep-11 6:11 
Questionweb forms 2010 Pin
classy_dog15-Sep-11 5:21
classy_dog15-Sep-11 5:21 
Questionvs 2008 asp.net Pin
classy_dog15-Sep-11 5:20
classy_dog15-Sep-11 5:20 
QuestionModalPopUpExtender Not showing on IE9 Pin
Vasanthakumar14-Sep-11 19:44
Vasanthakumar14-Sep-11 19:44 
AnswerRe: ModalPopUpExtender Not showing on IE9 Pin
Satish_S15-Sep-11 20:03
Satish_S15-Sep-11 20:03 
QuestionControl is null while using generic method [modified] Pin
kstxx14-Sep-11 7:01
kstxx14-Sep-11 7:01 
GeneralImport Google Mail Contacts in Your ASP.NET Web Application Pin
AditSheth13-Sep-11 18:49
AditSheth13-Sep-11 18:49 
QuestionEnvironment.CurrentDirectory and Multiple Page Requests Pin
Nathan Stiles13-Sep-11 17:48
Nathan Stiles13-Sep-11 17:48 
I'm using ASP.NET 4.0 working in VS2010 right now only debugging not moved to a real server. I have some code to set the working directory node by node. This handles paths longer than the limit.
string[] dirs = targetDirectory.Split(Path.DirectorySeparatorChar);
foreach (string dir in dirs)
{
   string adir = "." + Path.DirectorySeparatorChar + dir;
   if (!Directory.Exists(adir))
   {
      Directory.CreateDirectory(adir);
   }
   Environment.CurrentDirectory = adir;
}


I'm seeing that when handling multiple requests the one request will write the cwd and the other request wil try to write too and they end up conflicting. I'm not really surprised.

This does totally foil my plans for world domination. Can anyone suggest something? Locking an object until I begin file operations? Is there a setting in IIS to make separate processes? I really could use some help with this one.
Questionjavascript alert Pin
Dushan12313-Sep-11 15:20
Dushan12313-Sep-11 15:20 
AnswerRe: javascript alert Pin
Shah Rizal13-Sep-11 22:14
Shah Rizal13-Sep-11 22:14 
QuestionMethod not firing Pin
Rick van Woudenberg13-Sep-11 12:56
Rick van Woudenberg13-Sep-11 12:56 
AnswerRe: Method not firing Pin
Pravin Patil, Mumbai13-Sep-11 19:50
Pravin Patil, Mumbai13-Sep-11 19:50 
Questionasp.net toolbox Pin
classy_dog13-Sep-11 8:28
classy_dog13-Sep-11 8:28 
AnswerRe: asp.net toolbox Pin
Shah Rizal13-Sep-11 22:19
Shah Rizal13-Sep-11 22:19 
GeneralRe: asp.net toolbox Pin
classy_dog14-Sep-11 4:07
classy_dog14-Sep-11 4:07 
GeneralRe: asp.net toolbox Pin
Shah Rizal21-Sep-11 22:12
Shah Rizal21-Sep-11 22:12 
Questionwindow.open? Pin
murali_utr13-Sep-11 7:51
murali_utr13-Sep-11 7:51 
QuestionUsing Cookies in Custom Role Provider in ASP.NET 2.0 Pin
Rahil31113-Sep-11 4:11
Rahil31113-Sep-11 4:11 
Questionproblem with modalpopupextender Pin
Ali Al Omairi(Abu AlHassan)13-Sep-11 2:33
professionalAli Al Omairi(Abu AlHassan)13-Sep-11 2:33 
Questionasp.net pdf download problem Pin
UD(IA)13-Sep-11 2:30
UD(IA)13-Sep-11 2:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.