- PR -

Mobileコントロ-ルのCommandボタンでサ−バ−エラ−

1
投稿者投稿内容
ガンバ
会議室デビュー日: 2003/12/08
投稿数: 2
投稿日時: 2003-12-08 22:14
お世話になります。
現在、VB.NET のMobile webフォ-ムで携帯から会員登録のプログラムを、作りかけています。
その中で、Commandコントロ−ルボタンを押すと必ず、サ−バ−エラ-になります。
VS.NETでのデバッグでは正常に動作するのですが、実機の携帯(NTTドコモの携帯)で、サ−バ−エラ−が携帯に帰ってきます。Linkコントロ-ルなどは正常に動いています。
私のWEBサ−バ−の環境は
・Windows2000 sever
・.NET Framework Version 1.1
・Microsoft Mobile Internet Toolkit 1.0(日本語版)
・Mobile Internet Toolkit Device Update 3.0
・セキュリティとして IIS Lockdown を使いました。
・SMTPは無効にしています。

具体的はエラ−内容(携帯に帰ってきたエラ−)
Server Error in '/**' Application.

Runtime Errer
Description: An application error occurred on the server.
The current custom error settings for this application prevent the details of the application error from being vied remotely(for security reason).
It could, however, be viwed by browser running on the local server machine.

Details: To enable the details of this specific error massage to beviwable on remote machines, please create a<customError> tag withinm a "web.config" configuration file located in the root directory of the current web application. This <customError> tag should then have its "mode" at tribute set to "Off".


<!--Web.config Configuration File -->
<Configuration>
<system.web>
<customErrors mode="Off" />
</system.web>
</Configuration>

以下続いています。

宜しく、お願い致します。

junya_s0
常連さん
会議室デビュー日: 2002/12/23
投稿数: 26
投稿日時: 2003-12-09 13:07
このエラーはリモートでは詳細なエラーメッセージを表示できません、という内容です。
web.configの「<customErrors mode="RemoteOnly" />」という箇所を「<customErrors mode="Off" />」とすれば、リモート(実機)でも詳細なエラーメッセージが表示されるはずです。

その内容を見ないとエラー内容が分からないので・・・。
ガンバ
会議室デビュー日: 2003/12/08
投稿数: 2
投稿日時: 2003-12-10 22:43
返信有難う御座います。
<customErrors mode="Off" />
で確認してみました。
ペ-ジに必要なセッション状態は、現在使用できません。セッション状態の有効期限が切れているか、クライアントが有効なセッションCookieを送信しなかったか、または、セッション状態の履歴サイズがちいさすぎる可能性があります。履歴サイズを増やすかまたはセッションの有効期限を延長して下さい。

のエラ−が帰ってきました。

web.config のセッションの設定部分

<sessionState>
cokieless の設定をfale から true に
 設定すると動作するようになりました。

有難うございました。
1

スキルアップ/キャリアアップ(JOB@IT)