Skip to main content

Posts

Showing posts from 2013

Setting Sharepoint 2013 in Visual Studio 2012

Dear Readers,
I have started to learn sharepoint 2013 and while doing so, first hurdle was that Visual Studio 2012 was not displaying me sharepoint 2013 controls. So, I have to setup that manually and for that I follow below steps.

In order to get the templates into VS, you need to install Microsoft Office Developer Tools for Visual Studio 2012 which can be found here: http://www.microsoft.com/visualstudio/eng/office-dev-tools-for-visual-studio (direct install : http://aka.ms/OfficeDevToolsForVS2012). Unfortunately, this leverages the Microsoft Web Platform Installer which does not play well in closed environments. The Microsoft Web Platform Installer will install the following items: Microsoft Identity Extensions http://download.microsoft.com/download/0/1/D/01D06854-CA0C-46F1-ADBA-EBF86010DCC6/RTM/MicrosoftIdentityExtensions-64.msi Workflow Manager Client 1.0 http://download.microsoft.com/download/D/B/D/DBD439A9-370D-40EA-B3B7-45CD935B98FB/WF/en/WorkflowManagerClient_x64.msi Microsoft Exchan…

The sign-in method you're trying to use isn't allowed. For more info, contact your network administrator

Above problem occur when you have not added a group (of which User try to login)  in your local policy login. To resolve the issue, follow the steps,
Log in as the administrator on the server, then start the Group Policy Management Editor by running the  gpmc.msc command from PowerShell or the Command Line window. 1. In the Group Policy Management window on the left hand side, select Group Policy Management. 2. Click to expand the  Forest tree node.
3. Click Domains.
4. Select your domain name.
5. Click Group Policy Objects. 6. In the right-hand window, double-click Default Domain Controllers Policy.
7. Right-click Default Domain Controllers Policy and Select Edit.
8. In the Group Policy Management Editor window, click Default Domain Controllers Policy.
9. Click Computer Configuration, and then click Policies.
10. Click Windows Settings, and then click Security Settings. 11. Click Local Policies and then click User Rights Assignments.
12. In the right pane, click Allow log on locally. 12. Cli…

The type 'System.Data.Entity.DbContext' is defined in an assembly that is not referenced. You must add a reference to assembly 'EntityFramework, Version=4.4.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.

Dear Readers,

I face subjected problem while trying to learn ADO.Net Entity Framework in visual studio. After a bit of searching, I come to know that I have not included EntityFramework.dll reference in my project. Just add the DLL reference and I hope that your will out of this problem.

Please note that in case if you don't find EntityFramework.dll in references then you can locate it in the project bin (Debug\Release) folder where you add ADO.Net Entity Data Model.

I hope that this will work for you as it worked for me. So please leave a comment if this post help you so other visitors can also trust on this solution.

Thanks.



Saving changes is not permitted. The changes you have made require the following tables to be dropped and re-created. You have either made changes to a table that can't be re-created or enabled the option Prevent saving changes that require the table to be re-created

You receive this message in SQL Server 2008 when you alter a table and after modification in table, you want to save this modification.

To allow saving the modification they suggested that first drop the table and then recreate it which is not suitable when you have important data/information, and it also causes increase in rework.

To save yourself from this rework, we have another way which is mentioned below.

Step 1:- Open your SQL Server Management Studio.

Step 2:- Goto Tools -> Options -> Designers.

Step 3:- Uncheck checkbox "Prevent saving changes that require table re-creation".

Step 4:- Save your changes.

Now, attempt to save your modification changes which you have done in your table.

I hope that this will work for you as it worked for me. So please leave a comment if this post help you so other visitors can also trust on this solution.

Thanks.