Can't Send SMS Directly As Web Server - Doesn't Allow To Browsing Other Sites

Feb 13, 2011

Session("CellNo") = New List(Of String)() From { _
"CellNo1", _
"CellNo2" _
}
Session("SMSMess") = New List(Of String)() From { _
"Messagetext1", _
"Messagetext2" _
}
' Popup window.
' Generate many iframes to send SMS.
Dim CellNo As List(Of String) = DirectCast(Session("CellNo"), List(Of String))
Dim SMSMess As List(Of String) = DirectCast(Session("SMSMess"), List(Of String))
For i As Integer = 0 To CellNo.Count - 1
Dim url As String = [URL]
?usr=USERID&pwd=PASSHERE&sndr=SENDERID&ph=" & CellNo(i).Trim() & "&text=" & SMSMess(i).Trim() & "&rpt=1"
Response.Write("<iframe frameborder=""0"" height=""1px"" width=""1px"" src=""" & url & """ />") Next

I'm using above Code to send SMS. For some reason I can't send SMS Directly as my web server doesn't allow to browsing other sites. But above code sending only 1 SMS.

View 3 Replies


Similar Messages:

Forms Data Controls :: Directly Send PDF Mail From Microsoft Report Or Automatically Save PDF On Server?

Feb 22, 2010

it's possible to directly send a PDF mail from microsoft report, or automatically save PDF report on server.

View 1 Replies

Web Forms :: Email Doesn't Send On New Server

Jul 16, 2010

I have been using a C# asp.net email form for a while on an old server (administered by a friend who has moved away) and now I have my own server. The problem is the form appears to send but the message never turns up in the mail box. Because the form used to work, I suspect its my server settings. The code behind for the form is:

[Code]....

I have set the web site up as ASP.NET and the pages load ok etc. So I go to the form, fill it out and it is processed and I get the confirm message. What do I need to check at the server end? Sorry if its a dumb question I am quite new to the finer points of server management

View 6 Replies

How To Send A Request Directly To .DLL

Feb 9, 2011

I want to know how can we send direct request to .DLL with some parameters. I really don't want to use .ASPX and .ASHX. I hope this .DLL request is used for more secure site.

For example: IRCTC (India Railway site):

[URL]

how we can send or execute page from .DLL in ASP.NET.

View 2 Replies

Disabling Button With JQuery Doesn't Send State Back To Server?

Dec 2, 2010

Before I go the route of using hidden fields or something similar, is there any way to send back to the server changes to the disabled state of an ASP.net Button control? I have a Button that is initially enabled and I disable it via jQuery on the client. Works great. The only problem is when I do a PostBack the server still thinks the Button is enabled and sends back a response that changes it back to enabled. Why doesn't the ViewState send back the current disabled status of the Button? Is there a way to force it to postback the changes? Other ASP.net controls, like the CheckBox, do send back the state changes to the server. Seems odd to me.

View 3 Replies

Send Email Doesn't Work "The Server Response Was: 5.7.1 EMAILADDRESS: Relay Access Denied"

Mar 5, 2010

I am trying to send an email but it's not working, i get the following error:- Transaction failed. The server response was: 5.7.1 EMAILADDRESS: Relay access denied See where it gives EMAILADDRESS is the actual email address i want it to be sent to. The web url is below:- [URL] If you look at the bottom right "Parents get in touch" section. Try filling in the form and submitting it. You will get an error. Now just so you know the website is currently running on a test domain on DiscountASP and i was thinking maybe when the website is live the email will start working? ....

View 4 Replies

Security :: Browsing Server Share Folder Using Unc?

Jun 16, 2010

I've developed a file browser that will browser a different server shared folder. In order to get this working I'm using the unc path (\ServerSharedFolder) to return the files/folders. I've also added the following to my webconfig to get around the security <identity impersonate="true" userName="domainadmin"
password="password" />

It's simply a file browser, no create or delete functions will occur. The solution works and what I want to know is that this the safest way to do this? or the best way? I did try to use a virtual directory instead of unc path but asp.net would support this.

View 1 Replies

Unable To Open Certain Sites From Internet Explorer 7.it Is Showing All Sites As Restricted?

Aug 17, 2010

i m not able to open certain sites from internet explorer 7.it is showing all sites as restricted .

View 12 Replies

How To Develop Web Parts That Can Be Used In Our ASP.NET Sites And Our SharePoint Sites

Jul 16, 2010

I am interested in developing Web Parts that can be used in our ASP.NET sites
and our SharePoint sites. An example Web Part I have in mind is a Post Code (Zip Code) look up.- Visual Studio 2010 Premium- SharePoint Designer 2007- Windows 2003 Server (therefore WSS 3.0)- No SharePoint Server

View 2 Replies

ADO.NET :: EF 4.0 Not Displaying Changes Made Directly From SQL Server

Oct 23, 2010

I have an aspx application using Entity Framework 4.0 and SQL Server 2008. Everything works fine. It's an internal application, so we developed a basic backend for routine maintenance. Some minor data updates are done directly into the SQL Server using SQL Management Studio... the problem is those changes are not reflected in the application! Only after reseting the web service or the server, the new data is displayed.

View 3 Replies

C# - Share Session Between Two Web Sites Using .net And State Server?

Aug 9, 2010

I have two exactly the same web sites hosted in two different machines under IIS 7.5.
ASP.NET state service is running on my machine and the web.config is updated in both sites with the following code:

<sessionState mode="StateServer" stateConnectionString="tcpip=192.168.1.77:42424" cookieless="false" timeout="120"/>

The allow remote connection is set to 1 in registry in order for the second web site to access the state server.Both web sites have the same machine key:

<machineKey validationKey="7CB8DF6872FB6B35DECD3A8F55582350FEE1FAB9BE6B930216056C1B5BA69A4C5777B3125A42C4AECB4419D43EC12F168FD1BB887469798093C3CAA2427B2B89"[code]....

Additionally both sites are configured in IIS to have the same Identifier.What I want to do is that both these sites share the same session data for example being able to do the following:

// At web site 1:
Session["key"] = "value"[code]....

The problem is that I can't manage to accomplish this test and really can't understand what I am doing wrong.

View 2 Replies

Access Sql Server Without Directly Permission In Domain?

Apr 15, 2010

Here is the situation. All the machines and users are in the same domain.We are in a domain enviroment. There are some sql server 2005/2008 storing data. There is a ASP.NET site in the domain using the Window Authentication. Now, we need read the data from the sql server and display them using SqlDataSource and GridView. But most of users do not have the direct permission to access the database. Is there any solution to get the data from database and display them on the site without granting users permission?

View 2 Replies

Can Edit An Office Document Directly From SQL Server

Aug 6, 2010

I would like to build a Shared Documents Library in ASP .Net and SQL Server but I have a problem, the customer wants to open the documents (stored in SQL Server) in Office UI and when save it, the document should be saved directly in database like SharePoint Server.

I've been researched on web since last week and I didn't found any answer or specific technology to do this.

View 3 Replies

MVC :: Creating A Few Web Sites With SQL Server 2008 And Hosting Them In IIS7?

Jan 25, 2010

I have been creating a few MVC web sites with SQL Server 2008 and hosting them in IIS7.

However, at the moment I need to host one of the web sites with IIS6.

Will I have any problem?

The client requested to use their current hosting service which is IIS6 so I have no idea if some problem will come up.

View 1 Replies

Custom Server Controls :: 'sites On All The Servers Seem To Be Affected?

Nov 3, 2010

I'm hosting a few .net sites, some collapse with this error on an almost daily basis. I've moved the sites between servers, but sites on all the servers seem to be affected, so it is not just a bad install.This problem is acknowledged by MS and they have a fix here:http://support.microsoft.com/kb/975410But they don't provide the fix they talk about.Does anyone have any way to resolve this that does not need Microsoft (since Microsoft clearly aren't bothered to fix it)?

View 1 Replies

Copying/transferring Files Directly From Client To Ftp Server?

Mar 5, 2010

is there any way to copy/transfer files directly from client to ftp server through my web application? user will select files through fileupload control.

copying via webserver takes too much time.

there may be several files of 0 kb to 10 mb.

View 3 Replies

SQL Server :: Delete Entry Directly In Any Aspnet_* Table?

Jul 29, 2010

if It is okay to delete entry directly in any aspnet_* table ? because i screwed something.

View 3 Replies

Web Forms :: Application Doesn't Send E-mail Messages?

Jan 25, 2011

I have this text in a file that is supposed to transmit to new registrants on my site after they successfully complete the CreateUserWizard:

Dear '<% UserName %>',

Thank you for registering with our site!

Here are your user ID and password for accessing the site:

User ID: <% UserName %>
Password: <% Password %>

I have this text in the CreateUserWizard...

[Code]....

View 1 Replies

DataSource Controls :: Saving A File From FileUpload Directly To SQL Server

Jun 7, 2010

I have a table with a varbinary(MAX) column. I want to use the FileUpload control to save the file directly there by a stored procedure. How do you do it without using SaveAs to create a temporary file first?

View 9 Replies

Configuration :: View .aspx Pages Directly On The Server (localhost)?

Apr 22, 2010

I have hosted my project in the remote server. i pasted all the dlls & all the necessary files into inetpub->wwwroot ->httpdocs->(pasted all files). In the server we have .net framework 3.5 and IIS 6.0

Now I just want to check whether my files are running locally on the server. So I did the following. Just opened the IIS, made the httpdocs folder as a virtual directory. And then I clicked the httpdocs.It displayed all the files it has in the right side pane. Then I right clicked the default.aspx and then I clicked browse. Now the browser opened with the URL http://localhost/httpdocs/default.aspx. But I could not able to see the aspx page.It just shows "The page is not found"

But when I tried the same steps for opening a .html page it works fine (http://localhost/httpdocs/test.html) I can able to view the html pages.

Whether I need to configure anything on the IIS.... What should I do to view the .aspx files

View 3 Replies

IIS Configuration :: How To Protect Files And Folders On Server So That No One Can Access Directly

Mar 14, 2014

In my application i uploaded PDF files and it is stored in particular path in application folder.

but the requirement is that files should not be delete or modify by any user like user privileges in windows.How to do this in asp.net ?

View 1 Replies

Mobiles :: Connecting To Localhost And Also Directly To SQL Server 2005 From A Mobile Device

Jan 23, 2010

Is it possible to connect to SQL Server 2005 ( not SQL Server 2005 CE) from a mobile device?

View 6 Replies

C# - Save The Generated Pdf Directly To The Server Directory Folder Without User Prompt?

Nov 23, 2010

A friend of mine gave me this task so I can learn advance programming a little bit easier. I am currently doing convertion of an html page to pdf using itext sharp and email the pdf as an attachement. My idea is to save the pdf first to the server machine in the folder name ToBeEmailedPDF folder before using it as an email attachment. The thing that bothers me is that this dialog as what you can see in the picture shows up using the code that I have below.

[code]....

View 2 Replies

SQL Server :: Displaying Data/work In Code Or Directly Return The Required Data

Dec 21, 2010

I am using VB.NET & SQL Server. My sproc returns something like this which I need to display on my web page as below:

sproc returns:

ClientNumber ClientName Product
------------------------------------------
100SON Sony TV
100SON Sony DVD Player
100SON Sony Cell Phone
200KEN Kenmoore Microwave
200KEN Kenmoore Dryer

Now based on these data, I need to display some information like below on label in the web page:

100SON - Sony - TV, DVD Player, Cell Phone
200KEN - Kenmoore - Microwave, Dryer

I need you advice on this.What would be the best way to do this?

(1) I can work further on this data in code to generate the required data or

(2) I can work further in the sproc itself to directly return the required data

View 4 Replies

SQL Server :: ConnectionOpen (Connect()).SQL Server Doesn't Exist Or Access Denied

Oct 22, 2010

I get the follwowing exception while running my ASP.NET 1.1 web application. The Web application will call a web service which connects to to the DB server and returns the data to the application. This error occurs when we move the webservices and databases to new servers. I am able to connect to the DB server from web servers through SQL port.

System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Data.SqlClient.SqlException: [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied. at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior
cmdBehavior, RunBehavior runBehavior, Boolean returnStream) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SqlClient.SqlCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior) at System.Data.Common.DbDataAdapter.FillFromCommand(Object
data, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable)

Why does this error occur and how to solve this?

View 9 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved