Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    ASP


SuperbHosting.net have generously sponsored dedicated servers to ensure a reliable and scalable dedicated hosting solution for BigResource.com.





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 Complete Forum Thread with Replies

Related Forum Messages:
How To Restrict Running Multiple Copies Of A Web Application?
I have developed an ASP web application. If I sell this out to my client, how can I make sure that he doesn't run multiple copies of it. That is when I sell the web application my client should be restricted from running more than one copy.

View Replies !
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 !
Connect With Sql Server
how to connect asp with sql server, i dont know any steps,because i am newbie to this envoronment,so kindly tel each ang every step.

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 !
Connect To A MSsql Server
how do i connect to the server using asp?

View Replies !
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 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 !
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 !
Errors While Connecting To Sql Server With DSN Connect
The aim is to get it working on this machine so I can port everything to a Enterprise Version but can't get around this error for the last two days. Code:

View Replies !
Web Server Not Running
I have just moved a project to my laptop and get the message "Visual Studio..NET has detected that the specified Web server is not running ASP.NET v1.1.You will be unable to run ASP.NET Web applications or services"

Presumably there is a d/l on MSDN to rectify this, but I can't find it. Does anyone know the URL?

View Replies !
Running At Server
Does ASP automatically run at the server or is it like .net and you have to tell it too.

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 !
Bypass ODBC Server And Connect To .MDB Directly
Theres a script that bypasses ODBC and connects directly to .mdb database for asp scripts , is anyone familiar with this? I dont even know if its a .asp script.

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 !
Free Server For Running ASP
I am using Windows 2000 and I need free server for running ASP. COuld some one pls tell where(link) can I get free server? Or is there nay free server at all for windows 2000??

View Replies !
How To Tell What Type Of Server A Site Is Running On
How can I determine if a website is running on a Unix or Windows server? All
I have is the url.

View Replies !
Running A Server Side Process From IIS
i have a VB desktop app, that utilizes T SQL to communicate with my backend db.

It sends encrypted data which calls a web page that parses the file and inserts into a table.

I would like to add additional functionality e.g

For my server to be able to do a post the received contents, stored in the database to my sms provider.

I already have implemented a web page script that uses XML to post, web pages, but would like to implement another process for the desktop apps Could this be achieved and how ?

View Replies !
ASP Not Running - Sharepoint/Server 2003
Our inter/intranet server has just been upgraded to Windows Serve
2003, IIS6, running Sharepoint.

I cannot now run even a "Hello World" ASP (not aspx/.net) script
although static html displays fine.

We have enabled ASP in IIS/Web Service Extensions but still nothing.
There is no error msg, scripts just do not run. Are there furthe
switches in Sharepoint or IIS that I need to know about ??

View Replies !
CDONTS.NewMail.1 Error '80020009' Unable To Connect To Server
I get the follow error on a linux box that is running sun asp:

CDONTS.NewMail.1 error '80020009' unable to connect to server

The error occurs when the Send Command is Executed. Here is my code:

View Replies !
Problems Running ASP Pages After Server Rebuild
Have MS 2003 server with IIS 6.0 installed. ASP.net is also installed.

Had to re-install the server after initial configuration by someone who left
the company and now I cannot get the ASP pages to load.

The files all existed in a NON-INETPUB folder and accessed a SQL database to
pull information.

I get a 500 error when trying to access http://localhost.

I set the home directory to the default web site to point to my folder
contain my default.asp page, but it does not work. Code:

View Replies !
Running Bat (batch) Files On Windows Server 2003 With Asp
im trying to run a bat file on windows server 2003 and am running into nothing but problems.

i have IIS on my XP workstation that accesses the 2003 server. what im about to explain below works properly on the XP IIs.

i have two files: somefile.asp and somefile.bat. the asp file creates a wscript.shell and then tries to execute the run method for somefile.bat.

however, it isnt working. after an unexaggerated 7 hours of searching google/etc, i have found nothing but frustration and deep, seething anger regarding this problem. Code:

View Replies !
Running A Server Side Script And Getting Failed To Initialize
I am attempting to have an asp page call a batch file. I had it working, I was high on life and then I decided to log off the server. Once I did, the code would no longer work. When I logged back onto the server, I saw:

'The application failed to initialize properly (0xc0000142). Click on OK to terminate the application.'

