Click here to Skip to main content
15,890,741 members
Home / Discussions / C#
   

C#

 
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 
GeneralRe: Need Help Desperately! Development server trying to find local server path Pin
OriginalGriff6-Jul-17 6:05
mveOriginalGriff6-Jul-17 6:05 
GeneralRe: Need Help Desperately! Development server trying to find local server path Pin
BigLitz6-Jul-17 8:12
BigLitz6-Jul-17 8:12 
GeneralRe: Need Help Desperately! Development server trying to find local server path Pin
OriginalGriff6-Jul-17 8:18
mveOriginalGriff6-Jul-17 8:18 
QuestionFacebook SDK not geting mail Id Undifined Pin
waghniteen5-Jul-17 23:22
professionalwaghniteen5-Jul-17 23:22 
AnswerRe: Facebook SDK not geting mail Id Undifined Pin
Pete O'Hanlon6-Jul-17 1:22
mvePete O'Hanlon6-Jul-17 1:22 
QuestionCrystal Report, Generate same report , multiple times with different parameters as one pdf Pin
beker_usa5-Jul-17 8:27
beker_usa5-Jul-17 8:27 
QuestionText file search, combobox and Datagridview C# Help Pin
Member 132944085-Jul-17 2:15
Member 132944085-Jul-17 2:15 
GeneralRe: Text file search, combobox and Datagridview C# Help Pin
Ralf Meier5-Jul-17 2:30
mveRalf Meier5-Jul-17 2:30 
GeneralRe: Text file search, combobox and Datagridview C# Help Pin
Member 132944085-Jul-17 3:03
Member 132944085-Jul-17 3:03 
GeneralRe: Text file search, combobox and Datagridview C# Help Pin
Ralf Meier5-Jul-17 7:23
mveRalf Meier5-Jul-17 7:23 
GeneralRe: Text file search, combobox and Datagridview C# Help Pin
Member 1329440813-Jul-17 0:00
Member 1329440813-Jul-17 0:00 
GeneralRe: Text file search, combobox and Datagridview C# Help Pin
Ralf Meier13-Jul-17 0:24
mveRalf Meier13-Jul-17 0:24 
GeneralRe: Text file search, combobox and Datagridview C# Help Pin
Member 1329440813-Jul-17 21:35
Member 1329440813-Jul-17 21:35 
GeneralRe: Text file search, combobox and Datagridview C# Help Pin
Ralf Meier13-Jul-17 21:52
mveRalf Meier13-Jul-17 21:52 
GeneralRe: Text file search, combobox and Datagridview C# Help Pin
Member 1329440813-Jul-17 22:20
Member 1329440813-Jul-17 22:20 

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.