問題タブ [iis-8]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
c# - サーバーをWindowsServer2012 / VS 2012 / IIS 8.0にアップグレードした後、PUTが機能しなくなりました
ワークステーションをWindowsServer2012 / VS 2012にアップグレードし、既存のServiceStackサービスをIIS 8に再展開した後、PUTは405を返し始めますか?
visual-studio-2012 - Visual Studio 2012 IIS Express 8 Fresh Install - Can't Connect
On Visual Studio 2010 + IIS Express 7 I was able to use IIS Express as a server and browse sites.
I've since installed Visual Studio 2012 (on Windows 7 64-bit) with IIS Express 8, and I can't browse a single site on it. In addition, when I look at the log files (\Logs and \TraceLogFiles) I don't even see a single log entry for any of the 2012/IISExpress 8 apps, let alone an error to look into.
Looking at applicationhost.config, I do see the site I'm trying to run with the correct path, apppool and port.
But when attempting to run it, IIS Express 8 starts, I get an unusually long pause, and then I get a can't connect error in the browser. That is, in IE9 I get "Internet Explorer cannot display the webpage," in Chrome "Oops! Google Chrome could not connect to localhost:60046"
Has anyone else run into this? Is there something I need to do to complete the configuration of IIS Express 8 with VS2012?
UPDATE Mar 2 2013
This is still unresolved but here's a list of symptoms and partial solutions.
IIS Express completely non-functional I was unable to connect to IIS Express under any conditions, originally. It turned out I had 2 problems, one relating to DNS, and the other appearing to relate to a bug in Visual Studio 2012.
Issue 1: Windows DNS I had set my Windows wifi connection to use Google's DNS servers, rather than leaving it at Automatic. This worked fine with:
- IIS
- Cassini (Visual Studio internal webserver)
- Nearly anything else
It did not work with:
- IIS Express when attempting to connect to localhost - it fails to connect, even when running IIS Express from the command line, no Visual Studio involved.
The solution was to set my DNS settings back to Automatic (and switch my router to use Google DNS instead).
Issue 2: A bug in Visual Studio 2012 Microsoft is yet to acknowledge This got me to a point where IIS Express works fine from command-line, and the only remaining issue is connecting to it from Visual Studio 2012. Cassini and IIS (not Express) from VS2012 work fine, including localhost and the same projects that fail in IIS Express.
When I attempt to run against IIS Express however, the IIS Express tray icon appears, a minute goes by where Visual Studio appears to freeze, and then the tray icon vanishes and the same error message as shown in this question appears in Visual Studio:
Debugging MVC application in VS2012 attempts to start IIS Express twice
One peculiar thing is that if I right-click that tray icon and attempt to open a browser against it during the minute freeze-up, I get the web application - it runs for that one minute and works as intended. Then it dies when Visual Studio apparently kills it.
I however can't confirm that IIS Express is running twice as in w.brian's issue. That said, this may be the exact same Visual Studio 2012 bug just showing very slightly different symptoms.
Microsoft bugs and paywall I've reported the issue to Microsoft. They began diagnosing it with me, but then told me I'd need to pay $250 to continue - something I'm not prepared to do to help them fix their bugs.
There are several bug reports on this:
My original bug report: http://connect.microsoft.com/VisualStudio/feedback/details/766233/
A second one they had me open to navigate the bureaucracy: http://connect.microsoft.com/VisualStudio/feedback/details/779161/
w.brian's bug report: https://connect.microsoft.com/VisualStudio/feedback/details/778864/
But I suspect this is all the same bug that Microsoft is ignoring with a paywall between its customers and them, preventing them from actually gathering enough detail to recognize there's a bug here.
With Microsoft wasting enough of my time I've moved on to just using regular IIS as a workaround.
That's the absolute latest. Sorry everyone.
Update 8/2013: The machine that was experiencing this issue has since died (spilled something on it), and my new machine doesn't have this issue. I've suggested to Microsoft they reach out to others here with this issue. It may make sense to comment here if you're still experiencing the problem so they know how to contact you. And remember you can edit StackOverflow questions, so you can always just update this question yourself with more diagnosis information.
asp.net - ASP.NetページがIIS8に読み込まれない
Windows Server 2012でアプリケーションテストを行って、Webアプリ(.Net 4)の互換性を確認していますが、ASPXページの読み込みに問題があります。サーバーマネージャーからすべての.Net、IIS、およびASP.Netの役割をアンインストールして再インストールしようとしました。aspnet_regiis
また、Server 2012では機能しなくなり、代わりに役割/機能ページを使用するようにメッセージが表示されることもわかりました。途方に暮れていますが、他の誰かがIIS 8を試したことはありますか?
次のメッセージが表示されます。
iis-8 - IIS8のデフォルトドキュメントで404notfoundエラーが発生する
IIS8を搭載した新しいWindowsServer2012マシンを使用しています。ログインページにWindows認証を使用するアプリケーションをインストールしました。アプリケーションは.NET2.0を使用します(構成するのは少し面倒でしたが、それは別の話です)URLでログインページを指定すると、アプリケーションは完全に機能します。このログインページは、ユーザーを確認し、登録されている場合は自動的にログインするアプリケーションのデフォルトドキュメントです。登録されていない場合は、ローカルアプリケーションのクレデンシャルを入力できるForms認証ログインページにリダイレクトされます。
私が抱えている問題は、ログインページを直接参照した場合にのみログインページが機能することです。つまり、URLに名前を入力します。IIsのデフォルトドキュメントを使用すると、404エラーが返されます。
表面上はIIS8と同じように見えるIIS7またはIIS7.5に関する他の記事をここで見ましたが、これらの問題の解決策では問題は解決しません。
アプリケーションプールは現在Classicとして構成されており(Integratedも試しています)、アプリケーションアカウントとしてNetworkServiceを使用し、32ビットが有効になっています。.NETFrameworkv2.0用に構成されています。デフォルトのドキュメントは、サイトとアプリケーションの仮想ディレクトリの両方で有効になっています。
asp.net - ASP.NET ページが IIS8 に読み込まれない (Windows Server 2012)
ASP.NET Web サイトを実行するように Windows Server 2012 をセットアップしようとしています。この Web サイトは html ページと .svc ページを提供できますが、.aspx ページにアクセスすると、タイムアウトになります。
エラー 118 (net::ERR_CONNECTION_TIMED_OUT)
少なくとも何らかのエラーの説明が得られれば、そこから進むことができますが、サーバーが完全に利用できないかのようにタイムアウトメッセージが表示されるだけなので、この問題に悩まされています.
Page_Loadの最初の行に「throw Exception」を入れるなどの抜本的な対策をすでに試したので、aspxページがまったく読み込まれていないようです。
新しいサイトを作成し、そこに aspx ページだけを配置すると、正常に実行されます。
イベント ログには、これに関連するものは何も表示されません。
誰か提案はありますか?
asp.net - IIS8 Express の SqlRoleProvider
私の Web アプリケーション (WCF サービス) はSqlRoleProvider
、Visual Studio Development Serverで正常に動作する を使用しています。IIS8 Expressに切り替えると、次のようにスローされNullReferenceException
ます。
メソッドのドキュメントに、IsUserInRole
この例外のヒントが見つかりませんでした。Visual Studio 開発サーバーに戻すと、機能します。この例外の原因は何ですか?どうすれば適切に修正できますか? プロジェクトのターゲット フレームワークは.NET Framework 4です。
構成された接続文字列は次のとおりです。
そして、これはroleManager/providers
ノードです:
iis-7.5 - WEBmatrix のインストール後、VS2012 と Webmatrix の両方が機能しない
これはあなたが遭遇したものだと思います。
これは私に2回起こりました。IIS 8 をマシンに自動的にインストールする VS 2012 をインストールしました。次に、Webmatrix をインストールすると、IIS 7.5 がインストールされ、どのプログラムも適切に動作しません。VS 2012 では、localhost で MVC Web プロジェクトを実行できず、WebMatrix でプロジェクトを作成できません。前回はシステムバックアップを行いました。そのため、VS2012 を保存するために Webmatrix を残す必要がありました。
次に、IIS 7.5 を再度インストールして、このような両方を確認します。しかし、それでも同じ問題が存在します。
この問題に対する正確な答えと、これを克服するための確かな答えを知りたいです。Web Matrix は IIS7.5 に依存しており、VS2012 は IIS8 を使用しています。同じマシンで両方のアプリケーションを使用するにはどうすればよいですか?
同じマシンで 2 つの IIS バージョンを実行することはできますか?
しかし、IIS 7.5 をインストールした後、ローカル ホストは動作していますが、VS も Webmatrix も動作していません。
asp.net - Windows8のIIS8にasp.net4.5をインストールする
Windows 8 Enterprise Editionをインストールしたばかりで、VSをインストールする前にIISをインストールしようとすると、asp.netなしでIISをインストールできましたが、ASP.NET4.5とASP.NET3.5をインストールすることを選択すると次のメッセージが表示されます。
まず、インストーラーがこれを要求している理由を知りたいのですが、以前のバージョンでは、IISのインストールにインターネット接続は必要ありませんでした。
次に、パッケージをダウンロードする以外に選択肢はありません。インターネットに接続されていないコンピューターにインストールするためにダウンロードできるソースはありますか?
ありがとう。
asp.net - `standardEndpoint` が原因で例外 `A binding instance has already been associated to listen URI ...`
私はASP.Netルーティングを使用して127.0.0.1
(Win8 + IIS8で)サービスをホストしています
そして、次のようなエンドポイントのデフォルトの動作
これらの設定によりエラーが発生していますA binding instance has already been associated to listen URI 'http://<MachineName>/Services/IMAPI/'. If two endpoints want to share the same ListenUri, they must also share the same binding object instance. The two conflicting endpoints were either specified in AddServiceEndpoint() calls, in a config file, or a combination of AddServiceEndpoint() and config.
このエラーについてはよくわかりません.WCFの経験がないため、なぜ発生しているのかわかりませんが、web.configのstandardEndpointの構成を削除すると、このエラーが発生します.
windows-8 - VisualStudio2012を使用してIIS8をデバッグします。十分なアクセス許可がありません
ローカルIIS8を使用してASP.NetMVC(3または4は関係ありません)のデバッグを開始しようとすると、次のように表示されます(再生ボタンをクリックするだけです)。
Webサーバーでデバッグを開始できません。Visual Studioには、このプロセスをデバッグするための十分な特権がありません。このプロセスをデバッグするには、VisualStudioを管理者として実行する必要があります。
DEBUG-> Attach To Process-> Show Process From all Users-> w3wp.exeを使用して手動でアタッチしようとすると、同様のメッセージが表示されます。
プロセスにアタッチできません。Visual Studioには、このプロセスをデバッグするための十分な特権がありません。このプロセスをデバッグするには、VisualStudioを管理者として実行する必要があります。
IIS Expressを使用すると、IIS 8が完全に機能するだけで、デバッグができなくなります。
IISでデバッグを有効にしました->デフォルトのWebサイト->.Netコンパイル->デバッグ=True
また、DefaultAppPoolを変更して、ApplicationPoolIdentity / Network Service / MyownAccountを使用してみました。
そして、当然のことながら、私は管理者としてVS2012を実行しようとしました。