Click here to Skip to main content
15,919,121 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionin skmmenu control why the datasource property was disabled Pin
Rmesh9-Jan-07 19:33
Rmesh9-Jan-07 19:33 
AnswerRe: in skmmenu control why the datasource property was disabled Pin
minhpc_bk10-Jan-07 0:48
minhpc_bk10-Jan-07 0:48 
QuestionThe process cannot access the file Pin
Sebastian T Xavier9-Jan-07 19:17
Sebastian T Xavier9-Jan-07 19:17 
AnswerRe: The process cannot access the file Pin
minhpc_bk10-Jan-07 0:46
minhpc_bk10-Jan-07 0:46 
GeneralRe: The process cannot access the file Pin
Sebastian T Xavier10-Jan-07 1:26
Sebastian T Xavier10-Jan-07 1:26 
GeneralRe: The process cannot access the file Pin
minhpc_bk10-Jan-07 4:37
minhpc_bk10-Jan-07 4:37 
GeneralRe: The process cannot access the file Pin
Sebastian T Xavier10-Jan-07 20:55
Sebastian T Xavier10-Jan-07 20:55 
GeneralRe: The process cannot access the file Pin
minhpc_bk10-Jan-07 23:19
minhpc_bk10-Jan-07 23:19 
Sebastian T Xavier wrote:
sw = File.CreateText(Server.MapPath("temp.html"))
sw.WriteLine(strhtml)

Here, you open a connection to write to the specified and the stream remains open, not closed yet.

Sebastian T Xavier wrote:
Response.WriteFile(Server.MapPath("temp.html"))


Now, you are trying to open a new connection to the file that is being used by the sw stream. So no wonder that you get the error, in this case you either have to close the sw stream first before running the Response.Write method or use the current stream to keep writing to the file.



GeneralRe: The process cannot access the file Pin
Sebastian T Xavier11-Jan-07 3:48
Sebastian T Xavier11-Jan-07 3:48 
GeneralRe: The process cannot access the file Pin
minhpc_bk11-Jan-07 13:47
minhpc_bk11-Jan-07 13:47 
GeneralRe: The process cannot access the file Pin
Sebastian T Xavier11-Jan-07 20:04
Sebastian T Xavier11-Jan-07 20:04 
QuestionAtlas control in webpage Pin
Nagraj Naik9-Jan-07 19:10
Nagraj Naik9-Jan-07 19:10 
AnswerRe: Atlas control in webpage Pin
minhpc_bk10-Jan-07 0:42
minhpc_bk10-Jan-07 0:42 
Questiongive me exact idea abt tabindex in a table Pin
Kissy169-Jan-07 18:48
Kissy169-Jan-07 18:48 
AnswerRe: give me exact idea abt tabindex in a table Pin
Not Active9-Jan-07 19:20
mentorNot Active9-Jan-07 19:20 
GeneralRe: give me exact idea abt tabindex in a table Pin
Kissy169-Jan-07 19:30
Kissy169-Jan-07 19:30 
QuestionAbout mixing the Ajax's Dll method and Classic method Pin
Techwhiz9-Jan-07 18:07
Techwhiz9-Jan-07 18:07 
AnswerRe: About mixing the Ajax's Dll method and Classic method Pin
Not Active9-Jan-07 19:14
mentorNot Active9-Jan-07 19:14 
Questionconverting a string in to number Pin
suketh9-Jan-07 17:27
suketh9-Jan-07 17:27 
AnswerRe: converting a string in to number Pin
Not Active9-Jan-07 17:32
mentorNot Active9-Jan-07 17:32 
AnswerRe: converting a string in to number Pin
_AK_9-Jan-07 17:33
_AK_9-Jan-07 17:33 
QuestionHow to Create alias for subdomains or domains Pin
vurugonda9-Jan-07 16:16
vurugonda9-Jan-07 16:16 
QuestionWeb server Pin
dhulipudi9-Jan-07 15:53
dhulipudi9-Jan-07 15:53 
AnswerRe: Web server Pin
Not Active9-Jan-07 15:57
mentorNot Active9-Jan-07 15:57 
AnswerRe: Web server Pin
vurugonda9-Jan-07 16:18
vurugonda9-Jan-07 16:18 

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.