[HELP REQ] [DEPLOYMENT ERROR]Silverlight Sharepoint 2010 Webpart Applicaiton [ERROR WHEN I DEPLOY] [HELP REQ]
**This solution contains no resources scoped for a web application and cannot be deployed to a particular web application.**
That is the error I get when I try to deploy the site I get this error. I have tried adding a element file but I am not too sure if I have done it correct. Either way no matter what and how I try to add this to my server when I do the following
commands it returns me this error.
Commands
Add the feature:
Add-SPSolution c:\sp2010\srg.wsp
Install:
**Install-spsolution -identity srg.wsp -webapplication http://my.kpl.gov <http://my.kpl.gov/> -gacdeployment** -THIS IS THE COMMANDS THAT CREATES THE ERROR-
Hi PsychoticcWMU,
Thank you for supporting MSDN forum.
I would like to move this question to a more approximate forum for a better support.
Thanks for your understanding.
--James
<THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
Thanks
MSDN Community Support
Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.
Similar Messages
-
Sharepoint 2010 Webpart debugging - Writing to the console
I am creating a SharePoint 2010 Webpart, and I'd like to write to the console for debugging purposes. Unfortunately the command Console.Writeline doesn't seem to work for me. How do I fix this??
Unfortunately, the functionality you're looking for doesn't exist. Web parts are primarily used for web applications and are built within class libraries, which have no console functionality at all. Therefore, prevents writing to the console.
Alternatively, you can use Visual Studio to debug the web part and step through the code using breakpoints. Visual Studio 2010 allows you to Debug the web part by hitting "F5".
Here's a link for some resources to help you get started developing web parts for SharePoint 2010.
http://donahoo-development.com -
Thread Process is exiting without completing the process in SharePoint 2010 webpart
We have implemented simple thread to process to excel upload into SharePoint 2010 custom list.
Thread process running in local SharePoint 2010 environment (OS -Windows 7). Once we deployed in SharePoint server,
Thread process is exiting without completing its proces.
Please let us know if you know any resolution.
Code is as below
Thread thread = new Thread(new ThreadStart(UploadData)); //Upload is the method where data will insert into List
Thread.Start();
Marulasiddappa SB (Swamy)Hi,
According to your post, an error occurred when you used Thread in SharePoint 2010 web part.
Please can do as follows:
1. Execute the UploadData method to see whether it can work.
2. Debug your solution in Visual Studio to get more information the error,
It will be easier for us to research if you can provide more code.
Best Regards
Dennis Guo
TechNet Community Support -
Sharepoint 2010 webpart connection issues
I've had a number of people having issues starting the LiveCycle feature in sharepoint 2010 here is the workaround
I had to do the following, download the powershell script located here https://skydrive.live.com/?cid=3d1aa7b9ba4b05fd&resid=3D1AA7B9BA4B05FD!234&id=3D1AA7B9BA4B 05FD%21234
Go into powershell, that’s done by running powershell.exe just like you would a cmd prompt
When at the powershell prompt issue the command Set-ExecutionPolicy AllSigned
Issue a cd to go to the directory that contains the download script
Then issue .\Set-RemoteAdministratorAccessDenied-False.ps1This is a known issue. See the blog http://blogs.adobe.com/livecycle/2012/05/access-denied-sharepoint.html
-
SharePoint 2010 Slow query duration when setting metadata on folder
I'm getting "Slow Query Duration" when I programmatically set a default value for a default field to apply to documents at a specified location on a SP 2010 library.
It has nothing to do with performance most probably as I'm getting this working with a folder within a library with only a 1 document on a UAT environment. Front-end: AMD Opteron 6174 2.20GHz x 2 + 8gb RAM, Back-end: AMD Opteron 6174 2.20GHz x 2 + 16gb
RAM.
The specific line of code causing this is:
folderMetadata.SetFieldDefault(createdFolder, fieldData.Field.InternalName, thisFieldTextValue);
What SP says:
02/17/2014 16:29:03.24 w3wp.exe (0x10D0) 0x0DB0 SharePoint Foundation Database fa42 Monitorable A large block of literal text was sent to sql. This can result in blocking in sql and excessive memory use on the front end. Verify that no binary parameters are
being passed as literals, and consider breaking up batches into smaller components. If this request is for a SharePoint list or list item, you may be able to resolve this by reducing the number of fields.
02/17/2014 16:29:03.24 w3wp.exe (0x10D0) 0x0DB0 SharePoint Foundation Database fa43 High Slow Query Duration: 254.705556153086
02/17/2014 16:29:03.26 w3wp.exe (0x10D0) 0x0DB0 SharePoint Foundation Database fa44 High Slow Query StackTrace-Managed: at Microsoft.SharePoint.Utilities.SqlSession.OnPostExecuteCommand(SqlCommand command, SqlQueryData monitoringData) at Microsoft.SharePoint.Utilities.SqlSession.ExecuteReader(SqlCommand
command, CommandBehavior behavior, SqlQueryData monitoringData, Boolean retryForDeadLock) at Microsoft.SharePoint.SPSqlClient.ExecuteQueryInternal(Boolean retryfordeadlock) at Microsoft.SharePoint.SPSqlClient.ExecuteQuery(Boolean retryfordeadlock) at Microsoft.SharePoint.Library.SPRequestInternalClass.PutFile(String
bstrUrl, String bstrWebRelativeUrl, Object punkFile, Int32 cbFile, Object punkFFM, PutFileOpt PutFileOpt, String bstrCreatedBy, String bstrModifiedBy, Int32 iCreatedByID, Int32 iModifiedByID, Object varTimeCreated, Object varTimeLastModified, Obje...
02/17/2014 16:29:03.26* w3wp.exe (0x10D0) 0x0DB0 SharePoint Foundation Database fa44 High ...ct varProperties, String bstrCheckinComment, Byte partitionToCheck, Int64 fragmentIdToCheck, String bstrCsvPartitionsToDelete, String bstrLockIdMatch, String bstEtagToMatch,
Int32 lockType, String lockId, Int32 minutes, Int32 fRefreshLock, Int32 bValidateReqFields, Guid gNewDocId, UInt32& pdwVirusCheckStatus, String& pVirusCheckMessage, String& pEtagReturn, Byte& piLevel, Int32& pbIgnoredReqProps) at Microsoft.SharePoint.Library.SPRequest.PutFile(String
bstrUrl, String bstrWebRelativeUrl, Object punkFile, Int32 cbFile, Object punkFFM, PutFileOpt PutFileOpt, String bstrCreatedBy, String bstrModifiedBy, Int32 iCreatedByID, Int32 iModifiedByID, Object varTimeCreated, Object varTimeLastModified, Object varProperties,
String bstrCheckinComment, Byte partitionToCheck, Int64 fragmentIdToCheck...
02/17/2014 16:29:03.26* w3wp.exe (0x10D0) 0x0DB0 SharePoint Foundation Database fa44 High ..., String bstrCsvPartitionsToDelete, String bstrLockIdMatch, String bstEtagToMatch, Int32 lockType, String lockId, Int32 minutes, Int32 fRefreshLock, Int32 bValidateReqFields,
Guid gNewDocId, UInt32& pdwVirusCheckStatus, String& pVirusCheckMessage, String& pEtagReturn, Byte& piLevel, Int32& pbIgnoredReqProps) at Microsoft.SharePoint.SPFile.SaveBinaryStreamInternal(Stream file, String checkInComment, Boolean checkRequiredFields,
Boolean autoCheckoutOnInvalidData, Boolean bIsMigrate, Boolean bIsPublish, Boolean bForceCreateVersion, String lockIdMatch, SPUser modifiedBy, DateTime timeLastModified, Object varProperties, SPFileFragmentPartition partitionToCheck, SPFileFragmentId fragmentIdToCheck,
SPFileFragmentPartition[] partitionsToDelete, Stream formatMetadata, String etagToMatch, Boolea...
02/17/2014 16:29:03.26* w3wp.exe (0x10D0) 0x0DB0 SharePoint Foundation Database fa44 High ...n bSyncUpdate, SPLockType lockType, String lockId, TimeSpan lockTimeout, Boolean refreshLock, Boolean requireWebFilePermissions, Boolean failIfRequiredCheckout, Boolean
validateReqFields, Guid newDocId, SPVirusCheckStatus& virusCheckStatus, String& virusCheckMessage, String& etagReturn, Boolean& ignoredRequiredProps) at Microsoft.SharePoint.SPFile.SaveBinary(Stream file, Boolean checkRequiredFields, Boolean
createVersion, String etagMatch, String lockIdMatch, Stream fileFormatMetaInfo, Boolean requireWebFilePermissions, String& etagNew) at Microsoft.SharePoint.SPFile.SaveBinary(Byte[] file) at Microsoft.Office.DocumentManagement.MetadataDefaults.Update()
at TWINSWCFAPI.LibraryManager.CreatePathFromFolderCollection(String fullPathUrl, SPListItem item, SPWeb web, Dictionary2...
02/17/2014 16:29:03.26* w3wp.exe (0x10D0) 0x0DB0 SharePoint Foundation Database fa44 High ... folderToCreate, Boolean setDefaultValues, Boolean mainFolder) at TWINSWCFAPI.LibraryManager.CreatePathFromFolderCollection(String fullPathUrl, List1 resultDataList,
SPListItem item, SPWeb web, Boolean setDefaultValues, Boolean mainFolder) at TWINSWCFAPI.LibraryManager.CreateExtraFolders(List1
pathResultDataList, List1 resultDataList, String fullPathUrl, SPWeb web, SPListItem item, Boolean setDefaultValues) at TWINSWCFAPI.LibraryManager.CreateFolders(SPWeb web, List1
pathResultDataList, SPListItem item, String path, Boolean setDefaultValues) at TWINSWCFAPI.LibraryManager.MoveFileAfterMetaChange(SPListItem item) at TWINSWCFAPI.DocMetadataChangeEventReceiver.DocMetadataChangeEventReceiver.FileDocument(SPWeb web, SPListItem
listItem) at TWINSWCFAPI.DocMetadataChang...
02/17/2014 16:29:03.26* w3wp.exe (0x10D0) 0x0DB0 SharePoint Foundation Database fa44 High ...eEventReceiver.DocMetadataChangeEventReceiver.ItemCheckedIn(SPItemEventProperties properties) at Microsoft.SharePoint.SPEventManager.RunItemEventReceiver(SPItemEventReceiver
receiver, SPUserCodeInfo userCodeInfo, SPItemEventProperties properties, SPEventContext context, String receiverData) at Microsoft.SharePoint.SPEventManager.RunItemEventReceiverHelper(Object receiver, SPUserCodeInfo userCodeInfo, Object properties, SPEventContext
context, String receiverData) at Microsoft.SharePoint.SPEventManager.<>c__DisplayClassc1.b__6() at Microsoft.SharePoint.SPSecurity.RunAsUser(SPUserToken userToken, Boolean bResetContext, WaitCallback code, Object param) at Microsoft.SharePoint.SPEventManager.InvokeEventReceivers[ReceiverType](SPUserToken
userToken, Gu...
02/17/2014 16:29:03.26* w3wp.exe (0x10D0) 0x0DB0 SharePoint Foundation Database fa44 High ...id tranLockerId, RunEventReceiver runEventReceiver, Object receivers, Object properties, Boolean checkCancel) at Microsoft.SharePoint.SPEventManager.InvokeEventReceivers[ReceiverType](Byte[]
userTokenBytes, Guid tranLockerId, RunEventReceiver runEventReceiver, Object receivers, Object properties, Boolean checkCancel) at Microsoft.SharePoint.SPEventManager.HandleEventCallback[ReceiverType,PropertiesType](Object callbackData) at Microsoft.SharePoint.Utilities.SPThreadPool.WaitCallbackWrapper(Object
state) at System.Threading.ExecutionContext.runTryCode(Object userData) at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData) at System.Threading.ExecutionContext.Run(ExecutionContext
execu...
02/17/2014 16:29:03.26* w3wp.exe (0x10D0) 0x0DB0 SharePoint Foundation Database fa44 High ...tionContext, ContextCallback callback, Object state) at System.Threading._ThreadPoolWaitCallback.PerformWaitCallbackInternal(_ThreadPoolWaitCallback tpWaitCallBack)
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback(Object state)
02/17/2014 16:29:03.26 w3wp.exe (0x10D0) 0x0DB0 SharePoint Foundation Database tzku High ConnectionString: 'Data Source=PFC-SQLUAT-202;Initial Catalog=TWINSDMS_LondonDivision_Content;Integrated Security=True;Enlist=False;Asynchronous Processing=False;Connect
Timeout=15' ConnectionState: Open ConnectionTimeout: 15
02/17/2014 16:29:03.26 w3wp.exe (0x10D0) 0x0DB0 SharePoint Foundation Database tzkv High SqlCommand: 'DECLARE @@iRet int;BEGIN TRAN EXEC @@iRet = proc_WriteChunkToAllDocStreams @wssp0, @wssp1, @wssp2, @wssp3, @wssp4, @wssp5, @wssp6;IF @@iRet <> 0 GOTO
done; DECLARE @@S uniqueidentifier; DECLARE @@W uniqueidentifier; DECLARE @@DocId uniqueidentifier; DECLARE @@DoclibRowId int; DECLARE @@Level tinyint; DECLARE @@DocUIVersion int;DECLARE @@IsCurrentVersion bit; DECLARE @DN nvarchar(256); DECLARE @LN nvarchar(128);
DECLARE @FU nvarchar(260); SET @DN=@wssp7;SET @@iRet=0; ;SET @LN=@wssp8;SET @FU=@wssp9;SET @@S=@wssp10;SET @@W=@wssp11;SET @@DocUIVersion = 512;IF @@iRet <> 0 GOTO done; ;SET @@Level =@wssp12; EXEC @@iRet = proc_UpdateDocument @@S, @@W, @DN, @LN, @wssp13,
@wssp14, @wssp15, @wssp16, @wssp17, @wssp18, @wssp19, @wssp20, @wssp21, @wssp22, @wssp23, @wssp24, @wssp25, @wssp26,...
02/17/2014 16:29:03.26* w3wp.exe (0x10D0) 0x0DB0 SharePoint Foundation Database tzkv High ... @wssp27, @wssp28, @wssp29, @wssp30, @wssp31, @wssp32, @wssp33, @wssp34, @wssp35, @wssp36, @wssp37, @wssp38, @wssp39, @wssp40, @wssp41, @wssp42, @wssp43, @wssp44, @wssp45,
@wssp46, @wssp47, @wssp48, @wssp49, @wssp50, @wssp51, @@DocId OUTPUT, @@Level OUTPUT , @@DoclibRowId OUTPUT,@wssp52 OUTPUT,@wssp53 OUTPUT,@wssp54 OUTPUT,@wssp55 OUTPUT ; IF @@iRet <> 0 GOTO done; EXEC @@iRet = proc_TransferStream @@S, @@DocId, @@Level,
@wssp56, @wssp57, @wssp58; IF @@iRet <> 0 GOTO done; EXEC proc_AL @@S,@DN,@LN,@@Level,0,N'London/Broking/Documents/E/E _ E Foods Corporation',N'2012',72,85,83,1,N'';EXEC proc_AL @@S,@DN,@LN,@@Level,1,N'London/Broking/Documents/E',N'E _ E Foods Corporation',72,85,83,1,N'';EXEC
proc_AL @@S,@DN,@LN,@@Level,2,N'London/Broking/Documents/E/E _ E Foods Corporation',N'2013',72,85,...
02/17/2014 16:29:03.26* w3wp.exe (0x10D0) 0x0DB0 SharePoint Foundation Database tzkv High ...83,1,N'';EXEC proc_AL @@S,@DN,@LN,@@Level,3,N'London/Broking/Documents/E/E _ E Foods Corporation/2013',N'QA11G029601',72,85,83,1,N'';EXEC proc_AL @@S,@DN,@LN,@@Level,4,N'London/Broking/Documents/K',N'Konig
_ Reeker',72,85,83,1,N'';EXEC proc_AL @@S,@DN,@LN,@@Level,5,N'London/Broking/Documents/K/Konig _ Reeker',N'2012',72,85,83,1,N'';EXEC proc_AL @@S,@DN,@LN,@@Level,6,N'London/Broking/Documents/K/Konig _ Reeker/2012',N'QA12E013201',72,85,83,1,N'';EXEC proc_AL
@@S,@DN,@LN,@@Level,7,N'London/Broking/Documents/K/Konig _ Reeker/2012',N'A12EL00790',72,85,83,1,N'';EXEC proc_AL @@S,@DN,@LN,@@Level,8,N'London/Broking/Documents/K/Konig _ Reeker/2012',N'A12DA00720',72,85,83,1,N'';EXEC proc_AL @@S,@DN,@LN,@@Level,9,N'London/Broking/Documents/K/Konig
_ Reeker/2012',N'A12DC00800',72,85,83,1,N'';EXEC proc...
02/17/2014 16:29:03.26* w3wp.exe (0x10D0) 0x0DB0 SharePoint Foundation Database tzkv High ..._AL @@S,@DN,@LN,@@Level,10,N'London/Broking/Documents/A',N'Ace European Group Limited',72,85,83,1,N'';EXEC proc_AL @@S,@DN,@LN,@@Level,11,N'London/Broking/Documents/A/Ace
European Group Limited',N'2012',72,85,83,1,N'';EXEC proc_AL @@S,@DN,@LN,@@Level,12,N'London/Broking/Documents/A/Ace European Group Limited/2012',N'JXB88435',72,85,83,1,N'';EXEC proc_AL @@S,@DN,@LN,@@Level,13,N'London/Broking/Documents/A/Ace European Group
Limited/2012/JXB88435/Closings',N'PRM 1',72,85,83,1,N'';EXEC proc_AL @@S,@DN,@LN,@@Level,14,N'London/Broking/Documents/A/Ace European Group Limited/2012/JXB88435/Closings',N'PRM 2',72,85,83,1,N'';EXEC proc_AL @@S,@DN,@LN,@@Level,15,N'London/Broking/Documents/C',N'C
Moore-Gordon',72,85,83,1,N'';EXEC proc_AL @@S,@DN,@LN,@@Level,16,N'London/Broking/Documents/C/C Moore-Gordo...
02/17/2014 16:29:03.26* w3wp.exe (0x10D0) 0x0DB0 SharePoint Foundation Database tzkv High ...n',N'2012',72,85,83,1,N'';EXEC proc_AL @@S,@DN,@LN,@@Level,17,N'London/Broking/Documents/C/C Moore-Gordon/2012',N'QY13P700201',72,85,83,1,N'';EXEC proc_AL @@S,@DN,@LN,@@Level,18,N'London/Broking/Documents/C/C
Moore-Gordon',N'2013',72,85,83,1,N'';EXEC proc_AL @@S,@DN,@LN,@@Level,19,N'London/Broking/Documents/C/C Moore-Gordon/2013',N'Y13PF07010',72,85,83,1,N'';EXEC proc_AL @@S,@DN,@LN,@@Level,20,N'London/Broking/Documents/A/Ace European Group Limited/2012/JXB88435/Closings',N'ARP
7',72,85,83,1,N'';EXEC proc_AL @@S,@DN,@LN,@@Level,21,N'London/Broking/Documents/A/Ace European Group Limited/2012/JXB88435/Closings',N'ARP 8',72,85,83,1,N'';EXEC proc_AL . . .
Thanks in advance ASharePoint and SQL Server installed on same server or how is the setup?
i would start to enable the developer dashboard, analyze the report of the developer dashboard...
you will see if any webpart, or page or sql server query taking too much time.
http://www.sharepoint-journey.com/developer-dashboard-in-sharepoint-2013.html
Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog -
Dear SharePoint Forum,
How do I import or create a colored tile screen from material created in Word or Pwr Point. The copy/Cut paste feature does now work..Is this custome HTML or J script or is there a special webpart for this type of SP 2010 work?
Thanks,
M. Breton (Misa)Dear SharePoint Forum,
How do I import or create a colored tile screen from material created in Word or Pwr Point. The copy/Cut paste feature does now work..Is this custome HTML or J script or is there a special webpart for this type of SP 2010 work?
Thanks,
M. Breton (Misa) -
Retrieve data from AD from within a custom sharepoint 2010 webpart
Hi,
I have a requirement to retrieve user data from AD and display from within a custom built webpart.
I am using the PrincipalContext class etc to get the info from AD, i have sucesfully done this in a console program without having to specifiy a username/password.
In the webpart i have successfully retrieved the data by hard coding my domain username/password.
Any ideas what i could do to get the webpart to retrieve information from AD without having to specify username/password?
thanks cjmHi C.J,
I wrote an example of this using credentials stored in the Secure Store in the TechNet Wiki. The article is here: http://social.technet.microsoft.com/wiki/contents/articles/20110.sharepoint-retrieving-credentials-from-the-secure-store-application-using-c.aspx
There's an example in the above article about building a webpart that connects to AD using the credentials.
Regards, Matthew
MCPD | MCITP
My Blog
View
Matthew Yarlett's profile
See my webpart on the TechNet Gallery that allows administrative users to upload, crop and format user profile photos. Check it out here:
Upload and Crop User Profile Photos -
Sharepoint 2010 webpart database connectivity.
Im developing a web part that allows users to create help-desk tickets. I'm developing using Visual studio 2012. Ive created some text boxes and drop down lists. I want to link my drop down lists to a database where the user can choose names from the database
etc. Unlike a regular windows form app where you can choose data source for the DD list and configure SQL database, im only given the option to use XML data. How can I configure this to accept SQL databases??
I have linked an SQL server(with databases) to my visual studio web part project. Just don't quite know how to link the data yet. Any help would be very well appreciated.I recommend you go over the 2 guides below, which will provide a better picture:
How to connect to Data in Visual Studio
MSDN: Binding Controls to Data in Visual Studio
Hope it helps!
Thanks, Ransher Singh, MCP, MCTS | Click Vote As Helpful if you think that post is helpful in responding your question click Mark As Answer, if you think that this is your answer for your question. -
I had Two Picture Libraries in my main site.Want to display the specific picture library with slide show in my sub-site..Please suggest the exact Solution for this ..
Plz give the solution immediatelyHi
I would suggest you to place the picture library in sub site. Any reason behing keeping picture library in main site?
Please try this link
http://social.msdn.microsoft.com/Forums/en-US/fd36ad80-f2a1-4d5c-8000-6b68008c70ec/picture-library-slideshow-web-part?forum=sharepointcustomizationprevious
Please remember to click 'Mark as Answer' on the answer if it helps you -
SharePoint 2010 Workflow: Email alert when item is due to expire
Hi Guys,
I have a library which contains a number of customer records. In this library I have a custom date column called End Date which is used to hold a date when the record is due to expire. I would like to create a solution which would send an email alert to someone
when the record is 30days away from expiring a sort of warning, and another email once the expiry date had been lapsed and the record had expired. Can you please advise how best to create this solution, I should imagine that this would be easily achieved in
designer however, I've really not got much experience with using designer 2010.
If someone could help me out with what code to use, or some useful how to's it would be much appreciated.
Many thanksHello,
Create designer workflow to send reminder email before 30 days. Please look at below link for your ref:
http://mysharepointchronicles.wordpress.com/2012/11/05/sharepoint-list-with-workflow-email-reminder-set-to-send-30-days-from-created-date/
http://social.technet.microsoft.com/forums/en-US/sharepointcustomizationprevious/thread/9c728338-b0fe-45a0-9377-a774e551d529
Hope it could help
Hemendra: "Yesterday is just a memory,Tomorrow we may never see"
Whenever you see a reply and if you think is helpful, click "Vote As Helpful"! And whenever
you see a reply being an answer to the question of the thread, click "Mark As Answer
Please feel free to unmark answer if does not resolves your problem. -
SharePoint 2010 losing global navigation when adding a link to headings
Hello all,
I am adding headings on global nav, and under the heading i add links.
The problem is as soon as i add a link to the heading it self, it disappears.
As a example
Global nav.
heading -> Divisions
Add link -> FRP
that works fine but if i add
heading -> Divisions (add a link to a page here)
Add link -> FRP
Both link and heading disappears.
I got custom branding, but I switched it all of and went back to basic v4 still the same error.
Any help would be appreciated.I changed all the Maximum number of dynamic items to show within this level of navigation: to 200 a while ago just in case that was it but had not luck with that either.
-
I created a web app with claims based authentication ,
basiclly i follwe this blog
http://donalconlon.wordpress.com/2010/02/23/configuring-forms-base-authentication-for-sharepoint-2010-using-iis7/
but when i login it throws 503 error
Server Error in '/' Application.
The remote server returned an error: (503) Server Unavailable.
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.Net.WebException: The remote server returned an error: (503) Server Unavailable.
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:
[WebException: The remote server returned an error: (503) Server Unavailable.]
System.Net.HttpWebRequest.GetResponse() +1126
System.ServiceModel.Channels.HttpChannelRequest.WaitForReply(TimeSpan timeout) +81
[ServerTooBusyException: The HTTP service located at http://localhost:32843/SecurityTokenServiceApplication/securitytoken.svc is too busy. ]
System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) +10258154
System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) +539
Microsoft.IdentityModel.Protocols.WSTrust.IWSTrustContract.Issue(Message message) +0
Microsoft.IdentityModel.Protocols.WSTrust.WSTrustChannel.Issue(RequestSecurityToken rst, RequestSecurityTokenResponse& rstr) +61
Microsoft.IdentityModel.Protocols.WSTrust.WSTrustChannel.Issue(RequestSecurityToken rst) +36
Microsoft.SharePoint.SPSecurityContext.SecurityTokenForContext(Uri context, Boolean bearerToken, SecurityToken onBehalfOf, SecurityToken actAs, SecurityToken delegateTo) +26062081
Microsoft.SharePoint.SPSecurityContext.SecurityTokenForLegacyLogin() +270
Microsoft.SharePoint.IdentityModel.SPWindowsClaimsAuthenticationHttpModule.GetSecurityTokenFromWindowsIdentity(WindowsIdentity windowsIdentity, HttpContext httpContext) +21
Microsoft.SharePoint.IdentityModel.SPWindowsClaimsAuthenticationHttpModule.AuthenticateRequest(Object sender, EventArgs e) +1176
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +80
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +171
any thoughts?
thanks in advance!
Share Knowledge and Spread Love!Hi ,
I was also facing the same issue on changing my credentials. This effects the ServiceTokenApplicationPool and other pools related to the Web applications
To resolve this follow these :
1. Open IIS Manager , under Connection section you can see the Name of your site collection(as
siteCollectionName(Username))
2. Open SiteCollection , select Application Pools. A new window with your Web application pool names would open.
3. Right click on web app, select Advance Setting... , under Process Model select Identity
4. check for Custom account , click set and enter your Credentials and click
OK
Atlast Refresh the IIS manager.
Thank you.
Under application pools Do select the ServiceTokenApplicationPool also and follow steps 3 and 4 -
How to add new database server instance in Sharepoint 2010?
I have installed SQL server 2012 BI edition and I have been trying to add new SQL Server reporting services in Sharepoint 2010 central admin .But When I click "ok "after giving the new SQL server name in the SQL Server reporting service creating
process, I get an error stating "This user does not have permission on the SQL server".Though ,I have given this user dbcreator role on that particular database instance.Could you please help me out?Does the initial installation account used to set-up the farm have these permissions on the database?
Steven Andrews
SharePoint Business Analyst: LiveNation Entertainment
Blog: baron72.wordpress.com
Twitter: Follow @backpackerd00d
My Wiki Articles:
CodePlex Corner Series
Please remember to mark your question as "answered" if this solves (or helps) your problem. -
Sharepoint 2010 comsumer and Sharepoint 2013 is the provider
The client has sharepoint 2010 as the consumer and 2013 as the provider for the service application "User profile service application"
When the client clicks on My profile and tries to change his picture we get an error mesage, when the logs were reviewed we see the below message
Timestamp Process TID Area Category EventID Level Message Correlation 09/05/2014 10:17:46.17 w3wp.exe (XYZXYZXYZ:0x26E0) 0x5DEC SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (GET:http://xxxxx/_layouts/SelectPicture2.aspx?Type=User&accountname=yyyyy&IsDlg=1)
9f43fafd-1f9d-436b-9100-bbe66ed75e72 09/05/2014 10:17:46.18 w3wp.exe (XYZXYZXYZ:0x26E0) 0x5DEC SharePoint Foundation Logging Correlation Data xmnv Medium Site=/ 9f43fafd-1f9d-436b-9100-bbe66ed75e72 09/05/2014 10:17:46.20 w3wp.exe (XYZXYZXYZ:0x26E0) 0x5DEC
SharePoint Portal Server Runtime 7pm5 High Url Path: "/_layouts/SelectPicture2.aspx" 9f43fafd-1f9d-436b-9100-bbe66ed75e72 09/05/2014 10:17:46.21 w3wp.exe (XYZXYZXYZ:0x26E0) 0x5DEC SharePoint Portal Server Runtime 7pma Exception Unhandled exception
caught during execution of Microsoft.SharePoint.Portal.PageBase::ErrorHandler(). Exception information: Exception information: System.IO.FileNotFoundException: The Web application at http://my-sites/ 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. at Microsoft.SharePoint.SPSite..ctor(SPFarm farm, Uri requestUri, Boolean contextSite, SPUserToken userToken) at
Microsoft.SharePoint.SPSite..ctor(String requestUrl) at Microsoft.SharePoint.Portal.WebControls.ProfileImagePicker.LoadPictureLibrary() at Microsoft.SharePoint.Portal.WebControls.ProfileImagePicker.<onload>b__0() at Microsoft.SharePoi... 9f43fafd-1f9d-436b-9100-bbe66ed75e72
09/05/2014 10:17:46.21* w3wp.exe (XYZXYZXYZ:0x26E0) 0x5DEC SharePoint Portal Server Runtime 7pma Exception ...nt.SPSecurity.<>c__DisplayClass4.<runwithelevatedprivileges>b__2() at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated
secureCode) at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object param) at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode) at Microsoft.SharePoint.Portal.WebControls.ProfileImagePicker.OnLoad(EventArgs
ea) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoi... 9f43fafd-1f9d-436b-9100-bbe66ed75e72 09/05/2014 10:17:46.21* w3wp.exe (XYZXYZXYZ:0x26E0) 0x5DEC SharePoint Portal Server Runtime 7pma Exception ...nt, Boolean includeStagesAfterAsyncPoint) System.IO.FileNotFoundException: The
Web application at http://my-sites/ 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. at Microsoft.SharePoint.SPSite..ctor(SPFarm
farm, Uri requestUri, Boolean contextSite, SPUserToken userToken) at Microsoft.SharePoint.SPSite..ctor(String requestUrl) at Microsoft.SharePoint.Portal.WebControls.ProfileImagePicker.LoadPictureLibrary() at Microsoft.SharePoint.Portal.WebControls.ProfileImagePicker.<onload>b__0()
at Microsoft.SharePoint.SPSecurity.<>c__DisplayClass4.<runwithelevatedprivileges>b__2() at Microsoft.SharePoint.Utilities.... 9f43fafd-1f9d-436b-9100-bbe66ed75e72 09/05/2014 10:17:46.21* w3wp.exe (XYZXYZXYZ:0x26E0) 0x5DEC SharePoint Portal Server
Runtime 7pma Exception ...SecurityContext.RunAsProcess(CodeToRunElevated secureCode) at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object param) at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated
secureCode) at Microsoft.SharePoint.Portal.WebControls.ProfileImagePicker.OnLoad(EventArgs ea) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 9f43fafd-1f9d-436b-9100-bbe66ed75e72 09/05/2014 10:17:46.21
w3wp.exe (XYZXYZXYZ:0x26E0) 0x5DEC SharePoint Server Unified Logging Service c91s Monitorable Watson bucket parameters: SharePoint Server 2010, ULSException14, 06d8f9f3 "sharepoint portal server", 0e00178d "14.0.6029.0", 1f65804a "microsoft.sharepoint",
0e0017f9 "14.0.6137.0", 5136df43 "wed mar 06 00:16:35 2013", 000057b4 "000057b4", 00000077 "00000077", 4d150129 "filenotfoundexception", 37706d61 "7pma" 9f43fafd-1f9d-436b-9100-bbe66ed75e72 09/05/2014
10:17:46.21 w3wp.exe (XYZXYZXYZ:0x26E0) 0x5DEC SharePoint Foundation Runtime tkau Unexpected System.IO.FileNotFoundException: The Web application at http://my-sites/ 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. at Microsoft.SharePoint.SPSite..ctor(SPFarm farm, Uri requestUri, Boolean contextSite, SPUserToken userToken) at Microsoft.SharePoint.SPSite..ctor(String
requestUrl) at Microsoft.SharePoint.Portal.WebControls.ProfileImagePicker.LoadPictureLibrary() at Microsoft.SharePoint.Portal.WebControls.ProfileImagePicker.<onload>b__0() at Microsoft.SharePoint.SPSecurity.<>c__DisplayClass4.<runwithelevatedprivileges>b__2()
at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunEleva... 9f43fafd-1f9d-436b-9100-bbe66ed75e72 09/05/2014 10:17:46.21* w3wp.exe (XYZXYZXYZ:0x26E0) 0x5DEC SharePoint Foundation Runtime tkau Unexpected ...ted secureCode) at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback
secureCode, Object param) at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode) at Microsoft.SharePoint.Portal.WebControls.ProfileImagePicker.OnLoad(EventArgs ea) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
9f43fafd-1f9d-436b-9100-bbe66ed75e72 09/05/2014 10:17:46.21 w3wp.exe (XYZXYZXYZ:0x26E0) 0x5DEC SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (GET:http://xxxxx/_layouts/SelectPicture2.aspx?Type=User&accountname=yyyyy&IsDlg=1)).
Execution Time=50.9131783692527 9f43fafd-1f9d-436b-9100-bbe66ed75e72 </runwithelevatedprivileges></onload></runwithelevatedprivileges></onload></runwithelevatedprivileges></onload>
Checked the Alternative access mapping on the provider server and it looks good.
what would cause this to happne and how can this be resolved
SatyamCameron,
Thanks for taking the time to reply.
Actually, it may not be related to compatibility. Let me explain in detail (As below)
Client has 2 different environments SharePoint 2010 and SharePoint 2013.
On SharePoint 2010 they have the web application-Site collections, however for My sites they use SharePoint 2013, where the trust (Root certificate and the STS ) was shared... Making the SP2010
as the consumer and SP 2013 as the provider.
When a user from SharePoint 2010, click on my profile the user is then taken to this page "edituserprofile.aspx"
which still has the look and feel of sharepoint 2010, and under pictures when we choose the button "Choose Picture" we get the error message with the corelation ID, when checked the ULS logs we get the message (Mentioned in the first post and is
also mentioned below)
"Exception Unhandled exception caught during execution of Microsoft.SharePoint.Portal.PageBase::ErrorHandler().
Exception information: Exception information: System.IO.FileNotFoundException: The Web application at http://my-sites/ 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. "
I have checked the AAM and it looks good.
When the user clicks on my profile on SP2010 environment , the user must be diverted to the sp2013 environment to update his information...correct ?
Satyam.. -
Issues in SharePoint 2013 after Upgrade from SharePoint 2010
I have recently migrated sharepoint 2010 web applicaiton to 2013 using database attach and detach methods.
I have few issues and just wondering they are issues or not.
I am running in compatible mode in 2013.
1.I am not able to make a copy of any existing webs which are migrated from 2010.
I browse to site content and structure from the site actions menu.
click on a site then click on the copy or move, then a pop up box with the list of sites appears. i pick one of them and click ok.
now it goes to copy or move operation then at the end it gives me following error
The current operation could not be completed. Try again, or contact your system administrator.
Object reference not set to an instance of an object.
You may re-try the operation, and you may need to clean up the half-created data first before re-trying. If the problem persists, please contact your system administrator.
User account used is the Farm account.
This is from the logs:
LRO - An exception was thrown by the DoWork method of a LongRunningOperation System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.SharePoint.Publishing.PublishingPage.get_Layout()
at Microsoft.SharePoint.Publishing.Internal.DeploymentWrapper.cachePageInfoForXmlFiltering(PublishingPage publishingPage)
at Microsoft.Office.Server.Utilities.ContentIterator.ProcessItem(SPListItem item, Boolean fIncludeFolderItems, MonitoredScopeWrapper monitoredScopeWrapper, ItemProcessor itemProcessor, ItemProcessorErrorCallout errorCallout)
at Microsoft.Office.Server.Utilities.ContentIterator.ProcessItems(SPListItemCollection items, Boolean fIncludeFolderItems, Boolean fIterateInReverseOrder, MonitoredScopeWrapper monitoredScopeWrapper, ItemProcessor itemProcessor, ItemProcessorErrorCallout
errorCallout)
at Microsoft.Office.Server.Utilities.ContentIterator.ProcessItems(SPListItemCollection items, Boolean fIncludeFolderItems, Boolean fIterateInReverseOrder, ItemProcessor itemProcessor, ItemProcessorErrorCallout errorCallout)
at Microsoft.Office.Server.Utilities.ContentIterator.<>c__DisplayClassc.<ProcessListItems>b__9(SPListItemCollection items)
at Microsoft.Office.Server.Utilities.ContentIterator.ProcessListItems(SPList list, SPQuery query, ItemsProcessor itemsProcessor, ItemsProcessorErrorCallout errorCallout)
at Microsoft.Office.Server.Utilities.ContentIterator.ProcessListItems(SPList list, String strQuery, UInt32 rowLimit, Boolean fRecursive, SPFolder folder, ItemsProcessor itemsProcessor, ItemsProcessorErrorCallout errorCallout)
at Microsoft.Office.Server.Utilities.ContentIterator.ProcessListItems(SPList list, String strQuery, UInt32 rowLimit, Boolean fRecursive, ItemsProcessor itemsProcessor, ItemsProcessorErrorCallout errorCallout)
at Microsoft.Office.Server.Utilities.ContentIterator.ProcessListItems(SPList list, String strQuery, Boolean fRecursive, ItemsProcessor itemsProcessor, ItemsProcessorErrorCallout errorCallout)
at Microsoft.Office.Server.Utilities.ContentIterator.ProcessListItems(SPList list, Boolean fIterateInReverseOrder, ItemProcessor itemProcessor, ItemProcessorErrorCallout errorCallout)
at Microsoft.Office.Server.Utilities.ContentIterator.ProcessListItems(SPList list, ItemProcessor itemProcessor, ItemProcessorErrorCallout errorCallout)
at Microsoft.SharePoint.Publishing.Internal.DeploymentWrapper.configureExportCopyOrMove(String[] sourceSmtObjectIds, SPExportSettings& exportSettings, SPIncludeVersions versionsToInclude)
at Microsoft.SharePoint.Publishing.Internal.DeploymentWrapper.Copy(String[] sourceSmtObjectIds, String destSmtObjectId)
at Microsoft.SharePoint.Publishing.Internal.WebControls.CopyObjects.Copy()
at Microsoft.SharePoint.Publishing.Internal.WebControls.CopyObjects.DoWork()
at Microsoft.Office.Server.Diagnostics.FirstChanceHandler.ExceptionFilter(Boolean fRethrowException, TryBlock tryBlock, FilterBlock filter, CatchBlock catchBlock, FinallyBlock finallyBlock) StackTrace:
at Microsoft.Office.Server.Native.dll: (sig=c3cf111a-d6fc-4ec5-ba1c-c9b8ebb47e41|2|microsoft.office.server.native.pdb, offset=131CE)
at Microsoft.Office.Server.Native.dll: (offset=21BFD)
Copy Operation under site 'testb' failed in the Content and Structure tool. Details in ULS logs
LongRunningOperationJob.UpdateStatus(): Running, this=62082684
LRO - Starting status update: Running
LRO - Completed status update
LongRunningOperationJob.UpdateStatus(): Failed, this=62082684
LRO - Starting status update: Failed
CatalogConfig.ReadFromPropertyBag; Catalog configurations don't exist for site collection http://sitecollection.
SiteServicesAddins.ReadFromPropertyBag: Site services addins don't exist for site collection http://sirecolletion.
Any ideas what can be the cause....
kukdaiI think its related to page layouts URL it will reference to old URL because you are using database attach and detach methods.
You will need to update the current page layout (Check below PS script)
http://myspworld.wordpress.com/2012/08/16/powershell-script-to-change-the-page-layout/
Maybe you are looking for
-
Is There a Limit to How Many Buttons in a PDF?
Good afternoon. Forgive me if this is answered somewhere else, but I couldn't find anything with the search tool; does anyone else think this site is a little primitive? I have a JavaScript file that takes ~150 separate PDF files and combines them in
-
Does Acrobat XI have a compatibility problem with Acrobat 8 SDK?
I have an Acrobat plugin using the Acrobat 8 sdk. Il works well with Acrobat8, 9, and X. It does not load with acrobat XI. There is a NSException that is reaised. What in Acrobat XI can cause this behavior? Thanks!
-
All photos except those in "last roll" seem corrupted...help!
i've been having problems with iPhoto... i'm using version 5, which i know is old but after reading about everyone's issues with the newest version i'm reluctant to upgrade. anyway, all of my photos refuse to drag onto the desktop, instead showing th
-
How do you stop safari, auto play media from web sites ?
-
How we can handle signed packed datatype in ODI
Hi I am generating target file from oracle as source. but i need to pack some numeric field into signed packed format. there are two type of numeric values 1)1234 2)1234.23 i am getting successfully packed value in case of 1234. In case of packing 12