Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP 3 Classic ASP Active Server Pages 3.0 > Classic ASP Basics
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old March 6th, 2006, 05:19 PM
Registered User
 
Join Date: Jan 2006
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default error creating new folder in asp

Hi,
i am newbie to asp.
we have an asp project with 2005 folder.i need to create a new folder 2006 and copy all the code to this folder.i did that and chaged every link to 2006 with in that code.but i am getting error in the following code
<%@ LANGUAGE="vbscript" %>
<% Response.Buffer = True %>
<%
Set rsObj=Application("spObj").getsqlsp("getCheckOne", application("Conn"), _
"@uID", 129, 1, 7, request.form("tUID"), _
"@pwd", 200, 1, 20, request.form("tPWord"))
%>

Microsoft VBScript runtime error '800a01a8'

Object required: 'Application(...)'

Thanks for your help..
Reply With Quote
  #2 (permalink)  
Old March 10th, 2006, 04:36 AM
Friend of Wrox
 
Join Date: Nov 2005
Location: Rotterdam, , Netherlands.
Posts: 223
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi kingbee,

Check w3c schools for all asp related subjects this one is not that hard.
http://www.w3schools.com/asp/met_createfolder.asp

good luck


__________________________________________________ ________
This is my junk I'm gona eat it
Reply With Quote
  #3 (permalink)  
Old March 10th, 2006, 05:09 AM
Authorized User
 
Join Date: Mar 2006
Location: Aberdeen, Scotland, United Kingdom.
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Default


Modify the code as follows:

Set rsObj=Application("spObj")
if IsEmpty(rsObj) then
    Response.Write("Bingo")
    Response.End
end if


If you get the "Bingo", then the "spObj" entry in the application object is empty. The application object is used to cache data. Is is similar to the Session object.

Find out what part of the code is supposed to save data into the Application object with the "spObj" entry. That should be easy with a search.

Then, keep the code to check if the entry was empty anyway. It is bound to be empty the first time the application runs.

Cheers, Joel
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ASP.NET 2.0 Web Site Admin error on Creating User fmegersa ASP.NET 2.0 Basics 0 December 1st, 2006 08:57 PM
ASP 0177 error creating database kf9thdon@aol.com Classic ASP Databases 6 March 3rd, 2005 01:43 PM
Creating Folder On Server Prabhakar_dt Classic ASP Basics 1 December 29th, 2004 05:07 AM
creating folder: System.UnauthorizedAccessExceptio akthar General .NET 3 August 27th, 2004 07:58 AM
Need help in creating folder tree velmj XSLT 1 November 19th, 2003 06:28 AM



All times are GMT -4. The time now is 11:06 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.