Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
R

Ramamurthi

@Ramamurthi
About
Posts
3
Topics
3
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • get the client hostname or ip address using asp.net
    R Ramamurthi

    Hi, I want to get the client hostname or ip address using asp.net. I have tried the following methods... Request.UserHostName - returns proxy ip address Request.UserHostAddress - returns proxy ip address Request.ServerVariables["REMOTE_ADDR"] - returns proxy ip address Request.ServerVariables["HTTP_X_FORWARDED_FOR"] - returns empty. I could not get the actual ip address of the client machine. Can any one help...how to get the actual client ip address? Thanks in advance. Ram

    ASP.NET csharp asp-net help tutorial question

  • Sharepoint server URL [modified]
    R Ramamurthi

    Hi All, I am facing two problems while accessing the Sharepoint server URL using HttpWebRequest/HttpWebResponse. Sample Code: try { string Url = "http:////; Uri destUri = new Uri(Url); HttpWebRequest req = (HttpWebRequest)HttpWebRequest.Create(destUri); CredentialCache cache = new CredentialCache(); cache.Add(req.RequestUri, "Negotiate", new NetworkCredential(strUserName, strPassword, strDomain)); cache.Add(req.RequestUri, "NTLM", new NetworkCredential(strUserName, strPassword, strDomain)); req.Credentials = cache; HttpWebResponse ores = (HttpWebResponse)req.GetResponse(); ores.Close(); if(ores.StatusDescription.ToLower() == "ok") { MessageBox.Show("Success"); } else { MessageBox.Show(ores.StatusDescription); } } catch (WebException we) { MessageBox.Show("Web Exception : " + we.Message); } catch (Exception ex) { MessageBox.Show("General Exception : " + ex.Message); } Issue #1: I have created the folder inside a folder under sharepoint document library(ex: DocumentLibrary\Folder1\Folder2) Using the above code I am testing the connection, it returns Success up to Folder1(ex: http:////DocumentLibrary/Folder1) I am trying the add the Folder2 in URL, It returns web exception UnAuthorized for the same credential.(eg: http:////DocumentLibrary/Folder1/Folder2) Issue #2: If there is any space in document library name, it returns web exception "Bad URL" (eg: http:////Shared Documents) Can any one know how to fix these problems? Thanks Ram -- modified at 16:03 Saturday 8th September, 2007

    C# help sharepoint sysadmin testing beta-testing

  • Sharepoint/WSS 3.0
    R Ramamurthi

    Hi, I am new to sharepoint technology. can anyone give me a sample C# code to access the sharepoint/wss3.0 site from remote machine without using Web Service. Thanks Ramamurthi ramamurthic@gmail.com

    C# csharp sharepoint com
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups