European Windows 2012 Hosting BLOG

BLOG about Windows 2012 Hosting and SQL 2012 Hosting - Dedicated to European Windows Hosting Customer

European Moodle 2.7 Hosting - HostForLIFE.eu :: What’s new in Moodle 2.7 ? Let’s Find out and Try With Us!

clock July 16, 2014 07:04 by author Peter

Moodle 2.7 has been released. The upgrade to the free and open source learning management system includes new themes with improved responsive design, a new accessibility-focused text editor and more. These are just the minimum supported versions. In addition to a number of bug fixes and small improvements, security vulnerabilities have been discovered and fixed.  We highly recommend that you upgrade your sites as soon as possible. Upgrading should be very straightforward. As per our usual policy, admins of all registered Moodle sites will be notified of security issue details directly via email and we'll publish details more widely in a week.

Moodle 2.7 brings a few headline feature improvements, including the replacement of the TinyMCE editor with ‘Atto’ and the continued emphasis on responsive design with ‘Clean’ the default theme and the new ‘More’ theme being released. Compared to a number of earlier Moodle releases though, some might question whether there is a compelling reason to upgrade to Moodle 2.7 (especially if you have only recently upgraded to Moodle 2.6).

And here’s Top new features of Moodle 2.7:

Clean and Responsive Design
Moodle 2.7 has two core themes; Clean and More.  Clean is the responsive bootstrap based theme which has now been made the default theme.  More is a completely new, customisable theme, created for the novice user or administrators who are unable to access theme files on the server.

New Text Editor, Atto
 In the latest release of Moodle, they have named the text editor ‘Atto’, the new Atto feature allows tighter integration with Moodle meaning there are enhancements to usability and accessibility like never before.

Mobile Notifications. This is possibly the most exciting new feature to enable ‘push’ learning to users on the go. The essential tool for Learning and Development professions in marketing the platform, this new feature will allow you to push notifications about new learning modules created within Moodle which your learners can take advantage of on the go.

Improved quiz reports and other general improvements to quizzes and question banks, such as the ability to duplicate a question with a single click, the ability to require an attachment for essay questions and the ability to save changes and continue editing;

Improved Scheduling System. Administrators can now schedule, more precisely routine tasks, by specifying the minute/hour/day or month the task is to be run.

First long term support release: 3 years until May 2017 for security and data loss bug fixes .

Easily create and manage Quiz & Question bank. As well as an updated question type selector, duplicating and moving questions is now easier, and there is an option to 'Save changes and continue editing'.

Install the new Moodle software manually

1. First, Move your old Moodle software program files to another location. Do NOT copy new files over the old files.
2. Then, Unzip or unpack the upgrade file so that all the new Moodle software program files are in the location the old files used to be in on the server. Moodle will adjust SQL and moodledata if it needs to in the upgrade.Copy your old config.php file back to the new Moodle directory.
3. As mentioned above, if you had installed any plugins on your site you should add them to the new code tree now. It is important to check that you get the correct version for your new version of Moodle. Be particularly careful that you do not overwrite any code in the new version of Moodle.
4. Do not forget to copy over your moodledata folder / directory. If you don't you will get a "fatal error $cfg- dataroot is not configured properly".



HostForLIFE.eu Proudly Launches New Data Center in London (UK) and Seattle (US)

clock July 15, 2014 09:56 by author Peter

HostForLIFE.eu, a leading Windows web hosting provider with innovative technology solutions and a dedicated professional services team proudly announces New Data Center in London (UK) and Seattle (US) for all costumers. HostForLIFE’s new data center in London and Seattle will address strong demand from customers for excellent data center services in Europe and United States, as data consumption and hosting services experience continued growth in the global IT markets.

The new facility will provide customers and their end users with HostForLIFE.eu.com services that meet in-country data residency requirements. It will also complement the existing HostForLIFE.eu. The London and Seattle data center will offer the full range of HostForLIFE.eu.com web hosting infrastructure services, including bare metal servers, virtual servers, storage and networking.

