Can't login to SharePoint 2013 site on server machine? - sharepoint-2013

I am working on SharePoint 2013 server on premise. Surprisingly, I am not able to log in at SharePoint 2013 site on server side, when it is allowing me to log in on the same site with the same credentials on local machine.
What may be the issue?

Adding backhostConnectionNames should help.
Click Start, click Run, type regedit, and then click OK.
In Registry Editor, locate and then click the following registry key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\MSV1_0
Right-click MSV1_0, point to New, and then click Multi-String Value.
Type BackConnectionHostNames, and then press ENTER.
Right-click BackConnectionHostNames, and then click Modify.
In the Value data box, type the host name or the host names for the sites that are on the local computer, and then click OK.
I don't remember if IIS reset is necessary.

Related

Add, save data from MFC App(Visual Studio 2015) to SQL Server

I am beginner in using Visual Studio. I've had learnt on displaying data from SQL Server in ASP.NET web application. Now I want to display data with MFC Application(Project type). I don't know how to start make the button functioning which is to save any text to database. Compared to ASP.NET, it offers toolbox Grid View that easily display data but not in MFC App. Currently I just have a .rc file that being designed its interface. I got SQL Server Management Studio to use. I take a look at https://www.tutorialspoint.com/mfc/mfc_database_classes.htm but the guidance not complete. I need a step by step and complete tutorial on how to add, save data into SQL Server using MFC Application at Visual Studio 2015.
Create a class in your MFC Application of type ODBC Customer. Right click on your "Header Files" folder in the Solution Explorer and click "Add Class". Select the option "MFC" and select "MFC ODBC Customer". Then you are asked to select your data source. Assuming that you haven't created any data source till now, click "New". Select your database driver type and then type the location where you want to save your data source. After saving, you will be asked the names of the server you wish to connect to and a description of your data source. After clicking "Next", you are asked about the authentication. I prefer "SQL Server Authentication using login id". Provide username and password. After "Next", you can select your database from the server or attach a database to the server. Click "Next" and you are moved to some optional selections. It is fine to let them be and click "Finish". You will now have a class which is used to add,read or delete data in the database.

rss viewer webpart is missing in sharepoint 2013 how to activate it

rss viewer webpart is missing in sharepoint 2013 it is shown in default folder and when adding the rss viewer web part from default folder it shows the error 'An unexpected error occurred processing your request. Check the logs for details and correct the problem.'
The corresponding feature might not be enabled, so you should follow this path:
Under Site Settings, click Modify All Site Settings.
Under Site Collection Administration, click Site Collection Features.
Enable Office SharePoint Server Enterprise Site Collection features.
If the problem is not solved, you can try going to the central administration:
Under Central Administration, click on Operations.
Under Upgrade and Migration, select Enable Features On Existing Sites.
Select the appropriate checkbox, and click OK.

Log into Sharepoint 2013 Development installation

I just installed SharePoint 2013 on a VM. I need to get into Central Admin but it is asking for a username and password. What is it? Or is there a way I can set it?
Add your self in Administrator group of the machine. Go to IE > Tools > Internet Options >Security Tab >Trusted Sites > sites > Add central Admin site url & uncheck require server verification > Click on Add > Custom Level > Scroll down to the bottom & select Automatic logon with current username and password and click ok.
The default account that has access initially is the account with which you installed Sharepoint. Typically, you create a dedicated install account when doing installation, upgrades, patches, etc. Use this account to log into the central administration site.

How to update web reference in visual studio without access to the web service server [duplicate]

Is it possible in asp.net to update or create a web service reference from a wsdl file on our local drives?
If so, could you please describe it ?
Follow these steps.
Open the Solution/Project in Visual Studio
Right Click on Solution Explorer on the project for which you want to add web reference.
Select Add Service Reference. (This will open a Add Service Reference dialogue box.)
Click on Advanced... button located at bottom of the dialogue box. (This will open another dialogue box named Service Reference Settings.)
Click on Add Web Reference button located at bottom of the dialogue box. (Again a dialogue box Add Web Reference would appear.)
Enter OR Copy & Paste full path for the WSDL file from your local drive as the URL.
Click on Go button besides the URL box.
Edit Web Reference Name if you want to.
Click on Add Reference.
And you are done.
It's been long time from accepted answer. If you are using VS2019 you can simply click on the service and select "Update..."
No need to add the service as Web Reference. You can do it setting the "Address" Field as the path of the file, for e.g.:
c:\contracts\mycontract.xml
and then "Go".

IIS Server Anonymous Authentication Changed

I have a SharePoint 2013 server for development purposes, that runs on Win 2012. The problem is that after a period of time the anonymous authentication changes by itself.
In IIS, select the server name, than from the right panel under IIS double click Authentication. From the page that opens right click Anonymous Authentication and select Edit from the context menu.
Than will pop-up a credentials selector window.
The correct value should be first option: Specific user (IUSR account) but the option select is the second one: Application pool identity.
If I change it back to Specific user and select IUSR, after a while is back to Application pool identity.
Any ideas how can I investigate what app/software is messing up with my settings?
Have you looked at the IIS event logs or security logs?