Solved

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

Posted on 2008-06-10
5
1,503 Views
Last Modified: 2013-11-08
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.
0
Comment
Question by:jduplem
  • 2
  • 2
5 Comments
 
LVL 5

Expert Comment

by:rstomar
ID: 21757351
0
 
LVL 19

Expert Comment

by:Melih SARICA
ID: 21757939
r u saving ur data with sql object or with a com object  ?
0
 

Author Comment

by:jduplem
ID: 21765792
sql object
0
 
LVL 19

Expert Comment

by:Melih SARICA
ID: 21773959
could u pass code ?
0
 

Accepted Solution

by:
jduplem earned 0 total points
ID: 21791225
I have figured this issue out thnks for help
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It seems a simple enough task, yet I see repeated questions asking how to do it: how to pass data between two forms. In this article, I will show you the different mechanisms available for you to do just that. This article is directed towards the .N…
The object model of .Net can be overwhelming at times – so overwhelming that quite trivial tasks often take hours of research. In this case, the task at hand was to populate the datagrid from SQL Server database in Visual Studio 2008 Windows applica…
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question