"Our expansion into London and Seattle gives us a stronger European and American market presence as well as added proximity and access to our growing customer base in region. HostForLIFE.eu has been a leader in the dedicated Windows & ASP.NET Hosting industry for a number of years now and we are looking forward to bringing our level of service and reliability to the Windows market at an affordable price,” said Kevin Joseph, manager of HostForLIFE.eu, quoted in the company's press release.

The new data center will allow customers to replicate or integrate data between London and Seattle data centers with high transfer speeds and unmetered bandwidth (at no charge) between facilities. London and Seattle, itself, is a major center of business with a third of the world’s largest companies headquartered there, but it also boasts a large community of emerging technology startups, incubators, and entrepreneurs.

For more information about new data center in London and Seattle, please visit http://www.HostForLIFE.eu

About Company
HostForLIFE.eu is European Windows Hosting Provider which focuses on Windows Platform only. We deliver on-demand hosting solutions including Shared hosting, Reseller Hosting, Cloud Hosting, Dedicated Servers, and IT as a Service for companies of all sizes.

 



SQL Server Reporting Services 2012 Hosting Netherlands - HostForLIFE.eu :: Steps to Integrate SQL Reporting Services 2012 with SharePoint 2010

clock June 16, 2014 12:14 by author Peter

Most of SharePoint customers suffer no issues when integrating SQL Server Reporting Services 2012 (SSRS 2012)  with SharePoint 2010 (SP 2010), however we had quite a bit of trouble. So for those who may also be having some trouble, we would describe how to fix the error. You can following the steps bellow:

- First, you should install SQL Server with Reporting Services Add-in for SharePoint
- Install SharePoint on the Reporting Services Server and connect that server up to the farm (using Configuration Wizard)

- Install the rsSharePoint.msi file provided by Microsoft on all your front-end servers running SharePoint

- Run these two commands on all front-end servers running Sharepoint
- Run these two commands on all front-end servers running Sharepoint  

  • Install-SPRSService
  • Install-SPRSServiceProxy

- Navigate to Central Administration -> System Settings > Manage services on server.  Start the SQL Server Reporting Services Service
- Navigate to Central Administration -> Application Management > Manage Service Applications.  Create a new SQL Server Reporting Services Service Application

Problem 1:
"Install-SPRSService : The term 'Install-SPRSService' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again"

Solve:
You should install the Reporting Services SharePoint Add-In (Found on your SQL Server 2012 installation media) on every server running SharePoint. Please don't use the rsSharePoint.msi provided on Microsoft's website.

Problem 2:
"When we try to create a SQL Server Reporting Services Service Application under 'Manage Service Applications', we receive an error relating to permissions to a registry key"

Solve:
There's nothing wrong with your registry except that SharePoint is looking for files that don't exist.  This is because you most likely installed the Reporting Services SharePoint Add-In with the rsSharePoint.msi file that Microsoft provides on their website. That file is a cut-down version of what gets installed when you install the Add-In from the SQL Server 2012 installation media.  Uninstall it from Control Panel, and re-install it with the SQL Server 2012 installation media. 

Problem 3:
"we have created my SQL Server Reporting Services Service Application, but when we try to access any of the links inside it (system settings for instance), we are receiving a 503 unauthorised error message"

Solve:
This may vary from case to case, but for me it was because we ran these commands on every front end server:

  • Install-SPRSService
  • Install-SPRSServiceProxy

When in actual fact, depending on your scenario (SharePoint Standard Licensing we think is the cause), you should only run these scripts on the server that you wish to be running the Server Service. You will need to uninstall them by using the following scripts (remember to delete the application and stop the service  in Central Admin first)

  • Install-SPRSServiceProxy –uninstall
  • Install-SPRSService -uninstall


Types of European Windows & ASP.NET 4.5.2 Hosting Plan offered by HostForLIFE.eu

clock June 11, 2014 08:16 by author Peter

ASP.NET 4.5.2 European Shared Hosting with HostForLIFE.eu

Windows & ASP.NET 4.5.2 Shared Hosting refers to the type of hosting where there is server which hosts many different website that is a website does not individually have a dedicated server for its own purpose. Shared Web hosting is a type of web hosting that allows many websites on the same server. The different websites owned by different people that are present on this sever share the same IP address, the same connectivity, the same CPU time.

