Showing posts with label program. Show all posts
Showing posts with label program. Show all posts

Monday, March 26, 2012

problem with installshield

I don't know what I did, but I keep getting the message that I can't install a program or even uninstall one. I think I deleted part of my installsheild. I have tried to find out where and how to repair it, but I haven't so far. Please help!!!!! Rita

I guess your reason for asking here is that you're trying to install an older version of SQL Server?

InstallShield isn't a Microsoft product. If it's broken somehow, you should start by getting it fixed. Here's a link that should help:

http://www.macrovision.com/products/flexnet_installshield/index.shtml

Paul

|||

Puts the Patriot Actors right in the Windows Control Panel . . .

from Corel.com support site search (one supposes it will soon disappear -- this dreadful thing is unaccountably included in WordPerfect):

"If you wish to remove the InstallShield Update Manager from your workstation, you will need to download and install the Update Manager uninstaller from the following location: http://consumer.installshield.com/kb.asp?id=Q111006 ."

|||

I have been trying to install a PC Studio for a mobile phone and receive error message "empty temporary folder, check internet connection then try to run Setup again"

I found a fix in Article ID 311203 recommending deleting the InstallShield File in C:\Program Files\Common Files\Install Shield folder but article says this only applies to Windows 98, 95 and Millennium. Can I use with Windows XP?

problem with installshield

I don't know what I did, but I keep getting the message that I can't install a program or even uninstall one. I think I deleted part of my installsheild. I have tried to find out where and how to repair it, but I haven't so far. Please help!!!!! Rita

I guess your reason for asking here is that you're trying to install an older version of SQL Server?

InstallShield isn't a Microsoft product. If it's broken somehow, you should start by getting it fixed. Here's a link that should help:

http://www.macrovision.com/products/flexnet_installshield/index.shtml

Paul

|||

Puts the Patriot Actors right in the Windows Control Panel . . .

from Corel.com support site search (one supposes it will soon disappear -- this dreadful thing is unaccountably included in WordPerfect):

"If you wish to remove the InstallShield Update Manager from your workstation, you will need to download and install the Update Manager uninstaller from the following location: http://consumer.installshield.com/kb.asp?id=Q111006 ."

|||

I have been trying to install a PC Studio for a mobile phone and receive error message "empty temporary folder, check internet connection then try to run Setup again"

I found a fix in Article ID 311203 recommending deleting the InstallShield File in C:\Program Files\Common Files\Install Shield folder but article says this only applies to Windows 98, 95 and Millennium. Can I use with Windows XP?

problem with installshield

I don't know what I did, but I keep getting the message that I can't install a program or even uninstall one. I think I deleted part of my installsheild. I have tried to find out where and how to repair it, but I haven't so far. Please help!!!!! Rita

Puts the Patriot Actors right in the Windows Control Panel . . .

from Corel.com support site search (one supposes it will soon disappear -- this dreadful thing is unaccountably included in WordPerfect):

"If you wish to remove the InstallShield Update Manager from your workstation, you will need to download and install the Update Manager uninstaller from the following location: http://consumer.installshield.com/kb.asp?id=Q111006 ."

|||

I have been trying to install a PC Studio for a mobile phone and receive error message "empty temporary folder, check internet connection then try to run Setup again"

I found a fix in Article ID 311203 recommending deleting the InstallShield File in C:\Program Files\Common Files\Install Shield folder but article says this only applies to Windows 98, 95 and Millennium. Can I use with Windows XP?

|||

I guess your reason for asking here is that you're trying to install an older version of SQL Server?

InstallShield isn't a Microsoft product. If it's broken somehow, you should start by getting it fixed. Here's a link that should help:

http://www.macrovision.com/products/flexnet_installshield/index.shtml

Paul

Problem with installing Sql Server desktop

