ASP Connection to MS SQL Local Web Server

I have managed to set up a local server and dreamweaver
recognises that it is working. I installed the free MS SQL server.
I have created some ASP pages that are working in a web
browser when i test them. But when i try to update my local MS SQL
server it gives me these two different errors:
1) A connection was successfully established with the server,
but then an error occured during the login process. (provider:
Shared Memory Provider, error: 0 - No process is on the other end
of the pipe.)
2)Login failed for user "x". The user is not associated with
a trusted SQL Server connection.
I know these pages work on another server so i think it is to
do with my user id and password. What are these values meant to be?
The user and password that i have registered on my computer /
network? Or are they specific to the database?
Or any other ideas?
Thanks

It is the username and password on the database itself
Paul Whitham
Certified Dreamweaver MX2004 Professional
Adobe Community Expert - Dreamweaver
Valleybiz Internet Design
www.valleybiz.net
"BertsMilsky" <[email protected]> wrote in
message
news:en4aub$qlh$[email protected]..
>I have managed to set up a local server and dreamweaver
recognises that it
>is
> working. I installed the free MS SQL server.
>
> I have created some ASP pages that are working in a web
browser when i
> test
> them. But when i try to update my local MS SQL server it
gives me these
> two
> different errors:
>
> 1) A connection was successfully established with the
server, but then an
> error occured during the login process. (provider:
Shared Memory Provider,
> error: 0 - No process is on the other end of the pipe.)
>
> 2)Login failed for user "x". The user is not associated
with a trusted SQL
> Server connection.
>
> I know these pages work on another server so i think it
is to do with my
> user
> id and password. What are these values meant to be? The
user and password
> that
> i have registered on my computer / network? Or are they
specific to the
> database?
>
> Or any other ideas?
>
> Thanks
>
>

Similar Messages

  • Java mysql OK with Terminal but not OK with Apache local web server

    With terminal I have :
    CLASSPATH=/System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Classes/:/Library/Java/Extensions/:./
    SUDO_GID=20
    SECURITYSESSIONID=210800
    _=/usr/bin/printenv
    127:/Library/WebServer/Documents/Java root# java TestMySQL
    2006-05-21 13:39:00.0 ************************************************** = OK
    127:/Library/WebServer/Documents/Java root#
    import java.sql.*;
    * mysql-connector-java-3.1.12-bin.jar
    *   % javac /Library/WebServer/Documents/Java/TestMySQL.java
    *   % java TestMySQL
    public class TestMySQL {
            public static void main(String argv[]) throws Exception {
                    // Load the driver class
                    Class.forName("org.gjt.mm.mysql.Driver");
    1                //Class theClass = null;
    2               //try {
    3                //    theClass = Thread.currentThread().getContextClassLoader().loadClass("org.gjt.mm.mysql.Driver");
    4                //}
    5                //catch (ClassNotFoundException e) {
    6                //    theClass = getClass().getClassLoader().loadClass("org.gjt.mm.mysql.Driver");
    7                //}
                    Connection conn = DriverManager.getConnection(
                            "jdbc:mysql:///test",
                    Statement stmt = conn.createStatement();
                    ResultSet rset = stmt.executeQuery("SELECT now();");
                    while (rset.next()) {
                            System.out.println(rset.getString(1));
                    // Close result set, statement and DB connection
                    rset.close();
                    stmt.close();
                    conn.close();
    }I have a simple TestMySQL.html file with applet TestMySQL.class in it.
    Nothing but "Applet TestMySQL not inited"
    When I uncomment the try/catch lines (lines 1 to 7) , java compiler generate an error... near getClass().getClassLoader().loadClass("org.gjt.mm.mysql.Driver");
    With "Class.forName("org.gjt.mm.mysql.Driver");" no problem.
    Running MacOS X 10.3.9, Apache/1.3.33 (Darwin) PHP/4.4.1 mod_ssl/2.8.24 OpenSSL/0.9.7i and JVM 1.4.2_09
    Thanks for help.
    P.S. This my first approach to java/mysql but I would like to see this short program running on my local web server ...
    Thanks.

    hi :-)
    can you post the stack trace?
    im not sure what is causing the error because of less info,
    but have you tried to copy the driver of mysql to tomcat lib folder?
    regards,

  • Apache2 local web server + Perl 5 + mysql problem

    this problem has been bugging me for some months; it's stopping me developing on my new MBP.
    I cannot connect to mysql 5.0.45 database when web sharing w/ Apache2 with either Perl 5.8 & Activeperl 5.10 cgi scripts on Mac OS X Leopard 10.5.2 & 10.5.3
    Although I can connect to the mysql DB when running the Perl scripts from the command line.
    The problem only occurs on my local web server in Mac OS X 10.5.2 & 10.5.3.
    On my old development Mac running 10.3 the code runs fine, as it also does on my remote site.
    server error log: Can't locate DBD/mysql.pm . . .
    I suspect there is a problem somewhere between Apache2, Perl & MySQL.
    Please advise.
    Sarpedon Jones
    Message was edited by: Sarpedon Jones

    I've got the same problem but It sounds like I've gotten farther. I was forced to do an emergency move of some Perl and PHP sites to 10.5.4 when our 10.4 web server refused to authenticate to AD anymore...
    Leopard's Apache/Perl support is terrible. There is not click to add option anymore so you have to manually set up mod_perl. No big deal but the first sign that there isn't reasonable support.
    The bigger issue is that Apple's Perl will not compile some modules.. namely DBD::mysql.
    Normally you'd use "cpan" to install the modules you need. The core module for connecting to a mysql database is DBD.. specifically DBD::mysql
    You should be able to run "cpan" or "cpanp" [cpan plus] to get a cpan interactive prompt. At this point you should be able to compile DBD by issuing either of the following:
    "install DBD::mysql" or
    "install Module DBD::mysql"
    I've tried this on two installs of OS X Server and that module (and others) will not compile on either system. One of my servers had been set up as a Wiki server before but the other had not been running any web services before I started using it as a test bed for my site move. (BTW these sites are unavailable until I can move them).
    There is another bug (noted on mysql's site) with Apple's version of cpan. If you try to add some modules, cpan will report that it needs to install a new, full version of Perl. The recommendation is to not do this, but rather force the install.. "install f DBD::mysql"
    Forcing the install is a questionable idea but it doesn't work anyway.
    I eventually did install perl 5.0.10 on the system in /usr/ and that does allow me to compile the needed Perl mods. However, the global @INC path has the old Perl paths listed so my perl CGIs will not use the new perl install.
    I'm sorry I don't have a solution. Hopefully my troubleshooting will elicit some more feedback.
    steven.

  • Accesso to Apache Local Web Server Problem

    Hi, i have a problem related to the set up of Apache Local Web Server on Mac OS X Lion 10.7.5.
    I have correctly installed Apache (2.2.24) php (5.3.26) and MySql (5.5.22) but during the web access i get this message: 403 Forbidden and in the error_log i see this:
    [Tue Nov 05 18:55:19 2013] [error] [client 10.202.145.171] client denied by server configuration: /Users/marcopuccetti/Sites/drupal-7.12
    Before this i have modified the configuration of httpd.conf (DocumentRoot) file in order to point the Sites folder "Users/username/sites"; The same for users configuration file.
    I have also enabled the Web Sharing properties in the System Preferences Section.
    Have i to do any other settings?
    Thank you!
    Marco

    Now it works, but i still don't understand why The directory "Sites" has to be named Only UpperCase.
    Marco

  • Local Web Server No Longer Working In ML

    Hello,
    Previous to updating to Mountain Lion, I had my Imac set as a local web server and everything worked fine. After updating to ML, I no longer have local web server access. Also seems that my /etc/apache2/users/USERNAME.conf is gone? Do I need to reset all the files I configured prior to installing ML?
    Thanks JR

    I created a new ect/apache2/users/currentuser.conf with
    <Directory "/Users/username/Sites/">
          Options Indexes MultiViews
          AllowOverride All
          Order allow,deny
          Allow from all
    </Directory>
    But now when I try to view a current site on the Mac, it just lists out the php code and not the page?
    Thanks JR

  • Can't connect to local web server

    I'm not quite sure when this happened; I think it was upgrading to iPhoneOS 3.x but I can't swear to that (currently running 3.1). Anyway, the problem is that, whether from my app or even simply using Safari, I can't connect to a local webserver. If I'm on one computer in my office (working over WiFi just like my iPhone), and type "http://192.168.1.110/file", where 110 is a different computer, Safari will display the page just fine. But if I'm using my iPhone in the office, on the same network, and type the same URL, it will not connect. For SURE this used to work, and I haven't changed any settings on my network or on my iPhone for that matter.
    No problem with connecting to external websites, clearly.

    Web services are not relevant to DNS host names.  You'll need to configure a default domain name for whatever is being used as the local domain, whether that is established via System Preferences or via DHCP settings.  If your Windows box is running a DNS server, you'll need to set the Mac DNS resolver address at the Windows DNS server.

  • Access websites hosted on local web server

    Hi there,
    I have a Cisco ASA 5505 in my home office which has a few PCs behind it with a linux web server running some websites. I can access the websites from outside no problem (i.e. on my iPhone using a 3G connection). However, I struggle to access the websites from within the network. The ASA gives me this error:
    6
    May 05 2013
    11:52:27
    192.168.55.61
    50420
    Failed to locate egress interface for TCP from inside:192.168.55.61/50420 to 86.*.*.*/80
    ASA runs version 9. Here is the config bit:
    object network denon-server
    host 192.168.55.200
    access-list outside_access_in extended permit tcp any object denon-server eq www
    object network denon-server
    nat (any,outside) static interface service tcp www www
    Any suggestions?

    Hi,
    I assume that you are trying to reach the LAN server with the public IP address that the ASA holds and also uses for the above Port Forward / Static PAT configuration?
    If this is the situation then I am afraid that with the current configuration that is not possible. The NAT configuration towards Internet is done between probably "inside" and "outside". So "outside" interface holds the public IP address. ASA doesnt let you connect to that "outside" IP address from behind the "inside" IP address. (Or any other interface for that matter)
    What you could try to do is configure a NAT that would enable you to use the public IP address of the server even when connecting from the "inside" of ASA.
    Try this
    object network SERVER-LOCAL
    host 192.168.55.200
    object network SERVER-PUBLIC
    host 86.x.x.x
    object network LAN
    subnet 192.168.55.0 255.255.255.0
    nat (inside,inside) source dynamic LAN interface destination static SERVER-PUBLIC SERVER-LOCAL
    Where
    SERVER-LOCAL = Is the "object" that defines the real IP address of the server
    SERVER-PUBLIC = Is the "object" that defines the public IP address of the server (that ASA holds on its "outside")
    LAN = Is the "object" that defines the subnet from where LAN users connect to the server public IP address
    Check that the network mask is correct for the LAN and fill in the public IP address.
    The actual NAT configuration tells the ASA this
    When a connection from LAN is coming towards SERVER-PUBLIC then UN-NAT SERVER-PUBLIC to SERVER-LOCAL and NAT LAN to "inside" interface IP address (as defined by the parameter "interface" in the configuration)
    This should enable the LAN hosts to use the public IP address to connect to the server. The server though will see the connections coming from the ASA "inside" interface IP address.
    Hope this helps
    Please remember to mark a correct reply as the correct answer if it did answer. And/or rate helpfull answers
    Ask more if needed.
    - Jouni

  • Can't connect via Screen Share or Web Server, but can ping and ssh

    Bit of an odd problem here.
    My Mountain Lion Mac Pro (called "Trogdor" for convenience) is connected to my work university network. I can ping it from anywhere-- elsewhere on the network, from home behind a firewall. Can connect over ssh from everywhere. I can also connect to other computers (on the same network or at home behind a firewall) from Trogdor via ssh, Screen Sharing, etc.
    But I can't Screen Share into Trogdor, and I can't connect to Trogdor's built-in web server, either system-wide (in /Library/WebServer) or for my username (~/Sites). (I can connect to the web server from Trogdor.)
    Note that I can do both of these for other computers on the same network (same subnet, etc), so it's not a network issue. I can't do these from anywhere: same network or from home. I have this problem whether I use Trogdor's hostname or its IP address. (I can look up its hostname using the IP address with the "host" tool in Terminal, and vice versa.)
    So it sounds like a port issue, right? Except I don't think I've ever messed with my port settings directly. How do I diagnose the problem? Should I scan my ports? Can I return port settings to default?
    Thanks!
    Message was edited by: supercres

    Bit of an odd problem here.
    My Mountain Lion Mac Pro (called "Trogdor" for convenience) is connected to my work university network. I can ping it from anywhere-- elsewhere on the network, from home behind a firewall. Can connect over ssh from everywhere. I can also connect to other computers (on the same network or at home behind a firewall) from Trogdor via ssh, Screen Sharing, etc.
    But I can't Screen Share into Trogdor, and I can't connect to Trogdor's built-in web server, either system-wide (in /Library/WebServer) or for my username (~/Sites). (I can connect to the web server from Trogdor.)
    Note that I can do both of these for other computers on the same network (same subnet, etc), so it's not a network issue. I can't do these from anywhere: same network or from home. I have this problem whether I use Trogdor's hostname or its IP address. (I can look up its hostname using the IP address with the "host" tool in Terminal, and vice versa.)
    So it sounds like a port issue, right? Except I don't think I've ever messed with my port settings directly. How do I diagnose the problem? Should I scan my ports? Can I return port settings to default?
    Thanks!
    Message was edited by: supercres

  • Local web server not being recognized

    I setup a web server on my LAN specifically so both a PC and a Mac could use HTTP protocol and store and retrieve files. The servername is called UBUNTU. On any PC in the house I can type http://ubuntu/ and the directory listing appears. The Mac can not find it.
    If I use the IP address, the server is recognized. The directory listing appears. And, when I use FTP in Terminal I can even get a file upload to work as long as the file is in the same directory I started the FTP. But, this Mickey Mouse will just not work for my application. What I want to do is schedule a daily upload of newly created music from the days work. If the producers did not like this Mac, I would trash it. I am so frustrated!
    This is the first time I've used a Mac and so far I find it to be way overrated. I mean, how many computers can not access a web server out of the box? The Safari browser I am using has no trouble accessing the Internet but my "intranet" seems to baffle Safari. I would expect a problem if using SMB were a requirement. It is not - I simply want to use HTTP. How do I need to change the Mac configuration so that it works?

    Thanks for all your help.
    Oh well, the music producer using the Mac just installed Yummy and immediately did the uploads he wanted to do. Yummy also has a scheduling function so the Mac will be able to use Yummy on the producer's schedule. (I usually use FileZilla and had never heard of Yummy.)
    Meanwhile, I was trying to get SMB working from the Mac but was never successful. As I mentioned earlier, I've never had success with Samba on Linux. This time was no exception. In this particular case, the Mac would not accept the username and password. I had specifically done smbpasswd -a username and used the same password and username that I had been using for FTP activity.
    However, when I got to the Mac SMB/CIFS screen it demanded 3 things: workgroup, NAME and password. BUT, the name of the Mac box automatically appeared in the NAME field on that screen. If I tried changing that to the username, there was no success at all. So, I went to the Samba box and added the name of the Mac box as a username.
    It was at that point that the producer told me he installed Yummy and was successful in uploading the music. I doubt he will let me have any more time on the Mac box for testing. I guess it is just as well since I had previously told him FTP was the way to go and SMB/CIFS was not something he had ever heard.
    Thanks for all your help.
    Contrary to your opinion, I guess I feel that the most important things that happened in this exercise were, "the sounds about how it should be so easy but just wasn't working". I just hope folks from Apple, Microsoft and the Linux world stumble across these comments occasionally.
    The bottom line is that the end user did not care how the job got done. The end user did not care what operating system nor what software technology was used. He just wanted the job done immediately. And, he had recalled a past experience where the Mac could not handle the job without a third-party FTP application.
    Here's the future challenge for 3 programmers and 9 computers. Setup 3 rooms each with a PC, Linux, and a Mac box. Put a knowledgeable programmer from each of those separate worlds in each separate room. It's OK to have an Internet connection so they can get documentation. The task is to get scheduled uploads operational between all the boxes in each room without using 3rd-party software. I think a reasonable time would be far less than 10 minutes including verification tests between steps. Some folks might take most of that time just to read http://www.mattvanstone.com/2007/11/automatically-mounting-windows-smb-shares-in -ubuntu-v3/
    so, perhaps the programmers' time is better spent on an FTP approach which might be more common setup and terminology among those three box types.
    The winner gets his name on the resulting paper and website he creates to document how he made it so easy. The losers must come to his website each day for a year just to see his advertising.

  • Connection timeout when using iPlanet web-server uses Weblogic 6.1 proxy server to proxy requests to an HTTP server

    Hi all,
    My configuration is as follows: I have an iPlanet web-server that uses a WebLogic
    6.1 (sp1) server to proxy requests to another HTTP server. The HTTP request runs
    for 120 seconds. This causes Weblogic to timeout after a while. The error I get
    is as follows:
    <Aug 25, 2003 3:37:09 PM GMT+00:00> <Warning> <HttpClient> <Couldn't open connection
    java.net.ConnectException: Connection timed out
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:320)
    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:133)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:120)
    at java.net.Socket.<init>(Socket.java:273)
    at java.net.Socket.<init>(Socket.java:127)
    at weblogic.net.http.HttpClient.openServer(HttpClient.java:194)
    at weblogic.net.http.HttpClient.openServer(HttpClient.java:254)
    at weblogic.net.http.HttpClient.<init>(HttpClient.java:117)
    at weblogic.net.http.HttpClient.New(HttpClient.java:149)
    at weblogic.net.http.HttpURLConnection.connect(HttpURLConnection.java:109)
    at com.db.gmr.dcm.DebtIssueServlet.getVectorFromConnection(DebtIssueServle
    t.java:285)
    at com.db.gmr.dcm.IssuesUSThread.run(IssuesUSThread.java:29)
    >
    I get the same error when I added the following plug-in configuration parameters
    (in obj.conf):
    ConnectTimeoutSecs="170" ConnectRetrySecs="170".
    What do I need to do to extend this timeout? Any help you can provide will be
    greatly appreciated..
    Thanks
    Manish

    Hi all,
    My configuration is as follows: I have an iPlanet web-server that uses a WebLogic
    6.1 (sp1) server to proxy requests to another HTTP server. The HTTP request runs
    for 120 seconds. This causes Weblogic to timeout after a while. The error I get
    is as follows:
    <Aug 25, 2003 3:37:09 PM GMT+00:00> <Warning> <HttpClient> <Couldn't open connection
    java.net.ConnectException: Connection timed out
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:320)
    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:133)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:120)
    at java.net.Socket.<init>(Socket.java:273)
    at java.net.Socket.<init>(Socket.java:127)
    at weblogic.net.http.HttpClient.openServer(HttpClient.java:194)
    at weblogic.net.http.HttpClient.openServer(HttpClient.java:254)
    at weblogic.net.http.HttpClient.<init>(HttpClient.java:117)
    at weblogic.net.http.HttpClient.New(HttpClient.java:149)
    at weblogic.net.http.HttpURLConnection.connect(HttpURLConnection.java:109)
    at com.db.gmr.dcm.DebtIssueServlet.getVectorFromConnection(DebtIssueServle
    t.java:285)
    at com.db.gmr.dcm.IssuesUSThread.run(IssuesUSThread.java:29)
    >
    I get the same error when I added the following plug-in configuration parameters
    (in obj.conf):
    ConnectTimeoutSecs="170" ConnectRetrySecs="170".
    What do I need to do to extend this timeout? Any help you can provide will be
    greatly appreciated..
    Thanks
    Manish

  • Newbie, How Do you transfer a site from Remote Host to Local Web Server

    already exists to my local IIS server. I cannot figure it
    out. I keep going in circles with Manage Sites, creating the folder
    in the Inetpub/wwwroot folder and I need some help to get the whole
    site locally so I can work on it. I use to use Frontpage but my
    developers cannot stand the extra code it puts in and it's not
    google friendly. So I decided to use Dreamweaver to create and
    manage my sites.
    Thanks for all the help in advance.

    In the file panel, view the remote site and select the top
    level folder. Then right click and select get.

  • Use Airport Extreme Disk as a local web server

    Hello!
    I have an Airport Extreme (802.11n) with a hard disk connected and shared using Airport Disk. I'd like to install Apache HTTP server on the connected drive so that I can host a local (available to intranet users only) web site. I am running into an error compiling Apache 2.2.9, but I'm thinking it might be a limitation of what is possible on an airport disk. Does anyone have any suggestions? I'd really appreciate it! Thanks.
    Best,
    Jay

    Duane:
    Thank you for your response. Maybe Apple file share can help me accomplish what I want but I think FTP is the easiest means for my needs. Ill have to do more research. Ultimately, I want other people to be able to send my digital files ( up to 2-3 GB at a time) . Now I , have a converted Windows machine going through a linksys router. That was relativly easy to set up as a server able to receive FTP. I was hoping I could reduce all that machine and energy down to a single HD but it looks like that is not possible.

  • Connect Access Mdb on My Web Server

    Hi all user, this is my first post.
    I have pdf form (connect database access only in read only) for collection information from my customer all ok if use in local but when i upload in my web pdf file and mdb database i recive error connection database !?!?!.
    Thanks very much
    Domenico,

    I had this same sort of issue and got no response on this forum. I re-posted the question at:
    http://blogs.adobe.com/formbuilder/2006/09/connecting_a_form_to_a_database.html
    Read the response to M Llewellyn towards the end of the page.
    I also found some additional info about the webservice here:
    http://forms.stefcameron.com/
    Have a good day.

  • Got problem when using SSL connection when using my own web server

    hi all,
    I need to create a SSL connection to a website, i'm using Java 5 so i just append use the following code,
    System.setProperty("https.proxyHost","90.0.0.122");
              System.setProperty("https.proxyPort","3128");
              URL verisign = new URL("https://www.verisign.com");
              //URL verisign = new URL("https://localhost");       
              //URL verisign = new URL("https://90.0.0.30");
              BufferedReader in = new BufferedReader(
                        new InputStreamReader(
                                  verisign.openStream()));
              String inputLine;
              while ((inputLine = in.readLine()) != null)
                   System.out.println(inputLine);
              in.close();
         }Here when i run the program with arg https://www.verisign.com it works fine, when i replace it with https://locahost it shows the follwing error
    Exception in thread "main" java.io.IOException: HTTPS hostname wrong:  should be <localhost>
         at sun.net.www.protocol.https.HttpsClient.checkURLSpoofing(HttpsClient.java:493)
         at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:418)
         at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:170)
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:913)
         at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:234)
         at java.net.URL.openStream(URL.java:1007)
         at URLReader.main(URLReader.java:93)i dono why this happening any can pls help me out to solve the problem

    HI all ,
    I find a solution from the post
    http://forum.java.sun.com/thread.jspa?threadID=521779&start=0
    Thanks

  • How do I install the java plugin for firefox 22 under windows XP when I have no internet connection (I have a local appache server)

    I have jre 1.6 installed on the target machine.

    Need the java executable offline, go to the link you indicated from another computer or from your phone and download the executable that gets "out of line". Then you load it into your computer and run it.
    http://java.com/es/download/manual.jsp#win
    Hope that helps.
    A greeting!!

Maybe you are looking for