Last post Oct 05, 2007 12:58 PM by Wookie
Oct 05, 2007 11:01 AM|Wookie|LINK
Hi Im receiving this error when trying to load a page containing a custom control I build:
There is no source code for the curent location.
this is not an exception its a popup that appear whane I debug. if i continu after that i receive this exception :
Object reference not set to an instance of an object.
Strangely this only happen if my page is open with a different querystring parameter ( this put my page in insert mode), when the parameter is pass Im disabling the tab panel that contain the control, and no event involving the custom control are triggered
so the other querystring parameter (the one that is missing ) his not use at all.
I know the problem comes form the custom control because if i remove it every thing works fine.:
here is the control and its datasource:
WHEN fh.featureserviceId IS NULL THEN cast(0 as bit)
ELSE cast( 1 as bit)
END AS offered
FROM datfeature f
LEFT OUTER JOIN datfeatureservice fh ON (f.featureId = fh.featureId AND fh.Serviceid = @ServiceId)
inner join datfeaturelang fl on fl.featureId = f.featureId
here is the reference to the dll :
if you need anything else to help me just ask.
thank you for your help
Oct 05, 2007 11:39 AM|Suprotim Agarwal|LINK
It seems the source code no longer matches the binary. Try rebuilding the application and run it.
Oct 05, 2007 12:58 PM|Wookie|LINK