Click here to Skip to main content
15,909,518 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionErroor: The state information is invalid for this page and might be corrupted. Pin
keyur satyadev11-Apr-09 0:08
keyur satyadev11-Apr-09 0:08 
AnswerRe: Erroor: The state information is invalid for this page and might be corrupted. Pin
Yusuf11-Apr-09 17:31
Yusuf11-Apr-09 17:31 
QuestionGridView Sorting with ObjectDataSource Issues Pin
mazen9710-Apr-09 23:49
mazen9710-Apr-09 23:49 
QuestionAbout the masterpage in VS2008 Pin
Ethe1st10-Apr-09 21:34
Ethe1st10-Apr-09 21:34 
AnswerRe: About the masterpage in VS2008 Pin
Ramesh Swaminathan10-Apr-09 22:02
Ramesh Swaminathan10-Apr-09 22:02 
GeneralRe: About the masterpage in VS2008 [modified] Pin
Ethe1st11-Apr-09 3:11
Ethe1st11-Apr-09 3:11 
QuestionCreate Dynamic SiteMap Pin
slSoftware10-Apr-09 20:46
slSoftware10-Apr-09 20:46 
QuestionCom Port Problem , Modem ,Asp.Net ,Real IP Address. Pin
ketan d patel10-Apr-09 20:14
ketan d patel10-Apr-09 20:14 
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 eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)


Custom event details:

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

http://webaspdotnet.blogspot.com/

AnswerRe: Com Port Problem , Modem ,Asp.Net ,Real IP Address. Pin
Zia Ul Haq Soofi11-Apr-09 1:15
Zia Ul Haq Soofi11-Apr-09 1:15 
GeneralRe: Com Port Problem , Modem ,Asp.Net ,Real IP Address. Pin
ketan d patel11-Apr-09 2:27
ketan d patel11-Apr-09 2:27 
QuestionVisual Studio 2008 Professional Office Components Pin
Distind10-Apr-09 10:11
Distind10-Apr-09 10:11 
QuestionPaging without Javascript Pin
Charmy310-Apr-09 7:28
Charmy310-Apr-09 7:28 
QuestionHELP - Forms Auth Cookie persists after closing browser... Pin
Grapes-R-Fun10-Apr-09 5:45
Grapes-R-Fun10-Apr-09 5:45 
QuestionRe: HELP - Forms Auth Cookie persists after closing browser... Pin
led mike10-Apr-09 7:54
led mike10-Apr-09 7:54 
AnswerRe: HELP - Forms Auth Cookie persists after closing browser... Pin
Grapes-R-Fun10-Apr-09 9:55
Grapes-R-Fun10-Apr-09 9:55 
GeneralRe: HELP - Forms Auth Cookie persists after closing browser... Pin
led mike10-Apr-09 10:05
led mike10-Apr-09 10:05 
QuestionHow to Store SWF files to SQL Server 2005 from C# WinForm Application and retrieve it and display in ASP.NET Web Page Pin
AARIFBANGI10-Apr-09 5:08
AARIFBANGI10-Apr-09 5:08 
AnswerRe: How to Store SWF files to SQL Server 2005 from C# WinForm Application and retrieve it and display in ASP.NET Web Page Pin
Colin Angus Mackay10-Apr-09 5:09
Colin Angus Mackay10-Apr-09 5:09 
GeneralRe: How to Store SWF files to SQL Server 2005 from C# WinForm Application and retrieve it and display in ASP.NET Web Page Pin
AARIFBANGI10-Apr-09 5:25
AARIFBANGI10-Apr-09 5:25 
GeneralRe: How to Store SWF files to SQL Server 2005 from C# WinForm Application and retrieve it and display in ASP.NET Web Page Pin
Colin Angus Mackay10-Apr-09 5:30
Colin Angus Mackay10-Apr-09 5:30 
GeneralRe: How to Store SWF files to SQL Server 2005 from C# WinForm Application and retrieve it and display in ASP.NET Web Page Pin
AARIFBANGI10-Apr-09 5:36
AARIFBANGI10-Apr-09 5:36 
GeneralRe: How to Store SWF files to SQL Server 2005 from C# WinForm Application and retrieve it and display in ASP.NET Web Page Pin
Colin Angus Mackay10-Apr-09 5:48
Colin Angus Mackay10-Apr-09 5:48 
QuestionExport a sheet of excel to a table Sql-Server Pin
Sandraa10-Apr-09 4:57
Sandraa10-Apr-09 4:57 
QuestionWhy Dim hpl As HyperLink = CType(acc.FindControl("hpl"), HyperLink) didn't find my control inAccordion? Pin
Saba0210-Apr-09 4:03
Saba0210-Apr-09 4:03 
AnswerRe: Why Dim hpl As HyperLink = CType(acc.FindControl("hpl"), HyperLink) didn't find my control inAccordion? Pin
Zia Ul Haq Soofi10-Apr-09 18:52
Zia Ul Haq Soofi10-Apr-09 18:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.