Now before I get the usual questions, here is what I have/did: These servers are 'secure' so I'm not so concerned about security. I have the anonymous access account in IIS (server 2003, so IIS6) using a local admin account. I have granted full permission to every user account (IUSR, IWAM, ASPNET, Network Service etc. etc.) to all the
files in the website's dir. I have granted full rights to cmd.exe, wscript.exe.

Now, after stopping/starting IIS about 7000 times and offering up many a prayer to the IIS/ASP gods (who obviously hate me), my ASP code starts to work again. HOWEVER, as soon as I log off, Poof! The script stops working and I need to go through the whole dance routine (which isn't consistent) until the script starts working again. Code:

View Replies !
Creating ASP Website On Server Running Sharepoint Services
I am having trouble creating a web site on a server running sharepoint services.
I am creating an ASP.Net website using Visual Studio 2005. The server I am trying to create it on is a Windows 2003 server.

From what I understand I need to exclude in sharepoint services the folder where the application will be deployed. I have done this in the Define Managed Paths section of the Sharepoint management site, but it has no effect. Even after I have done this and then attempt to create the ASP.Net website in Visual Studio I get the error message.

"Visual Web Developer does not support opening Sharepoint web sites. See help for more details".

Hence despite excluding the folder, the website still attempts to deploy into Sharepoint Services instead of the IIS. This is backed up by the fact that I can then see the website listed in "Sites and Workspaces" in Sharepoint.

View Replies !
Visual Studio .NET Has Detected That The Specified Web Server Is Not Running ASP.NET Version 1.1. You Will Be Unable To Run ASP.NET Web Applications Or Services.
i've installed vs.NET 2003 on my pc which is runing window 2000 pro with sp4, but when i'm trying to create new ASP.NET Web appication i got this messages "Visual Studio .NET has detected that the specified Web server is not running ASP.NET version 1.1. You will be unable to run ASP.NET Web applications or services."

View Replies !
Server Application Error
when i start my default.asp i receive this:

`The server has encountered an error while loading an application during the processing of your request. Please refer to the event log for more detail information. Please contact the server administrator for assistance.`

View Replies !
Server Application Error
When I browse to HTTP://localhost/defacult.asp, it shows
the message:

Server Application Error
The server has encountered an error while loading an
application during the processing of your request. Please
refer to the event log for more detail information. Please
contact the server administrator for assistance.

View Replies !
Server Application Error
I currently enccountered the error given above and I have checked the net abt the possible cause of this. I read about setting the write permission to "Everyone". You see, I was trying to insert a record in an Access table. And before I got the "Server Application Error", I received the "please use an updateable query.." or something to that effect.

Could someone please give me a clearer explanation on this? coz I cannot even see the Security tab being mentioned. I am using Win2k Pro as my webserver.

View Replies !
Server Application Error
my web server(XP+IIS5.1) can't run any ASP page, even if a blank ASP document.
When I try to open the document the browser displays the error message below:
Server Application Error
The server has encountered an error while loading an application during the processing of your request.
Please refer to the event log for more detail information. Please contact the server administrator for assistance.

View Replies !
Server Application Unavailable
I'm getting these errors:

IN VS.NET:
The web server reported the following error when attempting to create or
open the web project located at the following URL:
'http://localhost/webapplication1. 'HTTP/1.1 500 Internal Server Error'.

IN BROWSER:
Server Application Unavailable
The web application you are attempting to access on this web server is
currently unavailable. Please hit the "Refresh" button in your web browser
to retry your request.

Administrator Note: An error message detailing the cause of this specific
request failure can be found in the application event log of the web server.
Please review this log entry to discover what caused this error to occur.

I had service pack 2 installed. Tech guy uninstalled it (said it conflicted
with Novell) and then I reinstalled Framework 1.1 now I get these errors. I
set show friendly HTTP messages in the browser unchecked to show error
messages. Also got show error messages in IIS.

View Replies !
Server Application Error
fter Installing IIS on a WinXP Pro machine, I have copied one of my web
site files to test it on that machine.

I have created a virtual directory, and when I try to access the site on
http://localhost/website. When I try to load any ASP page, I get the
following error:

"Server Application Error

The server has encountered an error while loading an application during the
processing of your request. Please refer to the event log for more detail
information. Please contact the server administrator for assistance."

Checking the event log I have an error and a warning: Code:

View Replies !
Server Application Error
I have to manage a windows server with 20 domains. Some have .asp-pages, some not. I dont have programmed this pages. The server was new installed (on puretec), the scripts and some other stuff to.Now, the server is running, but sometimes on all asp-pages there, become an error:

Server Application Error
The server has reached the maximum recovery limit for the application
during the processing of your request. Please contact the server
administrator for assistance.

What does it mean? What can I do to find the error? I have search on some newsgroups und have found out, that one asp-Skript take to many ressources and "shoot out" the service. But I don't know what script in which domain?

View Replies !
Server Application Error
i need to make an asp page work and what it tells me is "Server application error The server has encountered an error while loading an application during the processing of your request. Please refer to the event log for more detail information. Please contact the server administrator for assistance."

View Replies !
Server Application Error
I use to always be able to view my local ASP pages at http://localhost, but a few days ago, it started giving me the following notice:
===================
Server Application Error
The server has encountered an error while loading an application during the processing of your request. Please refer to the event log for more detail information. Please contact the server administrator for assistance

==================================================

I assume that something is up with IIS, but I don't know where to look. It happens on each and every ASP page I try to view. I haven't changed anything, haven't put up any Microsoft patches or anything. I suspect spyware. I run the usual anti-spyware/adware programs quite often, and catch one or two items just about every time. That dang Winfixer came in a couple weeks ago, and it was pretty nasty, but I digress.

View Replies !
Server Application Error
i am very new to asp, i am able to test and view asp pages when i am at work, but the moment i work at home, my asp pages cannot be viewed, and i get this error:

Server Application Error
The server has encountered an error while loading an application during the processing of your request. Please refer to the event log for more detail information. Please contact the server administrator for assistance.

it refers me to an event log, but i don't know where that is exactly, so i'd know more details as to what is causing this problem and look into it more precisely. any direction as to what i can do next to solve this problem or even what's possibly causing this problem.

View Replies !
Application And Data In Different Server
my application i put on server1(webserver) and my data i put on server2(*.doc and *.pdf). when user access my application on server1 than i show my data on server2.
Ip on server1 is public and IP on server2 is private . how to configure between two server at above ?

View Replies !
Server Application Error
I just reinstalled my Windows XP Professional and I can't
seem to make IIS work on my local ASP application. I have
setup many times IIS and configured it to work properly,
but now after the new WinXP setup I receive the message:

"Server Application Error:

The server has encountered an error while loading an
application during the processing of your request. Please
refer to the event log for more detail information.

View Replies !
Open Application That Runs On Server...
i want to run an application...from the intranet site a client presses a button and the application opens in the server...how can i do this ? any ideas ???

View Replies !
Web Applications Is Client-server Application?
My boss told me web application is NOT client-server application. I argued
with him because browser is the client, and the server code put in server.
Then web application should be a client-server application. My understanding
is that a web application is an application that runs on a browser. But
client-server application is not necessary a web application.

View Replies !
Server.Execute() And Application.Lock
I am using Application.lock to protect a reference to a COM+ object while calling Server.Execute() to another ASP page. I am doing this to pass the object's reference to the other page, and I CAN'T rely on the session object.

Is this a safe way to protect the object reference? i.e. does the Application object remain locked when calling Server.Execute()? .....

View Replies !
Is It Possible Execute An Application On The Web Server Through An ASP Page?
Is it possible execute an application on the Web server through an ASP page?

View Replies !
Start Client Application From Web Server
I want to launch a client application from the server and send it some parameters. The application is written in PowerBuilder.

View Replies !
Creating And Debugging A Web Application With A Remote IIS Server
how I can create a web application that is created on a remote server and debug it locally in Visual Studio 2003 ASP.NET 1.1.?

View Replies !
Server.CreateObject("Access.Application")
i have an asp file with the following source code....

******
Set r_ = Server.CreateObject ("Access.Application.10")

s1 = "DoAnything()"

with r_
.visible = false
.OpenCurrentDatabase "D:SP5DataSPIS_LUPK_Vers.mdb"
sApp = .Eval(s1)
.CloseCurrentDataBase
.Quit acQuitSaveNone

End With

******

my problem is, that the createobject on my iis 15sec. goes....that is not
normally, or ????

what is the problem ? IIS settings ? DComCnfg ?? ASP Problem ??? Wrong
Settings ?

View Replies !
Access VB Application From Web Application
We have our web-site developed in classic ASP, and I need to add this additional feature on one of the pages to access a VB application. How can I do that? The VB application basically sends output to the COM3 port and opens a USB-Cash drawer that is attached to it. I am not sure how to go about with this.

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 !

Copyright © 2005-08 www.BigResource.com, All rights reserved