Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Com Port Problem , Modem ,Asp.Net ,Real IP Address.

Com Port Problem , Modem ,Asp.Net ,Real IP Address.

Scheduled Pinned Locked Moved ASP.NET
asp-netsecurityhelpcsharpcom
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    ketan d patel
    wrote on last edited by
    #1

    Hello Fred's I have Deploy Web Application on a Server.Server has a Static IP Address. This Application Developed in Asp.Net Which use Modem For SMS Sending. modem Install On Com Port5 if i am run application from server then It's ok But as Soon as i run application from other machine Com Port Disable Automatic. In event Viewer Following Warning Message Thrown. When i first time Deploy and Check From other Machine then It's Work Fine But after Sometime Same Machine Has same Problem. Error Says that "Access Denied for Com Port 5" and After That Modem Port Disable permanently After Restart Machine Com Port Enable Again automatic. There may be Security Problem.How I can Solved this Problem. In event Viewer Following Event Fire. Event Type: Warning Event Source: ASP.NET 2.0.50727.0 Event Category: Web Event Event ID: 1309 Date: 4/10/2009 Time: 11:19:51 PM User: N/A Computer: KETAN-1CCDAA7E5 Description: Event code: 3005 Event message: An unhandled exception has occurred. Event time: 4/10/2009 11:19:51 PM Event time (UTC): 4/10/2009 5:49:51 PM Event ID: 6e414ffa5de6479fb1fff241887ed1f7 Event sequence: 8 Event occurrence: 1 Event detail code: 0 Application information: Application domain: /LM/w3svc/1/ROOT/H1-2-128838592248125000 Trust level: Full Application Virtual Path: /H1 Application Path: d:\inetpub\wwwroot\H1\ Machine name: KETAN-1CCDAA7E5 Process information: Process ID: 1864 Process name: aspnet_wp.exe Account name: KETAN-1CCDAA7E5\ASPNET Exception information: Exception type: CommException Exception message: Unable to open port COM4: Unable to open COM4 Access is denied Request information: Request URL: http://116.74.118.18/h1/Default.aspx Request path: /h1/Default.aspx User host address: 117.198.182.42 User: Is authenticated: False Authentication Type: Thread account name: KETAN-1CCDAA7E5\ASPNET Thread information: Thread ID: 1 Thread account name: KETAN-1CCDAA7E5\ASPNET Is impersonating: False Stack trace: at GsmComm.GsmCommunication.GsmPhone.Open() at GsmComm.GsmCommunication.GsmCommMain.Open() at _Default.Button1_Click(Object sender, EventArgs e) at System.Web.UI.WebControls.Button.OnClick(EventArgs e) at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String

    Z 1 Reply Last reply
    0
    • K ketan d patel

      Hello Fred's I have Deploy Web Application on a Server.Server has a Static IP Address. This Application Developed in Asp.Net Which use Modem For SMS Sending. modem Install On Com Port5 if i am run application from server then It's ok But as Soon as i run application from other machine Com Port Disable Automatic. In event Viewer Following Warning Message Thrown. When i first time Deploy and Check From other Machine then It's Work Fine But after Sometime Same Machine Has same Problem. Error Says that "Access Denied for Com Port 5" and After That Modem Port Disable permanently After Restart Machine Com Port Enable Again automatic. There may be Security Problem.How I can Solved this Problem. In event Viewer Following Event Fire. Event Type: Warning Event Source: ASP.NET 2.0.50727.0 Event Category: Web Event Event ID: 1309 Date: 4/10/2009 Time: 11:19:51 PM User: N/A Computer: KETAN-1CCDAA7E5 Description: Event code: 3005 Event message: An unhandled exception has occurred. Event time: 4/10/2009 11:19:51 PM Event time (UTC): 4/10/2009 5:49:51 PM Event ID: 6e414ffa5de6479fb1fff241887ed1f7 Event sequence: 8 Event occurrence: 1 Event detail code: 0 Application information: Application domain: /LM/w3svc/1/ROOT/H1-2-128838592248125000 Trust level: Full Application Virtual Path: /H1 Application Path: d:\inetpub\wwwroot\H1\ Machine name: KETAN-1CCDAA7E5 Process information: Process ID: 1864 Process name: aspnet_wp.exe Account name: KETAN-1CCDAA7E5\ASPNET Exception information: Exception type: CommException Exception message: Unable to open port COM4: Unable to open COM4 Access is denied Request information: Request URL: http://116.74.118.18/h1/Default.aspx Request path: /h1/Default.aspx User host address: 117.198.182.42 User: Is authenticated: False Authentication Type: Thread account name: KETAN-1CCDAA7E5\ASPNET Thread information: Thread ID: 1 Thread account name: KETAN-1CCDAA7E5\ASPNET Is impersonating: False Stack trace: at GsmComm.GsmCommunication.GsmPhone.Open() at GsmComm.GsmCommunication.GsmCommMain.Open() at _Default.Button1_Click(Object sender, EventArgs e) at System.Web.UI.WebControls.Button.OnClick(EventArgs e) at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String

      Z Offline
      Z Offline
      Zia Ul Haq Soofi
      wrote on last edited by
      #2

      It looks like a hardware problem, are you sure that hard ware is correct?

      be a part of the solution, rather then problem

      K 1 Reply Last reply
      0
      • Z Zia Ul Haq Soofi

        It looks like a hardware problem, are you sure that hard ware is correct?

        be a part of the solution, rather then problem

        K Offline
        K Offline
        ketan d patel
        wrote on last edited by
        #3

        Yes Hardware Is ok. Even i am run application using real ip address from my pC.it's Work fine But If Some One Access Application From Remote PC.The Port Number disable Permanently. Now if i Restart my Machine All Works Fine Again. So i not think this Hardware Problem they may be security problem but not exact know. Thanks for answer.

        http://webaspdotnet.blogspot.com/

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups