Configuring remote/testing server
Hello Adobe users!
I am currently creating an e-commerce website (I'll be
creating .asp pages) for my year-end project, and I want to
configure my Dreamweaver CS3 in order to have a remote/testing
server folder (so that I can preview the pages). I'm using my home
PC to create this website, and I'm currently using Windows Vista
Business (32-bit).
Do you guys have any idea how to configure my home PC (either
through installation of third-party softwares, or through
configuration of my network) so that my remote/testing server
folder works? I'll also need help on the URL prefix configuration.
Please try to keep your instructions simple, because I'm not
exactly good with complex terms.
First, see if Internet Information Server is installed on
your computer (do
you have an Inetpub directory in the top level of your C
drive?). It is not
installed by default on XP and I'm pretty sure it's probably
not with Vista
either. If it's not, you'll install it by going to Start/Set
Program Access
and Defaults/Add/Remove Windows Components with your Vista CD
in the drive.
In the ensuing menu, select Internet Information Server and
it will install
for you. Open your browser and type in
http://localhost to see if the
default IIS page comes up .. if it does, the server is
working. If not, in
your Control Panel, go to Administrative Tools/Services and
see if World
Wide Web Publishing is running .. you may need to start the
server.
ASP should be configured by default or at least it was in XP.
Once done,
you have a testing server on the computer which you access at
http://localhost/nameofsite
and you put your files for the given site in the
C:\Inetpub\wwwroot\nameofsite folder. You will probably need
to use Windows
Explorer to give the proper permissions to your site by
clicking on the site
folder in Explorer, right clicking Properties, clicking
Security and giving
the IUSR_ComputerName (Internet Guest User) permissions to
read, write and
execute in order to get the functionality to work.
Once all that is done, you use the Testing Server tab of the
Site Definition
to set the path to your files on the testing server, specify
ASP as the
server model and use
http://localhost/nameofsite/
as the testing URL.
HTH,
Nancy
"todaealas" <[email protected]> wrote in
message
news:[email protected]...
> Hello Adobe users!
>
> I am currently creating an e-commerce website (I'll be
creating .asp
> pages)
> for my year-end project, and I want to configure my
Dreamweaver CS3 in
> order to
> have a remote/testing server folder (so that I can
preview the pages). I'm
> using my home PC to create this website, and I'm
currently using Windows
> Vista
> Business (32-bit).
>
> Do you guys have any idea how to configure my home PC
(either through
> installation of third-party softwares, or through
configuration of my
> network)
> so that my remote/testing server folder works? I'll also
need help on the
> URL
> prefix configuration.
>
> Please try to keep your instructions simple, because I'm
not exactly good
> with
> complex terms.
>
Similar Messages
-
Viewing Layouts on Remote/Testing Server
This is a beginner question.
I'm trying to view Layouts and/or Content Holders on the Remote/Testing Server out of Dreamweaver so I can edit them independently, but I just get 404 messages.
When I create a new page in BC, I am prompted for a Page Title which subsequently creates a Page URL and File name. The Page URL by default has no extension. The File Name has an extension.
If I view that new page on the Remote Server I get a 404 message. If I edit the Page URL to include the File Name extension, I have no problem on the Remote Server.
Now for example: In File Manager I have the following directory structures:
http://www.MySite.com/_System/ContentHolders/layout.html
http://www.MySite.com/Layouts/SystemMessages/SecureZoneAccessDenied-CA.html
Why is it that I can't view these pages on the Remote Server?
Is BC creating a default URL for these Layout pages that isn't the same as the file name it gives them? or no URL at all?
Thanks,
CamHey there. Those are not pages. They are system generated layouts and for content holders only render when the module issued for that content holderin a pager template.
Ile extensionsyouseefor these are needed to work via FTP and understnd HTML formatting etc.
Zone access denied is a system message and will render when you create a login and enter a incorrect password.
Actual pages do not need agile extension.
Loin into the admins floor around. Look and pages, system layouts and templates, apply templates to pages. get a feel of things there as well to help get abetted understanding.
Also check out the links from the main page oftheseforums to theknowledgebaseto read through things as you need them. -
I can not configure a test server in DreamWewaver CS6.
My problem is this: I am creating a website in wich the vast majority of pages and files that form are made in PHP. When I configure a test server on my computer (for the moment can not be anywhere else), to indicate the URL where I put the folder where the files are hosted on my site, since that folder is in my computer, but whatever I do always modified and changed to http://misitio (where misisitio is the name of my website). How can I do to make that no happen?
I set up my test server as you have said, even indicating the full path to the folder containing the files of my website, but nothing, I still have the same problem. It occurred to me that you could fix also indicating the Internet port, so it is something like http://localhost:8080/misitio, so I'll try and then comment on how it went.
-
Put files... local- remote test- remote production
Using DW 8, i can't get my local files to be put to the
remote test server. They go directly to the remote production
server. The test and production sites are on different servers.
Ideally i would like to be able to put to the test server, review
the changes, and then put the files from the test server to the
production server. Is this possible to go from local to test, then
test to production?
Please let me know if this is possible and how to do this. Or
point me to any documentation that may cover this exact
issue.It is possible to go from local to test. And from local to
remote.
If you want to go from test to remote, you'll have to create
a second site
definition with the test folder as the local root.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"kicker_9" <[email protected]> wrote in
message
news:eqve70$lp3$[email protected]..
> Using DW 8, i can't get my local files to be put to the
remote test
> server.
> They go directly to the remote production server. The
test and production
> sites are on different servers. Ideally i would like to
be able to put to
> the
> test server, review the changes, and then put the files
from the test
> server to
> the production server. Is this possible to go from local
to test, then
> test to
> production?
>
> Please let me know if this is possible and how to do
this. Or point me to
> any
> documentation that may cover this exact issue.
> -
Remote and Testing Server FTP Problems
I have a Dreamweaver site defined. I have an 2 domains and 2
FTP accounts. I am using one for my remote server and one for my
testing server. When I go to preview, it uploads the file to the
remote server instead of the testing server. Then it goes and tries
to view the file on the testing server and there is a file not
found error. If I try the same thing but use 2 network drives or 1
network drive and 1 FTP account (remote or testing), everything
works as expected. Any ideas why this happens?Sounds like you are properly configured. I don't have a good
idea why this
is not working....
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"supwoman" <[email protected]> wrote in
message
news:fj1jbs$mt8$[email protected]..
>I have one Dreamweaver site defined.
>
> I have one domain (www.1.com) and an FTP account to
upload files to the
> folder
> pointed to by that domain. I am using this information
for my remote
> server as
> part of my Dreamweaver site.
>
> I have another domain defined (www.2.com) and another
FTP account to
> upload
> files to the folder pointed to by this domain. I am
using this information
> for
> my testing server as part of my Dreamweaver site.
>
> The pages I am building are Coldfusion, so I want to be
able to test them
> before deploying them to my live site (www.1.com). I
cannot setup a local
> server to do my testing.
>
> So, I should be able to checkout a file test.cfm, make
some changes, then
> hit
> the server debug button to preview those changes. It
should upload the
> file to
> the testing server and take me to the
www.2.com/test.cfm. Then, when I
> finished
> testing and check in the file it should upload it so it
is found at
> www.1.com/test.cfm.
>
> The problem I have is that when I got to test, it
uploads the file to
> www.1.com/test.cfm instead of www.2.com/test.cfm.
>
> If I use network drives instead of two FTP accounts,
everything works
> fine. I
> hit the server debug button, it transfers the file to
the right place.
>
> Sorry, if I didn't explain that well.
>
> -
Remote and Testing Server Site Definitions
I am confused about what information I should put in my
remote site definition info and testing server FTC Host directory
text boxes. My host placed 3 directories: database, log, and www on
my server and Dreamweaver placed two directories, Connections and
_mmServerScripts in the same directory as the above 3. I have
placed all of my site files, including my home page and folders in
the www directory and my Access database in the database directory.
Dreamweaver placed the connection info in the Connections folder an
d _mmServerScripts in the same directory.
In order to construct my local site to match the remote site,
I created a www folder on my local site and placed all of my HTML
files and supporting folders in it.
From various Adobe Tech Notes I have read, I was led to
believe my FTP host directory
Should be www/. However, when I do this and create a new web
page on my local site and upload it to my remote site, Dreamweaver
creates a new www directory inside of the one my host created on
the remote site and uploads the file to it instead of placing it in
the www directory my host created. Also, when I use F12 to test my
page in my browser I get a 404 page not found because Dreamweaver
placed a www in the page URL that shouldn’t be there and
after I remove it I’m able to see my page in my browser. My
URL prefix on my testing server site definition is:
http://I.P.number.html.
What am I not doing right?
Should I use www/ as my FTP host directory or leave it blank?
Also, what should my URL prefix be?
Thanks for your help.What you need to do is set up so that in the remote server
you point to the
www level on the server, and don't replicate this locally.
Paul Whitham
Certified Dreamweaver MX2004 Professional
Adobe Community Expert - Dreamweaver
Valleybiz Internet Design
www.valleybiz.net
"Jim_Moore" <[email protected]> wrote in
message
news:[email protected]...
>I am confused about what information I should put in my
remote site
>definition
> info and testing server FTC Host directory text boxes.
My host placed 3
> directories: database, log, and www on my server and
Dreamweaver placed
> two
> directories, Connections and _mmServerScripts in the
same directory as the
> above 3. I have placed all of my site files, including
my home page and
> folders
> in the www directory and my Access database in the
database directory.
> Dreamweaver placed the connection info in the
Connections folder an d
> _mmServerScripts in the same directory.
>
> In order to construct my local site to match the remote
site, I created a
> www
> folder on my local site and placed all of my HTML files
and supporting
> folders
> in it.
>
> From various Adobe Tech Notes I have read, I was led to
believe my FTP
> host
> directory
> Should be www/. However, when I do this and create a new
web page on my
> local
> site and upload it to my remote site, Dreamweaver
creates a new www
> directory
> inside of the one my host created on the remote site and
uploads the file
> to it
> instead of placing it in the www directory my host
created. Also, when I
> use
> F12 to test my page in my browser I get a 404 page not
found because
> Dreamweaver placed a www in the page URL that shouldn?t
be there and after
> I
> remove it I?m able to see my page in my browser. My URL
prefix on my
> testing
> server site definition is:
http://I.P.number.html.
>
> What am I not doing right?
> Should I use www/ as my FTP host directory or leave it
blank?
> Also, what should my URL prefix be?
>
> Thanks for your help.
>
> -
Remote and testing server don't see root relative links the same
My site works fine on my testing server (Apache, MYSQL,
PHP). I use root relative links in a library
file (include file) so that it will work with all pages. For the testing server these links look like this:
/my_sites_root_folder/aaa/bbb/ccc etc.
If I use these same links on the remote server they won't work. To get hem to work I have to change all these links to the form
/aaa/bbb/ccc etc.
When dreamweaver uploads files to the remote server, the site name folder (my_sites_root_folder) doesn't go along for the ride--just the files in it. So on the remote all the site files are stored in htdocs. On my testing server, the files are stored in htdocs/my_site_root_folder.
I think it must have something to do with the way I'm setting up the remote and testing servers, but I'm read a hundred pages of instructions without being able to figure it out. I think I'm just seeing something wrong, but I've already spent days on this. Can someone please point me in the right direction?
I'm using DWCS5. Internet explorer 8, Windows 7.Thank you for your prompt response. I'm afraid I'm still totally puzzled here. It sounds like you're very knowledeable about your comments, but I would like to know more. I accept that using the local site root in links would be bad, but I'm not clear WHY. Structuring the links as I have doesn't cause any links to break. I've structured them this way because it's the only way I can find that everything works. But I still do not understand WHY I have to do it. Using different libary include files doesn't seem like a good way to go, though
You suggest that if I use any root relative links at all, I need to use vitual hosts. I'm not finding any good coverage of what these are, and especially why they are necessary. If this is the case, does that imply that templates (which use root relative links) also will not work on the test server (at least without vitual hosts)? The conclusion I'm coming up with, given your remarks, is "Dreamweaver doesn't work with root relevant links when you're trying to test a site with a test server." Is this right? -
Remote and testing server set up
I want to upload to the server some php pages containing a registration form, log in, and membership directory. I am able to get everything working ON MY COMPUTER (not shouting - just for emphasis) using wamp server. I am completely confused about how to get it on the server. I have tried creating a test database at the server but I am confused about how to connect. Do I need to set up both a remote and a testing server in the site setup on DW (CS5.5)? I think the problem is with the database setup form, that is, databases - + - mySLQ connection. What do I put in the form fields?
So far, I have tried, among other things,
Connection name: myusername_testform
mySLQ connection: localhost
Username: the one I set up at the server
Password: the one I set up at the server
Database: myusername_testform
and I get the following error message when I test it:
HTTP error code file not found etc.
possible reasons:
1. There is no testing server running on the server machine.
2. The testing server specified to this site does not map to the the http://ftp.mysite.com/_mmserverscripts/MMHTTPDB.php URL. Verify that the URL prefix maps to the root of the site.
I have contacted the server and have tried to understand their answers but have had no success in getting this done.
Any help would be much appreciated. I am really new to php and forms and databases, so please keep it as simple as possible. ThanksThanks very much for responding. Sorry - I'm not quite sure what you mean. I initially did all the set up steps (set up local server, create database in wamp phpMyAdmin, create a members directory, create a registration page, create a log in form) and I got all of that to work on my computer. Now I want to upload the forms and database to the server. Rather than use the database that I had originally set up on my computer, I set up a new test one with with one table and only a few categories using the phpMyAdmin on the control panel for the site. Where is that database? Is it at the server? What I'm confused about is this: How do I connect to the database at the server? Do I need to set up the site the same way as I did when it was only on my computer, i.e., set up a remote server AND a testing server? Or do I just need to set up the remote server? In either case, how do I add the database to the site using mySQL connection? I think the problem is with what I type into the form field "my SQL connection" but I really don't know. I'm so confused lol
-
Local, Testing server, Remote server uploading
I have my web files in a local directory, say c:
webfiles\myweb. I also have a local testing server at
c:\Apache\htdocs\myweb, and finally a production site at
www.myweb.com. The problem is that when I edit a file in my local
directory it updated the testing server and not the production
remote - which is what I expect. My problem is that I don't know
how to update the production server as there does not seem to be
any menu choice for this. I am sure I am doing something stupid,
but I can't figure out whats wrong. Basically I don't quite get how
the relationship between the 3 file locations interact with each
other. Any help would be sincerely appreciated as its driving me
crazy.Expand the Files panel. On the toolbar, there are three icons
in a row -
Remote | Testing | Site Map. Select the Remote icon, and you
will now be
connecting with the Remote site for PUT/GET. The testing
server will now
only be used for Previews or Live Data displays.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"johnbreda" <[email protected]> wrote in
message
news:f2sahm$r4g$[email protected]..
>I have my web files in a local directory, say c:
webfiles\myweb. I also
>have a
> local testing server at c:\Apache\htdocs\myweb, and
finally a production
> site
> at www.myweb.com. The problem is that when I edit a file
in my local
> directory
> it updated the testing server and not the production
remote - which is
> what I
> expect. My problem is that I don't know how to update
the production
> server as
> there does not seem to be any menu choice for this. I am
sure I am doing
> something stupid, but I can't figure out whats wrong.
Basically I don't
> quite
> get how the relationship between the 3 file locations
interact with each
> other.
> Any help would be sincerely appreciated as its driving
me crazy.
> -
How to Configure Remote Connections To SQL Server 2008 R2 Express
Post written June 10, 2010 and pertains to:
SQL Server 2008 R2 Express on both my server and local machines: SQLX_SRV,
SQLX_LOC
SQL Server 2008 R2 Management Studio on both my server and local machines:
MS_SRV, MS_LOC
Windows Server 2008 R2 Enterprise installed on a Hyper-V VPS: WS
SQL Server Configuration Manager on both my server and local machines:
CMGR_SRV, CMGR_LOC
Server Manager: SMGR
I am connecting to my hosting server via Remote Desktop Connection: RDC
I installed SQLX_SRV and MS_SRV on my hosting server and SQLX_LOC and MS_LOC on my local development machine. I am able to use MS_LOC to connect to SQLX_LOC and to use MS_SRV to connect to SQLX_SRV. However I am not able to use MS_LOC to connect
with SQLX_SRV. Here's what I have done so far:
SMGR -> Configuration -> Windows Firewall to turn off the Windows Firewall for Domain, Private and Public profiles. Obviously I'll change this later, but until I can connect I want to remove as many variables as possible.
CMGR_SRV -> SQL Server Services to confirm that both SQL Server (SQLEXPRESS) and SQL Server Browser services were running.
CMGR_SRV -> SQL Server Network Configuration -> Protocols for SQLEXPRESS to ENABLE the Shared Memory, Named Pipes, and TCP/IP protocols and DISABLE the deprecated VIA protocol.
CMGR_SRV -> SQL Server Network Configuration -> Protocols for SQLEXPRESS -> double click TCP/IP to open the TCP/IP properties dialogue. On the Protocol tab Enabled: Yes, Keep Alive: 30000, changed Listen All to No. I've tried it both
ways, but I've got six IP addresses on my server and I wanted to configure SQLEXPRESS to listen to only the first and primary IP. On the IP Addresses tab went to IPALL and cleared the TCP Dynamic Ports field and entered 1433 in the TCP Port field.
For my first and primary IP Address I made sure that Enabled was Yes, I cleared the TCP Dynamic Ports field, and entered 1433 in the TCP Port field. For all other IP Addresses Enabled was set to No and I cleared both the TCP Dynamic Ports and TCP Port
fields.
CMGR_SRV -> SQL Server Services -> SQL Server (SQLEXPRESS) right click and Restart. This of course stopped and restarted my instance of SQLX_SRV enabling the TCP/IP configuration in the previous step to take effect.
On my server, SQLX_SRV is the only instance of SQL Server running and so it's easy to hard wire it to the default port 1433.
The instance name for both SQLX_SRV and SQLX_LOC is the default "SQLEXPRESS". My server machine name is "SERVER1" on the EnglishBrains.com domain. So the proper local name (local within the context of my remote server as connected via RDC) for
my instance of SQLX_SRV would be:
SERVER1\SQLEXPRESS
Note the use of a backslash NOT a forward slash.
Of course to connect remotely from my development machine, which is not on the same domain as my hosting server, I would need to specify the domain as well, so the SQL Server name becomes:
SERVER1.EnglishBrains.com\SQLEXPRESS
I must also use SQL Server Authentication. Before I can use such a remote connection, however, there are still several configuration steps required. So on my server (connected via RDC) I used MS_SRV to connect to SQLX_SRV using SERVER1\SQLEXPRESS
for the server name and Windows Authentication. Once connected I performed the following steps:
MS_SRV -> right click the connected parent SERVER1\SQLEXPRESS instance node at the top -> Properties -> Security -> Server authentication: select "SQL Server and Windows Authentication mode". This will enable connections using either type
of authentication.
Next, leaving the Server Properties dialogue open, Connections -> check "Allow remote connections to this server" box.
Click OK to save these changes and close the Server Properties dialogue.
MS_SRV -> Security -> right click Logins and select "New Login...", the Login - New dialogue opens.
On the General page Enter a name for your new login
Select SQL Server Authorization
Enter and confirm a password
Uncheck Enforce password expiration
Select the default Database and Language
On the ServerRoles page Public will be checked, also check SysAdmin. This is probably not a good idea and I'll uncheck this as soon as I can connect to the SQLX_SRV.
On the User Mapping page select the databases you want your new Login to access and enter the Default Schema of "dbo".
At the bottom of the User Mapping page you'll see the Database Roles table. Public will be selected by default. Also select db_Owner. Again this is probably not a good idea, and I'll refine this once I can connect.
On the Status page confirm that "Grant" is checked under "Permission to connect to database engine" and "Enable" is checked under "Login".
Click OK to save all changes and close the Login - New dialogue.
With these steps completed you should now be able to use MS_SRV to connect to SQLX_SRV using SQL Server Authentication by supplying the name and password for your new Login. I tried this and it worked fine. Next I tried to use this same login
remotely, that is I went to my local development machine and used MS_LOC to try and connect to SQLX_SRV by using
SERVER1.EnglishBrains.com\SQLEXPRESS
and opting for SQL Server Authentication and supplying the name and password of my new login.
THIS DID NOT WORK?? Instead I get the following error message:
Cannot connect to SERVER1.EnglishBrains.com\SQLEXPRESS.
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider:
SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) (Microsoft SQL Server, Error: -1)
For help, click:
http://www.microsoft.com/products/ee/transform.aspx?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=-1
If you follow the suggested help link, you are told:
The SQL Server client cannot connect to the server. This error could be caused by one of the following reasons:
A specified SQL Server instance name is not valid.
The TCP, or named pipes protocols are not enabled.
The firewall on the server has refused the connection.
The SQL Server Browser service (sqlbrowser) is not started.
WRONG on all 4 counts! The instance name IS valid. Both TCP/IP and Named Pipes protocols are enabled. The firewall has been shut down, so it is not relevant. Finally the SQL Server Browser IS started.
The next thing I tried was to circumvent discovery by the SQL Browser service by using the following syntax to specify the IP address and port directly when specifying the SQL Server name.
tcp:68.71.134.186,1433
Using this in the Server Name field I was able to use MS_SRV to successfully connect to SQLX_SRV (using SQL Server Authentication of course) with or without the SQL Browser service running.
However when I tried to connect from MS_LOC to SQLX_SRV using this same login (WITH SQL Browser service running just for good measure) it does not work?? I get the following error message:
Cannot connect to tcp:68.71.134.186,1433.
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider:
TCP Provider, error: 0 - A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.) (Microsoft SQL Server, Error: 10060)
For help, click:
http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=10060&LinkId=20476
If you follow the help link you are told:
"The SQL Server client cannot connect to the server. This error could occur because either the firewall on the server has refused the connection or the server is not configured to accept remote connections."
However, the firewall has been shut down and the server HAS been configured to accept remote connections!
I confirmed that i could indeed Ping to 68.71.134.186 and running NetStat -a |find /i "listening" on the server shows that the server is indeed listening at 68.71.134.186 Port 1433 -- which is why I was able to connect to SQLX_SRV using MS_SRV with
tcp:68.71.134.186,1433 .
IN SUMMARY: Even though I can connect to my SQLEXPRESS instance multiple ways from the server itself, I cannot connect remotely from my development machine!
If anyone can help me figure out why I would be very, very grateful!My two cents to help you out on c# code example to configure the remote sql server express.
Hope it helps. It works, but you have to be extra carefull to read it all and setup the server configuration and netsh commands; also the port fowarding on the router.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.SqlClient;
namespace sqlremoteconnection
class Program
static void Main(string[] args)
// this is the local sql server connection
// 192.168.1.101\SQLEXPRESS
// now, the configuration for remote access:
// activate SQL SERVER BROWSER - set it to start "automatic"; then START UP
// SQL Server Configuration Manager
// --> SQL SERVER BROWSER -> properties -> Service -> Start Mode -> automatic -> apply
// --> Log On -> Start -> Ok
// netsh firewall set portopening protocol = TCP port = 1433 name = SQLPort mode = ENABLE scope = all profile = CURRENT
// netsh firewall set portopening protocol = UDP port = 1434 name = SQLPort mode = ENABLE scope = all profile = CURRENT
// netsh advfirewall firewall add rule name = SQLPort dir = in protocol = tcp action = allow localport = 1433 remoteip = any profile = PUBLIC
// netsh advfirewall firewall add rule name = SQLPort dir = in protocol = udp action = allow localport = 1434 remoteip = any profile = PUBLIC
// VERY IMPORTANT FOR REMOTE ACCESS: you have to add the rules on port fowarding
// on the router!!!
// TCP: 1433
// UDP: 1434
// or just a personal port like TCP 31433/UDP 31434
// read carefully the netsh commands above
// server name: 123.132.24.177\SQLEXPRESS
// server name: anyurl.myftp.org\SQLEXPRESS,1433 <<-- regular port
// server name: anyurl.myftp.org\SQLEXPRESS
// server name: anyurl.myftp.org\SQLEXPRESS,31433 <<-- WOW different PORT here!!!
SqlConnection myConnection = new SqlConnection(
"user id=sa;" +
"password=password_goes_here!;" +
"server=anyurl.myftp.org\\SQLEXPRESS,31433;" +
//"Trusted_Connection=no;" +
"database=database_name_here; " +
"connection timeout=30");
try
myConnection.Open();
catch (Exception e)
Console.WriteLine(e.ToString());
try
SqlDataReader myReader = null;
SqlCommand myCommand = new SqlCommand("select * from mytable", myConnection);
myReader = myCommand.ExecuteReader();
while (myReader.Read())
Console.WriteLine(myReader["tab01_name"].ToString());
Console.WriteLine(myReader["tab01_age"].ToString());
catch (Exception e)
Console.WriteLine(e.ToString());
try
myConnection.Close();
catch (Exception e)
Console.WriteLine(e.ToString());
Adelino Araujo -
Local test server configurations
I am trying to set up a local test server on my Mac using Apache in conjunction with PHP and MySQL while creating my pages in Dreamweaver MX 2004. I click the "Manage Sites" button, direct all of the options to a test.php page in my Users/Sites folder on my hard drive. When I click on "Test URL" I get an error message saying:
"Dreamweaver cannot use the prefix you entered to display live data. Please double-check your site configuration or click on Help for more information on how to correct this problem. (HTTP Error: 0)
I can bring up the Apache page by typing in "http://localhost/" in FireFox. How do I get the page I'm creating in Dreamweaver MX 2004 to come up when I type in "http://localhost/"? or Do I need to type in something else after "http://"? I've tried typing in the exact path for the file into my web browser with no luck!!!
I try to "File-Open" the empty .php file I created in Dreamwaever into FireFox and it tells me I need to open the file in the default application or save to disk.
How can I overcome this obstical so I can view my dynamic web pages and their php content?
Do I need to add some kind of "sudo" text???
I was weary to do that because I got a warning telling me I can permanently lose data.
Please help me . . . . . I've been trying to figure this out for 3 days now!!!
I'm really a novice at this!!!
Thanks Everyone!
MacBook Pro Intel Mac OS X (10.4.9)I've tried typing in
http://localhost/ - which gives me apache's page
http://localhost/foldername/filename/ - (HTTP Error: 0)
http://localhost/foldername/ - (HTTP Error: 0)
http://localhost/filename/ - (HTTP Error: 0)
http://foldername/filename/ - (HTTP Error: 0)
http://localhost/Macintosh HD/Users/Sites/filename/ - (HTTP Error: 0)
I've even tried taking out the http:// which I knew wouldn't work, but after trying everything else it was worth a shot.
Remember, I DO get the Apache page when I type in http://localhost/
Any suggestions - this is frustrating me!!! -
[Locked] Switching from testing server to remote server
I set up php pages on a testing server successfully. I exported the database from the testing server to the remote server no problem. But I don't understand how to switch the pages from the testing server to my remote server and make the connection to the database there. I read the manual about switching the connections, but I'm not having any luck. Here's what's not clear:
Am I supposed to move the page to my local root folder before putting it to the remote server? When I do this, the Databases tab says there is no connection, though the page still starts with this code: <?php require_once('file:///C|/XAMPP/htdocs/TRS/Connections/trs_db.php'); ?> When I try to make a new connection, I get an error message that references that code.
Do I also move the server scripts and connections folders from the remote server to the local root folder then put them to the server?
The testing server tutorial stops short of explaining this switch, and the manual doesn't seem to address the testing server at all.
Thanks.Sorry! My question is the following: Has anyone switched from saving calendar events to their e-mail server to icloud with success? I do not want to make the switch if I will lose events or events will not appear as they do now, or if I will lose everything in the notes that I write for events.
-
I am running Mac OS X 10.5.1 with MAMP installed and running.
Using Safari, I can successfully access dynamic PHP pages located
in my htdocs folder. I am trying to set up a Testing Server in DW
CS3. In the Basic Site Definition dialogs for the Testing Server, I
set the following:
- Selected Edit and test locally (my testing server is on
this computer)"
- For Where on your computer to you want to store your files,
I entered: "MacintoshHD"Applications:MAMP:htdocs". (This is where I
can successfully run pages with Safari.)
- URL to browse to the root of your site: "
http://localhost:8888/"
When I click the Test URL button, I get the following error:
"Dreamweaver cannot use the prefix you entered to display
live data. Please double-check your site configuration or click
Help for more information on how to correct this porblem (HTTP
Error: 0)
Can anyone tell me what is going on here? Thanks in advance.
I am using the following URL in the site definition:
http://localhost:8888/PHPizabiTest/Local Info
http address =
http://localhost/
Testing Server
PHP/MySQL
Local/Network
Macintosh
HD:Applications:MAMP:htdocs:name_of_folder_for_website
http://localhost:8888/name_of_folder_for_website/
To view a page, the URL will look like
http://localhost:8888/name_of_folder_for_website/mypage.php -
SCCM 2012 R2 configure WSUS got error remote SQL Server 2012
Hi All,
I got question ask on when i want to configure the WSUS component it failed as per screenshot and my SCCM cant work with it.
SCCM Server : Windows Server 2012 R2 (WSUS featured installed)
SCCM Version: System Center Config Manager R2
Remote SQL Server : Windows Server 2012 R2
SQL Version: SQL Server 2012 SP1 -11.0.3153
WSUS Error:
SCCM Error:
Hope you all can provide me a good solution on it I had no clue on this.
Regards,
SamSam,
Recommend you
Remove SUP
Remove WSUS role
Delete the SUSDB on the remote SQL server
Reboot the server
Reinstall WSUS feature
Reinstall SUP
Take a look at my blog on installing a SUP on 2012 from the section 'Install WSUS on the remote SUP server'
http://sccmentor.wordpress.com/2014/09/11/installing-a-remote-sup-in-sccm-2012-r2-on-windows-server-2012-r2/
Make sure you run the Post Install tasks as well.
Cheers
Paul | sccmentor.wordpress.com -
Configuration of remote workshop server
Hi,
Does somebody knows how to configure workshop to work with a remote portal server,
so that i can have the same functionallity as it were on a same machine. ?
ThanksHello,
This looks like you are configuring EP5. The EP5 install guide has all you need to configure it to use the Novell eDirectory for both your portal and corporate LDAP servers. You should be able to find it on the SAP Service Marketplace alias /instguides.
Cheers,
Mike
Maybe you are looking for
-
"Do not disconnect" comes up, but iTunes doesn't recognize it...
i have a 4 gb ipod nano, 4 months old. i tried to update it with the ipod updater, but that keeps saying "Can't mount ipod." ipod does not show up in itunes. i have tried uninstalling and reinstalling everything on the whole website. the ipod has the
-
Need to compare data of field of a report
Hi All , I need to make a report in report builder 6i , i need ti make two things but unable to do it 1) update a column in the database after runing of the report so i did the following in after Report Trigger function AfterReport return boolean is
-
How do I remove yahoo "automatic" homepage?
Just recently, when I open another "tab" within FF instead of going to the designated page I set up in tools: options: general, it goes to the regular yahoo search engine page (and takes longer than usual to do that). I have attempted removing all th
-
Facebook tab not showen in 24.0 version
Hi we are creative agency and one of our tabs in the Facebook page is not shown on 24.0 Firefox. We try it from some computers and still don't work *work on chrome and explorer https://www.facebook.com/hutzpe/app_208195102528120 Thanks Ofer
-
No proper signal with NI-4351 card
Hello, I am trying to use a NI-4351 for temperature measurement (together with TX-68T connector block). However, I don't get a proper signal in our laboratory. Using the MaX and looking at the test panel: there is sometimes the right voltage but m