Connect To News Server
can anyone tell me if it is possible to use asp to connect to a news group, such as this?
View Complete Forum Thread with Replies
Related Forum Messages:
Connect 2 Server?
i have 2 database server........... i have a pages that need to get data from 2 server....... so, i open connection when want to get data..... but this page, i need to get data from 4 table in server1 and 3 table from server2...... table in server1 have relationship with table server2..... so, i always open connection to server1 and get data..then close.....then open connection to server2 and close........
View Replies !
How To Connect Ftp Server From ASP
I want to connect my ftp server using ASP,how can i connect? Is there any method to do this. If any one knows the solution please let me know. I know how to connect database on ftp server,but now i want to connect to ftp server only. If any related solution urls for this problem please let me know.
View Replies !
How Do I Connect To The Server?
I am about to do the first step of this ASP stuff - have created the file.asp and thankyou.asp and want them into the right folder. But I dont understand how to use IIS to connect to the server, I am renting webspace from somewhere else.
View Replies !
Can't Connect To MySQL Server
I recently got an error message from the Java release: j2rel.4.2_05 regarding c:program filesjavaj2rel.4.2_05injpiexp32.dll This message came in a .log file to my desktop, and since then, every once in a while I get this following error while trying access my pages in which I am creating. Code:
View Replies !
The Transport Failed To Connect To The Server
I tried setting up formmail ASP based on Matt's cgi script but only got these errors when submitting this page: http://www.a2zli.com/surveycl56.htm Formmail v1.3 detected the following errors: error no.: -2147220973 description: The transport failed to connect to the server.
View Replies !
Can't Connect To SQL Server 2005 Db With Asp But Access 2k3 Is Ok.
I am about to migrate my asp web pages from a previous well functioning connection with Access 2003 to SQL Server 2005 Express Edition instead. I have created a database in SQL Server called "test_db". As far as I know I have not set any particular user id or password for the database. In this microscopic database I have onnly a single table called "name" and in this table I have two columns called "fname" and "lname". I have two records stored in the name table. What I want to achieve is simply to display these two records in my asp-page. How can I achieve this and what am I missing here?
View Replies !
Cannot Connect To SQL Server From Application Running On IIS
My website connects to a remote sql server. Application works fine when I run from Visual Studio. But when I run the site from IIS, it shows an error. An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
View Replies !
Connect To A Database On A Remote Server
I have my access database on a xp workstation setup as a web server using IIS. I am trying to access the mdb from another web server, but when I run my code below I keep getting : Microsoft ADO/RDS error '800a20ff' Internet Server Error. Code:
View Replies !
How Do I Connect To SQL Server 2005 From Within My Asp Webpage?
I have had a web server up an running for a while based on Access 2003 and asp code. Now I have decided to upgrade the database to SQL Server 2005 (not the express edition). The problem is that I just can't get it to work properly. During the installation I was prompted for an instance name (I chose the default radio button). I am using windows authentication on a Windows 2003 Server OS. I have created a database called "testDB". This database has only 1 table called "testtable" and this table consists of a single column called "name" with just 4 records. I want to display these records in my webpage. The code below works fine with Access 2003 but how should it be changed to work with SQL 2005 too? Code:
View Replies !
Error: The Transport Failed To Connect To The Server
I'm using this coding but get some error. i can't understand this line .Item(sch & "smtpserver") = "<enter_mail.server_here>" mail server means which server im used help me error:Error Type: CDO.Message.1 (0x80040213) The transport failed to connect to the server. <% sch = "http://schemas.microsoft.com/cdo/configuration/" Set cdoConfig = CreateObject("CDO.Configuration") With cdoConfig.Fields .Item(sch & "sendusing") = 2 ' cdoSendUsingPort .Item(sch & "smtpserver") = "<enter_mail.server_here>" .update End With Set cdoMessage = CreateObject("CDO.Message") With cdoMessage Set .Configuration = cdoConfig .From = "basvbas@yahoo.com" .To = "basvbas22@yahoo.com" .Subject = "Sample CDO Message" .TextBody = "This is a test for CDO.message" .Send End With Set cdoMessage = Nothing Set cdoConfig = Nothing %>
View Replies !
Error: The Transport Failed To Connect To The Server.
I have a form in my website and keep getting this error I was wondering if anyone could help out with this error message I keep getting <!--#include file="email_validation.asp"--> <% Dim strMailFrom Dim strMailTo Dim strMailServer Dim strMailSubject ' ------------------------------------------------------- ' Stuff you need to change ' ------------------------------------------------------- ..........
View Replies !
Can Connect To A Database On A Remote Server But With An Error
I eventually managed to create a connection between my IIS LocalHost ASP WebPages and my database located on a website on the net. Here is the solution: Dim conn, connect set conn=server.CreateObject ("adodb.connection") connect = "Provider=MS Remote; Remote Server=http://www.example.com; Remote Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" & server.mappath("database_filedatabase.mdb") & ";" conn.Open connect When I point my connection to my database on the net like in the code above I get the following error: Error Type: Microsoft ADO/RDS (0x800A2011) Internet Server Error: Object/module not found. Any Suggestions?
View Replies !
Unable To Connect To Live Communication Server Through My Own UI
I am facing a problem that i am unable to connect to Live Communication Server using my own UI. Actually i want to access the API's in LCS through my own UI(which is a messenger UI),which i am using to implement chatting messenger in my project. The main reson is that i dont know the code to connect to this LCS and what namespace shld i use so that i can access all the functionality of my LCS 2005. The coding is to be done in c#. I could have used the MS OFFICE Communicator direcltly but i have to use my oen UI and thus i need to connect to this LCS...
View Replies !
Connect To A Remote Server To Grab Data
I am wondering if it is possible to have an asp script, called script1.asp sitting on a server called server1. when this asp script runs, i want it to connect too a different server (called server2) somewhere else in the world and grab data, maybe an xml file. Is this possible? and if so what is the process called (and/or function names etc) that can help me do this, so i can look them up in google and get cracking on the code.
View Replies !
RSS News Feeds And XML
I have written a RSS News Fees application for my site, by I want to limit the number of news items to only 5 instead of the 10 that Reuters sends. Here is the main code:
View Replies !
Asp News Archive
As the client uploads the December news story, it replaces the November story and adds November to a dropdown menu on the news page.For example, all archived months stories can be accessed from the dropdown menu and the current month is visible on the page. Hope this makes sense! Can anyone help, or point me in the way of some script I can download?
View Replies !
News Lettor
I put together a simple link for people who want to submit their email address to receive a newsletter. People are directed to the correct page but when they try to submit their address, the following error comes up: Microsoft OLE DB Provider for ODBC Driverserror '80004005' [Microsoft][ODBC Driver Manager] Data source name too long /emailnewsletter.asp, line 76 Line 76 in /emailnewsletter.asp says: MM_editCmd.ActiveConnection = MM_editConnection; Here is the whole text for emailnewsletter.asp: Code:
View Replies !
Automate News
Everyday of my life the last year has started by searching through a lot websites in order to find the latest news, and then making a link to that news from my webpage. What I have always dreamt about is some kind of automation. Is it possible to make a script in ASP that searches through a website and gathers info on title, URL and such, and then automatically inserting it into my website (via for instance a SQL database)?
View Replies !
XML For News Feeds
I have made an ASP page that dynamically creates an XML page from articles stored in an Access Database. It works great and i was well pleased with myself.I was then sitting back admiring my own work when i suddenly thought.The page ends in .asp and not .xml.So i downloaded some free feed readers and news readers and they all found the feed with no problem and i thought i was going to be alright then it clicked - What if the "person" who wants to add my feed to their own site for example, has their site written in PHP? I wrote a little PHP script that dynamically inserts feeds and sure enough, it will not accept a feed URL ending in .asp. It's (of course) fine if it ends in .xml So, (sorry for going on) Im wondering on your thoughts about this and what you would do? How LESS efective do you think an XML feed ending in .asp is?
View Replies !
News Archive
i want to add this portion to my site.i want to display category of news depending on date.i want to display such news one month back from current date.
View Replies !
ASP News Script
My site is currently 90% asp, which has created a huge problem when tryign to find a free news/journal script to put on my site. Do you know any good free news scripts that allow you to do the normal stuff: post news, admin login, upload pics, user comments (optional), keep an archive of all the old stuff past X posts, ect? I could in theory, write my own script but I do not have that kinda time on my hands either.
View Replies !
Rss News Feeds
I'm trying to make an ASP page with VS .NET 03 using VB as the language and I want the page to display an Rss News Feed as page content form another RSS News Feed on a web page served by another one of my IIS srevers, I don't know how to do this it sounds simple enuf but were do I start is it a simple one line of code deal or it it complex to do I havent really played around with Rss news Feeds much give me some feed back .
View Replies !
News Reader
How can I get my reader (outlook express) to purge out the threads that are "Message is no longer available on the server" Is there a way?
View Replies !
News Items
This is my scenario. On the left of the screen, I have a list of news items, which are updated by the user and inserted into a database, and then they are dynamically displayed on screen from the database. Now what I want is that if a user clicks a hyperlink from the left of the screen on a news item, the relevant text is displayed on the right. What I did up till now was that if I point on a news Item to the left of the screen, I know which item in the recordset it is since I created a counter.
View Replies !
News Scrollbar
I would like to add a horizontal news scrollbar added to my page that is fed by an ACCESS db. Does anyone have a link of where I can find a script for something like this?
View Replies !
Develop A News Bulletin
I have to develop a news bulletin system for my website. Plz can someone help with suitable links or examples to develop this. Im using asp with vbscript and sqlserver backend.
View Replies !
Creating News Archive
i have a created a CMS in which newstitle, the newsdetails and date(automatically inserted using the date() function) that it is added is inserted into an access db. Now what i want to do is to create a news archive list which groups the news item added by month, so let's for the month of july all news are grouped into a heading call july(2007).
View Replies !
Sending A News Article
I am using asp to create a form where you can send the news article to a friend, and it actually sends the entire article. The problems the article contains <br>,<b>,<i> tags, and when I send the email it shows up like this Quote: in the Holy Land: The Ideal and the Real. </b><br> <br><br><br> The lecture is co-sponsored by the Center for Middle Eastern Studies at North Park University, I discovered the replace function. Replace(body, "<br>", chr(09)). That got rid of all the <br> tags, but there are still <b>, <i> tags in there. Is there a way to do a multiple replace like Replace(body, "<br>",chr(09) & "<b>", Chr(09))? I tried it and it did not work. Is there a way to do that?
View Replies !
Hide A News Item
I have added a new field in my database for the news items, basically a boolean value (true or false) for the display or hide of a news article. I have simple added to my queries WHERE newsDisplay, and that does the job except now I have one query qhich is actually causing me a small problem, due to the query already having a where clause. like below: dbSelectQuery("SELECT * FROM tblNews WHERE newsID ORDER BY newsDate DESC") So that leaves me a little puzzled as to going about this query which should solve the small issue, I was even thinking is there a way I can use an if operator. Something along the lines of if newsDisplay = true or checked then do something else. Someone must know. I just dont think you can actually use an if statement on a sql query? Any tips would be perfect . PS - The new field I have added is newsDisplay as a yes/no in an access database.
View Replies !
News Include File
I'm trying to include file if ?news=news by this code but is not working. Code: <% news_page = request.queryString("news") if news_page <> "" then include file="test.asp" end if %>
View Replies !
News System Without Database
I have a news page on a web site that now needs to be seperated in to a number of 'views' (eg. so that each user sees a different set of articles). I would like to stay away from using 20 include files! I know how to do this with php but this time I don't have the luxury of being in an environment I'm familiar with. I also need to do this without a database, and in the most economical way possible.
View Replies !
Create Blog/news Archive In Asp
I have being trying a create a dynamic news section on my web site for a while now and I cant get it to work. I would link the home page to display the four newest news items and then a link to a news archive on a seperate page. The news archive will have links ordered by YEAR then MONTH, similar to the following page: Code:
View Replies !
Can Not Connect To SQL
I am getting: Error Type: Microsoft VBScript runtime (0x800A01A8) Object required: '' /theborg/includes/dbconnect.asp, line 4 I can't figure it out. It worked fine while testing in access. Though there is no data in the SQL database yet. But when I try to populate the data I get the same result dbconnect.asp: Code: <% Dim objConn objConn = Server.CreateObject("ADODB.CONNECTION") objConn.Open "DSN=Assimalation" %> Homepage.asp Code:
View Replies !
ASP Connect Via DSN
i have file and database on remote server, and i want to connect via DSN. i make DSN over there. and when call that dsn in code. it gives null user error. if i pass user id and password with dsn it connect other wise error occurs if i have a DSN then why i should pass it again. how can i solve it.
View Replies !
ASP Connect To SQL
I got read a lot of attachment about how to connect ASP to SQL server but i still got problem about it. either i use which ways(there are 2 ways connect it)... it always has this error. Login failed for user 'sa'. Reason: Not associated with a trusted SQL Server connection. May I know what is it mean? how to solve it
View Replies !
Connect To A Db
I have uploaded a *.mdb to a remote server. ive setup a dns there for the mdb, ive done a test on the mdb on the remote server- all is ok. But when i try to connect to the dns/mdb via the dreamweaver interface, i get this error message: http://www.britanniacabinets.com/error.gif
View Replies !
Connect To An Web App
I have an existing web app on a remote server that I want to manage as a web project on my local box with Visual InterDev. But when I create a new project in VID and connect to the web server, I cannot connect to the existing web app. At the "Specify your web" dialog box I choose "connect to existing web on server" but the only option that shows up is <root web>. I cannot overwrite this option with the name of the web I want to connect to I can see this web application in the IIS Manager on the remote server and it is configured as a web application. It accessible in a browser. Why won't it show up in Visual InterDEV?
View Replies !
Connect To Oracle From ASP
My asp application is connect to oracle database. However, when i try to open the default page, an error occurs and i receive this message: - Error Type: Microsoft VBScript runtime (0x800A01B6) Object doesn't support this property or method: 'MoveFirst' The code that is causing this error is following: Code: <% Dim objConn Dim rsForums Set objConn = Server.CreateObject("ADODB.Connection") objConn.Open "dsn=ORCL9; uid=toy; pwd=yes;" Set rsForums = Server.CreateObject("ADODB.Recordset") rsForums = objConn.Execute ("SELECT * FROM Forums ORDER BY Forum ASC") rsForums.MoveFirst %> <table width="100%" align="center" cellspacing="0" cellpadding="6" border="1"> <tr> <td width="60%"> <p><b>Forums</b> </tr> <% While Not rsForums.EOF %> <tr> <td><a href="forum.asp?ForumID=<%= rsForums("ForumID") %>"><B><%= rsForums("Forum") %></B></a> <BR> <BLOCKQUOTE> <%= rsForums ("Description")%><BR> <SMALL>[Total Posts: <%= rsForums("Posts") %>] [Last Post on <%= rsForums("LastPost") %>]</SMALL> </BLOCKQUOTE> </tr> <% rsForums.MoveNext Wend rsForums.Close The forums table in the oracle database has 2 lines of records, and it should not occur this error. Do you have any idea what is happenning?
View Replies !
Connect String
I'm trying to create a connect string, but I might have a unique situtation. When connecting to Query Analyzer, I connect using RUNAS specifying domain and username. Is it possible to create a connect string given the above requirements? Here's what I'm trying to use: <% Set demoConn = Server.CreateObject("ADODB.Connection") demoPath="DRIVER={SQL Server};" & _ "SERVER=myserver;UID=username;" & _ "PWD=pw;DATABASE=qdb" demoConn.open demoPath %>
View Replies !
I Am Trying To Connect With Database
I am trying to connect to my access DB. I am developing my site in Dreanweaver and I have the site hosted already. I want to use the hosts server as my testing server. When I create a connection string to the DB I have to use the servers directories. ex: e:/hshome/site/something.mdb When I try to add a server behavior to a form it can't find the DB. What am I doing wrong ?
View Replies !
Connect Website
I am running a website on anintranet on one domain and trying to connect to a SQL database that is in another domain. The server that is running the website does not have SQL Server installed on it. I've looked at many different variations to set this up but none have been successful so far.
View Replies !
Asp Connect To Database
I have an access database that I need to put online for basic viewing. However, the database is also used by other people for updating and report printing. The web server and the access database are on two seperate servers. I cannot connect directly to the database cause if somebody has it open, the website will not work and for some reason I cannot connect to to database across servers. I tried a linked database, but asp will not recognise it. I know that I could put all the reports and stuff online, but I have till next week and I do not think that I can do it in this short a time. Any ideas will be helpful and if there is code that I need to manipulate I could try to do it. And also I do not have rights to configure the IIS option on the servers.
View Replies !
Connect To Database
I'm having a hard time figuring out what type of database is used and where the file is located and how the script is even acessing it. From what I've done in the past with ASP a file was always used that had a DSN, username, and password.how this code is access the database without a username/password/DSN? I've tried using the login info in the line that is commented out (line 2) but it wouldn't let me in so I guess this isn't being used. Code: Set objDbConn = Server.CreateObject("ADODB.Connection") 'objDbConn.Open "driver={SQL Server};server=db1.host.com;database=databasename;uid=login;pwd=password;" objDbConn.Open application.contents("strconn") Set rsQuery = Server.CreateObject("ADODB.Recordset") rsQuery.ActiveConnection = objDbConn rsQuery.open "sp_MajorList" Set rsetQuery = Server.CreateObject("ADODB.Recordset") rsetQuery.ActiveConnection = objDbConn
View Replies !
PWS Keeps Trying To Connect To Internet
I have just installed PWS on my Win98 SE machine. Even though i change my internet connections to "Never dial a connection" it still tries to connect when i try to view my asp pages. Presumably there is some simple option i need to change which will allow me to run my scripts without connecting to the internet.
View Replies !
|