[CSHARP-2360] Server solution on Windows via IIS application - Freeze Created: 22/Aug/18 Updated: 19/Nov/18 Resolved: 19/Nov/18 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | Connectivity |
| Affects Version/s: | 2.7.0 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Eran Rotbart | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | driver, needs_info | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
VS solution which run IIS application. code is C#. |
||
| Description |
|
on my code I have static connectivity to MongoDB. use Win server 2012 to run the IIS process. (.Net 4.7.2)
The connection to client via new MongoClient(settings) Stuck my process. issue solved after reboot server only. After reboot no problem to initiate the connection again.
but since we create server via our Devops, I look for a solution without reboot any new server we create. MongoDB.Driver; version: 2.7.0.0.
code Example: public W6CMMongoProducer() { var settings = MongoClientSettings.FromUrl(new MongoUrl(m_strUrl)); settings.ConnectTimeout = new TimeSpan(0, 0, 30); *MongoClient client = new MongoClient(settings);* } |
| Comments |
| Comment by Ian Whalen (Inactive) [ 19/Nov/18 ] |
|
Hi Eran, The JAVA project is for reporting bugs or feature suggestions for the MongoDB Java driver. For MongoDB-related support discussion, please post your question on the mongodb-user group. Another alternative is to post on Stack Overflow with the mongodb tag. Posts on these forums reach a larger audience, and are the most appropriate for support-related questions. If you have a MongoDB Enterprise license that we missed, please let us know and we can open a support case for you in our Support Portal. |