Xarzu Thompson

Greenhorn
+ Follow
since Jun 06, 2018
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Xarzu Thompson

How do I set up IIS to debug classic ASP?

Help Needed Setting up Classic ASP Debugging

According to what I have seen on social media, in order for me to set up my computer for writing and debugging Classic ASP, I need to set up IIS a certain way -- which I did -- and then I have to enable ASP by doing the following:

IIS7 - IIS > ASP > Compilation > Debugging Properties > Enable Server-side Debugging

And I am stuck on this. Please, someone give me an idea of what I need to click on.

https://i.stack.imgur.com/xOwwt.png

I might be ready now to have a go at making my first "Hello World" classic ASP program.

I clicked on the help button and this lead me to a browser page which explained how to create an ASP page.
https://i.stack.imgur.com/rW3YT.png

https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-R2-and-2012/hh831768(v=ws.11)?redirectedfrom=MSDN

This link offers this help:

https://i.stack.imgur.com/W20HV.png

and this takes me to a new page

https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-R2-and-2012/hh831387(v=ws.11)

I have accomplished the prerequisite and step 1 on the list. So I go to step 2

> Step 2: Add a Classic ASP Website You can perform this procedure by
> using the user interface (UI), by running Appcmd.exe commands in a
> command-line window, by editing configuration files directly, or by
> writing WMI scripts. To add a website by using the UI Open IIS
> Manager. For Windows Server 2012, on the Start page click the Server
> Manager tile, and then click OK. On the Server Manager Dashboard,
> click the Tools menu, and then click Internet Information Services
> (IIS) Manager. For Windows 8, on the Start page type Control Panel,
> and then click the Control Panel icon in the search results. On the
> Control Panel screen, click System and Security, click Administrative
> Tools, and then click Internet Information Services (IIS) Manager. In
> the Connections pane, right-click the Sites node in the tree, and then
> click Add Website. In the Add Website dialog box, type a friendly name
> for your website in the Site name box. If you want to select a
> different application pool than the one listed in the Application Pool
> box, click Select. In the Select Application Pool dialog box, select
> an application pool from the Application Pool list and then click OK.
> In the Physical path box, type the physical path of the Web site's
> folder, or click the browse button (...) to navigate the file system
> to find the folder. If the physical path that you entered in step 5 is
> to a remote share, click Connect as to specify credentials that have
> permission to access the path. If you do not use specific credentials,
> select the Application user (pass-through authentication) option in
> the Connect As dialog box. Select the protocol for the Web site from
> the Type list. The default value in the IP address box is All
> Unassigned. If you must specify a static IP address for the Web site,
> type the IP address in the IP address box. Type a port number in the
> Port text box. Optionally, type a host header name for the Web site in
> the Host Header box. If you do not have to make any changes to the
> site, and you want the Web site to be immediately available, select
> the Start Web site immediately check box. Click OK.


It has been a long time since I have done anything like this. Basically, I assume I am turning my desktop computer into a web server. Am I right? If this is so, do I have to follow through with all the overhead and steps in buying a namespace? I hope not.

I have questions about step 4 : "If you want to select a different application pool than the one listed in the Application Pool box, click Select. In the Select Application Pool dialog box, select an application pool from the Application Pool list and then click OK." As I type out the site name, the field for "Application pool" repeats what I type for the site name. Since I am not creating a new application pool -- or I do not want to -- I click on select and choose the DefaultAppPool .

Since I am only wanting to write test code locally, I connect as an application user.

I did not put in an IP address.

It complained that I was using port 80. So I switched it to port 79 and clicked ok.

So now I think I have an asp website. What do you think?
1 month ago
What are the pros and cons of plain PHP or Classic ASP?

PHP and Classic ASP are server-side scripting languages. What is wrong with having a website written in this instead of the trendy JavaScript Frameworks like React, Angular etc.? If memory serves me correctly, there is an issue with security where you can post in a text box some script and hack into a system.

Can we please discuss some pitfalls or drawbacks to having a website written entirely in PHP or ASP? What does a JavaScript framework or Node.js bring to the table that would otherwise be lacking?

I am just now venturing into a contract where I am tasked with updating and maintaining existing code. All I know right now is that it is written in PHP and Classic ASP. I am in the process of investigating these scripting languages and I want to know what the opinion of other developers are.
2 months ago
PHP
I have a java project loaded into IntelliJ IDEA. The code requires JDBC and so I downloaded and unzipped the sqljdbc_6.4.0.0_enu file into the recommended directory, "C:\Program Files\Microsoft JDBC Driver 6.4 for SQL Server". This creates the jar files:

  • mssql-jdbc-6.4.0.jre7.jar
  • mssql-jdbc-6.4.0.jre8.jar
  • mssql-jdbc-6.4.0.jre9.jar

  • in the directory, "C:\Program Files\Microsoft JDBC Driver 6.4 for SQL Server\sqljdbc_6.4\enu". And so, now, how do I make use of all this in my project in IntelliJ IDEA? And if I later put all my java code into Git Hub, how can I ensure that another user will have code that will compile and link? Will I have to include the .jar file in Git Hub somehow?

    Pete Letkeman wrote:Welcome to CodeRanch Xarzu.

    You may have to download and install the GitHub Desktop which can be found here https://desktop.github.com/ and/or the official Git client found here https://git-scm.com/download/.
    Once you get either/both of those setup and connecting to your GitHub repositories. You may need to configure Two Factor authentication or something along those lines.
    After all of that try IntelliJ and GitHub once again, however you may want to start with a fresh project and choose VCS -> Import into Version Control -> Share On GitHub from the menus.



    Teaming up with coworkers helped lead to the solution. From the Welcome window, there is the option to clone a repository. The default URL options that are populated and presented in a drop down list have the wrong format for a URL. They each start with "git@github.com..." which is not correct.

    I put the proper URL address to our repository on github.com in this field, and soon everything fell into place
    I am able to log onto GitHub on the internet and I have permissions to see the project (I am even able to download it in zip file format). But somehow I am unable to make the connection to GitHub through the IDE of Intellij IDEA.

    I have set up the connection -- properly, apparently -- using the "Settings" dialog in the IDE on the "GetHub" option under "Version Control", because when I click on the "Test" button, there is a pop up message that says "Connection successful"

    I followed the steps on this website:
    Java Intellj with GitHub
    ... for the most part. The only reason I did not follow the final steps to the letter was because I already had a project open and I had to close the IDE and reopen it because of this.

    Now, in the dialog that comes up at the beginning when you restart Intellij IDEA with the title "Welcome to IntelliJ IDEA", I am prompted with "Check out from Version Control" but when I try to connect, nothing happens.  Then, when I click on the "Events" prompt, it comes up saying:

       Clone Failed
       Could not read from remote repository.