I have a new computer p4 2.8
i just install in it the Microsoft Visual Studio .NET, when i try to install the sql server desktop from:
"C:\Program Files\Microsoft Visual Studio .NET\Setup\MSDE" in the middle it stops installing,
I tryed to uninstall Visual Studio and install it again , but i get the same problem
what can i do?OK
I solved the problem, I install Xp again and before downloading XP update's i install VS and it works.

Friday, March 9, 2012

problem with duplicate keys

Hello,

There is a program which performs some scripted actions via ODBC on tables
in some database on mssql 2000. Sometimes that program tries to insert
record with key that is already present in the database. The error comes up
and the program stops.

Is there any way to globally configure the database or the whole mssql
server to ignore such attempts and let the script continue without any error
when the script tries to insert duplicate-key records?

Thank you for any suggestions.

Pawel BanysOn Thu, 5 Feb 2004 09:13:28 +0100 in comp.databases.ms-sqlserver,
"Pawel Banys" <voland@.dmz.com.pl> wrote:

>Hello,
>There is a program which performs some scripted actions via ODBC on tables
>in some database on mssql 2000. Sometimes that program tries to insert
>record with key that is already present in the database. The error comes up
>and the program stops.
>Is there any way to globally configure the database or the whole mssql
>server to ignore such attempts and let the script continue without any error
>when the script tries to insert duplicate-key records?

Maybe you should change your script to check for the keys first,
instead of blindly whacking stuff into them e.g.

insert into table1 (pk, column)
select pk, column from table2
where table1.pk not in (select pk from table2)

--
A)bort, R)etry, I)nfluence with large hammer.|||"Pawel Banys" <voland@.dmz.com.pl> wrote in message news:<bvsu0g$3fp$1@.atlantis.news.tpi.pl>...
> Hello,
> There is a program which performs some scripted actions via ODBC on tables
> in some database on mssql 2000. Sometimes that program tries to insert
> record with key that is already present in the database. The error comes up
> and the program stops.
> Is there any way to globally configure the database or the whole mssql
> server to ignore such attempts and let the script continue without any error
> when the script tries to insert duplicate-key records?
> Thank you for any suggestions.
> Pawel Banys

Are you talking about error 2627 (violation of primary key
constraint)? If so, then the current batch should continue anyway,
unless of course the code has error handling to stop immediately on an
error.

Assuming you have control of the code, you should really avoid the
error instead:

insert into dbo.Destination (col1, col2, ...)
select col1, col2, ...
from dbo.Source s
where not exists (select * from dbo.Destination d
where d.PrimaryKey = s.PrimaryKey)

If you don't control the code, then I don't think there's much you can
do - the error can't be suppressed, and needs to be handled on the
client. Perhaps you can clean up the data somehow before passing it to
the program?

Simon|||Pawel Banys (voland@.dmz.com.pl) writes:
> There is a program which performs some scripted actions via ODBC on
> tables in some database on mssql 2000. Sometimes that program tries to
> insert record with key that is already present in the database. The
> error comes up and the program stops.
> Is there any way to globally configure the database or the whole mssql
> server to ignore such attempts and let the script continue without any
> error when the script tries to insert duplicate-key records?

For a unique index - but not a PK or UNIQUE constraint - you can include
the option IGNORE_DUP_KEY. With this setting, SQL Server does not find
it an error condition if you try to insert a duplicate, but leaves @.@.error
unchanged. Unfortunately, though, the message that is raised, incorrectly
has severity level 16 and not 10, so a client may still belive that
things went wrong.
--
Erland Sommarskog, SQL Server MVP, sommar@.algonet.se

Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techin.../2000/books.asp|||I too would like to be able to have it ignore errors thrown on an
insert. I'm doing the insert over a WAN, so checking for all records on
the destination server takes forever.

insert into server2.database.dbo.table select * from
server1.database.dbo.table

Adding a where clause would take much MUCH longer to perform vs. a
straight insert.

I've been deleting all records from the destination table, but that's
not a great way of doing it. Any way of having the insert simply ignore
errors and continue?

