Database options grayed when creating ASP (Javascript) page
I recently installed CS5 Master Suite on a WinXP-32 machine and was able to create ASP pages in Javascript that could connect to and update a Microsoft Access 2003 database. But since certain apps in the suite required 64-bit OS, I wiped the machine and installed Windows 7 64-bit.
I've managed to get it set up so that I can connect to the database if I create a new ASP page with VBScript, but if I create a new page with Javascript, the ability to add a new connection in the database pane is grayed out, despite all the items listed underneath being checked off.
I assume the DSN is setup correctly since the VBScript pages work. I've installed IIS7 on the machine with 32-bit application pool enabled so that the server can connect with the 32-bit ODBC driver.
Any hints on how to get database connection working in Javascript pages would be greatly appreciated!
Actually, it appears you were right. . . according to:
http://help.adobe.com/en_US/dreamweaver/cs/using/WSc78c5058ca073340dcda9110b1f693f21-79e0a .html
Note: As of Dreamweaver CS5, Dreamweaver no longer installs ASP.NET, ASP JavaScript, or JSP server behaviors. If you’re working on ASP.NET, ASP JavaScript, or JSP pages, however, Dreamweaver will still support Live view, code coloring, and code hinting for those pages. You do not need to select ASP.NET, ASP JavaScript or JSP in the Site Definition dialog box for any of these features to work.
The only reason I can think that it worked prior to the OS change was that we did have CS4 installed which was later upgraded to CS5. The pages may have either been created prior to the upgrade or it retained support for ASP Javascript through the upgrade, but no longer had it with the fresh install after the OS change,
Thanks for the info. Knowing it was a design decision on Adobe's part made it a bit easier to generate a search to locate the info I was looking for.
Similar Messages
-
Plz help using ms access as database,i want to create a login page in java
hye frnz... plz help me m new to java
m using ms access as database and try to create a login page where user type username and pw
i had enter valid user entries in database i checked connectivity is working i want as user login the main window must open after checking username and pw field to database but
now there is an error class not found exception sun:jdbc...... error
plz help me i had stuck frm 4 days */
import java.sql.DriverManager;
import java.sql.Connection;
import java.sql.Statement;
import java.sql.ResultSet;
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
class Login extends JFrame
//Component Declarations
JLabel jlb1,jlb2;
JTextField jtf1;
JPasswordField jpf1;
JButton jb1,jb2;
//Constructor
Login()
//frame settings
setTitle("Login Dialog");
setLayout(new GridBagLayout());
GridBagConstraints gbc = new GridBagConstraints();
setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
Dimension d= Toolkit.getDefaultToolkit().getScreenSize();
setBounds(d.width/2-175,d.height/2-100,350,200);
gbc.insets=new Insets(7,7,7,7);
//adding components
jlb1=new JLabel("User ID");
gbc.gridx=0;
gbc.gridy=0;
add(jlb1,gbc);
jlb2=new JLabel("Password");
gbc.gridx=0;
gbc.gridy=1;
add(jlb2,gbc);
jtf1=new JTextField(10);
gbc.gridx=1;
gbc.gridy=0;
add(jtf1,gbc);
jpf1=new JPasswordField(10);
gbc.gridx=1;
gbc.gridy=1;
add(jpf1,gbc);
jb1=new JButton("Login");
gbc.gridx=0;
gbc.gridy=2;
add(jb1,gbc);
jb1.addActionListener(new ActionListener()
public void actionPerformed(ActionEvent ae)
Connection conn=null;
Statement stmt=null;
boolean found=false;
try
Class.forName("sun.jdbc.driver.JdbcOdbcDriver");
String dataSourceName = "Inventory";
String dbURL = "jdbc:odbc:" + dataSourceName;
conn=DriverManager.getConnection(dbURL, "","");
stmt=conn.createStatement();
ResultSet rst=stmt.executeQuery("Select * from User");
System.out.println(jtf1.getText()+"/t"+jpf1.getPassword());
while(rst.next())
System.out.println( rst.getString(1) +"/t"+ rst.getString(2));
if(jtf1.getText().equals(rst.getString(1).trim()) && new String(jpf1.getPassword()).equals(rst.getString(2).trim()))
found=true;
rst.close();
dispose();
MainWindow mw= new MainWindow(); /*created min window object created to be opend after login but not working*/
break;
rst.close();
stmt.close();
conn.close();
catch(ClassNotFoundException e){System.out.print(e);}
catch(Exception e){System.out.print(e);}
if(found==false) /*this portion is executing and dialog box appears invalid name and pw with class not found exception sun:jdbc.......on console */
JOptionPane.showMessageDialog(null,"Invalid username or password",
"Error Message",JOptionPane.ERROR_MESSAGE);
jb2=new JButton("Clear");
gbc.gridx=1;
gbc.gridy=2;
add(jb2,gbc);
jb2.addActionListener(new ActionListener()
public void actionPerformed(ActionEvent ae)
jtf1.setText("");
jpf1.setText("");
jtf1.requestFocus();
setSize(350,200);
setVisible(true);
jtf1.requestFocus();
public static void main(String args[])
Login l=new Login();
Edited by: 795772 on Sep 19, 2010 4:44 AM795772 wrote:
hye frnz... plz help me m new to java
m using ms access as database and try to create a login page where user type username and pw
i had enter valid user entries in database i checked connectivity is working i want as user login the main window must open after checking username and pw field to database but
now there is an error class not found exception sun:jdbc...... error
plz help me i had stuck frm 4 days */
<snip>The subject of this forum is Oracle databases. How does your problem relate to that subject?
Two bits of advice:
1) Make sure you ask questions in a forum related to your problem.
2) If you want to be taken seriously as a professional, drop the MS IM Speak and use the language of the forum. In this forum it is English, which is successfully used by many people for whom English is far from their native language. -
When creating documents in pages for ePub what dimensions will fit ipad?
when creating documents in pages for ePub what dimensions will fit ipad?
Here you are in a forum dedicated to Pages for OS X.
Most of us don't use Pages for iOS.
Yvan KOENIG (VALLAURIS, France) mercredi 18 janvier 2012
iMac 21”5, i7, 2.8 GHz, 12 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
My Box account is : http://www.box.com/s/00qnssoyeq2xvc22ra4k
My iDisk is : http://public.me.com/koenigyvan
For iWork's applications dedicated to iOS, go to :
https://discussions.apple.com/community/app_store/iwork_for_ios -
When creating a multi page document, some of my thumbnails become linked and therefore impossible to rearrange. What am I doing wrong and how do I correct this?
The pages in sections stick together because the text flows between the pages.
Insert a section break to isolate pages between sections.
Now this all works in Pages '09, unfortunately Pages 5 doesn't let you.
Peter -
Can't add database to ASP Javascript page?
If I make a page with document type of ASP javascript the option to add a db connection is grayed out even though the site, type and server onumbers have checks by them. Do the same thing with doc type of ASP VB script and I can add db. I don't believe I used to have this problem before.
Any ideas on what I'm doing wrong would be appreciated. Thanks.Arrrgghhh!!!! But thank you for replying and letting me know.
-
Got error ORA-06502 when creating a report page
Hi,
I got ORA-06502 error message when trying to create a report page using one particular query (see below). It happened in the 'SQL Query' step. After put query in the text box and click on 'Next' button, the error message read
ORA-06502: PL/SQL: numeric or value error: character string buffer too small
Exactly same query running in sqlplus session against same database and same schema can run thru fine.
I wonder if anybody can give me a pointer what could be wrong with the query, and how to debug.
The query is
WITH o AS
SELECT a.manager, m.owner
FROM man_hierarchy_v m,
SELECT owner manager
FROM man_hierarchy_v
WHERE manager_ladder LIKE '%-CROZWAT-%'
AND olevel =
(SELECT olevel + 1 FROM man_hierarchy_v WHERE owner = 'CROZWAT')
ORDER BY owner
) a
WHERE manager_ladder LIKE '%-' || a.manager || '-%'
SELECT manager,
code, TO_CHAR(code/total*100, '999.9') code_perc,
code_symptoms, TO_CHAR(code_symptoms/num_symptoms*100, '999.9') code_sym_perc,
env, TO_CHAR(env/total*100, '999.9') env_perc,
env_symptoms, TO_CHAR(env_symptoms/num_symptoms*100, '999.9') env_sym_perc,
test, TO_CHAR(test/total*100, '999.9') test_perc,
test_symptoms, TO_CHAR(test_symptoms/num_symptoms*100, '999.9') test_sym_perc,
tbd, TO_CHAR(tbd/total*100, '999.9') tbd_perc,
tbd_symptoms, TO_CHAR(tbd_symptoms/num_symptoms*100, '999.9') tbd_sym_perc,
cnd, TO_CHAR(cnd/total*100, '999.9') cnd_perc,
cnd_symptoms, TO_CHAR(cnd_symptoms/num_symptoms*100, '999.9') cnd_sym_perc,
latent, TO_CHAR(latent/total*100, '999.9') latent_perc,
latent_symptoms, TO_CHAR(latent_symptoms/num_symptoms*100, '999.9') latent_sym_perc,
behavior, TO_CHAR(behavior/total*100, '999.9') behavior_perc,
behavior_symptoms, TO_CHAR(behavior_symptoms/num_symptoms*100, '999.9') behavior_sym_perc,
dep_labels, TO_CHAR(dep_labels/total*100, '999.9') dep_labels_perc,
dep_labels_symptoms, TO_CHAR(dep_labels_symptoms/num_symptoms*100, '999.9') dep_labels_sym_perc,
total, num_symptoms
FROM
SELECT manager, SUM(code) code, SUM(code_symptoms) code_symptoms,
SUM(cnd) cnd, SUM(cnd_symptoms) cnd_symptoms,
SUM(env) env, SUM(env_symptoms) env_symptoms,
SUM(behavior) behavior, SUM(behavior_symptoms) behavior_symptoms,
SUM(latent) latent, SUM(latent_symptoms) latent_symptoms,
SUM(dep_labels) dep_labels, SUM(dep_labels_symptoms) dep_labels_symptoms,
SUM(test) test, SUM(test_symptoms) test_symptoms,
SUM(tbd) tbd, SUM(tbd_symptoms) tbd_symptoms,
COUNT(probid) total,
SUM(num_symptoms) num_symptoms
FROM
SELECT o.manager, p.probid, NVL(num_symptoms, 0) num_symptoms,
DECODE(type, 'C', 1, 0) code,
CASE WHEN type = 'C' THEN num_symptoms ELSE 0 END code_symptoms,
DECODE(type, 'CND', 1, 0) cnd,
CASE WHEN type = 'CND' THEN num_symptoms ELSE 0 END cnd_symptoms,
DECODE(type, 'E', 1, 0) env,
CASE WHEN type = 'E' THEN num_symptoms ELSE 0 END env_symptoms,
DECODE(type, 'L', 1, 0) behavior,
CASE WHEN type = 'L' THEN num_symptoms ELSE 0 END behavior_symptoms,
DECODE(type, 'LATENT', 1, 0) latent,
CASE WHEN type = 'LATENT' THEN num_symptoms ELSE 0 END latent_symptoms,
DECODE(type, 'O', 1, 0) dep_labels,
CASE WHEN type = 'O' THEN num_symptoms ELSE 0 END dep_labels_symptoms,
DECODE(type, 'T', 1, 0) test,
CASE WHEN type = 'T' THEN num_symptoms ELSE 0 END test_symptoms,
DECODE(type, 'TBD', 1, 0) tbd,
CASE WHEN type = 'TBD' THEN num_symptoms ELSE 0 END tbd_symptoms
FROM lrg_problem_v3 p, o
WHERE p.assigned = o.owner
AND p.cdate BETWEEN '16-DEC-08' AND '15-JAN-09'
AND last_label LIKE 'RDBMS_MAIN_LINUX' || '_%'
AND lrg LIKE 'lrg' || '%'
GROUP BY manager
ORDER BY manager
I tried to remove all the TO_CHAR functions but same error message was returned.
Thanks,
MingyingThis version of Apex comes with database release 11.1.0.6.0
Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
PL/SQL Release 11.1.0.6.0 - Production
CORE 11.1.0.6.0 Production
TNS for Linux: Version 11.1.0.6.0 - Production
NLSRTL Version 11.1.0.6.0 - Production
Following information might also be helpful.
Product Build: 3.1.0.00.32
Schema Compatibility: 2007.09.06
NLS_CHARACTERSET: AL32UTF8
DAD CHARACTERSET: UTF-8
JOB_QUEUE_PROCESSES: 1000
Thanks,
Mingying -
Acrobat 8 Professional can't find the scanning device when creating the second page of the PDF file
Hey guys, this is my first post here, so please excuse me if there is anything I need to know.
I am a Mac User and I have the whole CS3 suit installed.
Everything works just great except there is this little thing bugs me around.
When I try to use Acrobat Professional 8.0 to create a PDF file through my scanner, (samsung SCX-4725FN, it's scan/print/fax combined) I wouldn't be able to continue to scan to the second page. To be more specific, I have no problem to scan and create the first page of the PDF file, when it asks me if I want to scan and create another page, when I confirmed it, I wouldn't be able to see the scanner in the "Acrobat Scan" window. The "scan" botton stay faded, therefore I can't continue. If I click "cancel" and try to create another PDF file from the scanner, the smae problem will show up again. The only way that I can continue to scan is to quit the program from the menu bar and restart it, then I can start to create the next '1st page only' PDF file from the scanner. I had to do this rapidly to get all the pages scanned first, and then combine them to get my work done. This is a pain in the butt. I have downloaded the most updated scanner driver, and patched Acrobat to version 8.1.2 , but the problem still exist. I have tested the scanner with PS CS3, the scanner works just fine. So I assume there is a glitch here with the software. Can anyone help me please?I am not very clear at which step you are facing issue. Below is the sequence in order to scan more pages from Acrobat:
1. Launch Acrobat. Click menu File->Create PDF->From Scanner....
2. "Acrobat Scan" dialog will appear. Select your scanner installed in Scanner dropdown. Check 'Prompt for scanning more pages' checkbox as you want to scan more than one page. Click Scan button in "Acrobat Scan" dialog.
3. Now scanner UI will appear. Make setting like color mode/resolution and click Scan button(or may be Accept button) in this dialog. (This is scanner specific ui)
4. After this scanning will happen and "Acrobat Scan" dialog will appear with "Scan is Complete" and "Scan more pages" option.
5. Select "Scan more pages" option and click OK in this dialog to scan more pages.
6. Now again scanner UI will appear as in step 3 above. Make your settings and proceed.
Do you see scanner UI or "Acrobat Scan" dialog in step6? Are you not able to click Scan(or Accept) button in scanner UI? -
Error when creating a webpart page in site pages - Sharepoint 2013
Hi,
I am getting Unexpected error when creating a new webpart page in site pages on sharepoint 2013 site.
I have no clue on this.
Any help is much appreciated.
Thank in advance.
Smile AlwaysHi Smile,
For troubleshooting this issue, let's verify the followings:
Whether you can create wiki pages well.
Whether this issue occurs for other sties.
Whether all users have this issue. Please test with Site administrator, compare the result.
As Naveen said, please check the log file to find more information about this issue. The path of the log file is: C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\LOGS.
Best Regards,
Wendy
Wendy Li
TechNet Community Support -
How to specify the database file path when create FDM application
Dear All,
How to specify the database file path (MSSQL) when create FDM application?
Right now, all data file are placed in the D:\ . I want to specify the database files (log and mdf file) in other place. How to do it?
Thanks.Where is the highS2.xml located on the disk? If you add it to your project you should set its Build Action to Content and its Copy To Output Directory to Always in Visual Studio:
Please remember to close your threads by marking helpful posts as answer once your issue has been solved and then start a new thread if you have a new question. -
e-mail received promoting iPhoto's capability to produce calendars, hardback photo albums etc, simply by pressing "share". Only option I find is to create a Web page. Do I need to upgrade to Mountain Lion to take advantage of Apple's marketing?
You will need to update to Mavericks and iPhoto 9.5 to be able to share books and cards from the Share menu. It is a feature of iPhoto 9.5.
If you want to create a book in an earlier iPhoto version, use the File menu - Filse > New > Book. -
Database limit warning when creating database copy
Exchange 2010 Standard SP3 RU3.
2 Server mailbox DAG.
I have 5 mailbox databases mounted. I have a copy of each database. WHen I try to create a copy for the 5th mailbox database I get the following warning "Server has reached the maximum database limit of 5.
Looking at my server, There was an old database that was never used in the exchange directory but its not listed in the EMC.
Is it possible that information about an old database still exists in AD? Where can I verify in Adsiedit what exchange databases it sees?Hi,
One server limited to 5 databases in Exchange 2010 Standard edition.
So, from the description of your screenshot I summary the following information:
The following databases stayed on NASD-MBX1:
Mailbox Database Admin
Mailbox Database Faculty
Mailbox Database Faculty Large
Mailbox Database Faculty Medium
Mailbox Database Faculty Small (Mounted)
The following databases stayed on NASD-MBX2:
Mailbox Database Admin (Mounted)
Mailbox Database Faculty (Mounted)
Mailbox Database Faculty Large (Mounted)
Mailbox Database Faculty Medium (Mounted)
Public Folder Database (It should be here, right?) (Mounted)
Now, if we try to make a copy of “Mailbox Database Faculty Small”,
it will be available as a passive database copy on NASD-MBX2. However, there are five Database mounted on NASD-MBX2 including the Public Folder Database. So it will
get the error “Server has reached the maximum database limit of 5”. We can delete the Public Folder Database to test it.
In ADSIEdit, please refer the following image to find these databases.
Best Regards. -
When creating new webpart page not getting logo from the masterpage
Hi
when I am going to creating new page.aspx then it inheriting the logo from the master page
BUT i AM GOING TO CREATING NEW WEB PART PAGE.ASPX THAT IS NOT GETTING THE LOGO FROM THE MASTER PAGE HOW CAN I SOLVE THIS PROBLEMIn a Publishing environment there are two master pages. One is used for all the pages stored in the pages document library. Those pages use the Site Master master page. Other pages, like web part pages, use the System Master page. If
you go to the Site Settings you will see a link called Master Pages in the Look and Feel section. When you click on that link you will see a page where you can choose which master page to use for the Site Master and the System master. I suspect
you are using a custom master with a logo for the Site master and a different master for the System master. You can try setting the System master to be the same as the site master or make sure that your logo is also included on the System master.
Paul Stork SharePoint Server MVP
Principal Architect: Blue Chip Consulting Group
Blog: http://dontpapanic.com/blog
Twitter: Follow @pstork
Please remember to mark your question as "answered" if this solves your problem. -
TS2529 there is no none option on payment option even when creating new user id
I was attemting to download free apps on iphone but itunes wouldnt let me because of past due balance of 6.00 dollars. Unfortunately my bank account is overdrawn right now and have no valid payment options. I tried to created to USER ID and password, and there is no "NONE" option when asking for paymnet method. All im trying to do is download free apps. Please help?!?
Hi brian,
You have to download the free app first, then create the new ID:
http://support.apple.com/kb/HT2534?viewlocale=en_US&locale=en_US
Cheers,
GB -
How to delete headers when creating a new page
when i duplicate page it automaticaly puts a header at top of page but i do not want that, i covered them up with black boxes but now that i loaded and published my site while the page is loading it shows the headers in the background untill my logo that covers them loads. is there any way to remove them? also when i loaded my site some pictures were missing they are there when i preview the site but once i load them they are gone, and some of the text as well they seem to be all from the same page
If you want to build a custom page you are better to start out with a blank page using the Black or White theme. Info here.....
http://www.iwebformusicians.com/WebMusic/Layout.html
Before you visit your site after publishing changes, make sure you empty the browser cache first.
Safari drop down menu "Empty Cache..." or Shift-Command-E
If you are still having problems, post back here with the URL to the problem page. -
What does Elastic, Liquid, or Hybrid Mean when creating a new page
When I choose File-New-blank page I get choices on the number of columns with the words elastic, liquid, and hybrid. I'm not sure which to pick for which use. Are these terms defined or documented so I can pick the one I need.
New-ish DW-CS4 user running Win XP Pro.
Thanks,
SteveJust so you know, starter pages are pre-built CSS layouts. Not the same as Dreamweaver Templates (
.dwt files).
Use this link, they're newer
New DW Starter Pages --
http://www.adobe.com/devnet/dreamweaver/articles/introducing_new_css_layouts.html
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/
http://twitter.com/altweb
Maybe you are looking for
-
I recently had a problem with my iPhone 3G. I upgraded to OS 5.1.1. The thing crashed. I took it to the AT&T store and they cleared it of everything. So I re-installed all of my personal stuff and apps. All is again OK with the exception of the
-
T code LTRS - Create include to multiple fields.
Dear Folks, I have multiple fields for that i have to pass date and time which should be write in Include. Please guide me how to do it in ABAP way. or any sample code. - Regards, Amol
-
I have a project originally created in version 4. Opened it in version 5 and there are several slides with short cut keys that do not work. The keys are Ctrl+X and Ctrl+V. These slides are showing how to move cell contents in an excel spreadsheet.
-
Screen Layout for "LECI - Check in Means of Transport and Visitors"
HI GURUS & EXPERT, CAN any one tell me that How can I make some field required in LECI - Check in Means of Transport and Visitors Or T-cde for defining Screen layout fo it/ Thanks in advance. DSC
-
Hi Experts, I have one query. I have unique sales order in my table ITAB. Now my requirement is to find out the partner function SP & SH for all sales order available in ITAB. For partner function I have appended both partner function in one range ta