Server error in '/dotnet application an unhandled exception occured during the execution of the current web request

One of our staff members is attempting to post new job positions on our intranet. He can post a position successfully, however when he tries to post another position he gets the following error:

Server error in '/dotnet application
Object variable or With block variable not set.
an unhandled exception occured 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.

[NullReferenceException: Object variable or block variable not set.]
Microsoft.VisualBasic.CompilerServices.Container..ctor(Object Instance) +247188
Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateSet(Object Instance, Type Type, String MemberName, Object[] Arguments,
Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateSet(Object Instance, Type Type, String MemberName, Object[] Arguments,
Administration_TenderEmployment_Controls_ActivityItem.Page_Load(Object sender, EventArgs e) +518
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Control.LoadRecursive() +131
System.Web.UI.Control.LoadRecursive() +131
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061

Please advise.
jduplemAsked:
Who is Participating?
 
jduplemAuthor Commented:
I have figured this issue out thnks for help
0
 
Melih SARICAOwnerCommented:
r u saving ur data with sql object or with a com object  ?
0
 
jduplemAuthor Commented:
sql object
0
 
Melih SARICAOwnerCommented:
could u pass code ?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.