Showing posts with label Issue. Show all posts
Showing posts with label Issue. Show all posts

Sunday, October 6, 2013

Issue: SqlCommand: 'proc_FetchDocForHttpGet' CommandType: StoredProcedure CommandTimeout: 0

After install SharePoint 2013 following issue comming.....
SqlCommand: 'proc_FetchDocForHttpGet'     CommandType: StoredProcedure CommandTimeout: 0     Parameter: '@RETURN_VALUE' Type: Int Size: 0 Direction: ReturnValue Value: ''     Parameter: '@DocSiteId' Type: UniqueIdentifier Size: 0 Direction: Input Value: 'cf3d77dd-9862-4b81-af02-ab7bae85db2e'     Parameter: '@DocDirName' Type: NVarChar Size: 4000 Direction: Input Value: ''     Parameter: '@DocLeafName' Type: NVarChar Size: 4000 Direction: Input Value: 'default.aspx'     Parameter: '@LooksLikeAttachmentFile' Type: Bit Size: 0 Direction: Input Value: 'False'     Parameter: '@IfModifiedSince' Type: DateTime Size: 0 Direction: Input Value: ''     Parameter: '@FetchType' Type: Int Size: 0 Direction: Input Value: '0'     Parameter: '@ValidationType' Type: Int Size: 0 Direction: Input Value: '0'     Parameter: '@ClientVersion' Type: Int Size: 0 Direction: Input Value: ''     Parameter: '@ClientId' Type: UniqueIdentifier Size: 0 Direction: Input Value: ''     Parameter: '@PageView' Type: TinyInt Size: 1 Direction: Input Value: '1'     Parameter: '@FetchBuildDependencySet' Type: Bit Size: 0 Direction: Input Value: 'True'     Parameter: '@SystemId' Type: VarBinary Size: 8000 Direction: Input     Parameter: '@AppPrincipalName' Type: NVarChar Size: 256 Direction: Input Value: ''     Parameter: '@IsHostHeaderAppPrincipalName' Type: Bit Size: 0 Direction: Input Value: ''     Parameter: '@CurrentVirusVendorID' Type: Int Size: 0 Direction: Input Value: ''     Parameter: '@PrefetchListScope' Type: Bit Size: 0 Direction: Input Value: 'True'     Parameter: '@ChunkSize' Type: Int Size: 0 Direction: Input Value: '64320'     Parameter: '@DGCacheVersion' Type: BigInt Size: 0 Direction: Input Value: '2'     Parameter: '@MaxCheckinLevel' Type: TinyInt Size: 1 Direction: Input Value: '1'     Parameter: '@HonorLevel' Type: Bit Size: 0 Direction: Input Value: 'False'     Parameter: '@CurrentFolderUrl' Type: NVarChar Size: 4000 Direction: Input Value: ''     Parameter: '@ThresholdRowCount' Type: Int Size: 0 Direction: Input Value: '5000'     Parameter: '@StreamPartition' Type: TinyInt Size: 1 Direction: Input Value: '0'     Parameter: '@Level' Type: TinyInt Size: 0 Direction: Output Value: ''     Parameter: '@FetchStreamIfNeeded' Type: Bit Size: 0 Direction: Input Value: 'True'     Parameter: '@RequestGuid' Type: UniqueIdentifier Size: 0 Direction: Input Value: '2c134a9c-1823-c09c-7ae3-cd3de10c8416'

resolution:-
i gave db_owner right to my service account user. after refresh my central admin it is opened.
(this is permission related issue in database).
Thank You.

Monday, May 28, 2012

Property or indexer 'Microsoft.SharePoint.SPListItem.Title' cannot be assigned to -- it is read only


Property or indexer 'Microsoft.SharePoint.SPListItem.Title' cannot be assigned to -- it is read only :-



 protected void btn1_Click(object sender, EventArgs e)
        {
            using (SPSite site = new SPSite(SPContext.Current.Site.Url))
            {
                using (SPWeb web = site.OpenWeb())
                {
                    SPList list = web.Lists["Announcements"];
                    SPListItem item = list.AddItem();
                    item["Title"] = "New Announcement";
                    item.Update();
                }
            }
        }


Wednesday, May 18, 2011

Warning 1 The referenced assembly “Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c, processorArchitecture=MSIL” could not be resolved because it has a dependency on “System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a” which is not in the currently targeted framework “.NETFramework,Version=v4.0,Profile=Client”. Please remove references to assemblies not in the targeted framework or consider retargeting your project

Solution Here for this issue: http://mycodelog.com/2010/03/25/vssp2010/

Resolution
SharePoint 2010 is built on top of .Net Framework 3.5. So make sure you have it as your targeted framework in VS. Go to project properties and change the target framework to “.Net Framework 3.5″.

Run Issue
The Web application at <url> could not be found. Verify that you have typed the URL correctly. If the URL should be serving existing content, the system administrator may need to add a new request URL mapping to the intended application.

Resolution
You have an x64 version of SharePoint Server installed, but VS 2010 is building your code as x86. So go to project properties \ Build and change platform target from x86 to x64.

Featured Post

Automating Azure DevOps Task Tracking: A Complete PowerShell Solution

Automating Azure DevOps Task Tracking: A Complete PowerShell Solution param ( [ Parameter ( Mandatory = $false )] [ Alias ( 'Fr...

Popular posts