Well a weekend has almost passed and I'm ready for the nut house. I hope one of you savvy VS05 gurus can help here as this one may crack your brain as well.
When I 'Publish' my webapp I get this error and it won't publish. I have no clue because its telling me nothing. The entire site works on VS default server and I have a production copy running live on IIS. So what happened before this error that may help explain the course of events. see steps below.
-- Build started: Project: D:\...\Anne\, Configuration: Debug .NET --
Index was outside the bounds of the array.
-- Skipped Publish: Project D:\...\Anne\, Configuration: Debug .NET --
1. WEB APP WAS RUNNING FINE ON ALL FRONTS
2. INSTALLED AJAX FRAMEWORK
3. AJAX APPEARS TO BE WORKING FINE, ALSO ON THIS WEB APP EXCEPT APP WON'T PUBLISH
4. CHECKED IF OTHER AJAX ENABLED WEB APPS HAVE SAME PROBLEM, THEY DON'T SO IT MUST HAVE SOMETHING TO DO WITH THIS WEBAPP.
5. SO I STRIPPED ALL AJAX CONTROLS AND REVERTED TO MY ORIGINAL WEB.CONFIG FILE WITHOUT AJAX EXTENSIONS.
6. THE WEBAPP WILL STILL NOT PUBLISH EVEN THOUGH I RETURNED THE WEBCONFIG TO ITS ORIGINAL STATE.
HOW CAN THIS POSSIBILY GO WRONG WHEN EVERYTHING SEEMS TO BE GOING RIGHT BEFORE PUBLISH?? ANY IDEAS WOULD BE GREATLY APPRECIATED. WHAT INDEX IS VS REFERRING TO? ITS NOT COMING FROM A PAGE BUT DURING BUILD SO I HAVE NO CLUE WHAT I'M DOING WRONG.
A nights sleep brings new ideas. I resolved this myself by simple copy pasting to a new project. Apparently somethings must have gone very wrong perhaps in the references. So for people getting the same error, try copying to a new project.
No comments:
Post a Comment