Simplicity and Cost-efficiency are the two main benefits. Sharing server space can be fairly cheap. The free add-ons, such as templates and website builders, also save the webmaster money. The host manages the resources and maintains the server, which makes things a lot easier on the site owners. For the technically challenged, this is the best solution, since no knowledge of programming, designing, or hosting is required.

HostForLIFE.eu ASP.NET 4.5.2 Shared Hosting Rich Feature and Cost Effective

HostForLIFE.eu offers five types of ASP.NET 4.5.2 shared hosting plans start from €1.29 per month. With all of the shared hosting plans you can host unlimited amount of domains. Its HostForLIFE.eu LITE Shared Hosting Plan starts at €1.29 /month, and include features like 1000MB Disk Space, 10GB Monthly Bandwidth, the latest stable technologies like Windows Server 2012, Internet Information Services 8.0 / 8.5, SQL 2014, SQL 2012, SQL 2008 R2, SQL 2008, ASP.NET 4.5, ASP.NET 4.5.2, ASP.NET MVC 5.2, Silverlight 5 and 100+ Free WebMatrix and PHP Applications.

HostForLIFE.eu European ASP.NET 4.5.2 Cloud Hosting is Affordable

Cloud Hosting systems are becoming more and more popular, because web hosts, basically Shared Hosting providers have to deal with a large amount of websites which require growing amount of resources. Cloud hosting can be useful for many companies for many reasons. Hosting in the cloud different technologies can be used together that can't be used together with regular hosting. For instance, with cloud hosting it is possible to use PHP and ASP files together and even in the same folder because it can draw the technologies needed from the cloud. This gives you better flexibility and the ability to use almost any type of technology you want to and know that it will mesh without a hitch.

Price and Technical Support in HostForLIFE.eu European ASP.NET 4.5.2 Cloud Hosting

HostForLIFE.eu is another hosting provider that has been known for offering fast and reliable servers.  HostForLIFE.eu lowest-priced ASP.NET Cloud Hosting called Bronze Plan has 1 GB Diskspace, 10 GB Bandwith, Guaranteed Conn 10Gb/s and Dedicated App Pool priced at €1.49 per month.

HostForLIFE.eu provides 24/7 customers support through its Helpdesk and Email support. Our Microsoft certificated technicians offer the most professional support to help our customers on ASP.NET issues effectively. Besides, customers can check our knowledgebase to diagnose issues by themselves.

ASP.NET 4.5.2 Reseller Hosting with HostForLIFE.eu

Reseller hosting is the web hosting program or service which re bundles the services that are available from the primary providers or the real web hosts. The reseller can sell space and bandwidth from a rented dedicated server. Alternatively, the reseller can get permission to sell space and bandwidth from shared server. This type of hosting is the most inexpensive method by which websites can be hosted on the internet.

Reseller hosting is the perfect solution for webmasters, designers, developers, internet consultants or anyone wanting to start a profitable online business. If you're looking to get into the reseller hosting business, Plesk Panel reseller hosting is the best option. Reseller web hosting is an ideal solution for those who already have a web site but maximum reliability, performance and uptime is critical to their business or e-commerce web site. A webmaster may require a network of websites under different domain names to serve different business plans, but all are hosted under a common reseller hosting account.

Why Choose us to be Your ASP.NET Reseller Hosting Partner?

HostForLIFE.eu Windows ASP.NET 4.5.2 Reseller Plans starts from €15.00/month allow our customer to re-brand our control panel, thus, we remain completely anonymous. We also offer private nameserver and this service is available upon request. With no contracts, the ability to cancel anytime, and a 30 day money back guarantee, our unlimited reseller hosting is completely risk free.

Some of the highlighting or standout features of HostForLIFE.eu’s Reseller Plan are 10 domains, 40GB Diskspace , 200 GB Bandwith 4GB RAM or higher, DAILY Server Monitoring and support the latest technology from Microsoft such as ASP.NET 4.5.2 Hosting, ASP.NET 5.2, SQL Server 2012/2014, Windows Server 2008/2012. HostForLIFE also provide free application download softwares like Joomla 3.3, WordPress 3.9, DotNetNuke, WebMatrix Application, Mambo, Joomla, phpBB, BlogEngine.NET,etc.



