Re: Recordset not opening
OK, I believe I have fixed it, but I am wondering if this is
always going to
work as I want it, although it appears to be working now.
For example, if two people submit at the same time, would my
rsEligibility
and rsClients query go into the database and get the correct
record if I
coded as such?: (Session("UserID") is passed from the
previous page, it is
supposed to equal the autonumber which is the number I need)
<%@LANGUAGE="VBSCRIPT"%>
<!--#include file="Connections/connNewdatabase.asp" -->
<%
Dim svuserid
svuserid = "0"
if (Session("UserID") <> "") then svuserid =
Session("UserID")
%>
<%
set rsClients = Server.CreateObject("ADODB.Recordset")
rsClients.ActiveConnection = MM_connNewdatabase_STRING
rsClients.Source = "SELECT * FROM CLIENTSW WHERE CASENUM=" +
Replace(svuserid, "'", "''") + " ORDER BY CASENUM"
rsClients.CursorType = 0
rsClients.CursorLocation = 2
rsClients.LockType = 3
rsClients.Open()
rsClients_numRows = 0
%>
<%
set rsEligibility = Server.CreateObject("ADODB.Recordset")
rsEligibility.ActiveConnection = MM_connNewdatabase_STRING
rsEligibility.Source = "SELECT * FROM ELIGIBILITY WHERE
CASENUM=" +
Replace(svuserid, "'", "''") + " ORDER BY CASENUM"
rsEligibility.CursorType = 0
rsEligibility.CursorLocation = 2
rsEligibility.LockType = 3
rsEligibility.Open()
rsEligibility_numRows = 0
%>
On 11.5.10.2 After applying the Min 8555411 (Rollup 11) patch we are getting ''APP-FND-01926: The custom event WHEN-LOGON-CHANGED raised unhandled exception: ORA-06508 PL/SQL: could not find program unit being called.Have you applied all pre-req. patches? Did the patch complete successfully with no errors?
Any errors in the database log file?
Any invalid objects?
Tried almost everything but no luck .
APP-FND-01926: The custom event WHEN-LOGON-CHANGED raised unhandled exception: ORA-06508: PL/SQL: (Doc ID 831159.1)
Unable to access forms - getting APP-FND-01926 error (Doc ID 391243.1)
APP-FND-01926; ORA-06508 UNABLE TO ACCESS ANY E-BUSINESS SUITE FORM AFTER MIGRATION (Doc ID 1080160.1)
he Forms Do Not Starts After Migration: ERR : APP-FND-01926 (Doc ID 971746.1)
Were you able to generate CUSTOM.pll successfully with no errors?
Please try the solution in (APP-FND-01926 And ORA-06508 Errors When Trying To Access Any Forms-Based Applications [ID 376231.1]) and check then.
Direct log in forms log in error out as APP-FND-01542:This Application Server is not Authorized to access this database .APP-FND-01542 when logging directly into forms via the f60cgi in 11.5.10 [ID 293609.1]
Similar Messages
-
Provider not installed properly & at times Connection not open
Hi developers,
I am almost very new to Macros VBA. I did much R&D to fetch data from Oracle database to excel sheet. I don't have any oracle software in my machine nor any drivers related to oracle. I request someone to provide me exact oracle required drivers
link to fetch the data. I am running Windows 7 64 bit OS & excel 2010 32 bit.
I am asking proper required drivers again in the question because, I installed 64 bit 10g Release 2 ODAC for Windows Itanium.
http://www.oracle.com/technetwork/database/windows/downloads/index-090165.html
Now, my question is, when I run the below script it throws Provider may not be installed properly or connection not open sometimes. I am confused totally on getting the data from oracle database. I don't know what is TNSNAMES.ORA file also & its location.
Some body please help me, I urge, in completing this fetching task from oracle database.
Sub Button1_Click()
Dim Conn As New ADODB.Connection
Dim RS As New ADODB.Recordset
Dim Cmd As New ADODB.Command
Dim sqlText As String
Dim Row As Long
Dim Findex As Long
Dim Data As Worksheet
Dim X As Long
Dim UID As String
Dim PWD As String
Dim Server As String
Dim strCon As String
Application.Calculation = xlCalculationManual
UID = "myUsername"
PWD = "myPassword"
Server = "myServerName" 'This comes from your TNSNames.ora file
Set Data = Sheets("Sheet2")
Data.Select
Range("A:F").ClearContents 'Change A:F to the range you expect data to return to
Conn.Open "PROVIDER=MSDAORA.Oracle;DATA SOURCE=myServerName;Database=myDatabaseName;UID=myUsername;PWD=myPassword;"
Cmd.ActiveConnection = Conn
Cmd.CommandType = adCmdText
' Put your query next
sqlText = " select * from Oracle_Table_Name "
Cmd.CommandText = sqlText
Set RS = Cmd.Execute
For X = 0 To 17
Data.Cells(1, X + 1) = RS.Fields(X).Name
Next
Do While Not RS.EOF
Row = Row + 1
For Findex = 0 To RS.Fields.Count - 1
Data.Cells(Row + 1, Findex + 1) = RS.Fields(Findex).Value
Next Findex
RS.MoveNext
Loop
Application.Calculation = xlCalculationAutomatic
Application.Calculate
End Sub
I have few cases as below:
1. When Provider name is changed to "PROVIDER=MSDAORA.Oracle" ---> it throws error as
Connection not Open.
2. When Provider name is changed to "Driver={Microsoft ODBC Driver for Oracle}" ---> it throws error as
[Microsoft] [ODBC Driver Manager] Data Source Name Not Found & no default driver specified.
3. When Provider name is changed to "Provider=OraOLEDE.Oracle" ---> it throws error as
Provider cannot be found. It may not be properly installed.
I request to please help me from beginning to start this process. I would be very thankful to you. I am struck. Please help me.
sammyHi;
I have applied the note.
But the system tells me Runtime error! R6034. An application has made an attempt to load the C runtime library incorrectly.
And then again Provider for SQLDMO is not installed properly.
I have installed vcredist_x64.exe ande vcredist_x86.exe. I have installed R3dllinst too.
Could you please advise me again?
Best regards
Noyan -
ADO recordset not working properly after upgrade to 11g
Hi ,
I am facing a very weird issue , i am running a sql using the ADO recordset , but i get only one column value in the recordset.
Other columns values are coming as Null.
Using as below :
Set objConnection=Createobject("ADODB.Connection")
'connection String and query
strConnString="Provider=OraOLEDB.Oracle.1;Data Source=<DBNAME>;User ID=<UNAME>;Password=<PSWD>;"
'Establishing connection with DB
objConnection.Open strConnString
sql="select t1.colum1,t2.column2,t1.column3 from table t1,table t2 where t1.id=t2.id(+)"'sample sql
Set rs= Createobject("ADODB.Recordset")
rs.Open sql,strConnString
msgbox rs.GetString()
'rs.MoveFirst
'msgbox rs(0).value
'msgbox rs(1).value
so , In the above code i am only getting the value for t2.column2 .
It doesnt matter if i use GetString() or GetRows() or iterate throught the recordset.
If i run the query in Toad i am getting values for all the column in the select clause.I have oracle 11g on windows7.
Can anybody help with a solution here?The problem you are having following the upgrade to Leopard (10.5.6) from 10.3.9 is similar to those of people who have upgraded from Tiger, and has been covered by the support document at the link below:
http://support.apple.com/kb/TS2537
Your issue will be due to files named to include MessageSorting (which would mean you once have upgraded from a version of OSX earlier than 10.4), remove those, also, but never restore those. You will not have the files named to include MessageRules because you have not used Tiger.
To find the correct location for the Mail folder, open a Finder window, click on the icon of a house in the Sidebar (this is known often as "Home"), click on Library in that Home user directory, and then to open the Mail folder found there.
Ernie -
If image file not exist in image path crystal report not open and give me exception error problem
Hi guys my code below show pictures for all employees
code is working but i have proplem
if image not exist in path
crystal report not open and give me exception error image file not exist in path
although the employee no found in database but if image not exist in path when loop crystal report will not open
how to ignore image files not exist in path and open report this is actually what i need
my code below as following
DataTable dt = new DataTable();
string connString = "data source=192.168.1.105; initial catalog=hrdata;uid=sa; password=1234";
using (SqlConnection con = new SqlConnection(connString))
con.Open();
SqlCommand cmd = new SqlCommand("ViewEmployeeNoRall", con);
cmd.CommandType = CommandType.StoredProcedure;
SqlDataAdapter da = new SqlDataAdapter();
da.SelectCommand = cmd;
da.Fill(dt);
foreach (DataRow dr in dt.Rows)
FileStream fs = null;
fs = new FileStream("\\\\192.168.1.105\\Personal Pictures\\" + dr[0] + ".jpg", FileMode.Open);
BinaryReader br = new BinaryReader(fs);
byte[] imgbyte = new byte[fs.Length + 1];
imgbyte = br.ReadBytes(Convert.ToInt32((fs.Length)));
dr["Image"] = imgbyte;
fs.Dispose();
ReportDocument objRpt = new Reports.CrystalReportData2();
objRpt.SetDataSource(dt);
crystalReportViewer1.ReportSource = objRpt;
crystalReportViewer1.Refresh();
and exception error as belowFirst: I created a New Column ("Image") in a datatable of the dataset and change the DataType to System.Byte()
Second : Drag And drop this image Filed Where I want.
private void LoadReport()
frmCheckWeigher rpt = new frmCheckWeigher();
CryRe_DailyBatch report = new CryRe_DailyBatch();
DataSet1TableAdapters.DataTable_DailyBatch1TableAdapter ta = new CheckWeigherReportViewer.DataSet1TableAdapters.DataTable_DailyBatch1TableAdapter();
DataSet1.DataTable_DailyBatch1DataTable table = ta.GetData(clsLogs.strStartDate_rpt, clsLogs.strBatchno_Rpt, clsLogs.cmdeviceid); // Data from Database
DataTable dt = GetImageRow(table, "Footer.Jpg");
report.SetDataSource(dt);
crv1.ReportSource = report;
crv1.Refresh();
By this Function I merge My Image data into dataTable
private DataTable GetImageRow(DataTable dt, string ImageName)
try
FileStream fs;
BinaryReader br;
if (File.Exists(AppDomain.CurrentDomain.BaseDirectory + ImageName))
fs = new FileStream(AppDomain.CurrentDomain.BaseDirectory + ImageName, FileMode.Open);
else
// if photo does not exist show the nophoto.jpg file
fs = new FileStream(AppDomain.CurrentDomain.BaseDirectory + ImageName, FileMode.Open);
// initialise the binary reader from file streamobject
br = new BinaryReader(fs);
// define the byte array of filelength
byte[] imgbyte = new byte[fs.Length + 1];
// read the bytes from the binary reader
imgbyte = br.ReadBytes(Convert.ToInt32((fs.Length)));
dt.Rows[0]["Image"] = imgbyte;
br.Close();
// close the binary reader
fs.Close();
// close the file stream
catch (Exception ex)
// error handling
MessageBox.Show("Missing " + ImageName + "or nophoto.jpg in application folder");
return dt;
// Return Datatable After Image Row Insertion
Mark as answer or vote as helpful if you find it useful | Ammar Zaied [MCP] -
i am having macbook air recently my iphotos did not open and was showing report apple and reopen but i came to know that by pressing alt and iphotos i open an new photo library and stored the pics but now how can i get the pics which i had in the earlier photo please help me to recover my photos
Well I'll guess you're using iPhoto 11:
Option 1
Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Repair Database. If that doesn't help, then try again, this time using Rebuild Database.
If that fails:
Option 2
Download iPhoto Library Manager and use its rebuild function. (In early versions of Library Manager it's the File -> Rebuild command. In later versions it's under the Library menu.)
This will create an entirely new library. It will then copy (or try to) your photos and all the associated metadata and versions to this new Library, and arrange it as close as it can to what you had in the damaged Library. It does this based on information it finds in the iPhoto sharing mechanism - but that means that things not shared won't be there, so no slideshows, books or calendars, for instance - but it should get all your events, albums and keywords, faces and places back.
Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.
Regards
TD -
I am trying to update Adobe Bridge and Photoshop CS6, because it is not opening my CR2 files taken by my Canon 6D. I have tried to go to help > updates, and the software says that it is "Up to Date". However, if I view the plug-in, it says that Camera Raw is only version 7.1. I can not find a direct download for Camera Raw 7.3, only the DNG converter, NOT CAMERA RAW! Please Help!
Did you fix your issue? I am having the same one
-
I am trying to import developed images from LightRoom 5 Photoshop 6 for further editing. I am receiving this message and the images will not open.....'Could not open scratch file because the file is locked, or you do not have necessary access permissions or another program is using the file. Use the 'Properties' command in the Windows Explorer to unlock the file. How do I fix this? I would greatly appreciate it if you would respond with terms and procedures that a computer ignorant user, such as me, will understand. Thanks.
Have you tried restoring the Preferences yet?
-
Hi,
I am trying to write a class which can open file with selected application. for simplicity, now I just hard code the varaibles.
the problem: if the path or file name has space in it, even it exist, winword still can not open it.
could someone kindly show me what I did wrong and how to do it properly.
Thanks in advance.
Belinda
public static class FileOpen
public static void info()
string path = @"c:\a temp folder\aaa 1.txt";
if (File.Exists(path))
// the file I am using in the sample does exist
MsgBox.info("yes");
else
MsgBox.info("no");
// working
//Process.Start("winword", "c:\\aaa.txt");
// not working
//Process.Start("winword", "c:\aaa.txt");
// not working
Process.Start("winword", "c:\\a temp folder\\aaa 1.txt");
// not working
Process.Start("winword", path);string AppPath;
AppPath = ReadRegistry(Registry.CurrentUser, "Software\\FabricStudio", "TARGETDIR", value).ToString() + @"help";
string FileName = "'"+ AppPath + "\\ImageSamples.doc" + "'";
try
System.Diagnostics.Process.Start("Winword.exe", FileName);
can any body please help for this.
where i am making mistake? -
Help, I had aperture open and working on a image and did not have a battery in and bumped the power off. As a result it will not open my master, it is locked. when I try to open that Library it says There was an error opening the database for the library. I have tried every thing. I updated the other libr but now it will not open the main to update. What do I do?
Try starting Aperture with the command and option keys held down. You'll get 3 options.
Try each, starting at the top, in order, checking after each to see if it fixes the issue. -
<blockquote>Locking duplicate thread.<br>
Please continue here: [[/questions/880054]]</blockquote>
Question
Every time I try to open Firefox I get a popup saying it is already open, and to close it or restart; but it is NOT open, and restarting doesn't heDuplicate Thread LOCK please
* Continue here - https://support.mozilla.com/en-US/questions/880054 -
Mac osX 10.6.8
iBook - old version
can not access Safari - going through Chrome
All of a sudden my IBook would not open (100 pages and almost finished)
Error message sent to Apple - how do I access them??????
Thank you for any help you can give me
<Email Edited by Host>Do you mean, you have been creating a Photo Book in iPhoto? Or an iBook in iBook Author?
If you are asking about a photo book in iPhoto, what was the last you did in iPhoto, before the crash happened? Did you add a page with a map?
Then you may have a problem with a bug, where adding a route to a map may render the book unreadable. In that case the best option is to restore the iPhoto library from the last backup you made, before you added the map to the book.
It is not possible to open the book and to delete the unreadable page. You can only delete the book and start over, if this bug is the reason for the crashes. See for example this link: Getting rid of problem photo book -
I tunes will not open - have read ALOT but still can't get it going
How much is Apple losong out to what appears to be a fairly common but complicated problem. Not sure if it all started the day I upgraded to i-tunes 9 or when I renewed my Norton Anti Virus. It was working for months even when I had Norton which i have since removed using the Norton Removal Tool. When I first click on it it tries to open and I get a message saying that my Quick Time software is outdated but BEFORE I can click on that another box opens over top that says "i-tunes has stopped working" "a problem has caused the program to stop working correctly. Windows will close he problem and notify you if a solution is found"
If i try again , nothing happens at all. When I go to processes I can see where it appears briefly maybe 2-3 seconds then disappears.
I have tried:
Making another user account and opening I-tunes
Removing my Norton anti virus
Uninstalling and re-installing i-tunes and quick time both together and separately....many many times
restoring previous version of i-tunes
I get the same message if i try to open just quicktime.
My i -tunes library itself will also not open.
Please tell me where to go from here
I am running a newer (3 months old) HP with Windows 7 64 bit
IDEAS???
Rob.Excellent news, Rob! Glad you're up and running again.
Any idea as to how it got this way? I am thinking of re-installing my Norton since it has worked well for me for the last few years and I an not exactly sure if that was the problem or if was a Windows 7 thing?
I reckon Norton and Windows 7 were innocent parties here. Some other application dumped a couple of boatloads of QuickTime componentry in your sysWOW64. (Older versions of codec packs, video converter software, other file converter software, and media players that offer the opportunity to use quicktime files "without installing QuickTime" are the usual culprits here, but some games might do this too.) That might go unnoticed so long as that componentry matches the existing version of QuickTime software that you have installed on the PC ... but things turn to custard when you have to update your QuickTime version, and the versions of the componentry in /sysWOW64/ no longer match your "QuickTime proper". (On 32-bit systems, the same sort of thing happens, with the difference being that the "foreign" QuickTime componentry would typically be lurking down in the system32 folder.)
So, we pretty much get cases of this sort of thing showing up constantly at the forums, with a big pulse in reports happening after any QuickTime version update. (It produces a significant proportion of the "iTunes has encountered a problem" and "iTunes has stopped working" messages that we get reported here.) You were really unlucky in that you got a rarer version of the possible error messages ... so there's not as much relevant troubleshooting advice available on the web, which makes researching what could possibly be going wrong for you considerably harder than it is for folk with the more common versions of the error messages. -
ater upgrading to firefox 7 from version 5 i cant open this web browser it worked b4 but after upgrade it will not open. i did system restore to go back to a time when it did work and i still have this problem.the message says website is too busy or proxy settings r wrong but i changed them every way possible.i uninstalled the program and reinstalled it with no success. even google chrome will give me same message is my pc infected? or is there a way to get firefox to be my primary web browser?my operating system is win7 vista i am currently backing up my files to a portable drive and my intension is to save files and reboot entire system and then d-load firefox again will this solve this issue?
ater upgrading to firefox 7 from version 5 i cant open this web browser it worked b4 but after upgrade it will not open. i did system restore to go back to a time when it did work and i still have this problem.the message says website is too busy or proxy settings r wrong but i changed them every way possible.i uninstalled the program and reinstalled it with no success. even google chrome will give me same message is my pc infected? or is there a way to get firefox to be my primary web browser?my operating system is win7 vista i am currently backing up my files to a portable drive and my intension is to save files and reboot entire system and then d-load firefox again will this solve this issue?
-
Have a Macbook Pro and a 4th gen iPod Touch. Downloaded and install iOS 4.3.2 yesterday. Upgrade went without a hitch, but now iTunes on My Macbook Pro will not open. I get an error that says --The file "iTunes Library" cannot be read because it was created by a newer version of iTunes--. I am running iTunes 10.1. I searched for Updates to my MacBook Pro (running 10.6.7), but comes back saying no updates available. WHAT IS GOING ON??
Is your computer still authorized in the Store menu in iTunes?
iTunes Store: About authorization and deauthorization
When I changed to my new MacBookPro I had to authorize it although I used TimeMachine to transfer my settings and data.
Did you try to deselect Wi-Fi syncing and enable it again after that?
iTunes 10.5 and later: Troubleshooting iTunes Wi-Fi syncing
Did you already transfer your purchases and manually started a backup? -
I am on windows 7 and I upgraded to the newest verison of firefox and now it will not open. I have removed firefox completely and uploaded it again and that did not work. I then made sure it could get through my firewall and that did not work. So my latest attempt I removed firefox 10 again and uploaded the beta version hoping that would do it and once again nothing. It will not open at all. Please help - is there a live chat or a number to talk to someone at Firefox?
I think when uninstalling you may also have to choose (tick) to delete the preferences and other personal data like the bookmarks, stored passwords etc. to erase completely. If you are installing afresh, please try right-clicking on the file and '''Run as administrator''' to install. And when uninstalling, please also make sure choose to delete all data and also manually delete any '''Mozilla''', '''Mozilla Firefox''' or '''Firefox''' from %appdata%, %localappdata% and %programfiles%. You can open a location by typing for eg. %appdata% in the '''Run''' box (Windows key + R). You may also have to check the '''VirtualStore''' folder in %localappdata%. Files in the VirtualStore can be problematic. I think a clean installation may help.
[https://www.mozilla.org/en-US/firefox/new/ Firefox]
[http://kb.mozillazine.org/Installation_directory Installation Folder]
[http://kb.mozillazine.org/Profile_folder Profile Folder]
Please note that using system restore would usually damage the Firefox installation.
Maybe you are looking for
-
Creating a new User in BO 4.1
Hello everyone, When I am creating a new user and check the security I find that Administrator group is automatically inherited. Where is it inheriting the admin group from. I cannot remove it since it is inherited. Any idea where it is coming from
-
Hi Experts, I am currently working on a POC for a client that requires that we show them how to extract from SAPR3 using their own Structure. I have a list of Entities that I need to enter into the Hierarchies tables: Setnode and Setleaf, CSKS/CSKT
-
what is the best virus remover and protector for 10.5.8 version of mac os x??? I have this thing called macprotector that keeps popping up and trying to get into my computer. I have heard of a maleware remover...
-
Require MIGO Screen enhancement in Line Items
Hi, During MIGO when we post the document, under Quantity tab, Amount in LC XXXXXX has been updated... But we want that during MIGO creation, after click on CHECK icon, Amount in LC field should be there in Quantity tab. Because we want to know, how
-
Problem while creating table dynamically using stored procedure
Hi all When i try to execute the following lines get insufficient privilege error. FYI: i m able to create table statically.(i.e without using stored procedure) CREATE OR REPLACE PROCEDURE pcalling IS str varchar2(60); BEGIN str:='create table t15(tn