Click here to Skip to main content
15,909,332 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionlimit the width of <body> Pin
Jassim Rahma20-Nov-10 0:08
Jassim Rahma20-Nov-10 0:08 
AnswerRe: limit the width of Pin
thatraja20-Nov-10 0:58
professionalthatraja20-Nov-10 0:58 
QuestionGUID in MySQL Pin
Jassim Rahma19-Nov-10 23:35
Jassim Rahma19-Nov-10 23:35 
AnswerCrosspost Pin
thatraja20-Nov-10 1:15
professionalthatraja20-Nov-10 1:15 
QuestionASP.NET host with MySQL Pin
Jassim Rahma19-Nov-10 23:08
Jassim Rahma19-Nov-10 23:08 
QuestionWeb Service from a WCF Service using HttpPost Pin
indian14319-Nov-10 10:34
indian14319-Nov-10 10:34 
AnswerRe: Web Service from a WCF Service using HttpPost Pin
GlobX24-Nov-10 14:26
GlobX24-Nov-10 14:26 
QuestionFix my read file permission error now! [modified] Pin
musefan19-Nov-10 0:22
musefan19-Nov-10 0:22 
Don't worry, just a bit of weekend humour... my problem not yours, but if any of you have any thoughts I would be grateful.

I have an asp.net application (MVC) running in IIS 7. One of the tasks is to allow the user to download a file. This file is created on the fly, compressed to zip file and then provided for download.

In VS development environment this is working without any issues. But on the live server (in IIS) I am getting the error "Access to the path 'blah blah' is denied".

This is happening during the compression process. The initial file is create fine (so the process clearly has write permissions) but when the compression starts, then it cannot access the file to read it Frown | :(

After the error, if I try to manually delete the file, it wont let me (file is in use by another application) so as a test I used the following code to create a file in the same path and still get the problem when trying to manually delete...

System.IO.File.Create("file.txt");


...something is clearly using the file, but what could it be? and why? Any thoughts?

Thanks

EDIT: The locked file eventually becomes unlocked (over 20 minutes)

EDIT: I have used ProcessExplorer to determine that the file is being handled by w3wp.exe - now I need to find out why

EDIT: Just on IIS7 on local development machine and it is working fine. Got to be a settings in live IIS! .. just gotta be (brain pain)
Life goes very fast. Tomorrow, today is already yesterday.
modified on Friday, November 19, 2010 7:39 AM

AnswerRe: Fix my read file permission error now! Pin
Chris Maunder19-Nov-10 0:42
cofounderChris Maunder19-Nov-10 0:42 
GeneralRe: Fix my read file permission error now! [modified] Pin
musefan19-Nov-10 0:51
musefan19-Nov-10 0:51 
AnswerAnswer Pin
musefan21-Nov-10 23:50
musefan21-Nov-10 23:50 
QuestionHow to end a request if there are no records to display Pin
meeram39518-Nov-10 16:55
meeram39518-Nov-10 16:55 
AnswerRe: How to end a request if there are no records to display Pin
Not Active18-Nov-10 17:12
mentorNot Active18-Nov-10 17:12 
AnswerRe: How to end a request if there are no records to display Pin
surender.m18-Nov-10 23:23
surender.m18-Nov-10 23:23 
QuestionExtract data for a form using web performance test tool visual studio Pin
jboyd11118-Nov-10 12:10
jboyd11118-Nov-10 12:10 
Questioncheckboxlist validator Pin
Dhyanga18-Nov-10 5:51
Dhyanga18-Nov-10 5:51 
AnswerRe: checkboxlist validator Pin
Not Active18-Nov-10 6:44
mentorNot Active18-Nov-10 6:44 
GeneralRe: checkboxlist validator Pin
Dhyanga18-Nov-10 6:47
Dhyanga18-Nov-10 6:47 
GeneralRe: checkboxlist validator Pin
Dhyanga18-Nov-10 8:33
Dhyanga18-Nov-10 8:33 
GeneralRe: checkboxlist validator Pin
Not Active18-Nov-10 14:29
mentorNot Active18-Nov-10 14:29 
QuestionCall Javascript function when gridview loads Pin
Satish_S18-Nov-10 1:06
Satish_S18-Nov-10 1:06 
AnswerRe: Call Javascript function when gridview loads Pin
NeverHeardOfMe18-Nov-10 2:54
NeverHeardOfMe18-Nov-10 2:54 
QuestionAjax Controls(Collapsable panel) Not working on .Netframework 3.5 Pin
Raveendra.jonna17-Nov-10 23:13
Raveendra.jonna17-Nov-10 23:13 
AnswerRe: Ajax Controls(Collapsable panel) Not working on .Netframework 3.5 Pin
T M Gray18-Nov-10 7:04
T M Gray18-Nov-10 7:04 
GeneralRe: Ajax Controls(Collapsable panel) Not working on .Netframework 3.5 Pin
Raveendra.jonna18-Nov-10 17:40
Raveendra.jonna18-Nov-10 17:40 

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.