TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Sayed Hassan
NA
23
18k
Unable to access port at sending sms
Nov 24 2013 3:29 AM
Hi, I used GSM Communication and PDU Converter dll file to send sms in my asp.net website. Everything is fine in my localhost. I can easily send sms PC to Mobile in my localhost.
But there is a problem. I couldn't send sms form my website(hosted at hostgator.com). When I want to send sms, it shows error:
" GsmComm.GsmCommunication.CommException: Unable to open port COM2:
System.Security.Permissions.SecurityPermission ---> System.Security.SecurityException: System.Security.Permissions.SecurityPermission at GsmComm.GsmCommunication.SerialPortFixer..ctor(String portName) at GsmComm.GsmCommunication.SerialPortFixer.Execute(String portName) at GsmComm.GsmCommunication.GsmPhone.OpenPort(String portName, Int32 baudRate, Int32 timeout) at GsmComm.GsmCommunication.GsmPhone.Open() --- End of inner exception stack trace --- at GsmComm.GsmCommunication.GsmPhone.Open() at GsmComm.GsmCommunication.GsmCommMain.Open() at BRUR.examiner.smsExaminer.testSendingSms()"
May be there is need permission to access port. But how can I do this? Please help me immediate. I need to submit my website today at my university.
Reply
Answers (
0
)
create table dynamically using asp.net C#
validation for phone number in javascript