我只是在IIS服务器上有一个web应用程序接口应用程序,它只是简单地写入C:\FileStorage\test.txt上的文本文件,但是当我调用这个web服务时,我得到了内部错误500,在扩展错误后,我得到了以下错误,我如何授予对IIS服务器上这个web服务的写访问权限?
"ExceptionMessage": "Access to the path 'C:\\FileStorage\\test.txt' is denied.",
"ExceptionType": "System.UnauthorizedAccessExc
我正在尝试通过command-let添加一个IIS网站。我目前所拥有的:
' User input
Dim domainname As String = "niels_test"
' System vars
Dim basePath As String = "C:\Projecten\Websites\"
Dim finalDirname As String = basePath & domainname
Dim shell As PowerShell = PowerShell.Creat
在我的Web应用程序中,我需要打开服务器上的Autodesk inventor exe。我尝试了一些方法,但在IIS中托管时不起作用。下面是我的代码:
Dim info = New System.Diagnostics.ProcessStartInfo()
info.FileName = "C:\Program Files\Autodesk\Inventor 2013\Bin\Inventor.exe"
info.UseShellExecute = True
Dim process = New System.Diagnostic