Sharepoint 2010 Error: System.NullReferenceException: Object reference not set to an instance of an object when trying to upload a document
Hi,
Environment: Windows server 2008 R2 , Sharepoint2010
Getting the below error while uploading a document. Below is the stack trace.
System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.Office.RecordsManagement.PolicyFeatures.ApplicationPages.UploadPage.GetEditFormUrl(SPWeb web, SPList currentList, SPFolder currentFolder, SPContentTypeId id, String comments, SPFile spfile, String sourceUrl, HttpRequest request)
at Microsoft.Office.RecordsManagement.PolicyFeatures.ApplicationPages.UploadPage.GetEditFormUrl(SPFile spfile)
at Microsoft.Office.RecordsManagement.PolicyFeatures.ApplicationPages.UploadPage.OnSubmit(Object o, EventArgs e)
at Microsoft.Office.RecordsManagement.PolicyFeatures.ApplicationPages.UploadExPage.OnSubmit(Object o, EventArgs e)
at System.Web.UI.HtmlControls.HtmlInputButton.OnServerClick(EventArgs e)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Still new in sharepoint, so no idea where to start. Please advice.
Thanks.
Hi Alex,
Do you have any update?
Best Regards,
Eric
Eric Tao
TechNet Community Support
Similar Messages
-
Bpc install issue : string reference not set to an instance of a string.
hi
i am trying to install BPC server in my machine . after giving bw credential i am getting below error
bpc issue string reference not set to an instance of a string. parameter name s
does any one came across this? what might be wrong here?
please help meHi
Once you install the ABAP and .NET components, the server manager would be part of your program list. It would be something like SAP->BPC Server 7.0. Click on the server manager and in the server menu you will find 'Diagnostic' option as this would give you a good picture about the installation success post installation.
During the server manager installatio process, you would be alerted if any of the pre requisite software is not installed on your server machine. Please check the installation guide for detailed steps.
Thanks,
Santosh -
Hi,
(1) I am trying to get the data from a database table and import into a text file.
(2) If the record set have the data then it runs ok
(3) when the record set not having any data it is giving the below error
Error: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object
Could you please let me know why this is happening?
Any help would be appriciated
Thanks,
SIVYou might ask them over here.
http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=vbgeneral%2Ccsharpgeneral%2Cvcgeneral&filter=alltypes&sort=lastpostdesc
Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows]
Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights. -
I performed an inplace upgrade on my sharepoint 2007 installation and post the upgrade while trying to browse the document libraries on the site i get the following Error. HAs anyone encountered a similair error?? What could be the cause and resolution
for this
Any pointers/solution appreciated.
Description: An
unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception
Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source
Error:
An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack
Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
Microsoft.SharePoint.WebPartPages.ListViewWebPart.PrepareContentTypeFilter(SPList list, Hashtable[] excludedTransformers) +682
Microsoft.SharePoint.WebPartPages.ListViewWebPart.GenerateDocConvScriptBlock(SPWeb web, SPList list) +482
Microsoft.SharePoint.WebPartPages.XsltListViewWebPart.OnPreRender(EventArgs e) +571
Microsoft.SharePoint.WebPartPages.WebPartMobileAdapter.OnPreRender(EventArgs e) +78
System.Web.UI.Control.PreRenderRecursiveInternal() +11032094
System.Web.UI.Control.PreRenderRecursiveInternal() +223
System.Web.UI.Control.PreRenderRecursiveInternal() +223
System.Web.UI.Control.PreRenderRecursiveInternal() +223
System.Web.UI.Control.PreRenderRecursiveInternal() +223
System.Web.UI.Control.PreRenderRecursiveInternal() +223
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3393
Version
Information: Microsoft .NET Framework Version:2.0.50727.4952; ASP.NET Version:2.0.50727.4955
My SharePoint Blog
http://dhireny.blogspot.comHow to be in my case??
[NullReferenceException: Object reference not set to an instance of an object.]
Microsoft.SharePoint.WebPartPages.ListViewWebPart.PrepareContentTypeFilter(SPList list, Hashtable[] excludedTransformers) +694
Microsoft.SharePoint.WebPartPages.ListViewWebPart.GenerateDocConvScriptBlock(SPWeb web, SPList list) +482
Microsoft.SharePoint.WebPartPages.XsltListViewWebPart.OnPreRender(EventArgs e) +571
Microsoft.SharePoint.WebPartPages.WebPartMobileAdapter.OnPreRender(EventArgs e) +78
System.Web.UI.Control.PreRenderRecursiveInternal() +11141054
System.Web.UI.Control.PreRenderRecursiveInternal() +223
System.Web.UI.Control.PreRenderRecursiveInternal() +223
System.Web.UI.Control.PreRenderRecursiveInternal() +223
System.Web.UI.Control.PreRenderRecursiveInternal() +223
System.Web.UI.Control.PreRenderRecursiveInternal() +223
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3393 -
"Error consuming WCF service metadata.
Object reference not set to an instance of an object."
I have no clue what happen to my BizTalk. I checked all the below forum but m clueless why BTS not consuming WCF through Generated Items. I tried both metadata exhange endpoint and metadata file through
svcutil. but all my wcf services are working fine with .net C# client.
http://blogs.msdn.com/b/appfabriccat/archive/2010/11/23/how-using-duplex-mep-to-communicate-with-biztalk-from-a-net-application-or-a-wf-workflow-running-inside-appfabric-part-1.aspx
http://msdn.microsoft.com/en-us/library/bb226552.aspx
http://msdn.microsoft.com/en-us/library/bb798122.aspx
http://masteringbiztalkserver.wordpress.com/tag/wcf-service-consuming-wizard/
I reinstall the WCF lob Adapter SDK to my BizTalk VM but still no clue. no erros in event viewer nothing.
http://www.abdulazizfarooqi.wordpress.com Abdul Aziz Farooqi [BizTalk & SharePoint Consultant] MCPD Web & MCPD SharePoint 2010Thanks from me too Neal - this worked from me. I wan't able to consume directly from exchange because the certificate is broken. However, I was able to convince Google Chrome to let me view the /Services.wsdl and from there I could save the .wsdl and two
.xsd files. In my case the problem lay at the top of the .wsdl file. I changed the following:
<wsdl:types>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:import namespace="http://schemas.microsoft.com/exchange/services/2006/messages" schemaLocation="messages.xsd"/>
</xs:schema>
by giving the same targetNamespace as assigned in the <wsdl:definitions element, so I ended up with
<wsdl:types>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://schemas.microsoft.com/exchange/services/2006/messages">
<xs:import namespace="http://schemas.microsoft.com/exchange/services/2006/messages" schemaLocation="messages.xsd"/>
</xs:schema> -
Hi All,
When we do a test-outlookconnectivity -protocol:http the result is a success but then we get the following:
ClientAccessServer ServiceEndpoint Scenario
Result Latency
(MS)
xxxxxxxxxxxx... xxxxxxxxxxxxxx Autodiscover: Web service request. Success 46.80
WARNING: An unexpected error has occurred and a Watson dump is being generated: Object reference not set to an instance
of an object.
Object reference not set to an instance of an object.
+ CategoryInfo : NotSpecified: (:) [Test-OutlookConnectivity], NullReferenceException
+ FullyQualifiedErrorId : System.NullReferenceException,Microsoft.Exchange.Monitoring.TestOutlookConnectivityTask
So it looks like it's not completing successfully.
I can't find anything on this in particular, and don't really know how to go about solving it - We are fully up to date, Exchange 2010 Sp2 with Rollup 5-v2
Any help appreciated!hi,
I have the same issue also on Exchange 2010 SP2 RU5v2
I ran your command and get the below
[PS] C:\Installs\report\Activesync>Test-OutlookConnectivity -Protocol:http |FL
RunspaceId : ebd2c626-1634-40ad-a17e-c9a713d1a62b
ServiceEndpoint : autodiscover.domain.com
Id : Autodiscover
ClientAccessServer : CAS01.domain.com
Scenario : Autodiscover: Web service request.
ScenarioDescription :
PerformanceCounterName :
Result : Success
Error :
UserName : Gazpromuk.intra\extest_645e41faa55f4
StartTime : 8/21/2013 4:08:50 PM
Latency : 00:00:00.1250048
EventType : Success
LatencyInMillisecondsString : 125.00
Identity :
IsValid : True
WARNING: An unexpected error has occurred and a Watson dump is being generated: Object reference not set to an instance of an object.
Object reference not set to an instance of an object.
+ CategoryInfo : NotSpecified: (:) [Test-OutlookConnectivity], NullReferenceException
+ FullyQualifiedErrorId : System.NullReferenceException,Microsoft.Exchange.Monitoring.TestOutlookConnectivityTask
Any help would be greatly appreciated, I also get random failures of OWA, EAS and web services, very frustrating
I have no errors in the app event log
thanks
Faisal Saleem Windows Systems Analyst 07595781867 -
I am getting an object reference not found error when trying to view the version history of any list item within my web application, as well as view or edit any list item properties in general. Below is what the ULS log generates when I try to view
the version history of an item.
System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.SharePoint.ApplicationPages.VersionsPage.ItemVersion.get_CreatedBy()
at ASP._layouts_versions_aspx.__Render__control14(HtmlTextWriter __w, Control parameterContainer)
at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)
at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
at System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer)
at System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output)
at System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer)
at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)
at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
at Microsoft.SharePoint.WebControls.UnsecuredLayoutsPageBase.RenderChildren(HtmlTextWriter writer)
at System.Web.UI.Page.Render(HtmlTextWriter writer)
at Microsoft.SharePoint.WebControls.UnsecuredLayoutsPageBase.Render(HtmlTextWriter writer)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
I followed what was said in this blog post to remove any extraneous calls of the "Microsoft.Sharepoint.ApplicationPages.dll"
in the GAC or the bin folder of the web application, yet I am still getting the same error.Hi Max, did you ever get this resolved? if yes, what were steps? thanks
Stacy www.sharepointpapa.com -
I have installed Project Server 2013 on SharePoint 2013, and installed the first PWA which worked. But I needed to change some configurations and so I deleted the PWA instances, but now I cannot delete the Project Server Service Application. Every attempt
to delete the Service Application it gives the error above, namely:
Sorry, something went wrong
Object reference not set to an instance of an object.
Technical Details
Troubleshoot issues with Microsoft SharePoint Foundation.
Correlation ID: ecaeaf9c-9fec-3049-ba23-d9a18337b9e2
Date and Time: 8/18/2014 12:55:31 PM
I'd urgently appreciate help.Thanks Paul for the reply. Here's the error, and the logs below covering the time the error occurred.
I've tried to extract a section of the log file below:
==========================================================
08/18/2014 19:20:19.07 w3wp.exe (0x542C)
0x6DF4 SharePoint Foundation DistributedCache
00000 Unexpected SPDistributedCachePointerWrapper::InitializeDataCacheFactory - No cache hosts are present or running in the farm.
08/18/2014 19:20:19.07 w3wp.exe (0x542C)
0x6DF4 SharePoint Foundation DistributedCache
ah24w Unexpected Unexpected Exception in SPDistributedCachePointerWrapper::InitializeDataCacheFactory for usage 'DistributedLogonTokenCache' - Exception 'System.InvalidOperationException: SPDistributedCachePointerWrapper::InitializeDataCacheFactory
- No cache hosts are present or running in the farm. at Microsoft.SharePoint.DistributedCaching.SPDistributedCachePointerWrapper.InitializeDataCacheFactory()'.
08/18/2014 19:20:19.07 w3wp.exe (0x542C)
0x6DF4 SharePoint Foundation DistributedCache
air4g Monitorable Token Cache: Failed to initialize SPDistributedSecurityTokenCache Exception: 'System.InvalidOperationException: SPDistributedCachePointerWrapper::InitializeDataCacheFactory
- No cache hosts are present or running in the farm. at Microsoft.SharePoint.DistributedCaching.SPDistributedCachePointerWrapper.InitializeDataCacheFactory() at Microsoft.SharePoint.DistributedCaching.SPDistributedCache..ctor(String
name, TimeSpan timeToLive, SPDistributedCacheContainerType containerType, Boolean encryptData) at Microsoft.SharePoint.IdentityModel.SPDistributedSecurityTokenCache..ctor(String name, TimeSpan timeToLive, SPDistributedCacheContainerType
containerType, Boolean encrptyData, TimeSpan minimumTokenExpirationWindow) at Microsoft.SharePoint.IdentityModel.SPDistributedSecurityTokenC...
08/18/2014 19:20:19.07* w3wp.exe (0x542C)
0x6DF4 SharePoint Foundation DistributedCache
air4g Monitorable ...acheInitializer.Init(Object state)'.
08/18/2014 19:20:19.07 w3wp.exe (0x7240)
0x7370 SharePoint Foundation General
af4yd High [Forced due to logging gap, cached @ 08/18/2014 19:20:18.99, Original Level: Verbose] TenantAppEtag
record requested but there is no sitesubscription or tenantId for site {0} so we will use the WebApp Id for the cache. f1c4af9c-7f7e-3049-ba23-ddc2aa2f9d7b
08/18/2014 19:20:19.07 w3wp.exe (0x7240)
0x7370 SharePoint Foundation Asp Runtime
aj1kp High [Forced due to logging gap, Original Level: Verbose] SPRequestModule.PreSendRequestHeaders f1c4af9c-7f7e-3049-ba23-ddc2aa2f9d7b
08/18/2014 19:20:19.10 w3wp.exe (0x7240)
0x7370 Project Server Unified Logging Service
b8fx High ULS Init Completed (w3wp.exe, Microsoft.Office.Project.Server.Native.dll) f1c4af9c-7f7e-3049-ba23-ddc2aa2f9d7b
08/18/2014 19:20:19.15 w3wp.exe (0x7240)
0x7370 0x6FB7007
6t8h High [Forced due to logging gap, cached @ 08/18/2014 19:20:19.07, Original
Level: Verbose] {0} f1c4af9c-7f7e-3049-ba23-ddc2aa2f9d7b
08/18/2014 19:20:19.15 w3wp.exe (0x7240)
0x7370 Project Server Provisioning
9or8 High [Forced due to logging gap, Original Level: Verbose] Unprovisioning service app {0}
f1c4af9c-7f7e-3049-ba23-ddc2aa2f9d7b
08/18/2014 19:20:19.16 w3wp.exe (0x7240)
0x7370 Project Server Provisioning
8ig5 High Unregistering project psi shared application timer job. f1c4af9c-7f7e-3049-ba23-ddc2aa2f9d7b
08/18/2014 19:20:19.21 w3wp.exe (0x7240)
0x7370 SharePoint Foundation General
8nca Medium Application error when access /_admin/ServiceApplicationDelete.aspx,
Error=Object reference not set to an instance of an object. at Microsoft.Office.Project.Server.Administration.PsiServiceApplication.get_ServiceAppTimerJob() at Microsoft.Office.Project.Server.Administration.ProjectPSISharedApplicationTimerJob.Unregister(PsiServiceApplication
psi) at Microsoft.Office.Project.Server.Administration.PsiServiceApplication.Unprovision(Boolean deleteData) at Microsoft.SharePoint.ApplicationPages.ServiceApplicationDeletePage.OkButton_Click(Object sender,
EventArgs e) at System.EventHandler.Invoke(Object sender, EventArgs e) at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyn... f1c4af9c-7f7e-3049-ba23-ddc2aa2f9d7b
08/18/2014 19:20:19.21* w3wp.exe (0x7240)
0x7370 SharePoint Foundation General
8nca Medium ...cPoint, Boolean includeStagesAfterAsyncPoint)
f1c4af9c-7f7e-3049-ba23-ddc2aa2f9d7b
08/18/2014 19:20:19.23 w3wp.exe (0x7240)
0x7370 SharePoint Foundation Runtime
tkau Unexpected System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.Office.Project.Server.Administration.PsiServiceApplication.get_ServiceAppTimerJob()
at Microsoft.Office.Project.Server.Administration.ProjectPSISharedApplicationTimerJob.Unregister(PsiServiceApplication psi) at Microsoft.Office.Project.Server.Administration.PsiServiceApplication.Unprovision(Boolean deleteData)
at Microsoft.SharePoint.ApplicationPages.ServiceApplicationDeletePage.OkButton_Click(Object sender, EventArgs e) at System.EventHandler.Invoke(Object sender, EventArgs e) at System.Web.UI.WebControls.Button.RaisePostBackEvent(String
eventArgument) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoin... f1c4af9c-7f7e-3049-ba23-ddc2aa2f9d7b
08/18/2014 19:20:19.23* w3wp.exe (0x7240)
0x7370 SharePoint Foundation Runtime
tkau Unexpected ...t) f1c4af9c-7f7e-3049-ba23-ddc2aa2f9d7b
08/18/2014 19:20:19.24 w3wp.exe (0x7240)
0x7370 SharePoint Foundation General
ajlz0 High Getting Error Message for Exception System.Web.HttpUnhandledException (0x80004005): Exception
of type 'System.Web.HttpUnhandledException' was thrown. ---> System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.Office.Project.Server.Administration.PsiServiceApplication.get_ServiceAppTimerJob()
at Microsoft.Office.Project.Server.Administration.ProjectPSISharedApplicationTimerJob.Unregister(PsiServiceApplication psi) at Microsoft.Office.Project.Server.Administration.PsiServiceApplication.Unprovision(Boolean deleteData)
at Microsoft.SharePoint.ApplicationPages.ServiceApplicationDeletePage.OkButton_Click(Object sender, EventArgs e) at System.EventHandler.Invoke(Object sender, EventArgs e) at System.Web.UI.WebControls.Button.Rais...
f1c4af9c-7f7e-3049-ba23-ddc2aa2f9d7b
08/18/2014 19:20:19.24* w3wp.exe (0x7240)
0x7370 SharePoint Foundation General
ajlz0 High ...ePostBackEvent(String eventArgument) at System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) f1c4af9c-7f7e-3049-ba23-ddc2aa2f9d7b
08/18/2014 19:20:19.32 w3wp.exe (0x14A4)
0x6508 SharePoint Foundation DistributedCache
00000 Unexpected SPDistributedCachePointerWrapper::InitializeDataCacheFactory - No cache hosts are present or running in the farm. 67c4af9c-afed-3049-ba23-d538b7dde463
08/18/2014 19:20:19.32 w3wp.exe (0x14A4)
0x6508 SharePoint Foundation DistributedCache
ah24w Unexpected Unexpected Exception in SPDistributedCachePointerWrapper::InitializeDataCacheFactory for usage 'DistributedLogonTokenCache' - Exception 'System.InvalidOperationException: SPDistributedCachePointerWrapper::InitializeDataCacheFactory
- No cache hosts are present or running in the farm. at Microsoft.SharePoint.DistributedCaching.SPDistributedCachePointerWrapper.InitializeDataCacheFactory()'.
67c4af9c-afed-3049-ba23-d538b7dde463
08/18/2014 19:20:19.32 w3wp.exe (0x14A4)
0x6508 SharePoint Foundation DistributedCache
air4g Monitorable Token Cache: Failed to initialize SPDistributedSecurityTokenCache Exception: 'System.InvalidOperationException: SPDistributedCachePointerWrapper::InitializeDataCacheFactory
- No cache hosts are present or running in the farm. at Microsoft.SharePoint.DistributedCaching.SPDistributedCachePointerWrapper.InitializeDataCacheFactory() at Microsoft.SharePoint.DistributedCaching.SPDistributedCache..ctor(String
name, TimeSpan timeToLive, SPDistributedCacheContainerType containerType, Boolean encryptData) at Microsoft.SharePoint.IdentityModel.SPDistributedSecurityTokenCache..ctor(String name, TimeSpan timeToLive, SPDistributedCacheContainerType
containerType, Boolean encrptyData, TimeSpan minimumTokenExpirationWindow) at Microsoft.SharePoint.IdentityModel.SPDistributedSecurityTokenC...
67c4af9c-afed-3049-ba23-d538b7dde463
08/18/2014 19:20:19.32* w3wp.exe (0x14A4)
0x6508 SharePoint Foundation DistributedCache
air4g Monitorable ...acheInitializer.Init(Object state)'.
67c4af9c-afed-3049-ba23-d538b7dde463
08/18/2014 19:20:19.38 w3wp.exe (0x7240)
0x7370 SharePoint Foundation Upgrade
aiaih High [Forced due to logging gap, Original Level: Verbose] desiredVersion: {0}
f1c4af9c-7f7e-3049-ba23-ddc2aa2f9d7b
08/18/2014 19:20:19.41 w3wp.exe (0x7240)
0x7370 SharePoint Foundation General
aat87 Monitorable f1c4af9c-7f7e-3049-ba23-ddc2aa2f9d7b
08/18/2014 19:20:19.43 w3wp.exe (0x7240)
0x7370 SharePoint Foundation DistributedCache
00000 Unexpected SPDistributedCachePointerWrapper::InitializeDataCacheFactory - No cache hosts are present or running in the farm. f1c4af9c-7f7e-3049-ba23-ddc2aa2f9d7b
08/18/2014 19:20:19.43 w3wp.exe (0x7240)
0x7370 SharePoint Foundation DistributedCache
ah24w Unexpected Unexpected Exception in SPDistributedCachePointerWrapper::InitializeDataCacheFactory for usage 'DistributedViewStateCache' - Exception 'System.InvalidOperationException: SPDistributedCachePointerWrapper::InitializeDataCacheFactory
- No cache hosts are present or running in the farm. at Microsoft.SharePoint.DistributedCaching.SPDistributedCachePointerWrapper.InitializeDataCacheFactory()'.
f1c4af9c-7f7e-3049-ba23-ddc2aa2f9d7b
08/18/2014 19:20:19.43 w3wp.exe (0x7240)
0x7370 SharePoint Foundation General
ajb4s Monitorable ViewStateLog: Failed to write to the velocity cache:
http://sharepoint:48488/_admin/ServiceApplicationDelete.aspx?id=24024e6bfd8f486ea7ab0b68658ce165&IsDlg=1
f1c4af9c-7f7e-3049-ba23-ddc2aa2f9d7b
08/18/2014 19:20:19.46 w3wp.exe (0x7240)
0x7370 SharePoint Foundation Monitoring
b4ly Medium Leaving Monitored Scope (Request (POST:http://sharepoint:48488/_admin/ServiceApplicationDelete.aspx?id=24024e6bfd8f486ea7ab0b68658ce165&IsDlg=1)).
Execution Time=550.415729455012 f1c4af9c-7f7e-3049-ba23-ddc2aa2f9d7b
08/18/2014 19:20:20.08 w3wp.exe (0x542C)
0x6EC4 SharePoint Foundation DistributedCache
00000 Unexpected SPDistributedCachePointerWrapper::InitializeDataCacheFactory - No cache hosts are present or running in the farm.
08/18/2014 19:20:20.08 w3wp.exe (0x542C)
0x6EC4 SharePoint Foundation DistributedCache
ah24w Unexpected Unexpected Exception in SPDistributedCachePointerWrapper::InitializeDataCacheFactory for usage 'DistributedLogonTokenCache' - Exception 'System.InvalidOperationException: SPDistributedCachePointerWrapper::InitializeDataCacheFactory
- No cache hosts are present or running in the farm. at Microsoft.SharePoint.DistributedCaching.SPDistributedCachePointerWrapper.InitializeDataCacheFactory()'.
08/18/2014 19:20:20.08 w3wp.exe (0x542C)
0x6EC4 SharePoint Foundation DistributedCache
air4g Monitorable Token Cache: Failed to initialize SPDistributedSecurityTokenCache Exception: 'System.InvalidOperationException: SPDistributedCachePointerWrapper::InitializeDataCacheFactory
- No cache hosts are present or running in the farm. at Microsoft.SharePoint.DistributedCaching.SPDistributedCachePointerWrapper.InitializeDataCacheFactory() at Microsoft.SharePoint.DistributedCaching.SPDistributedCache..ctor(String
name, TimeSpan timeToLive, SPDistributedCacheContainerType containerType, Boolean encryptData) at Microsoft.SharePoint.IdentityModel.SPDistributedSecurityTokenCache..ctor(String name, TimeSpan timeToLive, SPDistributedCacheContainerType
containerType, Boolean encrptyData, TimeSpan minimumTokenExpirationWindow) at Microsoft.SharePoint.IdentityModel.SPDistributedSecurityTokenC...
08/18/2014 19:20:20.08* w3wp.exe (0x542C)
0x6EC4 SharePoint Foundation DistributedCache
air4g Monitorable ...acheInitializer.Init(Object state)'.
08/18/2014 19:20:20.30 OWSTIMER.EXE (0x09C4)
0x09F8 SharePoint Foundation Monitoring
nasq Medium Entering monitored scope (Timer Job SchedulingUnpublish). Parent No acba9844-723f-4477-901c-adfdcae98e4e
08/18/2014 19:20:20.30 OWSTIMER.EXE (0x09C4)
0x09F8 SharePoint Foundation Logging Correlation Data xmnv
Medium Name=Timer Job SchedulingUnpublish f1c4af9c-ffd4-3049-ba23-d4fe1cc1d1d7
08/18/2014 19:20:20.31 OWSTIMER.EXE (0x09C4)
0x0A10 SharePoint Foundation Monitoring
nasq Medium Entering monitored scope (Timer Job SchedulingUnpublish). Parent No 5dbf5387-ba14-4980-bc61-5ba5490870fa
==============================================
Thanks for the attention. -
Hello, I have this issue and Ihave wasted atleast 2 days with this one. I have tried all possible solutions -
1. Turn Off Real time McAffee scanning -- I do not have real time scanning ON
2. Delete Bin folder and start all over by adding references -- Did not work
3. delete .compiles or refresh filesdelete temp files from asp.net temp files folder -- no .Compiled file. Deleted refresh files but no use
4. change temp file for appliation in compilation tag of web config -- No use
My application framework is .NET 4.5 and VSD 2012. I have tried to compile from C:\WINDOWS\Mi
crosoft.NET\Framework folder as well as C:\WINDOWS\Mi
crosoft.NET\Framework64 folder. Both gave same error.
I need urgent assistance plz.
Here is stack trace :
C:\Development\Convergence\Applications\CAP\WixSetup\WixSetupView>"C:\WINDOWS\Mi
crosoft.NET\Framework\v4.0.30319\aspnet_compiler.exe" -u -fixedNames -p "C:\Deve
lopment\Convergence\Applications\CAP\TouchPointTier\Presentations" -v / "C:\Deve
lopment\Convergence\Applications\CAP\PrecompiledWeb\ConvergenceCAP" -errorstack
Microsoft (R) ASP.NET Compilation Tool version 4.0.30319.17929
Utility to precompile an ASP.NET application
Copyright (C) Microsoft Corporation. All rights reserved.
error ASPRUNTIME: Object reference not set to an instance of an object.
[NullReferenceException]: Object reference not set to an instance of an object.
at System.Web.Compilation.BuildManager.CopyPrecompiledFile(VirtualFile vfile,
String destPhysicalPath)
at System.Web.Compilation.BuildManager.CopyStaticFilesRecursive(VirtualDirect
ory sourceVdir, String destPhysicalDir, Boolean topLevel)
at System.Web.Compilation.BuildManager.CopyStaticFilesRecursive(VirtualDirect
ory sourceVdir, String destPhysicalDir, Boolean topLevel)
at System.Web.Compilation.BuildManager.CopyStaticFilesRecursive(VirtualDirect
ory sourceVdir, String destPhysicalDir, Boolean topLevel)
at System.Web.Compilation.BuildManager.CopyStaticFilesRecursive(VirtualDirect
ory sourceVdir, String destPhysicalDir, Boolean topLevel)
at System.Web.Compilation.BuildManager.PrecompileAppInternal(VirtualPath star
tingVirtualDir, IEnumerable`1 excludedVirtualPaths)
at System.Web.Compilation.BuildManager.PrecompileApp(VirtualPath startingVirt
ualDir, IEnumerable`1 excludedVirtualPaths)
at System.Web.Compilation.BuildManager.PrecompileApp(ClientBuildManagerCallba
ck callback, IEnumerable`1 excludedVirtualPaths)
at System.Web.Compilation.BuildManagerHost.PrecompileApp(ClientBuildManagerCa
llback callback, List`1 excludedVirtualPaths)
at System.Web.Compilation.BuildManagerHost.PrecompileApp(ClientBuildManagerCa
llback callback, List`1 excludedVirtualPaths)
at System.Web.Compilation.ClientBuildManager.PrecompileApplication(ClientBuil
dManagerCallback callback, Boolean forceCleanBuild)
at System.Web.Compilation.ClientBuildManager.PrecompileApplication(ClientBuil
dManagerCallback callback)
at System.Web.Compilation.Precompiler.Main(String[] args)
C:\Development\Convergence\Applications\CAP\WixSetup\WixSetupView>pause
Press any key to continue . . .I know these warning are not related to my issue that is the reason i am not able to understand what is wrong with it. Its a huge application and compiliing takes atleast 6-7 hrs and after that I get error in "copyPrecompiledFiles" method.
I have circular reference issue in application but when I build application in specific sequece, it goes away so after builing application with 0 errors, i execute command to precompile
rmdir C:\Precompiled /s /q
mkdir C:\Precompiled
"C:\WINDOWS\Microsoft.NET\Framework64\v4.0.30319\aspnet_compiler.exe" -u -fixedNames -p "C:\ApplicationPath" -v / "C:\Precompiled" -errorstack
pause -
"Object reference not set to an instance of an object" error in SAPBO 9.0 PL08
Hi Experts,
I developed Customized Addon and created.ard file using B1 DE 2.2 version. But when we installed in the client place,Addon is connecting and status is showing "Connected" at the same time we are getting an error "Object reference not set to an instance of an object" . Please find the enclosed screen shot for your reference.
In the debug mode, am not getting any error and addon is working perfectly.
I need clarification --->PL08 SDK is required to create .ard file (OR) PL05 SDK is sufficient ??
Before this am getting error "You are not connected to the company" while connecting addon,that is resolved.
Now am facing this problem, Please help me out to resolve this issue.
Thanks & Regards
KMJHi Maik Delly,
I created the addons for SAPB1 8.81/8.82 SQL Server 2008 R2 environment from the same source code which is working fine till now without any error.
But why all of sudden we are getting this error for SAP B1 9.0 PL08 and SQL Server 2012 R2 environment.
In my system i have .net framework 3.5 SP1 and .Net Compact framework 1.0 and 2.0 installed. Addon is connecting and working also without any error for the same environment.
Some Clarification needed
1) SAP B1 9 PL05 SDK sufficient to create .ard file for SAP B1 9 PL08 environment ?
Awaiting for suggestions and advices to resolve this issue.
Thanks & Regards
KMJ -
I have a csv file that I need to generate a schema for. I am trying to generate a schema using flat file schema wizard but I keep getting "Object reference not set to an instance of an object." error when I am clicking on the Next button after
specifying properties of the child elements on the wizard. At the end I get schema file generated but it contains an empty root record with no child elements.
I thought may be this is because I didn't have my project checked out from the Visual SourceSafe db first but I tried again with the project checked out and got the same error.
I also tried creating a brand new project and generating a schema for it but got the same error.
I am not sure what is causing Null Reference exception to be thrown and there is nothing in the Windows event log that would tell me more about the problem.
I am using Visual Studio 2008 for my BizTalk development.
I would appreciate if some has any insides on this issue.Hi,
To test your environment, create a new BizTalk project outside of source control.
Create a simple csv file on the file system.
Name,City,State
Bob,New York,NY
Use the Flat file schema Wizard to create the flat file schema from your simple csv instance.
Validate the schema.
Test the schema using your csv instance.
This will help you determine if everything is ok with you environment.
Thanks,
William -
I cretaed a Visual web part in SP 2013. It needs a SharePoint list. So wrote below code in web part feature receiver. When I deploy the solution I get error says Error occurred in deployment step 'Activate Features': Object reference not set to an instance
of an object. I set ActivateOnDefault="FALSE" and AlwaysForceInstall="TRUE" . Take a look on my feature manifest file.
I cretaed a Visual web part in SP 2013. It needs a SharePoint list. So wrote below code in web part feature receiver. When I deploy the solution I get error says Error occurred in deployment step 'Activate Features': Object reference not set to an instance
of an object. I set ActivateOnDefault="FALSE" and AlwaysForceInstall="TRUE" . Take a look on my feature manifest file.
<Feature xmlns="http://schemas.microsoft.com/sharepoint/" Title="SharePointProject1 Feature1" ActivateOnDefault="FALSE" AlwaysForceInstall="TRUE" Id="8f7163d5-6c65-40d8-9045-8f74192f07d7" ReceiverAssembly="SharePointProject1, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9c2f0c3a8e22f6a0" ReceiverClass="SharePointProject1.Features.Feature1.Feature1EventReceiver" Scope="Site">
<ElementManifests>
<ElementManifest Location="VisualWebPart1\Elements.xml" />
<ElementFile Location="VisualWebPart1\VisualWebPart1.webpart" />
</ElementManifests>
</Feature>
This is my Feature1EventReceiver code.
SPWeb spWeb = properties.Feature.Parent as SPWeb;
SPList laptopList = spWeb.Lists["Laptops"];
if (laptopList != null)
laptopList.Delete();
SPListCollection lists = spWeb.Lists;
lists.Add("Laptops", "The Laptops", SPListTemplateType.GenericList);
laptopList = spWeb.Lists["Laptops"];
laptopList.Fields.Add("Name", SPFieldType.Text, true);
laptopList.Fields.Add("Model", SPFieldType.Text, true);
laptopList.Fields.Add("Image", SPFieldType.URL, false);
I can deploy if I have only below code
SPWeb spWeb = properties.Feature.Parent as SPWeb;hi
features containing webparts must be site scoped, so you must get spweb as bellow:
SPSite spSite = properties.Feature.Parent as SPSite;
SPWeb spWeb = spSite.RootWeb;
yaşamak bir eylemdir -
"An error has occurred:Object reference not set to an instance of an object."
This error message comes up with a user in InfoView. The user schedules a report, updates parameters, and the report kicks off successfully. But then a few minutes later, this error is received. This occurs sporadically, regardless of the length of time of report or amount of data being retrieved. Sometimes the report runs to completion. Other times this error message occurs.
Has anyone seen this before and have any thoughts?
Thank you.
“An error has occurred:Object reference not set to an instance of an object.”Are you able to replicate the issue both in Java and .NET InfoView?
For .NET InfoView, sometimes the "An error has occurred: Object reference not set to an instance of an object" error shows up after the .NET Framework is upgraded to 2.0 -
"object reference not set to an instance of an object" error while running ssrs report locally
Hi Folks,
I am a bit new to SSRS.
I am using ssrs 2012 and trying to use a method from a dll file. I am loaded the assembly file in reference of the report.
Now I am trying to use a static method from the Dll. e.g. applicationName.classname.MethodName()
But while running the report I am getting "object reference not set to an instance of an object" error.
For a note I am trying execute the report locally.
Any help would be highly appreciable.
sarat chandra sahooSorry for late reply Sinaloe..
I have added a dll file in my report reference. And in a textbox trying to execute this below.
=Recall.Common.LocalizationEx.Localization.GetString(Parameters!Culture.Value, "RFID", "BICustomerPortal")
where Getstring() is a static method in the dll.
I guess some configuration setting I am missing here.
1. I have copied these dlls in "C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\PrivateAssemblies" and "C:\Windows\Assembly".
sarat chandra sahoo -
Object reference not set to an instance of an object error with Import data
Hi Experts,
We are using BPC 7.5M with SQL Server 2008 in Multiserver environment, I am getting an error "Object reference not set to an instance of an object." while running Import data package, earlier we use to get this error sometime(once in a month) but it goes away if we reboot the application server but this time I have rebotted the Application server multiple times but still getting the same error.
Please Advice.
Thanks & Regards,
RohitHi Rohit,
please see the sap note 1615837, maybe this help you.
Best regards
Roberto Vidotti
Maybe you are looking for
-
Can't launch Safari due to error message
I can't launch Safari anymore. It says it is missing some important resources and I have to reinstall Safari. I have done so, but it still does not work. Here is the error message; The procedure entry point SQLite3_wal.checkpoint could not be located
-
Why do i get a BOBJ prompt in xcelsius with my live office feed
dear all, the situation ... i have an excel document, with a live office feed. the data feed is assigned a specific user from the sap ecc backend system. i have this excel live office saved locally on my c drive. i can open it up, and hit the refresh
-
Why can't I just use DreamWeaver?
I purchased a subscription to DreamWeaver nearly a year ago, but every time I try to open the program, it tells me that my trial period has expired. When I follow the instructions to "License this Software," it tells me to log in and asks me for a se
-
Cannot get Hostgator email with IMAP to work with Thunderbird
I have cpanel for VPS hostig with Hostgator.com One of my domains, www.fasttractionmarketing.com has webmail with hostgator wihich is working properly. I have been trying for hours to get email set up with Thuderbird client. I have dlownloaded Thunde
-
Here's my code: <cfquery name="setNote" datasource="#DS#" dbtype="ODBC" username="#DSUsername#" password="#DSPassword#" > update Notes set note = 'test' where noteid = 1 </cfquery> Seems simple enough, but I get this: [Macromedia][SequeLink JDBC Driv