Free BugNET Hosting Germany - HostForLIFE.eu :: Easiest Way to install BugNET

clock June 6, 2014 06:17 by author Peter

BugNET is an issue tracking and project issue management solution built using C# and ASP.NET . The main goals are to keep the codebase simple, well documented, easy to deploy and scalable. You can found BugNet project on CodePlex and now, we are going to try installing BugNET. Here are the easiest way to install BugNET:

1. First, Log in to your database server with a user who has sufficient privileges.
2. Create a database on your SQL Server , you can name it for example: BugNetDatabase.
3. Create a new login. I used the same name for the database and the login.
4. I disabled Enforce password expiration since this is my local server on the intranet. You can also set Windows authentication. Set the membership on the BugNetDatabase.
5. Now that you have database user/connection, you can deploy the package on web server. The instructions on codeplex site are clear. I let myself to copy these instructions here to comment them or to show how I modified. All the information in bold, blue is copied from codeplex site.

6. Download the latest stable release of BugNET, using the INSTALL package.

7. Extract the contents of the install package to a folder on your computer.
Create a directory in the c:\inetpub\wwwroot\ folder called bugnet (c:\inetpub\wwwroot\bugnet)
hen you must Copy the contents of the extracted BugNET INSTALL package to the c:\inetpub\wwwroot\bugnet\ folder. In the zip folder you downloaded, you'll find 2 folders.
Go to the properties of the c:\inetpub\wwwroot\bugnet\ folder, click on the Security tab, be sure to add the permissions for the appropriate user (WinXP/2000 uses the local ASPNET account, Win2003/Vista/2008/7 use the local Network Service account). Give this account modify permissions on the folder.

- Uploads: if you using file system based uploads
- App_Data : This folder is where BugNET stores its database.
- web.config - the application installer will create a unique machine key for password encryption during the installation process.
8. Open up the the web server IIS Console.

- Click start button ->  then, type run -> type INETMGR then ENTER.Create a virtual directory in IIS for the bugnet folder.
- Expand the websites node
- Expand the default websites node
Right click on the BugNET folder under the default website, click on Convert to Application, if you don't have that option, choose properties and then add the application. 

9. After that, don’t forget to configure your server.  The last thing that isn't mentioned on the official instructions : configuring web.config to let BugNet to communicate with your database. You can replace the following code:

<connectionStrings>
        <clear/>       
<add name="BugNET" connectionString="Data Source=.\SQLEXPRESS;Database=BugNET;Integrated Security=True;" providerName="" />  

</connectionStrings>

With  
<connectionStrings> 
<clear />  
<add name="BugNET" connectionString="Server=XXX.XXX.XXX.XXX;Database=BugNetTest;User ID=bugnettest;Password=XXXXXXX;" providerName="System.Data.SqlClient" />

</connectionStrings> 

Finally, you can connect to the site with your favorite web browser using the following link: 
http://localhost/BugNetTest/Install/Install.aspx

Browse again to http://localhost/BugNetTest/. As indicated on the codeplex site for the first connection use admin/password.



HostForLIFE.eu Announces Release of Cheap Dedicated Windows Cloud Server Hosting Plans

clock June 3, 2014 09:07 by author Peter

European leading web hosting provider, HostForLIFE.eu announced cheap dedicated Windows cloud server due to high demand of Windows cloud server users in Europe.

Windows & ASP.NET hosting provider HostForLIFE.eu announced cheap dedicated Windows cloud server hosting plans. HostForLIFE.eu offers the ultimate performance and flexibility at an economical price for windows cloud server. HostForLIFE.eu cheap dedicated Windows cloud server hosting plans starts from just as low as €16.00/month only.

HostForLIFE.eu provisions all dedicated Windows Cloud Server in just few minutes (upon payment verification and completion). HostForLIFE.eu has a very strong commitment to introduce their Cheap dedicated Windows and ASP.NET Cloud Server hosting service to the worldwide market. HostForLIFE.eu starts to target market in Europe. HostForLIFE.eu will be the one-stop cheap dedicated Windows and ASP.NET Cloud Server Hosting Solution for every ASP.NET enthusiast and developer.

