Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

ASP.NET problem

Thread Tools
 
Search this Thread
 
Old 13 March 2003, 09:33 PM
  #1  
STI MAN
Scooby Regular
Thread Starter
 
STI MAN's Avatar
 
Join Date: Jun 2002
Location: Pissing around in his 06 STi
Posts: 800
Likes: 0
Received 0 Likes on 0 Posts
Unhappy

I've got an ASP.NET[vb] application that connects to Active Directory to get/update user details etc. It is working fine on my Development server.

However, After transferring the project to the live server, I'm now getting an "Object reference not set to an instance of an object. " error.

Can anyone point me in the right direction?

Thanks

Old 13 March 2003, 10:42 PM
  #2  
TopBanana
Scooby Regular
 
TopBanana's Avatar
 
Join Date: Jan 2001
Posts: 9,781
Likes: 0
Received 0 Likes on 0 Posts
Post

Switch tracing on in the web.config and take a look at trace.axd using a local browser. This will give you a strack trace. Alternatively, use the debug build components on live and attach a debugger to the aspnet worker process so that it picks up the error.
Old 14 March 2003, 01:59 PM
  #3  
STI MAN
Scooby Regular
Thread Starter
 
STI MAN's Avatar
 
Join Date: Jun 2002
Location: Pissing around in his 06 STi
Posts: 800
Likes: 0
Received 0 Likes on 0 Posts
Post

James,

Done the above, but it didn't really pinpoint the exact error.

However, I was retrieving 6 attributes[Telephone, postcode etc...]When I remarked the statements out and rebuilt the code it worked, then unremarked them and rebuilt it worked fine???

bit wierd?
Old 14 March 2003, 07:39 PM
  #4  
TopBanana
Scooby Regular
 
TopBanana's Avatar
 
Join Date: Jan 2001
Posts: 9,781
Likes: 0
Received 0 Likes on 0 Posts
Post

Can you copy and paste your code, and tell me which line it broke on?
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Abx
Subaru
22
09 January 2016 05:42 PM
PetrolHeadKid
Driving Dynamics
10
05 October 2015 05:19 PM
T.K
General Technical
10
02 October 2015 11:35 AM
the shreksta
Other Marques
26
01 October 2015 02:30 PM
minguela
Wheels And Tyres For Sale
0
29 September 2015 11:28 AM



Quick Reply: ASP.NET problem



All times are GMT +1. The time now is 02:21 AM.