Formatted Search Error - Help Needed
Hi All,
My client has a peculiar purchase process. They are into chemical trading and do their purchase as follows:
The vendor gives discount based on the volume and not on the quantities purchased. Thus, an item X if purchased in 250gm will cost $ 20 while the same item if purchased in 50gm may come to $15. So, the user wants to enter this values in the purchase order and want the unit price to be calculated based on this. Assuming the clients wants 1kg quantities of item X, he would like to fill 250 x gm @ $20 in separate UDFs and based n these values, the system should calculate the unit rice for this item.
What I did was as follows:
a) I created 3 UDFs each for the Base Quantity (U_BPQty), Base UoM(U_BPUnit), Base Price (U_BasePrice). Thus the user enters 250, gm, 20 respectively as explained in the above example.
b) I created one field (U_UnitQty) to convert the base unit into purchasing unit. For this, I am writing a query to get the conversion factor value into the PO. Thus if the Purchasing UoM is KG and the base unit in which the supplier is charging is G, then I am populating 1000 in this field.
c) One more UDF to convert the base price into the unit price is captured is created. So, if 250gm cost $20 and my client wants 1kg, I am first getting the value of 4 in this UDF. This I am getting by dividing the value obtained from the step b) with the value in U_BPQty.
Once I get this value, I then calculate the unit price by multiplying 4 with $20 which will populate $80 in my Unit Price field through another FMS.
I wrote a formatted search for converting this base unit to purchasing units. Given here is the FMS which is giving an error. For the sake of another functionality, I created a UDF for Purchasing UoM as well (U_UoM).
Declare @UQty as varchar
Declare @BPC as varchar
set @UQty = $[POR1.U_UnitQty]
set @BPC = SELECT
(Case
when $[POR1.U_UoM] = 'kg' and $[POR1.U_BPUnit] = 'kg' then 1
when $[POR1.U_UoM] = 'kg' and $[POR1.U_BPUnit] = 'g' then (@UQty/$[POR1.U_BPQuantity.NUMBER])
when $[POR1.U_UoM] = 'kg' and $[POR1.U_BPUnit] = 'mg' then (@UQty/$[POR1.U_BPQuantity.NUMBER])
when $[POR1.U_UoM] = 'g' and $[POR1.U_BPUnit] = 'kg' then (@UQty/$[POR1.U_BPQuantity.NUMBER])
when $[POR1.U_UoM] = 'g' and $[POR1.U_BPUnit] = 'g' then 1
when $[POR1.U_UoM] = 'g' and $[POR1.U_BPUnit] = 'mg' then (@UQty/$[POR1.U_BPQuantity.NUMBER])
when $[POR1.U_UoM] = 'mg' and $[POR1.U_BPUnit] = 'g' then (@UQty/$[POR1.U_BPQuantity.NUMBER])
when $[POR1.U_UoM] = 'mg' and $[POR1.U_BPUnit] = 'kg' then (@UQty/$[POR1.U_BPQuantity.NUMBER])
when $[POR1.U_UoM] = 'mg' and $[POR1.U_BPUnit] = 'mg' then 1
when $[POR1.U_UoM] = 'kl' and $[POR1.U_BPUnit] = 'kl' then 1
when $[POR1.U_UoM] = 'kl' and $[POR1.U_BPUnit] = 'l' then (@UQty/$[POR1.U_BPQuantity.NUMBER])
when $[POR1.U_UoM] = 'kl' and $[POR1.U_BPUnit] = 'ml' then (@UQty/$[POR1.U_BPQuantity.NUMBER])
when $[POR1.U_UoM] = 'l' and $[POR1.U_BPUnit] = 'kl' then (@UQty/$[POR1.U_BPQuantity.NUMBER])
when $[POR1.U_UoM] = 'l' and $[POR1.U_BPUnit] = 'l' then 1
when $[POR1.U_UoM] = 'l' and $[POR1.U_BPUnit] = 'ml' then (@UQty/$[POR1.U_BPQuantity.NUMBER])
when $[POR1.U_UoM] = 'ml' and $[POR1.U_BPUnit] = 'l' then (@UQty/$[POR1.U_BPQuantity.NUMBER])
when $[POR1.U_UoM] = 'ml' and $[POR1.U_BPUnit] = 'kl' then (@UQty/$[POR1.U_BPQuantity.NUMBER])
when $[POR1.U_UoM] = 'ml' and $[POR1.U_BPUnit] = 'ml' then 1
else 1
end)
Select @BPC
I would like to know where I am going wrong or if there is any simpler method for the above scenario?
Thanks and regards,
Bharath S
Try the third line change to:
set @UQty = $[POR1.U_UnitQty.number]
Similar Messages
-
Stuck up with Formatted Search. Help needed!
Hello All,
As a part of customization, I wrote a FMS on the Unit Price of the Sales Order field but I am getting data type conversion error. Since the client is of Chemical Industry, their calculations work in the reverse way and I had to write this FMS on the Unit Price.
Here is the FMS i have written:
Declare @Total numeric (19,6)
Declare @Unit numeric (19,6)
Declare @Price numeric (19,6)
Set @Total = (Select Case when $[$38.21.0] = 0 then 1 else $[$38.21.0] end)
Set @Unit = (Select Case when $[$38.11.0] = 0 then 1 else $[$38.11.0] end)
Set @Price = (@Total/@Unit)
Select @Price
Since The LineTotal and Quantity fields are defined as numeric(19,6), I defined the vriables also as Numeric(19,6).
a) When I try to run the FMS, I am getting an error "Conversion failed when converting nvarchar value to int".
b) When I replace .0 with .NUMBER, the FMS is calculating wrongly. Why?
Where is the problem with the FMS?
Edited by: Bharath Kumar on Nov 26, 2010 10:05 AMHi Bharath...........
Declare @Total Float
Declare @Unit Float
Declare @Price Float
Declare @var1 as Float
Declare @var2 as Float
Declare @var3 as Float
Declare @var4 as Float
Set @Total=$[$38.21.0]
Set @Unit=$[$38.11.0]
Set @var1=cast( substring(replace(@Total,',',''),0,len(replace(@Total,',',''))-1) as float)
Set @var2=cast( substring(replace(@Unit,',',''),0,len(replace(@Unit,',',''))-1) as float)
Set @var3=(Select Case when @var1 = 0 then 1 else @var1 end)
Set @var4=(Select Case when @var2 = 0 then 1 else @var2 end)
Set @Price = (@var3/@var4)
Select @Price
Try above........
Regards,
Rahul -
Formatted Search error with a different user
I created an add-on form and assigned formatted search to some of the fields.
When I logged in with a different user(<b>test</b>) and tried to use the FS via Shift+F2, I received an error saying "You're not permitted to define recurring postings".
I gave that user the authentication for recurring postings, but now I receive an unclear error when I try to use the FS on the same editbox:
"<b>You are not permitted to perform this action</b>."
<b>Any ideas</b> ? What may be the reason for that unclear error message ?
<u><b>Note:</b></u>
<i>After logging on with the same test user, when I try Shift+F2 on another editbox (which is normally not assigned a FS) it works normally and I can do all FS operations like assigning a new FS, etc.</i>Hi!
sometimes there are strange things with user permissions.
i had some troubles with 2 users which have the same permissions. i solved it by 'drag'n'dropping' permission of the 1st user (which works ok) to the 2nd.
try to do the same - drop 'good'-user permissions to 'test'-user.
if it'll not solved problem then try to create new user and test your addon under that user.
probubly your problem has another motive, but i have such strange behaviour and i've described you my solution.
hope it'll help.
sorry for my poor EN, hope it'll be better in some centuries -
Hi all, i don't know if this is the right place where post my question but i think that usually who write formatted search is a developer ; anyway..
i write this formatted search but when it run in the Sales order it returns an error; the message don't show anything useful;
when I open it for change is shown this message:
1). [SQL Native Client][SQL Server]Sintassi non corretta in prossimità di '$38.14.0'. 2). [SQL Native Client][SQL Server]Impossibile preparare le istruzioni. 'Documento' (RDOC)
i don't understand which could be the error.
I post the query.
DECLARE @PriceBefDI NUMERIC(19,6)
DECLARE @MTXRot NUMERIC(19,6)
SELECT @PriceBefDI = CAST($[$38.14.0] AS NUMERIC(19,6))
SELECT @MTXRot = CAST($[OITM.U_EXP_MT_X_ROT] AS NUMERIC(19,6))
FROM OITM
WHERE OITM.ItemCode = '$[$38.1.0]'
SELECT ROUND(@PriceBefDI * @MTXRot,2)
Thanks a lot, Antonio.Try something like this:
DECLARE @PriceBefDI NUMERIC(19,6)
DECLARE @MTXRot NUMERIC(19,6)
SELECT @PriceBefDI = $[$38.14.number]
SELECT @MTXRot = OITM.U_EXP_MT_X_ROT
FROM OITM
WHERE OITM.ItemCode = $[$38.1.0]
SELECT ROUND(@PriceBefDI * @MTXRot,2) -
Formatted Search - Error in code
I have the following formatted search to calculate the Sqm Mtr Qty in SAP on my Purchase Order:
{SELECT ($[POR1.U_QTY.NUMBER] * ($[POR1.U_LEN.NUMBER]/1000)) * ($[POR1.Width1.NUMBER]/1000)}
I then tried the other way via
{SELECT (convert(float,$[POR1.U_QTY] * (convert(float,$[POR1.U_LEN]/1000)) * (convert(float,$[POR1.Width1]/1000)}
where
U_QTY = Required Qty in Metres
U_LEN = Required Length in mm's
Width1 = Width of Item in mm's
The formula works fantastically well provided the Width1.NUMBER <> 1000
when the Width1.NUMBER = 1000 the search fails for both scripts with an error message :
Internal error (8180) occured
this is extremely frustrating and I don't know why it would now fail?Hi Suda,
The formula will work for the following:
U_QTY = 5
U_LEN = 1600
Width1 = 732
I have all measurements in mm (Width1 is a measurement standard field)
It fails when I do the following:
U_QTY = 5
U_LEN = 1600
Width1 = 1000 or greater (apologies I had saig <> 1000 previously)
I think the Width in MM is limited to <1000 I'm not sure, however if I run the script
select Width1 from POR1
and I have a width of 1200mm it returns 1200 so I'm really confused.
Cheers
Kevin -
Dear All
1.I create a User-define field on OITM, Call U_D.
2.Create a format search Query on itemcode of Item interface.
FS: Select $[oitm.U_D]
When the Item interface is "add" status, The FS can select data, but
when the status is "Find" ststus, the FS can't. why?
Is my FS query wrong?
GlenGlen,
The "$" in you FMS refers to the current record. If the form is in Find mode, there in no current record the FMS can access. If you want the FMS to retrieve all the value ever inserted in that field, use the following query
SELECT DISTINCT T0.U_D FROM [dbo].[OITM] T0
Regards,
Vítor Vieira -
I've worked through the Adobe tutorial, "Developing a web
application with
Dreamweaver"
http://www.adobe.com/devnet/dreamweaver/articles/develop_web_application.html).
Everything works fine until I get to the final step of
testing the Record
Insert form be submitting data. When I click the Insert
record button
instead of going to the View page I get these errors for each
form field:
Warning: mysql_real_escape_string()
[function.mysql-real-escape-string]:
Access denied for user 'ODBC'@'localhost' (using password:
NO) in
F:\Webs\cafe_php\TMPh4f4n13a5b.php on line 8
Warning: mysql_real_escape_string()
[function.mysql-real-escape-string]: A
link to the server could not be established in
F:\Webs\cafe_php\TMPh4f4n13a5b.php on line 8
The warnings appear on the form page above the page itself.
When I connected the database to the site the test worked.
Here are the first 8 lines of code:
<?php require_once('Connections/connTownsend.php'); ?>
<?php
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType,
$theDefinedValue = "",
$theNotDefinedValue = "")
$theValue = get_magic_quotes_gpc() ? stripslashes($theValue)
: $theValue;
$theValue = function_exists("mysql_real_escape_string") ?
mysql_real_escape_string($theValue) :
mysql_escape_string($theValue);
Any suggestions?
WaltFirst, thanks for helping.
2nd, sorry to be so thick, this is all still Greek to me, but
I have no idea
where to insert
with a die($rsInsert_query):
Here is all the PHP code above the DOCTYPE:
<?php require_once('Connections/connTownsend.php'); ?>
<?php
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType,
$theDefinedValue = "",
$theNotDefinedValue = "")
$theValue = get_magic_quotes_gpc() ? stripslashes($theValue)
: $theValue;
$theValue = function_exists("mysql_real_escape_string") ?
mysql_real_escape_string($theValue) :
mysql_escape_string($theValue);
switch ($theType) {
case "text":
$theValue = ($theValue != "") ? "'" . $theValue . "'" :
"NULL";
break;
case "long":
case "int":
$theValue = ($theValue != "") ? intval($theValue) : "NULL";
break;
case "double":
$theValue = ($theValue != "") ? "'" . doubleval($theValue) .
"NULL";
break;
case "date":
$theValue = ($theValue != "") ? "'" . $theValue . "'" :
"NULL";
break;
case "defined":
$theValue = ($theValue != "") ? $theDefinedValue :
$theNotDefinedValue;
break;
return $theValue;
$editFormAction = $_SERVER['PHP_SELF'];
if (isset($_SERVER['QUERY_STRING'])) {
$editFormAction .= "?" .
htmlentities($_SERVER['QUERY_STRING']);
if ((isset($_POST["MM_insert"])) &&
($_POST["MM_insert"] == "form1")) {
$insertSQL = sprintf("INSERT INTO comments (FIRST_NAME,
LAST_NAME) VALUES
(%s, %s)",
GetSQLValueString($_POST['FIRST_NAME'], "text"),
GetSQLValueString($_POST['LAST_NAME'], "text"));
mysql_select_db($database_connTownsend, $connTownsend);
$Result1 = mysql_query($insertSQL, $connTownsend) or
die(mysql_error());
?>
Walt
"Murray *ACE*" <[email protected]> wrote
in message
news:[email protected]...
> Walt - this is a good puzzle.
>
> All of your observations suggest that you have adequate
permissions, yet,
> this error says you don't -
>
>> Warning: mysql_real_escape_string()
[function.mysql-real-escape-string]:
>> A link to the server could not be established in
>> F:\Webs\GoFreeFuel\TMP4r8sq1dpfl.php on line 8
>
> Let's take a look at your insert command - can you trap
the insert process
> with a die($rsInsert_query) command, right before the
actually execution?
>
> --
> Murray --- ICQ 71997575
> Adobe Community Expert
> (If you *MUST* email me, don't LAUGH when you do so!)
> ==================
>
http://www.dreamweavermx-templates.com
- Template Triage!
>
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
>
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
>
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
> ==================
>
>
> "Walt F. Schaefer" <[email protected]> wrote
in message
> news:[email protected]...
>> Murray,
>>
>> Here's an Update/Summary:
>>
>> 1. I have a MySQL database (localhost) I can see and
manipulate via
>> Navicat
>> 2. In my site (in DW) I created a connection to that
database. It tested
>> successfully.
>> 3. I created a recordset using that database. It
tested successfully.
>> 4. On a new page Insert > Application Objects
> Insert Record > Record
>> Insertion Form Wizard.
>> 5. Save page and preview locally in IE6.
>> 6. Input info in form and click Insert record.
>> 7. Record IS added to table but every field is Null.
>> 8. Errors for each form field:
>> Warning: mysql_real_escape_string()
[function.mysql-real-escape-string]:
>> Access denied for user 'ODBC'@'localhost' (using
password: NO) in
>> F:\Webs\GoFreeFuel\TMP4r8sq1dpfl.php on line 8
>>
>> Warning: mysql_real_escape_string()
[function.mysql-real-escape-string]:
>> A link to the server could not be established in
>> F:\Webs\GoFreeFuel\TMP4r8sq1dpfl.php on line 8
>>
>> As I can read from the database/table and the Insert
record form DOES ADD
>> a record it would seem I am connected to the db just
unable to add data.
>>
>> What have I done wrong?
>>
>> Thanks.
>> --
>>
>> Walt
>>
>>
>> "Murray *ACE*"
<[email protected]> wrote in message
>> news:[email protected]...
>>> OK - I think we will have to solve your database
connectivity issues
>>> first. What does your Connections file look
like?
>>>
>>> --
>>> Murray --- ICQ 71997575
>>> Adobe Community Expert
>>> (If you *MUST* email me, don't LAUGH when you do
so!)
>>> ==================
>>>
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
>>>
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
>>> ==================
>>>
>>>
>>> "Walt F. Schaefer" <[email protected]>
wrote in message
>>> news:[email protected]...
>>>>> LOL - you are interpreting my code MUCH
too literally. Change this -
>>>> It's only because I don't have a clue. Hence
the need to use this
>>>> beginner's tutorial.
>>>>
>>>> I replaced to code as instructed. No
improvement. Error messages:
>>>>
>>>> Warning: mysql_real_escape_string()
>>>> [function.mysql-real-escape-string]: Access
denied for user
>>>> 'ODBC'@'localhost' (using password: NO) in
>>>> F:\Webs\cafe_php\TMPgayzl14jqr.php on line 8
>>>>
>>>> Warning: mysql_real_escape_string()
>>>> [function.mysql-real-escape-string]: A link
to the server could not be
>>>> established in
F:\Webs\cafe_php\TMPgayzl14jqr.php on line 8
>>>>
>>>> Warning: mysql_real_escape_string()
>>>> [function.mysql-real-escape-string]: Access
denied for user
>>>> 'ODBC'@'localhost' (using password: NO) in
>>>> F:\Webs\cafe_php\TMPgayzl14jqr.php on line 8
>>>>
>>>> Warning: mysql_real_escape_string()
>>>> [function.mysql-real-escape-string]: A link
to the server could not be
>>>> established in
F:\Webs\cafe_php\TMPgayzl14jqr.php on line 8
>>>> INSERT INTO comments (FIRST_NAME, LAST_NAME)
VALUES (NULL, NULL)
>>>> --
>>>>
>>>> Walt
>>>>
>>>>
>>>> "Murray *ACE*"
<[email protected]> wrote in message
>>>> news:[email protected]...
>>>>> LOL - you are interpreting my code MUCH
too literally. Change this -
>>>>>
>>>>> $insertSQL = sprintf("INSERT INTO
comments (FIRST_NAME, LAST_NAME)
>>>>> VALUES
>>>>> (%s, %s)",
>>>>> GetSQLValueString($_POST['FIRST_NAME'],
"text"),
>>>>> GetSQLValueString($_POST['LAST_NAME'],
"text"));
>>>>> $insert_rsEmails = sprintf("INSERT INTO
tblcontactdata SET emailValue
>>>>> =
>>>>> %s", GetSQLValueString($filter_rsEmails,
"text"));
>>>>> die($insert_rsEmails);
>>>>> $rsEmails =
mysql_query($insert_rsEmails, $selectData) or
>>>>> die(mysql_error()); // insert this email
into the database
>>>>>
>>>>> mysql_select_db($database_connTownsend,
$connTownsend);
>>>>>
>>>>> to this -
>>>>>
>>>>> $insertSQL = sprintf("INSERT INTO
comments (FIRST_NAME, LAST_NAME)
>>>>> VALUES
>>>>> (%s, %s)",
>>>>> GetSQLValueString($_POST['FIRST_NAME'],
"text"),
>>>>> GetSQLValueString($_POST['LAST_NAME'],
"text"));
>>>>> die($insertSQL);
>>>>>
>>>>> mysql_select_db($database_connTownsend,
$connTownsend);
>>>>>
>>>>>
>>>>> --
>>>>> Murray --- ICQ 71997575
>>>>> Adobe Community Expert
>>>>> (If you *MUST* email me, don't LAUGH
when you do so!)
>>>>> ==================
>>>>>
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
>>>>>
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
>>>>> ==================
>>>>>
>>>>>
>>>>> "Walt F. Schaefer"
<[email protected]> wrote in message
>>>>>
news:[email protected]...
>>>>>> Murray,
>>>>>>
>>>>>> Here's all the PHP code that
precedes the DOCTYPE *after* inserting
>>>>>> the code you provided:
>>>>>>
>>>>>
>>>>
>>>>
>>>
>>
>>
> -
Music format. URGENT HELP NEEDED....
can any1 help me in answering is it possible to covert an mp4 file back to an mp3... i ahve burnt music off a mates computer in mp4 format onto a cd. i ahve now loaded it onto my i tunes but i need the cd in the computer for it to play.... there take the cd out stops me from listening to these files and i also cant play the cd in other devices except my comp i need to transfer these files onto individual cds...... CAN ANYONE HELP
Have you looked at the link that I gave you in your earlier post shown below:
http://forum.java.sun.com/thread.jsp?thread=426514&forum=57&message=1901238
Or is this a school assignment that you simply clueless and want somebody to write a whole program for you?
;o)
V.V. -
AE CS4 Error Help Needed!!
Hey I get 3 errors everytime Ii run AE.
1- failed to create process default activation context
2- Microsoft C++ Runtime Library Runtime Error!! Error Code R6034 - An application has made an attempt to load the C runtime library incorrectly. Please contact the application's support team fow more information.
3- Microsoft C++ Runtime Library Runtime Error!! Error Code R6030 - CRT not initialized.
Please Need Help!!83 :: xx are all resource errors, many times related to fonts as listed on my site. The logical conclusion therefore is that you have changed something outside AE, that is added a rubbish font or updated an external component like Quicktime. Still, as the others said, it's miraculous AE runs/ ran at al lon your system and you were actually able to use it.
Mylenium -
Eclipse error | Help needed badly
Hi,
My Eclipse was working properly a couple of days back but suddenly It's stopped working and gives me an error : "workspace does not contain a main type,Do you have a public void run method"
Now,I think the problem Is some how the jar's that I'm trying to upload aren't getting uploaded.
I say this because a strange problem has arised and I think this might have to do with Eclipse giving the above error.
This Is what I do to create a new java project
-Open eclipse
-save files to workspace
-click on new > java project
-Then,give the project a name and then click finish
-after that I create a new class by right clicking on the project folder > new > class >give the class a name and then click finish.
-after that I open workspace(thats on my desktop) click on the project folder make a new folder name It "lib" and upload the jar that I need for the project.
-after this I go back Into eclipse and right click on the project folder and hit refresh,now I see the folder"lib" containing the jar Inside It.
-I right click on the jar file and select "add to build path",and now theres the Issue comes In.
I want the jar to Into the reference librarys,because the last time I got the jar In the reference library It worked.
But this time I can't even manage to find where the reference library Is.
so when I click on add to build path the jar Instead of appearing in the reference library (which Isn't there) just dissapears.
I really need to fix this,because I cant test and write code until Its fixed.
heres a snapshot of how my eclipse framework looks : [http://www.flickr.com/photos/38561743@N03/4122304046/sizes/o/]
I tried to solve this on my own for hours and hours but It just Isn't working.
please guys help,I need to solve this.
Thanks,
Edited by: Parastar on Nov 21, 2009 7:26 AM
Edited by: Parastar on Nov 21, 2009 7:27 AMParastar wrote:
okay guys,I'v tried the eclipse forums for about 24 hours now.
but no response,those guys are really really slow.
please,some one here help me out.Quit begging. You've already been told this is not the place for this question. You're complaining about not getting an answer there, and begging people here to answer, as if that vindicates your decision to post here in the first place. But you haven't gotten your solution here either. Which is worse--no answer there, or a bunch of answers that don't help you here? -
Driver Installation Error, help need
Hi all,
I just downloaded the newest drivers for my Soundblaster Audigy ZS 2, WinVista 32 bit.
When I try to install, everything goes fine till an error occured (see screen)
Screen: http://img5.imageshack.us/img5/660/errordj0.jpg
Something with the APOIM installer, any help would greatly be appreciated. I already searched the FAQ and known issues etc.
Thx in advance, xGj.Hey I had that same error but?I resolved it.. First download winrar, www.rarlabs.com, second install it and then right click that exe for your driver and click on extract all to that specific folder, for vista the default is downloads, and then just extract and run the setup.exe in that folder and not from the program that you have downloaded from the creative driver website. Worked for me it should work for ya also, Good Luck...
-
Adobe Illustrator CS4 [TAdd] Error HELP NEEDED!
I recently restored my HP Workstation and began the process of installing Adobe CS4. Everything seemed to be going smoothly until I clicked both Adobe Illustrator and Adobe Acrobat.
Adobe Illustraitor presents the [TAdd] Error while it is loading up the font menu during it's opening.
I've been looking all over for answers and so far haven't found any. Please help!
ThanksI'm not sure about the [TAdd] error, but if it's crashing while loading fonts, it's likely to be corrupt font caches.
http://www.illustratorhints.com/2010/05/cleaning-your-font-cache/
If that doesn't help, then you can always try deleting your illustrator preferences, as they get corrupt from time to time as well.
http://www.illustratorhints.com/2010/05/delete-preferences-file/ -
ORA 12170 : Connection timeout error : Help needed
Hi,
The scenario is as follows: I have Oracle 11g R2 installed on a Windows Server 2008 (32-bit) server. The database SID is 'PGMS'. I am accessing (or want to access remotely) the Oracle database from the Visual Studio 2008 development environment (client environment) running on a Windows XP (SP3) platform. I have already installed the ODAC (Ver. 11.2.0.2.1) package for the Visual Studio environment.
I have created a sample Windows Forms application that uses the Oracle data access components. The sample schema HR in the Oracle database has already been unlocked. This is the schema that I am using in the application.
The issue that I am facing is that when I am adding the data connection in the Visual Studio environment; 'Test Connection' functionality returns the following error: ORA-12170 ... Connection timed out.
I have checked the TNSNAMES.ORA file, and everything is as is mentioned in the Oracle documentation. It is as follows:
PGMS=
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.161)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = PGMS)
Kindly request the community to help me out in overcoming the error and in making the connection successfully. We have a System administrator but not a database administrator. The Oracle installation has been done by me.
Thanks,
Renj
----------Sunny, it's as follows:
(1) SQLNET.ORA file contents are as follows:
# This file is actually generated by netca. But if customers choose to
# install "Software Only", this file wont exist and without the native
# authentication, they will not be able to connect to the database on NT.
SQLNET.AUTHENTICATION_SERVICES = (NTS)
(2) LISTENER.ORA file content are as follows:
# listener.ora Network Configuration File: C:\app\Administrator\product\11.2.0\dbhome_1\network\admin\listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = C:\app\Administrator\product\11.2.0\dbhome_1)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ONLY:C:\app\Administrator\product\11.2.0\dbhome_1\bin\oraclr11.dll")
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.161)(PORT = 1521))
ADR_BASE_LISTENER = C:\app\Administrator
Edited by: Renjith2 on May 9, 2011 3:17 PM
Edited by: Renjith2 on May 9, 2011 3:22 PM -
Hi all,
In ML 10.8.2 when I type in the search bar in a finder window - the results come up as some general match but I want it to be a file name match - which come up as a sub menu option.
I would like it to default as = file name match - so I don't have to have extra clicks
Q: Is there a way to set this default - like with a terminal code or something?Hello,
I would also be interested in a fix here.
In OX 10.6 when I search I have options across the bar:
This Mac "Desktop" [then a seperator] Content File Name
In 10.8 I only have This Mac & "DeskTop"...
Is there anyway of adding the other options in 10.8?
Would be very handy, but cant seem to nut this one out....
Any help much appreciated!
Cheers, -
Error: ORA-12560 TNS : Protocol Error help need urgently
HI
i m working on win 2k adv server
i installed orcale 8i
and then i started sql plus
and entered us id and pass : scott / tiger
and also tried :system / manager
but i m having this error
plz tellme how can i solve it
Error: ORA-12560 TNS : Protocol Error
plz do it soon
Nurali
03002199037You're attempting to go across SQL*Net. I'm a unix guy so I can't help very much except to point this out.
On Unix I'd either undefine the TWO_TASK environmental variable. Probably a reg entry on 2k.
Or configure Sql*Net.
Ken
Maybe you are looking for
-
Deploying a web service to WebLogic 7 - error with RemoteDispatcherBean
Hi there, I have just created a web service through WebLogic Workshop. The web service can be tested through the workshop and it works fine I am trying now to deploy it to a development server, and I am having the following error: preparing applicati
-
Hi All, Computer- MacBook Pro Processor 2.3 GHz Intel Core i5 Graphics Intel HD Graphics 3000 384 MB Software Mac OS X Lion 10.7.4 (11E53) Phone- Iphone 4s Model MC922LL 14GB -iTunes version 10.6.3 64-bit. -Happening since os x update 10.7.4. No
-
Mac os 10.4 on dvd, need to make cd's
I have found a dvd with the mac 10.4 os but my old g3 does not have a dvd drive. I do not have another mac to use to start it. I was wanting to know if I load the dvd to my pc, can I divide it up into smaller segments to write to cd to be able to loa
-
Dust marks on the 'inside' of display
I have had my 24" iMac for just under a year. 3 months ago, I noticed strange dust-like marks on the inside of my display. They are definitely on the inside because i tried cleaning the display and they did not go away. This suggests that the iMac is
-
Hi All, I am working on BO 4.0 now, so need help. Can we save Webi report in excel format and how? Regards,