Hi ,, I am Preparing my Company Portal using SharePoint 2013 , I install sharepoint and Sql in same Server . Then I create my web application and siteCollection and everything is fine. Next I develop a custom Webpart using VisulaStudio 2012 which read the data from another Server and I test the Webpart in standalone machine and it's Ok, when I deploy the WebPart to my Real server , It's not fetch the data. I put the Connection String in IIS and I put the Identity in application pool same which I put it in SharePoint wizard which Run all the service , I try to logging to that server using the same Username and everything is fine. Why it dose't fetch the Data. another thing when I go and change The Form Authentication in IIS (Disable) it give me Access Denied, while am admin in web application and it ok when I Form Authentication to Enable. to be ensure I already have sharepoint2010 Portal in same scenario and it's work fine. Can any one hint me to any of this error.
Peace4all
Posts
-
Error in Web Part Errors and Form Authentication Disable -
Copy Content from Word Docuemnt to RichBoxHi guys I want to copy Content from Word Document (2007 or 2010) . and I am Using File Stream to do this action. here is the Code ===================================================== Dim strPath As String = "C:\Users\Toshiba\Desktop\Test.docx" Dim fStream As New FileStream(strPath.ToString, FileMode.Open, FileAccess.Read) Dim sReader = New StreamReader(fStream) sReader.BaseStream.Seek(0, SeekOrigin.Begin) While sReader.Peek() > 0 RichTextBox1.Text += sReader.ReadLine() End While sReader.Close() ==================================================== I don't no when I copy the Content to RichBox it copy garbage data .. But when i copy from txt file it works fine with out any mistake . But i need to copy from word document (2007 or 2010) because my User request is this . so can any modified my code to copy from word without garbage data .. i try to modify by set this ---------------------------------------- Dim sReader = New StreamReader(fStream, System.Text.Encoding.Unicode) ---------------------------------------- but no change on the result.. so am waiting your replays either by edit the above code or give my easiest way to do this action .. thanks in advance