This project is read-only.
2
Vote

Build 29184 doesn't compile

description

Error 6 The name 'ms' does not exist in the current context C:\Documents and Settings\xxx\My Documents\Visual Studio 2008\Projects\SPLinkChecker\SPLinkChecker\TimerJobs\LinkCheckerTimerJob.cs 77 94 SPLinkChecker

file attachments

comments

cyfred wrote Jun 3, 2010 at 6:40 PM

I have the same issue. What is the solution?

wrote Jun 30, 2010 at 10:51 AM

ajberry wrote Jun 30, 2010 at 10:51 AM

I have uploaded a patch. The issue is that previously, they were using a memorystream (ms) to pass the rpeort data in to create the file. Now they generate the byte array earlier (as part of their efficiency improvements as it's not in memory).

What you need to do is change the line (77) to:SPFile·newFile·=·ReportsLibrary.RootFolder.Files.Add(newUrl, BrokenLinkReportBytes);

Attached is my new source. As always, I take no responsibility for anything that can happen etc, test this before using and all that jazz.

wrote Nov 19, 2012 at 7:23 PM

wrote Feb 14, 2013 at 1:57 AM