Last post Mar 27, 2008 12:23 AM by roymartian
Mar 24, 2008 06:36 AM|roymartian|LINK
Been trying to add another column to the starter kit, all good except for when I try to change the code in App-Code/DAL/Ads.xsd
I right click and view code and then try to copy URL code areas (as basis of correct code) to duplicate a new coulmn called Phone
However after completing for all relevant areas I get a load of debug errors examples below;
Error 101 Unable to open module file 'C:\Users\The Marsden\AppData\Local\Temp\Temporary ASP.NET Files\pilot\2db3a3fc\61283fc6\Sources_App_Code\ads.xsd.f5e36021.vb': System Error &H80070002& C:\Users\The Marsden\AppData\Local\Temp\Temporary ASP.NET Files\pilot\2db3a3fc\61283fc6\Sources_App_Code\ads.xsd.f5e36021.vb 1 1 C:\...\Pilot\
Error 103 Type 'AdsDataComponent.AdsRow' is not defined. C:\Users\The Marsden\Desktop\Fatdog\WEB DESIGN\localstar\pilot\App_Code\BLL\Ads.vb 98 23 C:\...\Pilot\
Error 104 Type 'AdsDataAdapter' is not defined. C:\Users\The Marsden\Desktop\Fatdog\WEB DESIGN\localstar\pilot\App_Code\BLL\Ads.vb 99 29 C:\...\Pilot\
I have included my modified Ads.xsd code below if any of you experts could cast your eye over it I would be very very grateful, or at least confirm it is correct and I just need to modify other areas???
Mar 26, 2008 10:46 PM|ashmetry|LINK
I think anybody that can 'cast an eye' on this would go blind! ;)
I'm do not mess with the xsd schema directly like that..its too confusing and not designed to do that...
the way i do it is...
1. Change the corresponding stored proc that the schema will call
2. Go to the xsd file and update all these stored procs (Dont delete them, just right click the proc and update each proc and go through the whole deal (next..next) as if you are adding a new one) You should find your new column appearing since it refreshes
the schema from the database.
Mar 27, 2008 12:23 AM|roymartian|LINK
No worries thanks Ash I will try, got you on the cast an eye, maybe thats why my responses have been low.
Anyhow now sorted thanks!
Also thanks for response re' changing days to months, will try tonight.