Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
santh00
Frequent Visitor

Notebook Session Issue

I have a notebook in my Microsoft Fabric Synapse Data Engineering environment. Whenever I run the notebook after a period of inactivity, it throws an error with a standard session. However, if I run it with a high concurrency session, it does not throw an error. How can I overcome this issue so that running it after a period of inactivity with a standard session does not result in an error? Is it possible to achieve this?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @santh00 ,

Thanks for using Fabric Community.

There are a few ways you might be able to overcome the error you're encountering

1. Check for Connection Timeouts: Standard sessions might have lower connection timeouts compared to high concurrency sessions.

2. Refresh Connections: Another possibility is that the notebook loses its connection to external resources during inactivity. You can try adding a code block at the beginning of your notebook that refreshes the connections before running the main logic

Hope this is helpful. Please do let me know incase of further queries.

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

Hi @santh00 ,

Thanks for using Fabric Community.

There are a few ways you might be able to overcome the error you're encountering

1. Check for Connection Timeouts: Standard sessions might have lower connection timeouts compared to high concurrency sessions.

2. Refresh Connections: Another possibility is that the notebook loses its connection to external resources during inactivity. You can try adding a code block at the beginning of your notebook that refreshes the connections before running the main logic

Hope this is helpful. Please do let me know incase of further queries.

Anonymous
Not applicable

Hi @santh00 ,

We haven’t heard from you on the last response and was just checking back to see if your query was answered.
Otherwise, will respond back with the more details and we will try to help .

Thanks

Hi @Anonymous, 

How to I add a code block to refresh connection can you give me a example.

Anonymous
Not applicable

Hi @santh00 ,

I mean you can always create connections at the start of the code. So incase if any failure occur you can re execute that code cell for connections.

Anonymous
Not applicable

Hi @santh00 ,

We haven’t heard from you on the last response and was just checking back to see if your query was answered.
Otherwise, will respond back with the more details and we will try to help .

Thanks

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.