700 reputation
1338
bio website geirsmestad.com
location Norway
age 27
visits member for 3 years
seen Mar 11 at 22:48

May
9
comment Feature activation suceeds in sandboxed server environment, but fails in SharePoint Online. How do I find what's wrong?
Changing the Solution ID does not resolve the problem. But you might be onto something - it seems like my solution suddenly gets rejected by the Sandboxed Code Service if it involves any code at all. With an empty FeatureActivated method it deploys, but if it contains "using (SPSite aSite = new SPSite("targetSiteCollection"))", it fails. This didn't happen before.
May
9
asked Feature activation suceeds in sandboxed server environment, but fails in SharePoint Online. How do I find what's wrong?
May
2
accepted Why does the Timer Service stop due to incorrect login?
Apr
26
accepted What is a good approach for generating serial numbers in SharePoint Online?
Apr
25
answered Learn Sharepoint w/o having experience
Apr
25
comment What is a good approach for generating serial numbers in SharePoint Online?
And to think I've been working with SharePoint for a year and didn't remember this feature... The ID column might be the right choice, although it is specific to each list and hence can't be used site-globally. Might use a calculated column based on ID. Thanks.
Apr
25
asked What is a good approach for generating serial numbers in SharePoint Online?
Apr
24
answered Why does the Timer Service stop due to incorrect login?
Apr
24
asked Why does the Timer Service stop due to incorrect login?
Apr
23
awarded  Popular Question
Apr
23
awarded  Nice Question
Apr
16
asked How do I move the contents (and mappings) of the Managed Metadata Service Application from dev to test environment?
Apr
13
accepted Is there a way to gracefully fail when a custom tag is missing?
Apr
12
asked Is there a way to gracefully fail when a custom tag is missing?
Apr
12
awarded  Yearling
Apr
2
awarded  Popular Question
Mar
30
comment How do I handle concurrency problems related to event receivers?
Thanks, this is very useful. The part about checking publishing from the SPListItem not having to check the SPFile is especially useful.
Mar
30
accepted How do I handle concurrency problems related to event receivers?
Mar
29
asked How do I handle concurrency problems related to event receivers?
Mar
28
comment How do I connect with SharePoint Online Web Services in order to access list and taxonomy data?
The error message only indicates that the credentials you have supplied aren't accepted by the server. If you don't find the answer, you should probably submit a separate question to sharepoint.stackexchange.com with the details of what you are trying to do. Users are discouraged from asking questions under an existing question. However, your issue is probably related to the service.Credentials object and the values you've set it to. Look at the NetworkCredentials class in .NET and see if it give you anything useful.