11

I have run into a little problem with the SiteEdit/UI/Experience Manager. I have upgraded from 2009 to 2011 SP1 and the majority of things seem to work fine except I'm getting an error every time I create a page. The problem occurs when it tries to create the page and it fails with the error message shown below. Despite failing it does succeed in creating the actual page and if I reload the page with the error message everything appears fine.

The implementation is done with VBScript and I have tried to apply this UI_2012.0.0.81248 hotfix, but it didn't solve the problem. I do have a blank page in the root of my website, so it shouldn't be related to the 404 error which sometimes happen with the UI.

Compiler Error Message: CS1576: The line number specified for #line directive is missing or invalid

Line 138:    #line hidden
Line 139:    
Line 140:    #line 0 "D:\Websites\[my website]\en\products-solutions\dfsdf.aspx"
Line 141:    using ASP;
  • I'd probably raise a ticket with SDL Tridion support for this one. - good luck – johnwinter May 9 '13 at 17:33
  • Thank you for your comment, John. I have already raised this with SDL Tridion support and they are looking into it as well. – Alex C May 10 '13 at 15:36
  • @RuneV did you get any response/solution, would be worth posting it here as an answer and accepting that, so it can be used for future reference by others who might encounter the same issue? – Bart Koopman May 15 '13 at 11:20
  • @BartKoopman unfortunately SDL Tridion support is still looking into this one. – Alex C May 15 '13 at 18:31
  • Not sure if #line hidden is actually in your code, but looking up the the CS1576 Compiler Error suggests this is missing a line number. Maybe try removing line 138 or adding a number there? – Alvin Reyes May 18 '13 at 17:37
6

Is there anything on either of these pages that can provide enlightenment:

http://msdn.microsoft.com/en-us/library/34dk387t(v=vs.90).aspx

https://stackoverflow.com/questions/13192690/tridion-ui-2012-error-the-item-tcm280-29837-64-does-not-exist

The compiler error implies that the error is on line 138. Have you tried deleting that line and manually re-keying it? If any of the code was copy/pasted, could differing original encoding have introduced a rogue character that looks right to us but the compiler doesn't recognise?

Line 140 suggests that the compiler treats the line as line zero. Does the compiler line numbering actually go down to zero or start at one?

Finally, is it possible that during your upgrade process a file was missed and the error being reported is not actually the real error at all?

Like in Visual Studio when a PDB is out-of-sync with the executing code and you're stepping through with the debugger, pulling your hair out trying to understand why your code is acting illogical.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.