Error on the live Server
-
SomeDomain/AddLineup.aspx?&Cname=Yogesh&Contact1=NA&Contact2=NA&DataCenter=NA&Distt=NA&Activity=NA&School=NA&ActivityDate=NA&ALocation=NA&VisitTime=NA&DateVisit=NA&VisitCenter=NA&CourseInt=NA&Comments=NA&TransferBy=NA
Hi i want to call a url like i mention above. Its working fine when i run the same through debug. But when i upload the same on my webserver it give me the error.
System.NullReferenceException: Object reference not set to an instance of an object. at AddLineup.InsertRecordLinedUp()
Here InsertReceordLinedUp is a function in AddLineup.aspx page. Plz Reply. Thanks Yogesh Agarwal
-
SomeDomain/AddLineup.aspx?&Cname=Yogesh&Contact1=NA&Contact2=NA&DataCenter=NA&Distt=NA&Activity=NA&School=NA&ActivityDate=NA&ALocation=NA&VisitTime=NA&DateVisit=NA&VisitCenter=NA&CourseInt=NA&Comments=NA&TransferBy=NA
Hi i want to call a url like i mention above. Its working fine when i run the same through debug. But when i upload the same on my webserver it give me the error.
System.NullReferenceException: Object reference not set to an instance of an object. at AddLineup.InsertRecordLinedUp()
Here InsertReceordLinedUp is a function in AddLineup.aspx page. Plz Reply. Thanks Yogesh Agarwal
That means you are referencing an object in
InsertRecordLineUp
, which you have in your development machine but it does not exist in your webserver.Yusuf May I help you?