HostForLIFE’s cheap dedicated Windows Dedicated Cloud Server hosting plan comes with the following features: Windows 2008R2/2012, Data Center OS Version, 1 x vCPU, 1 GB RAM, You have full root access to the server 24/7/365, 40 GB Storage (SSD), 1000 GB Bandwidth, 1000 Mbps Connection, 1 Static IP and SAN Storage.

For additional information on this cheap Windows dedicated cloud server Hosting plan, please visit http://hostforlife.eu/European-Cheap-Windows-Cloud-Server-Plans

About HostForLIFE.eu:
HostForLIFE.eu is European Windows Hosting Provider which focuses on Windows Platform only. HostForLIFE.eu deliver on-demand hosting solutions including Shared hosting, Reseller Hosting, Cloud Hosting, Dedicated Servers, and IT as a Service for companies of all sizes.

HostForLIFE.eu is awarded Top No#1 SPOTLIGHT Recommended Hosting Partner by Microsoft (see www.microsoft.com/web/hosting/HostingProvider/Details/953). Their service is ranked the highest top #1 spot in several European countries, such as: Germany, Italy, Netherlands, France, Belgium, United Kingdom, Sweden, Finland, Switzerland and other European countries. Besides this award, they have also won several awards from reputable organizations in the hosting industry and the detail can be found on their official website.



FREE Silverstripe CMS Hosting French - HostForLIFE.eu :: How to Manually Install Silverstripe CMS ?

clock May 22, 2014 08:24 by author Peter

Managing the website content has been one of the main challenges to many website developers and managers. It is common to find some content management systems (cms hosting) that are too complex and costly. Though, many thanks to the origin of open-source cms like as silverstripe, creating websites have moved from being a boring job to a thrilling and creative procedure. SilverStripe CMS Hosting is associate degree open supply online page management system utilized by governments, businesses, and non-profit organizations round the world. It is an influential tool for skilled internet development groups, and online page authors rave regarding however straightforward it’s to use.

As a platform, SilverStripe CMS is employed to make websites, intranets, and internet applications. The trendy design of SilverStripe CMS permits organizations to stay pace with innovation in the online. SilverStripe CMS Hosting permits websites and applications to contain gorgeous style, nice content, and compelling interactive and social functions.

SilverStripe is based on PHP5, HTML, Javascript, and CSS. These are all well-known, open standards that are used across the entire Internet. In addition to the data that is stored in the site's directory tree (images, video, audio files, compressed archives, et cetera), site content and configuration information is kept in a unified SQL* database, similar to most CMS software. Due to its use of open standards, it is able to function on most platforms regardless of the operating system they run. (SQL database can be MySQL, PostgreSQL, Microsoft SQL Server or others).

Installation is fairly straightforward, however it is significantly more complex than some other CMS packages like Wordpress or TextPattern. Documentation is provided to walk you through the process. However, installation of this particular CMS is not as obvious, nor as user-friendly, as some of its competition.

SilverStripe CMS is a PHP/SQL application and as such you will need to download the installation files from the official SilverStripe CMS website first. After having your SilverStripe-version.tar.gz ( the version number is changing when a new release is available ) file downloaded, please extract it on your local computer. The extracted files should be uploaded under your HostForLIFE.eu ‘s hosting account where you would like to have SilverStripe installed.

If you would like to have your SilverStripe CMS directly accessible at http://yourdomain.com you should upload the files under the root directory on your Silverstripe CMS Hosting. On the other hand, if you would like to have it located under a subfolder you may create a subdirectory under your root folder where the files should be uploaded. If you upload your files under /rootfolder/cms/ your Silverstripe installation will be accessible under http://yourdomain.com/cms.

After your files are uploaded under your account you should proceed with your MySQL database creation process. You can easily create a MySQL database for your CMS on Plesk Control Panel.

The setup is pretty fast and will start when you access:
http://yourdomain.com/install.php

There are a few sections on the installation page which are important for the setup. The first section is Database:

Here you should type in the database name, username and password you have created. When your database details are filled in correctly click the “Re-check requirements” warning message on this tab should disappear. We have the first section for the setup with the correct details and the next one is choosing main administrator account access details:

