Click here to Skip to main content
16,004,969 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Mailing Problem Pin
Abhijit Jana16-Jun-09 21:44
professionalAbhijit Jana16-Jun-09 21:44 
GeneralRe: Mailing Problem Pin
deezZ16-Jun-09 21:52
deezZ16-Jun-09 21:52 
GeneralRe: Mailing Problem Pin
Abhijit Jana17-Jun-09 1:57
professionalAbhijit Jana17-Jun-09 1:57 
GeneralRe: Mailing Problem Pin
deezZ17-Jun-09 3:13
deezZ17-Jun-09 3:13 
AnswerRe: Mailing Problem Pin
Vasudevan Deepak Kumar17-Jun-09 1:04
Vasudevan Deepak Kumar17-Jun-09 1:04 
AnswerRe: Mailing Problem Pin
madancode17-Jun-09 6:33
madancode17-Jun-09 6:33 
GeneralRe: Mailing Problem Pin
deezZ17-Jun-09 17:53
deezZ17-Jun-09 17:53 
Questionplease helpme [modified] Pin
sivasampathkumar16-Jun-09 21:13
sivasampathkumar16-Jun-09 21:13 
I am working with asp.net using c# the webapplication running on localserver when i want to run webapplication in remote machine the following error shown
Cannot show a file dialog unless the application is running in UserInteractive mode



Cannot show a file dialog unless the application is running in UserInteractive mode.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.InvalidOperationException: Cannot show a file dialog unless the application is running in UserInteractive mode.

Source Error:


Line 166: string FileName, FilePath;
Line 167: int j = ListBox1.Items.Count;
Line 168: OFD.ShowDialog();
Line 169:
Line 170: FileName = OFD.SafeFileName;


Source File: e:\siva\kumar\aspmerger\Default.aspx.cs Line: 168

Stack Trace:


[InvalidOperationException: Cannot show a file dialog unless the application is running in UserInteractive mode.]
Microsoft.Win32.CommonDialog.ShowDialog() +4031259
_Default.AddFile() in e:\siva\kumar\aspmerger\Default.aspx.cs:168
_Default.AddTextFile() in e:\siva\kumar\aspmerger\Default.aspx.cs:88
_Default.Add_Click(Object sender, EventArgs e) in e:\siva\kumar\aspmerger\Default.aspx.cs:205
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +105
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +107
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1746


modified on Thursday, June 18, 2009 2:19 AM

AnswerRe: please helpme Pin
Vimalsoft(Pty) Ltd16-Jun-09 22:22
professionalVimalsoft(Pty) Ltd16-Jun-09 22:22 
AnswerRe: please helpme Pin
Vasudevan Deepak Kumar17-Jun-09 1:03
Vasudevan Deepak Kumar17-Jun-09 1:03 
AnswerRe: please helpme Pin
Baran M17-Jun-09 1:12
Baran M17-Jun-09 1:12 
AnswerRe: please helpme Pin
Abhijit Jana17-Jun-09 1:22
professionalAbhijit Jana17-Jun-09 1:22 
QuestionlogOut Problem. Pin
Rahul DSG16-Jun-09 21:10
Rahul DSG16-Jun-09 21:10 
AnswerRe: logOut Problem. Pin
himanshu256116-Jun-09 21:35
himanshu256116-Jun-09 21:35 
AnswerRe: logOut Problem. Pin
Abhijit Jana16-Jun-09 22:02
professionalAbhijit Jana16-Jun-09 22:02 
AnswerRe: logOut Problem. Pin
Baran M16-Jun-09 22:33
Baran M16-Jun-09 22:33 
AnswerRe: logOut Problem. Pin
ais0716-Jun-09 23:59
ais0716-Jun-09 23:59 
QuestionExport to excel is not working on deploying server Pin
binod kumar16-Jun-09 20:50
binod kumar16-Jun-09 20:50 
AnswerRe: Export to excel is not working on deploying server Pin
Ashfield16-Jun-09 20:59
Ashfield16-Jun-09 20:59 
Questionnot getting the cookie value in next page Pin
anbusenthil16-Jun-09 20:33
anbusenthil16-Jun-09 20:33 
AnswerRe: not getting the cookie value in next page Pin
Vimalsoft(Pty) Ltd16-Jun-09 22:25
professionalVimalsoft(Pty) Ltd16-Jun-09 22:25 
QuestionTreeview control problem Pin
CrazyCoder2616-Jun-09 20:31
CrazyCoder2616-Jun-09 20:31 
AnswerRe: Treeview control problem Pin
Abhijit Jana16-Jun-09 20:39
professionalAbhijit Jana16-Jun-09 20:39 
GeneralRe: Treeview control problem Pin
CrazyCoder2616-Jun-09 21:24
CrazyCoder2616-Jun-09 21:24 
QuestionSQL command parameters size Pin
samerh16-Jun-09 20:28
samerh16-Jun-09 20:28 

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.