-
Notifications
You must be signed in to change notification settings - Fork 341
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Saving settings throught the web UI fails #898
Comments
The log mentions |
@jafin No, Smtp4dev is installed in E:\Applications\Smtp4dev. The subfolder smtp4dev\smtp4dev does not exist, I have no idea where that comes from. FWIW E:\Applications\Smtp4dev\appsettings.json does exist |
@bveldkamp can you run the application via the exe ok and perform the save function? (outside of a hosted app pool?) |
@jafin Yes, running the app standalone works, and saves settings to |
@bveldkamp I setup the app under IIS on Windows 10. I can see the same error you reported when saving settings. For example, I copied the distribution to I think this can be tidied up a bit in the app, there should be no need for the app to have this path created. |
@jafin Thanks, that is OK as a workaround. I hope this can be fixed sometime though. |
…(<dir>/smtp4dev/smtp4dev/appsettings.json) This changes the path under IIS to <dir>/smtp4dev/appsettings.json. This is a shipped path. Resolves rnwood#898
When changing a setting in the web user interface and clicking Save, I get an error: Request failed with status code 500.
I checked if this could be a permission issue, and granted full permissions on the Smtp4Dev folder to the DefaultAppPool, but that didn't help.
I then used Process Monitor to see what's going on, and noticed that some non existing paths are used, e.g. E:\Applications\Smtp4dev\smtp4dev\smtp4dev.
The logfile:
stdout_20210917104351_4444.log
Smtp4Dev version is win-x64-3.1.3.2
Windows is Server 2012
The text was updated successfully, but these errors were encountered: