Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

ASP.NET Forum


You are currently viewing our ASP.NET Forum as a guest. Please register to participate.
Login



Reply
General ASP questions
Old 07-24-2006, 11:08 PM General ASP questions
Novice Talker

Posts: 10
Trades: 0
Hi all,

Have several questions reguarding ASP....

I don't know ASP...but I am asked to debug an ASP source code for an internship...and I have no access to the web server? Is there any way I can test the code without using the actual server? Tried downloading IIS, PWS (or something close to that) onto machine to run code, but still couldn't see the result other than a bunch of garbage. Even tried to copy and past tiny asp examples from www.3wschools.com and save as an asp file. Didn't work. Did I forget to enable some sort of feature the software?

Gist of the purpose of code: Have a database, whenever data needed to be added or modified, someone has to manually entered data into database. The source code is a web portal that would allow anyone with a username and password to access the database to add, delete, or modify the data from anywhere over the internet. Data is accepted in forms and tables.

I don't know asp...I only know basic html and javascript....is it possible for me to build this portal from scratch with ASP...with my novice knowledge of the language? Browse through this site today....I have high hope.

More questions to come...that's all I can think of for now.

Thank you,

Serenathy
serenathy is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 07-25-2006, 01:25 AM Re: General ASP questions
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,938
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
The answer is: no.

ASP is a server-side programming language. That means that code is executed on the server that does not show up in the output. So you need access the server on some level to be able to work with it, see the database structure, etc.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 07-25-2006, 10:01 AM Re: General ASP questions
ExpressoDan's Avatar
Ultra Talker

Posts: 317
Name: This Space for Rent
Location: Georgia
Trades: 0
If you have windows xp professional you can install IIS. Use this tutorial for help with setting it up. This will allow you to execute your asp scripts

http://www.webwizguide.com/asp/tutor..._winXP_pro.asp
__________________

Please login or register to view this content. Registration is FREE

"I think therefore I am, I think." <!-- George Carlin
ExpressoDan is offline
Reply With Quote
View Public Profile Visit ExpressoDan's homepage!
 
Old 07-25-2006, 12:13 PM Re: General ASP questions
Extreme Talker

Posts: 170
Name: XpIndia.Com
Trades: 0
Quote:
Originally Posted by ExpressoDan View Post
If you have windows xp professional you can install IIS. Use this tutorial for help with setting it up. This will allow you to execute your asp scripts

http://www.webwizguide.com/asp/tutor..._winXP_pro.asp
Excellent guide expresso

Serenepathy, pl install IIS as explained in the tutorial. It is easy, insert your windows xp prof cd, and then > add n remove (in control panel) > add and remove windows components > IIS and then run install.

Reboot.

Then right click my computer > manage > IIS services or somethinglike that >
when you reach there, pl post here >

web address there has to be 127.0.0.1

Now this is important
You have to allow scripts to run and EXECUTE on your PC Server.
Or else you will be seeing asp script file codes and .asp files wont execute.

make the default file as index.asp
{move it up} you will see up down arrows there.

open ur c drive > inetpub >wwwroot (thats the server accessible folder)
whatever you keep there will be accessible thro the browser.
Configure your firewall to run the IIS. Better disable it for a while, you can disconnect from net to feel safe

then you have to create a database. I will tell you the rest in next post.
Will await your input here.
__________________

Please login or register to view this content. Registration is FREE

Server alert/reseller-
Please login or register to view this content. Registration is FREE
XpIndia.Com is offline
Reply With Quote
View Public Profile
 
Old 07-26-2006, 09:48 PM Re: General ASP questions
Novice Talker

Posts: 10
Trades: 0
Thank you for your response. The server at work won't let me access (login) any unfamiliar website such as this one so I can't respond where I actually working. Could only login here from home.

The thing is that I'm not allowed to download anything into my computer at work without permission and not suppose to do it by myself either. Protocol. I have to have an IT professional to add this software for me...go down the chain. Since the simple ASP mentioned from last post did not work properly, I didn't exact have access the IIT to my disposal.

I have dreamweaver though at home I want to test you database idea. Would you, XPIndia or anyone else please expand on the "you have to create a database" theory? How exactly does one do that? Sorry for being such a dummy. I'm not sure I understand what you mean by that.

Thanks for your great help.
serenathy is offline
Reply With Quote
View Public Profile
 
Old 07-27-2006, 06:10 AM Re: General ASP questions
Extreme Talker

Posts: 170
Name: XpIndia.Com
Trades: 0
You will have to create a DSN for connectivity to the database.
You can do thison your pc as well as a remote server(windows server).

Database is usually a .mdb (access) file which stores data.
Do you have a dsn ?
__________________

Please login or register to view this content. Registration is FREE

Server alert/reseller-
Please login or register to view this content. Registration is FREE
XpIndia.Com is offline
Reply With Quote
View Public Profile
 
Old 07-27-2006, 06:45 AM Re: General ASP questions
Minaki's Avatar
Defies a Status

Posts: 1,626
Location: Guildford, UK
Trades: 0
Quote:
You have to allow scripts to run and EXECUTE on your PC Server.
That's a bit of a confusing statement since Execute usually applies to executables, and not scripts.
In IIS, if you just want ASP scripts to run, in your application settings you want "Execute Permissions" set to "Scripts Only". "Scripts & Executeables" is provided for if you're running things like ISAPI DLLs, and should not be set if you're not running anything like that - it's a security risk.
__________________
Minaki Serinde MCP
"Wow, Linux is nearly on-par with Windows ME!"

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
Minaki is offline
Reply With Quote
View Public Profile Visit Minaki's homepage!
 
Old 07-27-2006, 10:32 AM Re: General ASP questions
Extreme Talker

Posts: 170
Name: XpIndia.Com
Trades: 0
If you want to run cdonts, and all asp scripts to run properly, then...

anyway...
__________________

Please login or register to view this content. Registration is FREE

Server alert/reseller-
Please login or register to view this content. Registration is FREE
XpIndia.Com is offline
Reply With Quote
View Public Profile
 
Old 08-02-2006, 01:38 AM Re: General ASP questions
Novice Talker

Posts: 5
Trades: 0
In addition to creating the DSN for database connectivity, if you install Frontpage server extensions on the website in IIS, you can use Visual Interdev or something similar to do your ASP coding remotely and the DSN for direct database modification remotely.
Cassius is offline
Reply With Quote
View Public Profile
 
Old 08-02-2006, 06:18 AM Re: General ASP questions
Extreme Talker

Posts: 170
Name: XpIndia.Com
Trades: 0
is the original poster around ?
__________________

Please login or register to view this content. Registration is FREE

Server alert/reseller-
Please login or register to view this content. Registration is FREE
XpIndia.Com is offline
Reply With Quote
View Public Profile
 
Old 08-03-2006, 09:22 AM Re: General ASP questions
Novice Talker

Posts: 10
Trades: 0
I'm still here.

Thank you for all of your advice and tip. Was very helpful.

I talked to the webmaster at work. He also looked at the code...was able to isolate the problem but couldn't fix it either. The error lies in an asp subfunction, one small sectment of the code. I don't know what will happen.
serenathy is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to General ASP questions
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.43600 seconds with 12 queries