Challenges in Uploading Files Over 2GB via HTTP Protocol in IIS Web Server

Challenges in Uploading Files Over 2GB via HTTP Protocol in IIS Web Server

This article is contributed. See the original author and article here.

Recently, I had worked on a case where customer`s ask was to upload a file larger than 2gb into the IIS hosted web application.


 


In my case, customer had a normal Asp.net Framework 4.6 application and when they were trying to perform the upload operation of more than 2gb zip file(the extension did not matter…we tested it with .7z and .zip both and it had failed) and somehow on the browser page, we got a Bad request and when I checked the HAR file, i could see a 400 status code.


 


Next, I checked the application configurations…like:


 


 

system.webServer/security/requestFiltering/requestLimits/maxAllowedContentLength 

system.web/httpRuntime/executionTimeout

system.web/httpRuntime/maxRequestLength

 


 


but these values were already configured for the higher number.


 


Articles for references:


HttpRuntime.ExecutionTimeout 


MaxAllowedContentLength 
Request Filtering  


HttpRuntime.maxRequestLength 


 


Also, we checked the App Pool Managed Pipeline Mode, and the interesting part was that we got different error for both the modes.


 


I was able to recreate this scenario in my lab machine for a sample asp.net framework web application and I had captured FREB logs (Failed request tracing logs) for the site for both the scenarios these were the differences I noticed:


 



  • In both the cases, I was able to upload only 2gb file size. 

  • In Integrated Mode, when I tried to upload a 4gb file, I could see this error under the FREB log: ” 

     400 Bad request-Asp.net detected invalid characters in the Url”. So, I tried to increase the value of “maxAllowedContentLength” to the maximum supported value, which is 4gb but still it failed, and it seems that webengine code (webengine4!MgdGetRequestBasics) doesn’t support more than 2 GB content-length.



  • Next, in Classic Mode, when I tried to upload a 4gb file, i got this error under FREB log : “413.1 -request entity too large error”. So, in this case also, I increased the value of “maxAllowedContentLength” to 4gb, but it failed. We did not see any error under FREB log…it was also 200 status code but the file did not upload.


So, the conclusion is that either you keep the application pipeline mode as Integrated or Classic, you would only be able to upload a 2gb file for your web application hosted on IIS.


 


If you would like to perform a larger file upload operation, HTTP protocol isn’t the right one. You need to switch to webDav feature, or use FTP protocol that is meant to perform the file upload/download operation without any size limit or you can keep using Http protocol but  you need to send the data packets as small chunks from client to the server side and then on the server side code, you need to bundle all the chunked packets together for the file upload operation.


 


Also, note that even if you think moving to latest windows server would fix it…that’s not going to help here. This behavior will be same for all the supported IIS across all the versions of supported windows server.



Hope this article helps everyone. :smile:


 


 


 


 


 


 


 


 

Explore Cloud Computing with the New “Azure for Students” Module!

Explore Cloud Computing with the New “Azure for Students” Module!

This article is contributed. See the original author and article here.

I’m really excited to share a new module that I developed by working with the Microsoft Learn Team: “Introduction to Azure for students.” As students, we often encounter numerous tech challenges, from managing projects and assignments to exploring new fields like AI and data science. This module is designed to help you tackle these challenges head-on by diving into the fascinating world of cloud computing with Azure.


 


Designer.jpeg


 


 


Why Cloud Computing?


 


Cloud computing might sound complex, but it’s simpler than you think. Imagine it as a giant library where you can borrow books whenever you need them, without the hassle of buying or storing them. Similarly, cloud computing lets you use computing resources whenever you need them, without owning or maintaining the hardware and software. It’s flexible, easy, and often more affordable.
a4770c3e0fd64906e73172c385edbc59.jpg


 


 


What You’ll Learn


 


In this module, you’ll discover:


 



  • Core Concepts of Cloud Computing: Learn the basics and understand what cloud computing is all about.

  • Azure in Action: Explore real-world scenarios to see how Azure is used in various fields, from student projects to professional healthcare.

  • Getting Started with Azure: Find out about the tools and services that will help you begin your Azure journey.


 


Why Azure Cloud?


 


Azure is Microsoft’s cloud platform, offering over 200 products and services. Whether you’re into AI, app development, data science, or machine learning, Azure has it all. Here’s how Azure can help you as a student:


 



  • Access Powerful Tools: Utilize advanced tools and services without the need for expensive hardware.

  • Scalability: Easily scale your resources up or down based on your project needs.

  • Cost-Effective: Pay only for the resources you use and take advantage of free services and a $100 Azure credit with the Azure for Students offer.


 


How Azure Can Help with College Projects?


 


Imagine you’re working on a complex college project that involves data analysis and collaboration with classmates. With Azure, you can set up a virtual environment where everyone can work together seamlessly, share resources, and analyze data in real-time. Need to develop a mobile app for your project? Azure provides all the necessary tools and platforms to build, test, and deploy your app efficiently.


 


Special Offer for Students!


 


Being a student usually means living on a budget. Good news—Microsoft’s got your back with Azure for Students! Get a $100 Azure credit and access a sea of free services. Learning has never been so cost-effective and fun! Learn more about the Azure for Students offer.


 


1703521221247.jpg


 


 


What are you waiting for? Start learning cloud today by going through the module with hands-on experience by claiming the Azure for Students offer. Whether you’re working on a school project, developing an app, or just curious about the cloud, this module will provide you with the foundation to succeed.


Ready to get started? Sign up on Microsoft Learn to save your progress and take the first step towards an exciting career in cloud computing!

Simplify Your Azure Kubernetes Service Connection Configuration with Service Connector

Simplify Your Azure Kubernetes Service Connection Configuration with Service Connector

This article is contributed. See the original author and article here.

Workloads deployed on an Azure Kubernetes Service (AKS) cluster often need to access Azure backing resources, such as Azure Key Vault, databases, or AI services like Azure OpenAI Service. Users are required to manually configure Microsoft Entra Workload ID or Managed Identities so their AKS workloads can securely access these protected resources.


The Service Connector integration greatly simplifies the connection configuration experience for AKS workloads and Azure backing services. Service Connector takes care of authentication and network configurations securely and follows Azure best practices, so you can focus on your application code without worrying about your infrastructure connectivity.


CocoWang_0-1716567353560.png


Service Connector Action Breakdown


 


Before, in order to connect from AKS pods to a private Azure backing services using workload identity, users needed to perform the following actions manually:



  1. Create a managed identity

  2. Retrieve the OIDC issuer URL

  3. Create Kubernetes service account

  4. Establish federated identity credential trust

  5. Grant permissions to access Azure Services

  6. Deploy the application


Now, Service Connector performs steps 2 to 5 automatically. Additionally, for Azure services without public access, Service Connector creates private connection components such as private link, private endpoint, DNS record,


You can create a connection in the Service Connection blade within AKS.


CocoWang_0-1716567897332.png


 


Click create and select the target service, authentication method, and networking rule. The connection will then be automatically set up. Here are a few helpful links to for you to learn more about Service Connector.



 


 


 


 


 

Unlocking efficiency: Dynamics 365 Field Service integration for seamless operations 

Unlocking efficiency: Dynamics 365 Field Service integration for seamless operations 

This article is contributed. See the original author and article here.

In the dynamic world of service management, every action counts. From frontline workers in the field to back-office functions, the complexity of service delivery impacts the bottom line. Whether it’s a physical product consumed from inventory, or a service provided, both have financial implications, especially when external customers are involved, pricing and profitability come into play.

When a field service organization’s frontline operations run in isolation, consequences can be far-reaching: inaccurate costing, delayed invoicing, dissatisfied customers, and supply chain bottlenecks. To succeed in this complicated environment, organizations must integrate their systems to coordinate their services, finances, and supply chain processes. 

Recognizing this critical need, we recently announced the integration between Dynamics 365 Field Service and Business Central, and today we’re thrilled to announce the general availability of the integration between Dynamics 365 Field Service and Dynamics 365 Finance as well as Supply Chain Management. This powerful integration ensures that the work of frontline workers, service managers, and dispatchers are seamlessly synced with the financial and supply chain heart of your business. Let’s explore some of the details of this native integration.  

Bridging the gap: Dynamics 365 integration 

The challenges 

Even with robust systems like Dynamics 365 Field Service and a strong ERP system like Dynamics 365 Finance and Supply Chain Management, gaps can emerge when these systems aren’t fully integrated: 

  1. Limited financial insight: Without smooth integration, determining job costs and profitability requires switching between windows and consuming or updated data in multiple systems, which obscures their financial status. 
  2. Supply-driven delays: Separate fieldwork and supply chain processes lead to inventory shortages and service delays. 
  3. Invoicing bottlenecks: Disparate systems and manual processes cause invoicing and payment delays, disrupting cash flow. 
  4. Inconsistent data: Discrepancies across systems create confusion, affecting accuracy of inventory, decision-making, pricing, and costing data. 
The solution

Our native integration addresses these challenges head-on: 

  1. Operational visibility: Real-time insights into finances and inventory empower informed decision-making across your organization. 
  2. Field-informed supply chain: Field Service work orders can drive estimated inventory demand, ensuring seamless supply chain coordination. 
  3. Interconnected financial operations: Automated and powerful billing and invoicing capabilities of Finance informed directly by the services provided speed up payment cycles, improve cash flow, minimize errors, boost profitability, and turn every work order into a growth opportunity. 
  4. Cost-effective integration: Our pre-built solution reduces implementation expenses and accelerates value realization. 
  5. Reduced risk, faster implementation: The native integration minimizes risk while improving implementation timelines. 
Essential features 

Organizations can create new opportunities to improve efficiency, customer satisfaction, and growth by integrating their Dynamics 365 Field Service and finance and operations applications. Key features of this native integration include:  

  • Data alignment: Dual-write and virtual entities ensure all applications operate from a cohesive set of primary tables. 
    • Primary tables alignment: Basic concepts such as currency, units of measure, products and their attributes (like styles, configurations, colors) are synced between applications to ensure a consistent source of truth. 
    • Legal entity alignment: The company concept, native to Finance and Supply Chain, is used to filter critical lookups to put guard-rails in the system, helping drive transactions along company lines. 
    • Projects and accounts: Work orders are seamlessly synced with projects and customer accounts from the finance and operations applications, allowing for precise project tracking and customer billing.  
    • Inventory: Virtual tables expose inventory from Supply Chain directly in Field Service while work order inventory transactions align with item journals, directly impacting inventory levels in the system of record. 
    • Resources: Using dual-write, resources can be aligned directly with workers ensuring field service work order transactions are automatically associated with the right workers and recorded in their respective hours journal and expense journal lines. 
  • Automated and precise invoicing: The integration automates the syncing of transactions, reducing manual work and mistakes. Organizations can decide when to sync the information and post project journals either as they use them or automatically when they finish the work order. 
  • Full insight and management: No financial system can afford to lose transactional data. Our integration gives organizations complete insight and management of data moving between the systems, making sure they can fix issues that stop data from flowing between applications and re-sync the transaction. 

Get started now 

Dynamics 365 Field Service and the Dynamics 365 finance and operations applications work together to unlock efficiencies. Organizations that use these solutions together can boost their productivity, revenue, and customer satisfaction. Grow your business with Dynamics 365 Field Service, Dynamics 365 Finance, and Dynamics 365 Supply Chain.  

Be on the lookout for future post in June for more ways to take advantage of this powerful integration that make it work for any organization.

Ready to get started today? Learn more about the integration, set up your organization, and create your first integrated work order.  

The post Unlocking efficiency: Dynamics 365 Field Service integration for seamless operations  appeared first on Microsoft Dynamics 365 Blog.

Brought to you by Dr. Ware, Microsoft Office 365 Silver Partner, Charleston SC.

Leveraging Copilot in Dynamics 365 Sales to prepare for sales meeting

Leveraging Copilot in Dynamics 365 Sales to prepare for sales meeting

This article is contributed. See the original author and article here.

In today’s rapidly evolving sales environment, staying ahead of the curve is more crucial than ever. The latest updates to Copilot in Dynamics 365 Sales, particularly its enhanced integration with Outlook, are transforming how sales professionals gear up for their meetings. Let’s dive into how these new functionalities not only streamline preparation but also enrich customer interactions. 

Streamlined Outlook integration for comprehensive sales meeting preparation

connect-to-outlook
Connect Outlook/Exchange accounts to fetch meetings and related emails

Copilot in Dynamics 365 Sales expands its integration capabilities with Outlook, specifically accommodating users who have not enabled server-side sync. This pivotal update accelerates adoption, providing a unified platform where sales professionals can access and prepare for their Outlook-scheduled sales appointments directly within Dynamics 365. This coherence not only simplifies the logistical aspects of sales preparation but also enhances the overall efficiency and effectiveness of sales operations. 

Proactive meeting preparation

Copilot fetches meetings for today and the next seven days

Copilot now allows sales teams to fetch Outlook meetings for the upcoming week, enabling them to prepare proactively. The ability to view detailed agendas and prepare in advance transforms how sales teams interact with clients, paving the way for more successful outcomes.

Refined meeting summaries for enhanced client interactions

Enhanced summary helps the seller prepare for client interactions

The upgraded meeting preparation tool in Copilot for Dynamics 365 Sales now offers richer, more detailed summaries. This enhancement provides sales teams with critical insights and key talking points, tailored to each meeting’s context. Such targeted preparation boosts confidence and competence, enabling sales professionals to tailor their approaches to meet the specific needs and interests of each client, enhancing the effectiveness of their pitches. 

Harnessing innovations for sales excellence 

The recent updates to Copilot in D365 Sales are a testament to our commitment to enhance the user experience and functionality of our sales management tools. By leveraging these new features, sales teams can enhance their productivity, improve client interactions, and ultimately drive more successful outcomes. As the digital landscape evolves, tools like Copilot in D365 Sales are invaluable for staying competitive in the fast-paced world of sales. 

Next steps

Learn more on leveraging Copilot in D365 Sales to prepare for meetings: 
Stay ahead with Copilot | Microsoft Learn 

Not a Dynamics 365 Sales customer yet? Take a guided tour and sign up for a free trial at Dynamics 365 Sales overview.    

The post Leveraging Copilot in Dynamics 365 Sales to prepare for sales meeting appeared first on Microsoft Dynamics 365 Blog.

Brought to you by Dr. Ware, Microsoft Office 365 Silver Partner, Charleston SC.