================
Jordan Bowness
================

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!|||Jordan Bowness (jb_at_bizeworld_dot_ca) writes:
> I too would like to be able to have it ignore errors thrown on an
> insert. I'm doing the insert over a WAN, so checking for all records on
> the destination server takes forever.
> insert into server2.database.dbo.table select * from
> server1.database.dbo.table
> Adding a where clause would take much MUCH longer to perform vs. a
> straight insert.
> I've been deleting all records from the destination table, but that's
> not a great way of doing it. Any way of having the insert simply ignore
> errors and continue?

There is the option that I discussed in the article you replied to. That
is, replace the primary key with a unique index with IGNORE_DUP_KEY.

Another possibility is to insert the data into a staging table on the
target server, and then call a stored procedure on the target server
which performs an INSERT targettbl SELECT * FROM staging WHERE NOT EXISTS.

--
Erland Sommarskog, SQL Server MVP, esquel@.sommarskog.se

Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techin.../2000/books.asp|||I'm having a similar issue here, i'm using a Insert Trigger to add a row to an EXCEPTIONS table when a condition is met during the insert process. The condition could be met multiple times, but I only need 1 record to go into the EXCEPTIONS table per PK combination. I could limit this using a WHERE clause however the EXCEPTIONS table has a composite primary key and I'm not sure how to check for that.

INSERT INTO STAFFING_EXCEPTIONS ...
SELECT ...
FROM INSERTED I

INNER JOIN STAFFING_3W_REQ REQ ON (I.PROJECT_CODE = REQ.PROJECT_CODE AND I.LOB_CODE = REQ.LOB_CODE AND I.ROW_DATETIME = REQ.ROW_DATETIME AND I.FTE_GOAL != REQ.FTE_GOAL)

Monday, February 20, 2012

Problem with Dates and OpenXML command

My data is being updated correctly for all fields except a date field.
The program is crashing when a date is encountered with OpenXML. Is
there a way to convert the date within SQL to handle this...I have tried
the CONVERT statement below, but it does little
UPDATE EducationSheetSchool
SET
EducationSheetSchool.Address= XMLEducationSheetSchool.Address,
EducationSheetSchool.[Name]= XMLEducationSheetSchool.[Name],
EducationSheetSchool.LEA= XMLEducationSheetSchool.LEA,
EducationSheetSchool.Tel= XMLEducationSheetSchool.Tel,
EducationSheetSchool.Email= XMLEducationSheetSchool.Email,
EducationSheetSchool.Start=CONVERT(varchar(30),XML EducationSheetSchool.S
tart, 126),
*** Sent via Developersdex http://www.codecomments.com ***
Can you show a sample of the XML and the OPENXML syntax you're using?
Adam Machanic
Pro SQL Server 2005, available now
www.apress.com/book/bookDisplay.html?bID=457
"Paul Barnett" <barnettpaul@.gmail.com> wrote in message
news:eCtAwfM4FHA.1188@.TK2MSFTNGP12.phx.gbl...
>
> My data is being updated correctly for all fields except a date field.
> The program is crashing when a date is encountered with OpenXML. Is
> there a way to convert the date within SQL to handle this...I have tried
> the CONVERT statement below, but it does little
>
> UPDATE EducationSheetSchool
> SET
> EducationSheetSchool.Address= XMLEducationSheetSchool.Address,
> EducationSheetSchool.[Name]= XMLEducationSheetSchool.[Name],
> EducationSheetSchool.LEA= XMLEducationSheetSchool.LEA,
> EducationSheetSchool.Tel= XMLEducationSheetSchool.Tel,
> EducationSheetSchool.Email= XMLEducationSheetSchool.Email,
> EducationSheetSchool.Start=CONVERT(varchar(30),XML EducationSheetSchool.S
> tart, 126),
> *** Sent via Developersdex http://www.codecomments.com ***