System.Diagnostics.Process.Start not work from an IIS
When I run System.Diagnostics.Process.Start from my console application it works but the same code when I run from my web service hosted in IIS doesn’t work.
When I run System.Diagnostics.Process.Start from my console application it works but the same code when I run from my web service hosted in IIS doesn’t work.
I’m getting this error message when trying to run my application. I don’t know how to fix it:
I have searched around Google and StackOverflow trying to find a solution to this, but they all seem to relate to ASP.NET etc.
We have an ASP.NET Core 2.0 web site that also presents a couple of simple Web API methods for UI enhancement purposes.
I’ve found that on some occasions I can edit the source while debugging. Are there any other advantages of using the Visual Studio built-in webserver instead of a virtual directory in IIS?
I was planning to use url routing for a Web Forms application. But, after reading some posts, I am not sure if it is an easy approach.
I’m trying to do something which I thought would be fairly simple. Get IIS 7 to tell clients they can cache all images on my site for a certain amount of time, let’s say 24 hours.
I Installed DotNetOpenAuth SDK-3.4.5.10201.vsix and I can’t get it working.
It works locally (when I run as localhost) but when i try to publish it ain’t working.
I’m hosting the ASP.NET runtime via the ApplicationHost.CreateApplicationHost method. When I modify the web.config while the application is running, i see lots of first chance ThreadAbortExceptions thrown. This is right before my application comes crashing down. I’m assuming this is because the runtime has detected changes to the configuration and wants to restart.
How can I quickly determine what the root URL is for my ASP.NET MVC application? I.e., if IIS is set to serve my application at http://example.com/foo/bar, then I’d like to be able to get that URL in a reliable way that doesn’t involve getting the current URL from the request and chopping it up in some fragile way that breaks if I re-route my action.