You should ensure that you have filled in a working e-mail address as it is also used to reset the password if lost or forgotten. We have used only the word “admin” on the screenshot as this is a demo install and will not be used for a live website. The last step is to select the available template in the core distribution of the Silverstripe CMS or use empty website and start building your own menu structure. If you are a first time user it is recommended to select the template:

This way the installer will create demo content and you will be able to review the basic functions of the CMS. When we have completed all the above sections on the installation screen will click on “Install SilverStripe” button at the very bottom of the page:

This is the last step which completes the CMS initial setup. You will notice the following error message on the page which will load with the SilverStripe successful installation page. For security reasons you should now delete the install files, unless you are planning to reinstall later (requires admin login, see above). The web server also now only needs write access to the "assets" folder, you can remove write access from all other folders.

You can remove installation files by using the “Click here” link. As for the permissions of the “assets” folder you may change these using Plesk Panel > File Manager or your favorite FTP client. The CMS admin you may access using:

http://yourdomain.com/index.php/admin/
and this will provide you with the access to the tools available to start building your website with the default CMS style.



HostForLIFE.eu offers €1.29/month Affordable and High Performance Windows & ASP.NET Shared Hosting Plan

clock May 20, 2014 11:53 by author Peter

European Windows and ASP.NET hosting specialist, HostForLIFE.eu, has officially launched the new Windows & ASP.NET Shared Hosting Plan offered from as low as €1.29/month only. This LITE Windows & ASP.NET Hosting packages combine generous or 1 website, 1 GB disk space, 10 GB bandwidth, Support UTF-8 Domains, Dedicated Pool, etc. As the market for hosted solutions continues to grow, the new hosting range is designed to exceed the growing technical demands of businesses and IT professionals.

HostForLIFE.eu  is confident that their new LITE shared hosting plans will surely appeal to the personal across the world, besides the website owners and companies owning websites. The new web hosting plans will meet the requirement of high performance web hosting where one can easily update the content of a website on a regular basis. This plan is designed more for the web hobbiest needing affordable, high availability, hosting and easy backend management of windows and ASP.NET with powerful Plesk control panel.

Every day thousands of people decide to set up a website for business or personal use. New business owners and the average consumer don’t always have access to unlimited budgets. HostForLIFE.eu understand the importance of reliable hosting but are not always prepared to pay the exorbitant prices that reliable hosts charge.

For additional information about LITE Shared Hosting Plan offered by HostForLIFE.eu, please visit http://hostforlife.eu

About HostForLIFE.eu:

HostForLIFE.eu is European Windows Hosting Provider which focuses on Windows Platform only. HostForLIFE.eu  deliver on-demand hosting solutions including Shared hosting, Reseller Hosting, Cloud Hosting, Dedicated Servers, and IT as a Service for companies of all sizes.

HostForLIFE.eu is awarded Top No#1 SPOTLIGHT Recommended Hosting Partner by Microsoft (see www.microsoft.com/web/hosting/HostingProvider/Details/953). Their service is ranked the highest top #1 spot in several European countries, such as: Germany, Italy, Netherlands, France, Belgium, United Kingdom, Sweden, Finland, Switzerland and other European countries. Besides this award, They have also won several awards from reputable organizations in the hosting industry and the detail can be found on their official website.



SQL Server 2012 Free Hosting UK - HostForLIFE.eu :: SQL Server 2012 Performance Problem Created by The ORDER BY Statement

clock May 6, 2014 07:55 by author Peter

Today I had a problem with a table that has around 5 million records on my SQL Server 2012. The table has as primary key “Header No.”,”Transaction No.”. In the table is a field “Order No.” that at the moment is blank for all records. I also had an index on that field, because I will need to search for it. I think that in the future only 1 in several 1000 records will have an order no. So the index will be highly selective because I will have only 1 record per order no.

The code is like this:
Table.RESET;
Table.SETCURRENTKEY(“Order No.”);
Table.SETRANGE(“Order No.”,TheOrderNo);
IF Table.FINDFIRST THEN BEGIN

It should go lightening fast but it takes almost 1 second for each FINDFIRST.

Why?
The SQL plan gave me this:

