Click here to Skip to main content
15,879,474 members
Home / Discussions / C#
   

C#

 
AnswerRe: Seeking help with error checking codes in the stack builder program shown. Pin
AhsanS31-Jul-08 0:37
AhsanS31-Jul-08 0:37 
Questionnormalize URL Pin
George_George31-Jul-08 0:13
George_George31-Jul-08 0:13 
AnswerRe: normalize URL Pin
leppie31-Jul-08 0:16
leppie31-Jul-08 0:16 
GeneralRe: normalize URL Pin
George_George31-Jul-08 0:18
George_George31-Jul-08 0:18 
GeneralRe: normalize URL Pin
DaveyM6931-Jul-08 0:26
professionalDaveyM6931-Jul-08 0:26 
GeneralRe: normalize URL Pin
George_George31-Jul-08 0:59
George_George31-Jul-08 0:59 
QuestionDynamic Accessibility Pin
DaveyM6931-Jul-08 0:12
professionalDaveyM6931-Jul-08 0:12 
QuestionShare point problem Pin
manju#12330-Jul-08 23:45
manju#12330-Jul-08 23:45 
Hi all..
I have created a dll in c# for crawling the documents from sharepoint and to get the modified date,created Date..etc..

When i run it from server where sharepoint is installed its getting the created date and modified Date....

But when i run it from client pc...It is giving Debug Error....
when i comment this code....which i used for getting created date and modified date...

the code is
using (SPSite RootSite = new SPSite(listPath))
                    {
                        Console.WriteLine("1Entered SPSIte path");
                        using (SPWeb SiteCollection = RootSite.OpenWeb())
                        {
                            string path = listPath;// RootSite.MakeFullUrl(PageName);
                            SPFile file = SiteCollection.GetFile(path);
                            string TimeCreated = file.TimeCreated.ToLongDateString();
                            Console.WriteLine("1.1: Created Date is :" + TimeCreated);
                        }
                    }

when i comment this code it works fine....is there any problem in it...but the same code works fine in server pc...I am totally confused..please give some idea......I am totally new to sharepoint and c#

manju

Hi..
I am Mnaju.I have Completed my B.E Computers Science.Lokking for a job.I am interested in VC++
manju

GeneralRe: Share point problem Pin
Simon P Stevens31-Jul-08 0:06
Simon P Stevens31-Jul-08 0:06 
GeneralRe: Share point problem Pin
manju#12331-Jul-08 0:31
manju#12331-Jul-08 0:31 
QuestionRecord Audio from Internet Explorer Pin
Malenko30-Jul-08 23:28
Malenko30-Jul-08 23:28 
QuestionA quick question about volatile Pin
Megidolaon30-Jul-08 23:27
Megidolaon30-Jul-08 23:27 
AnswerRe: A quick question about volatile Pin
Guffa30-Jul-08 23:44
Guffa30-Jul-08 23:44 
AnswerRe: A quick question about volatile Pin
Mike Dimmick31-Jul-08 0:13
Mike Dimmick31-Jul-08 0:13 
AnswerRe: A quick question about volatile Pin
Megidolaon31-Jul-08 1:11
Megidolaon31-Jul-08 1:11 
GeneralRe: A quick question about volatile Pin
Mike Dimmick31-Jul-08 1:32
Mike Dimmick31-Jul-08 1:32 
GeneralRe: A quick question about volatile Pin
Guffa31-Jul-08 1:37
Guffa31-Jul-08 1:37 
AnswerRe: A quick question about volatile Pin
Megidolaon31-Jul-08 1:59
Megidolaon31-Jul-08 1:59 
QuestionHow to insert a new row to MDB file [modified] Pin
Admin88730-Jul-08 21:53
Admin88730-Jul-08 21:53 
AnswerRe: How to insert a new row to MDB file Pin
leppie30-Jul-08 22:41
leppie30-Jul-08 22:41 
AnswerRe: How to insert a new row to MDB file Pin
rah_sin30-Jul-08 22:42
professionalrah_sin30-Jul-08 22:42 
QuestionSetup with Custom Action Pin
Sifar - 030-Jul-08 21:45
Sifar - 030-Jul-08 21:45 
AnswerRe: Setup with Custom Action Pin
leppie30-Jul-08 22:43
leppie30-Jul-08 22:43 
AnswerRe: Setup with Custom Action Pin
Frank Horn30-Jul-08 23:17
Frank Horn30-Jul-08 23:17 
Questionproblem_details to solve the warning Pin
ktamanna30-Jul-08 21:42
ktamanna30-Jul-08 21:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.