Hi,
Did you have tried with SharePoint online Developer Site with deploying a fresh App? Do you tried with VS 2013 Premium, VS 2012 Premium? and when you ask for logging credentials for SharePoint Online site, did you get above error?
Error occurred in deployment step 'Uninstall app for SharePoint': Communication with the SharePoint server is canceled.
If so keep reading the post since I have found this solution sometimes back. After several years months it popped up with my new laptop. So thought to share with you to save some time.
this is the last error you will see after several js errors.
Solution:
1.Check your windows updates, all of the important updates should be installed.
2.Go to windows features and disable and enable IE 11
3.Repair your .Net framework 4.5.2 to get back to original state.
4.Clear down the SharePoint online cache by log out and close the all browsers.
Then try to go online with the solution. You should be successfully log in to the SharePoint online and run your application.
Trying to share development research findings while applying for day to day life.
Showing posts with label error. Show all posts
Showing posts with label error. Show all posts
Friday, November 27, 2015
Tuesday, August 11, 2015
System.IO.FileLoadException: System.IO.FileLoadException: Could not load file or assembly 'Microsoft.QualityTools.Testing.Fakes, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040).
Hi,
This issue was faced while we were building our unit tests. We had Microsoft.QualityTools.Testing.Fakes - Version=12.0.0.0 installed and reference was updated to not to use specific version. We rebuild our test suit, but failed.
We are keep getting this error and luckily we got below reference:
http://stackoverflow.com/questions/27741115/need-a-work-around-microsoft-qualitytools-testing-fakes
which is the exact same issue.
We followed below steps from the thread and succeeded.
1.Go to project directory and find "FakesAssemblies"
2.Delete all the contents
3.Make sure the specific version for the Microsoft.QualityTools.Testing.Fakes assembly is set to 'false'
4.Rebuild the solution and run/debug test
Good Luck! thought someone will be get help.
This issue was faced while we were building our unit tests. We had Microsoft.QualityTools.Testing.Fakes - Version=12.0.0.0 installed and reference was updated to not to use specific version. We rebuild our test suit, but failed.
We are keep getting this error and luckily we got below reference:
http://stackoverflow.com/questions/27741115/need-a-work-around-microsoft-qualitytools-testing-fakes
which is the exact same issue.
We followed below steps from the thread and succeeded.
1.Go to project directory and find "FakesAssemblies"
2.Delete all the contents
3.Make sure the specific version for the Microsoft.QualityTools.Testing.Fakes assembly is set to 'false'
4.Rebuild the solution and run/debug test
Good Luck! thought someone will be get help.
Monday, June 15, 2015
The "SqlBuildTask" task failed unexpectedly. System.IO.FileNotFoundException
Hey Guys,
While you were building a solution with a DB project inside MVC app, you may see a build error like below.
Error 10 04018: The "SqlBuildTask" task failed unexpectedly.
System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.SqlServer.TransactSql, Version=12.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.SqlServer.TransactSql, Version=12.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91'
at Microsoft.Data.Tools.Schema.Sql.Build.SemanticVerification.Verify(SqlSchemaModel model, ErrorManager errorManager, String databaseName, String referencesFilePath)
at Microsoft.Data.Tools.Schema.Sql.Build.SqlTaskHost.RunExtendedValidation(String databaseName, String referencesFile)
at Microsoft.Data.Tools.Schema.Tasks.Sql.SqlBuildTask.ExecuteValidateModelStep()
at Microsoft.Data.Tools.Schema.Tasks.Sql.SqlBuildTask.ExecuteStep(Func`1 step)
at Microsoft.Data.Tools.Schema.Tasks.Sql.SqlBuildTask.Execute()
at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__20.MoveNext()
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
Solution:
Go to the project properties of the error throwing project and uncheck
While you were building a solution with a DB project inside MVC app, you may see a build error like below.
Error 10 04018: The "SqlBuildTask" task failed unexpectedly.
System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.SqlServer.TransactSql, Version=12.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.SqlServer.TransactSql, Version=12.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91'
at Microsoft.Data.Tools.Schema.Sql.Build.SemanticVerification.Verify(SqlSchemaModel model, ErrorManager errorManager, String databaseName, String referencesFilePath)
at Microsoft.Data.Tools.Schema.Sql.Build.SqlTaskHost.RunExtendedValidation(String databaseName, String referencesFile)
at Microsoft.Data.Tools.Schema.Tasks.Sql.SqlBuildTask.ExecuteValidateModelStep()
at Microsoft.Data.Tools.Schema.Tasks.Sql.SqlBuildTask.ExecuteStep(Func`1 step)
at Microsoft.Data.Tools.Schema.Tasks.Sql.SqlBuildTask.Execute()
at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__20.MoveNext()
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
Solution:
Go to the project properties of the error throwing project and uncheck
That's it, your solution should build as normal.
Tuesday, September 23, 2014
Error occured in deployment step 'Activate Features': Unable to locate the workflow's association data. To restore the association data..
Hey Friends,
Have you ever faced an issue like below, while developing Sequential workflow for SharePoint 2013, using VS 2012.
Be cool, solution is there
Reason for the issue:
I'll give some context on Workflows. Workflows were having several number of Tasks and actions to perform, upon ItemAdding and ItemUpdating. Workflow will update entries in Task List (created for each workflow by default) and History list will record the steps executed (History list also get created). So while creating the workflow through VS 2012, Association between Task List, History List and Workflow will be created automatically by VS 2012. This error will appear after you have tried to redeploy same workflow code to different site collection and if your workflow already undergone some processing tasks.
Fix for the issue:
Just select the Workflow node from the project and check the properties window. notice the parameter "Auto Associate" and make it "False"
That's it, Rebuild the project and try to deploy to the site collection. Error will vanish.
Good Luck!
References:
http://blogs.msdn.com/b/exploring_technology_/archive/2011/10/19/error-occurred-in-deployment-step-activate-features-unable-to-locate-the-workflow-s-association-data.aspx
Wednesday, November 7, 2012
Trying to use an SPWeb object that has been closed or disposed and is no longer valid.
Hi Guys,
You may have faced this kind of error while coding the webparts and provisioning them in SharePoint pages. May be you will face this issue while trying to edit a page, that having the webpart with below code
using(SPWeb web = SPContext.Current.Web)
{
//Your code here
}
Issue is with using statement, its disposing your SPWeb object automatically when you leaving using block. Use below than the above block
SPWeb web = SPContext.Current.Web
Hope you will figure it out within your code.
Happy coding guys,
Buddike
You may have faced this kind of error while coding the webparts and provisioning them in SharePoint pages. May be you will face this issue while trying to edit a page, that having the webpart with below code
using(SPWeb web = SPContext.Current.Web)
{
//Your code here
}
Issue is with using statement, its disposing your SPWeb object automatically when you leaving using block. Use below than the above block
SPWeb web = SPContext.Current.Web
Hope you will figure it out within your code.
Happy coding guys,
Buddike
Subscribe to:
Posts (Atom)


