question

Roberto-8550 avatar image
0 Votes"
Roberto-8550 asked EchoDu-MSFT commented

Server Error in '/' Application. Operation is not valid due to the current state of the object

Hi,


I used to enter in this website without any problem, but since 2 days now I am not able.

It gives me the following error

Why is giving me this error?


89419-image.png




I would be very grateful if someone could gave me a clue to solve this issue

Thanks in advance

Regards

office-sharepoint-online
image.png (350.1 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

EchoDu-MSFT avatar image
0 Votes"
EchoDu-MSFT answered EchoDu-MSFT commented

Hello @Roberto-8550 ,

Welcome to Q&A Forum!

We have same error during document uploading then apply following setting in web config file. please verify appSettings block properly added or not.

Please following steps:

1.Open IIS(Internet Information Services Manager) >> expand Sites folder >> select web application and right-click it >> click on Explore.

89785-iis.png

2.Can you check if your web.config is having this line else add this.

 <appSettings>
    <add key="aspnet:MaxHttpCollectionKeys" value="5001" />
 </appSettings>

Note:You can back up the web.config file in advance to prevent other errors.

More information, please refer to this post.

Thanks,
Echo Du
========================
If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



iis.png (147.8 KiB)
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @Roberto-8550 ,

Would you tell me whether your issue has been resolved or have any update ?
I am looking forward to your reply.

Have a nice day!

Thanks,
Echo Du

0 Votes 0 ·

Hi @Roberto-8550 ,

Have you tried the solution I proposed?

If you have any questions or progress, you can contact me in time. I am looking forward to your reply

Have a lucky day!

Thanks,
Echo Du

0 Votes 0 ·