Wednesday, September 15, 2021

ASP.NET MVC - Sport Facility Booking system

 

The project relies on some external service providers. Thus accessing them via their API requires authentication. An API Key need to be supplied in order to achieve the full functional capacity of the app. Please fill in the sections in the appsettings.json with your personal keys. The application will still work if not supplied with valid API keys but with limited functionality. Email sending will be disabled and adding rooms will be impossible without images uploaded to Cloudinary. An admin account is seeded with login credentials Admin for username and AdminPass for password


https://github.com/vivekthangaswamy/SportsFacilityManager





Wednesday, March 07, 2018

Mobile apps using Xamarin + Azure


Microsoft has released a wonderful detailed "Mobile app using Xamarin + Azure"  poster which covers all details and services for developers and designers.

 https://aka.ms/vs-mobile-poster




How do I access the All People group/page in a SharePoint 2013/2010 site collection?  

In Microsoft Office SharePoint 2007, you could remove the user from the All People group and re-add them. This option is no longer available in SharePoint 2010/2013. SharePoint 2010/2013 removed the page from navigation, but you can still access the All People page by appending the following to the root URL of the site collection.

SharePoint 2013
/_layouts/15/people.aspx?MembershipGroupId=0

SharePoint 2010
/_layouts/people.aspx?MembershipGroupId=0&FilterField1=ContentType&FilterValue1=Person



Tuesday, October 03, 2017

U-SQL Local execution error in Visual Studio

Severity Code Description Project File Line Suppression State
Error E_STORE_USER_FILENOTFOUND: File not found or access denied: C:\Users\...\AppData\Local\USQLDataRoot\SearchLog.tsv.
Description:
Unable to obtain information about this file.
Resolution:
Ensure the file with exact casing exists (paths are case-sensitive) and the account has read permission to the file. USQLApplication1 C:\Users\...\Documents\Visual Studio 2017\Projects\USQLApplication1\USQLApplication1\Script.usql 10


This is caused due to 2 reason
1- Run your visual studio as Administrator can solve it.

2- Download the  SearchLog.tsv or your data file from your Data Lake Store and place in the DataRoot directory.


Hope this helps. 

Thursday, August 24, 2017

Microsoft.EntityFrameworkCore.Database.Connection[200004]


 Microsoft.EntityFrameworkCore.Database.Connection[200004]
      An error occurred using the connection to database 'DBAPIContext-4266f07e-a498-4ab6-9c86-792af5b78354' on server '(localdb)\mssqllocaldb'.
System.Data.SqlClient.SqlException (0x80131904): Cannot open database "DBAPIContext-4266f07e-a498-4ab6-9c86-792af5b78354" requested by the login. The login failed.
Login failed for user 'user.ID'.


---------------------------
Microsoft Visual Studio
---------------------------
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. 
Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 50 - Local Database Runtime error occurred. 
Specified LocalDB instance name is invalid.

)
---------------------------
OK   

---------------------------



Solution: 

The following 2 steps solved issue for me.

1- One run the following command in command window


2- Then run PM> Update-Database in Package manager in your visual studio project.


 Then you can check the DB by try connecting via Management Studio.


Thursday, August 17, 2017

nuget configuration is invalid.


---------------------------
Microsoft Visual Studio
---------------------------
"Project" nuget configuration is invalid.

---------------------------
OK  
---------------------------

When you try to add the reference, via Manage Nuget Packages. You may get this above error message.

The solution is simple. Close the Visual Studio and open it again. This works most of the time. 

Wednesday, July 06, 2016

Windows Server AppFabric: installation error , While installing SharePoint prerequisite installer

1) Windows Server AppFabric: installation error
------
2) Warning : Call to OpenService(...,SERVICE_START | SERVICE_QUERY_STATUS | SERVICE_STOP | SERVICE_PAUSE_CONTINUE) function to get handle to the service failed (0X424=1060)
Warning : [In HRESULT format] (0X80070424=-2147023836)
AppFabric caching service is not installed.
-------
3)
---------------------------
Unsupported 16-Bit Application
---------------------------
The program or feature "\??\C:\Users\ANZ~1.DEV\AppData\Local\Temp\AppA0E1.tmp.exe" cannot start or run due to incompatibity with 64-bit versions of Windows. Please contact the software vendor to ask if a 64-bit Windows compatible version is available.
---------------------------
OK
---------------------------


SOLUTION:

1) uninstall the AppFabric and let the SharePoint prerequisite installer do the installation for you.
        a) Make sure Windows Update server running.
        b) Uninstall AppFabric completely if there is any installed.

2) Append the following path to PSModulePath entry in the environment variables – %SYSTEMROOT%\System32\WindowsPowerShell\v1.0


  • Go to My Computer, right-click Properties
  • On the System’ page, click Advanced System Settings on the left-side pane.
  • If you receive a UAC prompt, click on Yes to launch the System Properties dialog box
  • From the Advanced tab, click Environment Variables
  • Within the System Variables section in the lower half, select PSModulePath and click on Edit (or double-click PSModulePath‘)
  • Append the following path to PSModulePath entry in the environment variables
%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\
  • Ensure that the PSModulePath entry looks like this:
    C:\Windows\system32\WindowsPowerShell\v1.0\Modules\;c:\Program Files\AppFabric 1.1 for Windows Server\PowershellModules
--
And also verify in your server if any download block happening by any of your firewall or antivirus etc. 


Ref Screen Captures:


These services better to be enabled, which helps in error free installation.




Thursday, April 07, 2016

Windows could not start the SharePoint 2010 Administration service on Local Computer.

---------------------------
Services
---------------------------
Windows could not start the SharePoint 2010 Administration service on Local Computer.



Error 1053: The service did not respond to the start or control request in a timely fashion.


---------------------------
OK  
---------------------------


---
SOLUTION:

Change the Group Policy settings. To do this, follow these steps:
  1. Under the Computer Configuration node in the Local Group Policy Editor, double-click Policies.
  2. Double-click Windows Settings, double-click Security Settings, and then double-click Public Key Policies.
  3. In the details pane, double-click Certificate Path Validation Settings.
  4. Click the Network Retrieval tab, click to select the Define these policy settings check box, and then click to clear the Automatically update certificates in the Microsoft Root Certificate Program (recommended) check box.
  5. Click OK, and then close the Local Group Policy Editor.

ASP.NET MVC - Sport Facility Booking system

  The project relies on some external service providers. Thus accessing them via their API requires authentication. An API Key need to be su...