Click here to Skip to main content
15,910,234 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Pls Provide me business logic method for reset password or forget password by user id... Pin
Richard MacCutchan12-Feb-18 9:00
mveRichard MacCutchan12-Feb-18 9:00 
GeneralRe: Pls Provide me business logic method for reset password or forget password by user id... Pin
Member 1367430012-Feb-18 18:45
Member 1367430012-Feb-18 18:45 
GeneralRe: Pls Provide me business logic method for reset password or forget password by user id... Pin
Richard MacCutchan12-Feb-18 8:30
mveRichard MacCutchan12-Feb-18 8:30 
GeneralRe: Pls Provide me business logic method for reset password or forget password by user id... Pin
Pete O'Hanlon12-Feb-18 8:47
mvePete O'Hanlon12-Feb-18 8:47 
GeneralRe: Pls Provide me business logic method for reset password or forget password by user id... Pin
Richard Deeming12-Feb-18 9:02
mveRichard Deeming12-Feb-18 9:02 
AnswerRe: Pls Provide me business logic method for reset password or forget password by user id... Pin
Richard Deeming12-Feb-18 9:02
mveRichard Deeming12-Feb-18 9:02 
QuestionMessage Removed Pin
12-Feb-18 4:01
Member 1367430012-Feb-18 4:01 
QuestionASP.Net MVC facing difficulties to pass tabular data to action Pin
Mou_kol12-Feb-18 1:49
Mou_kol12-Feb-18 1:49 
QuestionVisual Studio Editor Window Space Rapidly Pin
Priyanka Kale11-Feb-18 21:02
Priyanka Kale11-Feb-18 21:02 
AnswerRe: Visual Studio Editor Window Space Rapidly Pin
A_Griffin12-Feb-18 2:42
A_Griffin12-Feb-18 2:42 
QuestionEntity Framework: How to pass column name dynamically to where clause Pin
Mou_kol10-Feb-18 9:05
Mou_kol10-Feb-18 9:05 
AnswerRe: Entity Framework: How to pass column name dynamically to where clause Pin
Maciej Los11-Feb-18 0:37
mveMaciej Los11-Feb-18 0:37 
PraiseRe: Entity Framework: How to pass column name dynamically to where clause Pin
Mou_kol11-Feb-18 7:42
Mou_kol11-Feb-18 7:42 
GeneralRe: Entity Framework: How to pass column name dynamically to where clause Pin
Maciej Los11-Feb-18 8:23
mveMaciej Los11-Feb-18 8:23 
QuestionWhy people use .AsEnumerable() along with EF query Pin
Mou_kol10-Feb-18 6:25
Mou_kol10-Feb-18 6:25 
AnswerRe: Why people use .AsEnumerable() along with EF query Pin
User 418025411-Feb-18 3:27
User 418025411-Feb-18 3:27 
GeneralRe: Why people use .AsEnumerable() along with EF query Pin
Mou_kol11-Feb-18 7:44
Mou_kol11-Feb-18 7:44 
AnswerRe: Why people use .AsEnumerable() along with EF query Pin
Nathan Minier12-Feb-18 1:46
professionalNathan Minier12-Feb-18 1:46 
QuestionAzure csv radgrid dataset bind attempt Pin
jsegreti10-Feb-18 4:39
jsegreti10-Feb-18 4:39 
QuestionAdd a Nuget Package Using dotnet add Pin
Priyanka Kale9-Feb-18 21:43
Priyanka Kale9-Feb-18 21:43 
AnswerRe: Add a Nuget Package Using dotnet add Pin
User 418025411-Feb-18 3:22
User 418025411-Feb-18 3:22 
QuestionVSOT vb.net Pin
kumardm93289-Feb-18 15:45
kumardm93289-Feb-18 15:45 
AnswerRe: VSOT vb.net Pin
User 41802549-Feb-18 16:56
User 41802549-Feb-18 16:56 
GeneralRe: VSOT vb.net Pin
kumardm93289-Feb-18 17:40
kumardm93289-Feb-18 17:40 
AnswerRe: VSOT vb.net Pin
Richard Deeming12-Feb-18 9:08
mveRichard Deeming12-Feb-18 9:08 
You've posted this in the ASP.NET forum. Office Interop doesn't work in ASP.NET; neither does MsgBox.

They might appear to work when you're debugging the code in Visual Studio. But that's only because the client and server are the same computer in that instance.

As soon as you deploy your code to a real server, the MsgBox call will either crash, or cause your code to hang waiting for someone to log in to the server and dismiss the hundreds of hidden message boxes, and then close the hundreds of hidden instances of Excel.

Microsoft does not currently recommend, and does not support, Automation of Microsoft Office applications from any unattended, non-interactive client application or component (including ASP, ASP.NET, DCOM, and NT Services), because Office may exhibit unstable behavior and/or deadlock when Office is run in this environment.


If you want to open a file on the client, then you need to write it to the response. And to pre-empt your next question: no, you can't force the user to open it, or to save it to a specific location.



"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer


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.