Answer by James Lawruk for Increase in the limit of number of process per day
Are you setting you the jobs at the project? Why not create a job at the account level so you get all the projects?
View ArticleAnswer by James Lawruk for GET http://localhost:4200/ 404 (Not Found) after...
I deleted my node_modules folder and ran a fresh npm install. It then loaded correctly.
View ArticleHow to convert an ArrayList to a strongly typed generic list without using a...
See the code sample below. I need the ArrayList to be a generic List. I don't want to use foreach.ArrayList arrayList = GetArrayListOfInts(); List<int> intList = new List<int>(); //Can this...
View ArticleAnswer by James Lawruk for Were upgrading from NG 12 -> 16 and...
I ran into the same error. I was able to upgrade Angular 12 to 13 by essentially doing the following:Uninstalling @ng-bootstrap/ng-bootstrapnpm uninstall @ng-bootstrap/ng-bootstrapUpdating to Angular...
View ArticleAnswer by James Lawruk for incorrect syntax near ':' in SQL
The SQL being executed could be meant for an Oracle database. The colon(:) in an Oracle statement indicates a "bind variable".Below is example Dapper query with a parameter. Notice the SQL has...
View ArticleChrome Driver Error using Selenium: Unable to Discover Open Pages
I'm getting a Chrome Driver related error when running my Selenium tests. The error message is "Unable to Discover Open Pages." The Selenium tests were all running fine until last evening. The problem...
View ArticleWhat does the utmscr or utmcct values mean in reference to the Http cookie...
What does the utmscr and/or utmcct values mean in reference to the Http cookie Server variable? Are they acronyms or short for something?We are getting Elmah errors with the title...
View ArticleAnswer by James Lawruk for How to get the domain name of my site in ASP.NET...
Here is a test request method you can try in a controller. The .NET Core MVC ControllerBase class has the HttpContext property. Please note the Host value returned may not match the Host value in your...
View ArticleAnswer by James Lawruk for What is the equivalent of `fs.readFileSync` but in...
When using FileReader in the browser, you basically have 3 options. The closest to Node's readFileSync() seems to be the readAsText() method; const file = event.target.files[0]; let reader = new...
View ArticleAnswer by James Lawruk for How to handle routes by VueJS in ASP.NET core...
I added a call to the MapFallbackToFile() method available in .NET 6 to solve my Vue3 Routing issue. (Using vue-router version 4.) Any route Url not found in my Controllers maps back to the default...
View ArticleAnswer by James Lawruk for ASP.net core MVC catch all route serve static file
In .NET Core 6, add app.MapFallbackToFile("index.html"); in your Program.cs file.Here is example code from the ASP.NET Core with React project template:app.MapControllerRoute( name: "default", pattern:...
View ArticleAnswer by James Lawruk for A Connection Attempt Failed using the SFTP Client...
Try the code on a different machine that does not have a firewall withFTP restrictions.Download an FTP client (Filezilla, WinScp) to see if you get the sameissue.In my case, the corporate policy was...
View ArticleAnswer by James Lawruk for Need to fetch Oracle RAW in C# string datatype "as...
I did this using Dapper. The Raw value came back as a byte[] array with 16 values. Each value in the array was the decimal value of each byte of the guid. Here is code to convert to string:public class...
View ArticleAnswer by James Lawruk for vue.runtime.esm-browser.js does not render Vue 3...
If you are using Vite, add the alias 'vue': 'vue/dist/vue.esm-bundler' to vite.config.jsimport { defineConfig } from 'vite'import vue from '@vitejs/plugin-vue'// https://vitejs.dev/config/export...
View ArticleAnswer by James Lawruk for vue3 Cannot read property 'insertBefore' of null
In my case, was mistakenly calling app.mount('#app') twice.
View ArticleAnswer by James Lawruk for ASP.NET Core Publish Exclude Folder (or .json files)
Here are changes to the project (.csproj) file to exclude folders/files from being published. This was tested on a .NET Core 6 project with VS 2022.To remove a directory:<ItemGroup><Content...
View ArticleAnswer by James Lawruk for error NETSDK1032: The RuntimeIdentifier platform...
Similar to pdshuller's answer, I simply removed the <PlatformTarget> node from the project (.csproj) file, which did not match the <RuntimeIdentifier> value in the publish profile (.pubxml)...
View ArticleAnswer by James Lawruk for Cannot soft reset git repository in the middle of...
You might have merge conflicts. If you resolve your conflicts, the run git rebase --continue, then the soft reset option should be available.
View ArticleAnswer by James Lawruk for How to load environment variables from .env file...
Here are three mistakes/gotchas that tripped me up.Ensure the .env files are in the root, not the src directory. The filename .env and/or .env.development will work when running locally.Restart the...
View ArticleAnswer by James Lawruk for How to hide .NET Core compatibility warnings when...
Edit your project (.proj) file and suppress the warning codes at the project...
View Article