Click here to Skip to main content
15,900,438 members
Home / Discussions / C#
   

C#

 
GeneralRe: printer default font. Pin
OriginalGriff7-Jul-17 4:30
mveOriginalGriff7-Jul-17 4:30 
GeneralRe: printer default font. Pin
Richard MacCutchan7-Jul-17 5:19
mveRichard MacCutchan7-Jul-17 5:19 
AnswerRe: printer default font. Pin
Richard Andrew x647-Jul-17 7:41
professionalRichard Andrew x647-Jul-17 7:41 
GeneralRe: printer default font. Pin
rahul19959-Jul-17 18:48
rahul19959-Jul-17 18:48 
AnswerRe: printer default font. Pin
jschell10-Jul-17 4:39
jschell10-Jul-17 4:39 
GeneralRe: printer default font. Pin
rahul199510-Jul-17 19:02
rahul199510-Jul-17 19:02 
GeneralRe: printer default font. Pin
Dave Kreskowiak11-Jul-17 3:30
mveDave Kreskowiak11-Jul-17 3:30 
Questionusing Form does not release memory Pin
Montgomery-Burns6-Jul-17 22:12
Montgomery-Burns6-Jul-17 22:12 
AnswerRe: using Form does not release memory Pin
OriginalGriff6-Jul-17 23:59
mveOriginalGriff6-Jul-17 23:59 
GeneralRe: using Form does not release memory Pin
Montgomery-Burns7-Jul-17 0:15
Montgomery-Burns7-Jul-17 0:15 
GeneralRe: using Form does not release memory Pin
OriginalGriff7-Jul-17 0:31
mveOriginalGriff7-Jul-17 0:31 
GeneralRe: using Form does not release memory Pin
Montgomery-Burns7-Jul-17 2:40
Montgomery-Burns7-Jul-17 2:40 
GeneralRe: using Form does not release memory Pin
Dave Kreskowiak7-Jul-17 2:31
mveDave Kreskowiak7-Jul-17 2:31 
GeneralRe: using Form does not release memory Pin
OriginalGriff7-Jul-17 2:42
mveOriginalGriff7-Jul-17 2:42 
GeneralRe: using Form does not release memory Pin
Dave Kreskowiak7-Jul-17 7:34
mveDave Kreskowiak7-Jul-17 7:34 
GeneralRe: using Form does not release memory Pin
OriginalGriff7-Jul-17 7:58
mveOriginalGriff7-Jul-17 7:58 
AnswerRe: using Form does not release memory Pin
Dave Kreskowiak7-Jul-17 2:29
mveDave Kreskowiak7-Jul-17 2:29 
GeneralRe: using Form does not release memory Pin
Richard Andrew x647-Jul-17 7:28
professionalRichard Andrew x647-Jul-17 7:28 
GeneralRe: using Form does not release memory Pin
Dave Kreskowiak7-Jul-17 7:34
mveDave Kreskowiak7-Jul-17 7:34 
GeneralRe: using Form does not release memory Pin
Montgomery-Burns10-Jul-17 20:23
Montgomery-Burns10-Jul-17 20:23 
QuestionRegex: change groups value Pin
Member 102846646-Jul-17 21:51
Member 102846646-Jul-17 21:51 
AnswerRe: Regex: change groups value Pin
Richard Deeming7-Jul-17 0:42
mveRichard Deeming7-Jul-17 0:42 
QuestionNeed Help Desperately! Development server trying to find local server path Pin
BigLitz6-Jul-17 3:57
BigLitz6-Jul-17 3:57 
My project is a asp.net C# web application.

I am running code that exports several pdfs and excel files at one time. I don't believe this issue is anything to do with that though.

I added an updatepanel that I am using to prompt the user to continue on to the next set of files to export.

Everything works perfectly on my local server but when I publish it the my development server and try to click a button it looks for a local path. There is no where in my code where I have anything hard coded to a local path, I use Server.MapPath for everything, here is what it's looking for:

'C:\Users\User\Desktop\TCS - WinHost (NEW GOOD)\Avenue\Equipment\Invoice.aspx'

Why would my development server look for a local path? How would it even know to look for this local path? Thank you advance for any help anyone can offer.

Here is the full error screen:

Server Error in '/' Application.

Object reference not set to an instance of an object.
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.NullReferenceException: Object reference not set to an instance of an object.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[NullReferenceException: Object reference not set to an instance of an object.]
Avenue.Equipment.Invoice.btncontinue_Click(Object sender, EventArgs e) in C:\Users\User\Desktop\TCS - WinHost (NEW GOOD)\Avenue\Equipment\Invoice.aspx.cs:1284

System.Web.UI.WebControls.Button.OnClick(EventArgs e) +9692746
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +108
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +12
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +15
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +35
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3562
AnswerRe: Need Help Desperately! Development server trying to find local server path Pin
OriginalGriff6-Jul-17 5:32
mveOriginalGriff6-Jul-17 5:32 
GeneralRe: Need Help Desperately! Development server trying to find local server path Pin
BigLitz6-Jul-17 5:59
BigLitz6-Jul-17 5:59 

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.