Top[2,1];Nested Loops[3,2];Index Seek($2)[4,3];Clustered Index Seek(Company Name$Table$0)[6,3]
WHAT? A CLUSTERED index Seek?????
it should have been an index seek.
The select was what I expected:
SELECT TOP 1 * FROM “Company Name$Table” WITH (READUNCOMMITTED)  
HERE ((”Order No_”=?)) ORDER BY “Order No_”,”Header No_”,”Transaction No_” OPTION (OPTIMIZE FOR UNKNOWN)

But because SQL knows that the Field “Order No.” contained only blanks, it decided to do a clustered index seek because of the ORDER BY (at least this is what I think SQL decided). So how to fix it NOW (I don’t want to wait that it goes into production and it takes days or months before the problem fixes itself.

What is the code for?
The FINDFIRST serves because I want the Invoice No. of that record and it has to be a non-blank value.
So, I changed the index from “Order No.” to “Order No.”,”Invoice No.”. It makes the index a little bigger, but it shouldn’t be a big problem (or at least I hope so).
The C/AL code I changed like this:

Table.RESET;
Table.SETCURRENTKEY(“Order No.”,”Invoice No.”);”
Table.SETRANGE(“Order No.”,TheOrderNo);
Table.SETFILTER(“Invoice No.”,’<>%1’,’’);
IF Table.FINDFIRST THEN BEGIN

Even with all blank values in “Order No.”,”Invoice No.” at the moment, SQL has changed its plan to an index seek and the code has become very fast.



SQL Server Hosting UK - HostForLIFE.eu :: Microsoft SQL Server Error 18456 Login Failed for User

clock April 29, 2014 11:21 by author Peter

In this blog post I will show you reasons why you might be getting SQL Server error 18456 and show you may be able to solve it.

18456 Error overview

When connecting to Microsoft SQL Server Hosting and trying to use usually SQL Authentication method you may get event ID error 18456 login failed for user you provided. See below example.This usually means that your connection request was successfully received by the server name you specified but the server is not able to grant you access for a number of reasons and throws error: 18456. This eventID sometimes provides also state 1 which actually isn’t that useful as due to security reasons any error is converted to state 1 unless you can check logging on the server. Microsoft does not provide very useful message boxes so below are some explanations why you get the error.

Below is a list of reasons and some brief explanation what to do:
SQL Authentication not enabled: If you use SQL Login for the first time on SQL Server instance than very often error 18456 occurs because server might be set in Windows Authentication mode (only).

Invalid userID: SQL Server is not able to find the specified UserID on the server you are trying to get. The most common cause is that this userID hasn’t been granted access on the server but this could be also a simple typo or you accidentally are trying to connect to different server (Typical if you use more than one server)

Invalid password: Wrong password or just a typo. Remember that this username can have different passwords on different servers.

Less common errors: The userID might be disabled on the server. Windows login was provided for SQL Authentication (change to Windows Authentication. If you use SSMS you might have to run as different user to use this option). Password might have expired and probably several other reasons…. If you know of any other ones let me know.

18456 state 1 explanations: Usually Microsoft SQL Server will give you error state 1 which actually does not mean anything apart from that you have 18456 error. State 1 is used to hide actual state in order to protect the system, which to me makes sense. Below is a list with all different states.

ERROR STATE

ERROR DESCRIPTION

State 2 and State 5

Invalid userid

State 6

Attempt to use a Windows login name with SQL Authentication

State 7

Login disabled and password mismatch

State 8

Password mismatch

State 9

Invalid password

State 11 and State 12    

Valid login but server access failure

State 13

SQL Server service paused

State 18

Change password required

I hope that helped you solve you 18456 error. If you know of another cause and solution than let us know and we will include it in the blog post.



About HostForLIFE.eu

HostForLIFE.eu is European Windows Hosting Provider which focuses on Windows Platform only. We deliver on-demand hosting solutions including Shared hosting, Reseller Hosting, Cloud Hosting, Dedicated Servers, and IT as a Service for companies of all sizes.

We have offered the latest Windows 2016 Hosting, ASP.NET Core 2.2.1 Hosting, ASP.NET MVC 6 Hosting and SQL 2017 Hosting.


Tag cloud

Sign in