Showing posts with label windows. Show all posts
Showing posts with label windows. Show all posts

Friday, March 23, 2012

getting started 101

hello,

i own about a dozen interactive forums (see example at http://ConcealedCarryForum.com for one of them) that i host on a windows 2000 server dedicated server out of my home on a commercial cable backbone. the forums are ASP using Access DBs. we have outgrown the capabilities of Access and are getting complaints from DB lag during peak usage, and i must upgrade my DB to ensure the QOS end users get from my forums. i have no intention of switching over to php/MySQL/linux formats.

i tried unsuccessfully to get MySQL to play nicely in a windows environment, and recently learned that MSSQL offers free versions, the compact and the express. trouble is, i know absolutely nothing about DB management. Access is idiot proof so i have used it as long as i could. now i find myself in a scramble to learn how to create, employ, and use a more powerful DB.

for my intended usage (running about a dozen DBs on a dedicated server), will compact or express be the appropriate version to start learning? for my intended usage, is there any benefit to downloading/installing/learning the additional tools that are also available? if so, which tools? where do i learn how to create new DBs, and what tools do i need to do this? most tech papers ive seen on MSSQL assume a prior working knowledge of MSSQL DB management and im coming into this completely ignorant but willing to dedicate myself to learning.

answers, advice, etc. very much appreciated.

SQL Server Express should be your best pick (if the volume of the database increases you can easily update to any non-free version of SQL Server). SQL Server Compact edition is a inproc running database which does no need to be installed on the Server. SQL Server Express uses a Service running on the database server, if you are able to install services or use existing on your web server this option should be fine for you. SQL Express is not harder to learn than Access, see the following liknk to get an impression of the features and to get your feet wet:

http://msdn.microsoft.com/vstudio/express/sql/learning/default.aspx

Jens K. Suessmeyer

http://www.sqlserver2005.de

|||

thank you, this is exactly what i was looking for. any idea how many simultaneous connections MSSQL express can handle? i know Access handles 20.

thanks again,

|||

There is no technical limit to the number of connection that SQL Express can handle. SQL Express has the following limitations:

1 GB of memory

1 Processor socket

4 GB of user data per database

getting started 101

hello,

i own about a dozen interactive forums (see example at http://ConcealedCarryForum.com for one of them) that i host on a windows 2000 server dedicated server out of my home on a commercial cable backbone. the forums are ASP using Access DBs. we have outgrown the capabilities of Access and are getting complaints from DB lag during peak usage, and i must upgrade my DB to ensure the QOS end users get from my forums. i have no intention of switching over to php/MySQL/linux formats.

i tried unsuccessfully to get MySQL to play nicely in a windows environment, and recently learned that MSSQL offers free versions, the compact and the express. trouble is, i know absolutely nothing about DB management. Access is idiot proof so i have used it as long as i could. now i find myself in a scramble to learn how to create, employ, and use a more powerful DB.

for my intended usage (running about a dozen DBs on a dedicated server), will compact or express be the appropriate version to start learning? for my intended usage, is there any benefit to downloading/installing/learning the additional tools that are also available? if so, which tools? where do i learn how to create new DBs, and what tools do i need to do this? most tech papers ive seen on MSSQL assume a prior working knowledge of MSSQL DB management and im coming into this completely ignorant but willing to dedicate myself to learning.

answers, advice, etc. very much appreciated.

SQL Server Express should be your best pick (if the volume of the database increases you can easily update to any non-free version of SQL Server). SQL Server Compact edition is a inproc running database which does no need to be installed on the Server. SQL Server Express uses a Service running on the database server, if you are able to install services or use existing on your web server this option should be fine for you. SQL Express is not harder to learn than Access, see the following liknk to get an impression of the features and to get your feet wet:

http://msdn.microsoft.com/vstudio/express/sql/learning/default.aspx

Jens K. Suessmeyer

http://www.sqlserver2005.de

|||

thank you, this is exactly what i was looking for. any idea how many simultaneous connections MSSQL express can handle? i know Access handles 20.

thanks again,

|||

There is no technical limit to the number of connection that SQL Express can handle. SQL Express has the following limitations:

1 GB of memory

1 Processor socket

4 GB of user data per database

Monday, March 19, 2012

Getting replication to work on Windows 2003 Server X64 environment using SQL 2000

I have a mobile device application using mobile sql 2005 replicating with sql 2000 in a x86 environment. This works fine!

I'm having issues getting this to work under Windows Server 2003 X64.

I've got all the components installed under the X64 environment including CLR 2.0 X64 and the mobile sql tools. the but when I run the Configure Web Synchronization Wizard I get the following error. SQL Server 2005 Mobile Edition Server Tools were not found on the IIS server. Run the SQL Server 2005 Mobile Edition Server Tools installer....

My question is: Were do I get the X64 version of these tools?

sqlce30setupen.msi
sql2Ken@.P4.msi

The SQL environment is X86 as follows: SQL2000 SP4

Microsoft SQL Server 2000 - 8.00.2039 (Intel X86) May 3 2005 23:18:38 Copyright (c) 1988-2003 Microsoft Corporation Standard Edition on Windows NT 5.2 (Build 3790: Service Pack 1)

Any help would be much appreciated!

I am sorry here. Please read http://support.microsoft.com/?kbid=912430 for more details. To conclude, SQL Mobile server tools do not work on 64-bit. So, the solution for you in this case is that have IIS box and SQL Server box separately. SQL Server in your case would be 64-bit and IIS would be 32-bit. Let me know if you need more details.

Thanks,

Laxmi Narsimha Rao ORUGANTI, MSFT, SQL Mobile, Microsoft Corporation

|||Is there any prospect of Microsoft re-compiling these toools to work under x64 environment?|||

We are really sorry for that. It is not just compiling but a lot more when comes to making the code work for both 32-bit and 64-bit. Is there any problem in the proposed solution. I am really interested to know and solve any issue you may face.

Thanks,

Laxmi Narsimha Rao ORUGANTI, MSFT, SQL Mobile, Microsoft Corporation

|||The only other option open to me at this point is placing the tools on a x86 machine running sharepoint server, I believe that this may also be a challenge?|||

I am wondering why you suddenly require share point here! May be I did not understand your question. But, from replication perspective you donot need Microsoft Share Point software.

Thanks,

Laxmi Narsimha Rao ORUGANTI, MSFT, SQL Ev, Microsoft Corporation

Getting replication to work on Windows 2003 Server X64 environment using SQL 2000

I have a mobile device application using mobile sql 2005 replicating with sql 2000 in a x86 environment. This works fine!

I'm having issues getting this to work under Windows Server 2003 X64.

I've got all the components installed under the X64 environment including CLR 2.0 X64 and the mobile sql tools. the but when I run the Configure Web Synchronization Wizard I get the following error. SQL Server 2005 Mobile Edition Server Tools were not found on the IIS server. Run the SQL Server 2005 Mobile Edition Server Tools installer....

My question is: Were do I get the X64 version of these tools?

sqlce30setupen.msi
sql2Ken@.P4.msi

The SQL environment is X86 as follows: SQL2000 SP4

Microsoft SQL Server 2000 - 8.00.2039 (Intel X86) May 3 2005 23:18:38 Copyright (c) 1988-2003 Microsoft Corporation Standard Edition on Windows NT 5.2 (Build 3790: Service Pack 1)

Any help would be much appreciated!

I am sorry here. Please read http://support.microsoft.com/?kbid=912430 for more details. To conclude, SQL Mobile server tools do not work on 64-bit. So, the solution for you in this case is that have IIS box and SQL Server box separately. SQL Server in your case would be 64-bit and IIS would be 32-bit. Let me know if you need more details.

Thanks,

Laxmi Narsimha Rao ORUGANTI, MSFT, SQL Mobile, Microsoft Corporation

|||Is there any prospect of Microsoft re-compiling these toools to work under x64 environment?|||

We are really sorry for that. It is not just compiling but a lot more when comes to making the code work for both 32-bit and 64-bit. Is there any problem in the proposed solution. I am really interested to know and solve any issue you may face.

Thanks,

Laxmi Narsimha Rao ORUGANTI, MSFT, SQL Mobile, Microsoft Corporation

|||The only other option open to me at this point is placing the tools on a x86 machine running sharepoint server, I believe that this may also be a challenge?|||

I am wondering why you suddenly require share point here! May be I did not understand your question. But, from replication perspective you donot need Microsoft Share Point software.

Thanks,

Laxmi Narsimha Rao ORUGANTI, MSFT, SQL Ev, Microsoft Corporation

Monday, March 12, 2012

Getting Problem in giving database permission to group user

hi ,

I am getting some problem in using group in sql server login.

i have two NT groups in windows.i) developer and tester

I added a user Lalit in both gruop. I want to give db_owner permission on a particular database(Employee) to developer group and data_denyreader and deny_writer on same database(Employee) to tester group.

Now when i logging in to sql server using Lalit(windows authentication) iam not able to access the database(Employee).

Now my concern is that Lalit should have full access to the employee database when entered as developer user and limited access to employee database when entered as tester user.

how can i achieve this set up?

Please do help.

Thanks a lot in advance !!!!!!!!!!!!!!!!!!

Deny trumps any other permission (other than SA). For my testing groups, I set up SQL Server login accounts, one called "Owner" and the other called "tester". That way when the devs log in they don't have to change NT contexts.

Getting permission for user "sa" on SQL Server Express 2005

I originally installed SQL Server Express 2005 on my computer using Windows Authentication mode, and discovered when I tried to add another user/login that I didn't have permission to do so. This is rather odd as the windows account that I installed SQL server with is the system admin for the computer.

I have successfully changed the login mode to mixed, and have tried to login in as "sa", but it appears that "sa" was given some sort of password (did SQL server automatically generate one?), and I don't know what it is. When I go into command prompt and try to change the password, it says that it cannot alter the login 'sa' because it does not exist or I do not have permission (i'm pretty sure it's the later, as 'sa' shows up on the list of logins in SQL server express).

I'm so stuck! Please help!Log into the instance, and run the following stored procedure:

sp_helpsrvrolemember

this will tell you what group or login has been added tot he sysadmin group. You may simply need to add yourself to a local windows group to get sysadmin privileges.|||"sa" is the only member of that server role.

where do I see which users are members of what local windows groups?|||nevermind that last bit.
I am a member of the administrators group in the Windows local group...
Should I try logging on as the "administrator" user and seeing if I can make the changes there?|||How was this instance installed? Usually BUiLTIN\ADMINISTRATORS is a sysadmin. There is also an option to specify an sa password on installation.|||I'm not really sure how I figured this out, but I went in and added myself to every Windows local group that had something to do with SQL and now I am able to do administrative stuff in my database.
*phew*|||I think my system came with SQL server express 2005 already installed on it.

I did go in enable the Administrator's account in the Windows Users accounts, in addition to adding myself to a bunch of groups, and now when I run the query previously mentioned, BUILTIN\ADMINISTRATORS is listed as a sysadmin - which must be what is giving me, one of the administrators, sysadmin privileges.

Sunday, February 26, 2012

Getting Internal SQL Server error. with SP4

Hi !
We recently changed server to a SQL 2000 SP4 on Windows 2003 (Old was SP3
with Windows 2000)
Since the server change we've had Internal SQL Server error on a few Stored
procedures.
Server: Msg 8624, Level 16, State 1, Line 5
Internal SQL Server error.
We were able to create this script that can be run on any test environment.
Notes: Index View must have at least 3 index + clustered index
Header Table rerquires 2 Foreign Keys
Details also requires 2 Foreign Keys
Final Select (To get error) requires :
1 Temp table (Declare @. or Temp #)
4 joins to any tables
2 conditions in the where clause
-- Drop view Search_IVw
-- Drop Table Header
-- Drop Table Detail
-- Drop Table FK1
-- Create Table for Foreign Keys
Create Table FK1 (KeyId Int ,CONSTRAINT PK_KeyId PRIMARY KEY CLUSTERED
(KeyId))
Insert into FK1 Values (1)
Insert into FK1 Values (2)
-- Create Header Table
CREATE TABLE [Header] (
[POHId] [int] IDENTITY (1, 1) NOT NULL ,
[FK2] [int] NOT NULL ,
[FK3] [int] NULL ,
[Bit1] [bit] NOT NULL ,
[Int1] [int] NOT NULL ,
[Int2] [int] NULL ,
[Int3] [int] NULL ,
[FK1] [int] NULL ,
CONSTRAINT [PK_Header] PRIMARY KEY CLUSTERED ([POHId]) ON [PRIMARY] ,
CONSTRAINT [FK_Header_FK1] FOREIGN KEY ([FK1]) REFERENCES [FK1] ([KeyId]),
CONSTRAINT [FK_Header_FK2] FOREIGN KEY ([FK2]) REFERENCES [FK1] ([KeyId]),
CONSTRAINT [FK_Header_FK3] FOREIGN KEY ([FK3]) REFERENCES [FK1] ([KeyId])
) ON [PRIMARY]
GO
-- Create Detail Table
CREATE TABLE [Detail] (
[PODId] [int] IDENTITY (1, 1) NOT NULL ,
[FK1] [int] NOT NULL ,
[FK2] [int] NOT NULL ,
CONSTRAINT [PK_Detail] PRIMARY KEY CLUSTERED ([PODId]) ON [PRIMARY] ,
CONSTRAINT [FK_Detail_FK1] FOREIGN KEY ([FK1]) REFERENCES [FK1] ([KeyId]),
CONSTRAINT [FK_Detail_FK2] FOREIGN KEY ([FK2]) REFERENCES [FK1] ([KeyId])
) ON [PRIMARY]
GO
-- Create Header table with at least 136977 entries
Create table #G (Number Int)
Declare @.A Int
Set @.A =0
Insert into #G Values(1)
While @.A <=17
Begin
Insert into #G Select 1 From #G
Set @.A = @.A + 1
End
Insert into Header Select top 200000 2, 1, 0, 1, 1, 1, 1 From #G
Drop Table #G
GO
-- Create Index view with at least 3 index + clustered index
CREATE View Search_IVw WITH SCHEMABINDING As
Select D.PODId,
H.POHId
From Dbo.Header H
join Dbo.Detail D on D.FK1 = H.POHId
Go
Create unique clustered index Search_IVw_Idx on Search_IVw (PODId)
Create index Search_IVw_Idx2 on Search_IVw (POHId)
Create index Search_IVw_Idx3 on Search_IVw (POHId)
Create index Search_IVw_Idx4 on Search_IVw (POHId)
GO
Declare @.Temp Table (KeyId Int)
Insert into Dbo.Detail
Select 1,
2
From Dbo.Header H (NoLock)
join @.Temp X on X.KeyId =H.FK1
join Dbo.FK1 DI1 (NoLock) on DI1.KeyId = 2
join Dbo.FK1 DI2 (NoLock) on DI2.KeyId = 2
join Dbo.FK1 DI3 (NoLock) on DI3.KeyId = 2
Where H.FK3 =1
and H.FK2=1
Thank You
Hartco Oasys Team
We found this issue post sp3a and Microsoft support identified it as a bug
and relased a private HOTFIX for us. As per MS support, this bug exists in
SP4 as well. So you may have to open a case with MS support.
"Hartco Developers" <HartcoDevelopers@.discussions.microsoft.com> wrote in
message news:30445DFB-C7DE-4275-BA4C-05662EC420C3@.microsoft.com...
> Hi !
> We recently changed server to a SQL 2000 SP4 on Windows 2003 (Old was SP3
> with Windows 2000)
> Since the server change we've had Internal SQL Server error on a few
> Stored
> procedures.
> Server: Msg 8624, Level 16, State 1, Line 5
> Internal SQL Server error.
>
> We were able to create this script that can be run on any test
> environment.
> Notes: Index View must have at least 3 index + clustered index
> Header Table rerquires 2 Foreign Keys
> Details also requires 2 Foreign Keys
> Final Select (To get error) requires :
> 1 Temp table (Declare @. or Temp #)
> 4 joins to any tables
> 2 conditions in the where clause
>
> -- Drop view Search_IVw
> -- Drop Table Header
> -- Drop Table Detail
> -- Drop Table FK1
> -- Create Table for Foreign Keys
> Create Table FK1 (KeyId Int ,CONSTRAINT PK_KeyId PRIMARY KEY CLUSTERED
> (KeyId))
> Insert into FK1 Values (1)
> Insert into FK1 Values (2)
> -- Create Header Table
> CREATE TABLE [Header] (
> [POHId] [int] IDENTITY (1, 1) NOT NULL ,
> [FK2] [int] NOT NULL ,
> [FK3] [int] NULL ,
> [Bit1] [bit] NOT NULL ,
> [Int1] [int] NOT NULL ,
> [Int2] [int] NULL ,
> [Int3] [int] NULL ,
> [FK1] [int] NULL ,
> CONSTRAINT [PK_Header] PRIMARY KEY CLUSTERED ([POHId]) ON [PRIMARY] ,
> CONSTRAINT [FK_Header_FK1] FOREIGN KEY ([FK1]) REFERENCES [FK1] ([KeyId]),
> CONSTRAINT [FK_Header_FK2] FOREIGN KEY ([FK2]) REFERENCES [FK1] ([KeyId]),
> CONSTRAINT [FK_Header_FK3] FOREIGN KEY ([FK3]) REFERENCES [FK1] ([KeyId])
> ) ON [PRIMARY]
> GO
> -- Create Detail Table
> CREATE TABLE [Detail] (
> [PODId] [int] IDENTITY (1, 1) NOT NULL ,
> [FK1] [int] NOT NULL ,
> [FK2] [int] NOT NULL ,
> CONSTRAINT [PK_Detail] PRIMARY KEY CLUSTERED ([PODId]) ON [PRIMARY] ,
> CONSTRAINT [FK_Detail_FK1] FOREIGN KEY ([FK1]) REFERENCES [FK1] ([KeyId]),
> CONSTRAINT [FK_Detail_FK2] FOREIGN KEY ([FK2]) REFERENCES [FK1] ([KeyId])
> ) ON [PRIMARY]
> GO
> -- Create Header table with at least 136977 entries
> Create table #G (Number Int)
> Declare @.A Int
> Set @.A =0
> Insert into #G Values(1)
> While @.A <=17
> Begin
> Insert into #G Select 1 From #G
> Set @.A = @.A + 1
> End
> Insert into Header Select top 200000 2, 1, 0, 1, 1, 1, 1 From #G
> Drop Table #G
> GO
> -- Create Index view with at least 3 index + clustered index
> CREATE View Search_IVw WITH SCHEMABINDING As
> Select D.PODId,
> H.POHId
> From Dbo.Header H
> join Dbo.Detail D on D.FK1 = H.POHId
> Go
> Create unique clustered index Search_IVw_Idx on Search_IVw (PODId)
> Create index Search_IVw_Idx2 on Search_IVw (POHId)
> Create index Search_IVw_Idx3 on Search_IVw (POHId)
> Create index Search_IVw_Idx4 on Search_IVw (POHId)
> GO
> Declare @.Temp Table (KeyId Int)
> Insert into Dbo.Detail
> Select 1,
> 2
> From Dbo.Header H (NoLock)
> join @.Temp X on X.KeyId =H.FK1
> join Dbo.FK1 DI1 (NoLock) on DI1.KeyId = 2
> join Dbo.FK1 DI2 (NoLock) on DI2.KeyId = 2
> join Dbo.FK1 DI3 (NoLock) on DI3.KeyId = 2
> Where H.FK3 =1
> and H.FK2=1
>
> --
> Thank You
> Hartco Oasys Team

Getting Internal SQL Server error. with SP4

Hi !
We recently changed server to a SQL 2000 SP4 on Windows 2003 (Old was SP3
with Windows 2000)
Since the server change we've had Internal SQL Server error on a few Stored
procedures.
Server: Msg 8624, Level 16, State 1, Line 5
Internal SQL Server error.
We were able to create this script that can be run on any test environment.
Notes: Index View must have at least 3 index + clustered index
Header Table rerquires 2 Foreign Keys
Details also requires 2 Foreign Keys
Final Select (To get error) requires :
1 Temp table (Declare @. or Temp #)
4 joins to any tables
2 conditions in the where clause
-- Drop view Search_IVw
-- Drop Table Header
-- Drop Table Detail
-- Drop Table FK1
-- Create Table for Foreign Keys
Create Table FK1 (KeyId Int ,CONSTRAINT PK_KeyId PRIMARY KEY CLUSTERED
(KeyId))
Insert into FK1 Values (1)
Insert into FK1 Values (2)
-- Create Header Table
CREATE TABLE [Header] (
[POHId] [int] IDENTITY (1, 1) NOT NULL ,
[FK2] [int] NOT NULL ,
[FK3] [int] NULL ,
[Bit1] [bit] NOT NULL ,
[Int1] [int] NOT NULL ,
[Int2] [int] NULL ,
[Int3] [int] NULL ,
[FK1] [int] NULL ,
CONSTRAINT [PK_Header] PRIMARY KEY CLUSTERED ([POHId]) ON [PRIMARY] ,
CONSTRAINT [FK_Header_FK1] FOREIGN KEY ([FK1]) REFERENCES [FK1] ([KeyId]),
CONSTRAINT [FK_Header_FK2] FOREIGN KEY ([FK2]) REFERENCES [FK1] ([KeyId]),
CONSTRAINT [FK_Header_FK3] FOREIGN KEY ([FK3]) REFERENCES [FK1] ([KeyId])
) ON [PRIMARY]
GO
-- Create Detail Table
CREATE TABLE [Detail] (
[PODId] [int] IDENTITY (1, 1) NOT NULL ,
[FK1] [int] NOT NULL ,
[FK2] [int] NOT NULL ,
CONSTRAINT [PK_Detail] PRIMARY KEY CLUSTERED ([PODId]) ON [PRIMARY] ,
CONSTRAINT [FK_Detail_FK1] FOREIGN KEY ([FK1]) REFERENCES [FK1] ([KeyId]),
CONSTRAINT [FK_Detail_FK2] FOREIGN KEY ([FK2]) REFERENCES [FK1] ([KeyId])
) ON [PRIMARY]
GO
-- Create Header table with at least 136977 entries
Create table #G (Number Int)
Declare @.A Int
Set @.A =0
Insert into #G Values(1)
While @.A <=17
Begin
Insert into #G Select 1 From #G
Set @.A = @.A + 1
End
Insert into Header Select top 200000 2, 1, 0, 1, 1, 1, 1 From #G
Drop Table #G
GO
-- Create Index view with at least 3 index + clustered index
CREATE View Search_IVw WITH SCHEMABINDING As
Select D.PODId,
H.POHId
From Dbo.Header H
join Dbo.Detail D on D.FK1 = H.POHId
Go
Create unique clustered index Search_IVw_Idx on Search_IVw (PODId)
Create index Search_IVw_Idx2 on Search_IVw (POHId)
Create index Search_IVw_Idx3 on Search_IVw (POHId)
Create index Search_IVw_Idx4 on Search_IVw (POHId)
GO
Declare @.Temp Table (KeyId Int)
Insert into Dbo.Detail
Select 1,
2
From Dbo.Header H (NoLock)
join @.Temp X on X.KeyId =H.FK1
join Dbo.FK1 DI1 (NoLock) on DI1.KeyId = 2
join Dbo.FK1 DI2 (NoLock) on DI2.KeyId = 2
join Dbo.FK1 DI3 (NoLock) on DI3.KeyId = 2
Where H.FK3 =1
and H.FK2=1
--
Thank You
Hartco Oasys TeamWe found this issue post sp3a and Microsoft support identified it as a bug
and relased a private HOTFIX for us. As per MS support, this bug exists in
SP4 as well. So you may have to open a case with MS support.
"Hartco Developers" <HartcoDevelopers@.discussions.microsoft.com> wrote in
message news:30445DFB-C7DE-4275-BA4C-05662EC420C3@.microsoft.com...
> Hi !
> We recently changed server to a SQL 2000 SP4 on Windows 2003 (Old was SP3
> with Windows 2000)
> Since the server change we've had Internal SQL Server error on a few
> Stored
> procedures.
> Server: Msg 8624, Level 16, State 1, Line 5
> Internal SQL Server error.
>
> We were able to create this script that can be run on any test
> environment.
> Notes: Index View must have at least 3 index + clustered index
> Header Table rerquires 2 Foreign Keys
> Details also requires 2 Foreign Keys
> Final Select (To get error) requires :
> 1 Temp table (Declare @. or Temp #)
> 4 joins to any tables
> 2 conditions in the where clause
>
> -- Drop view Search_IVw
> -- Drop Table Header
> -- Drop Table Detail
> -- Drop Table FK1
> -- Create Table for Foreign Keys
> Create Table FK1 (KeyId Int ,CONSTRAINT PK_KeyId PRIMARY KEY CLUSTERED
> (KeyId))
> Insert into FK1 Values (1)
> Insert into FK1 Values (2)
> -- Create Header Table
> CREATE TABLE [Header] (
> [POHId] [int] IDENTITY (1, 1) NOT NULL ,
> [FK2] [int] NOT NULL ,
> [FK3] [int] NULL ,
> [Bit1] [bit] NOT NULL ,
> [Int1] [int] NOT NULL ,
> [Int2] [int] NULL ,
> [Int3] [int] NULL ,
> [FK1] [int] NULL ,
> CONSTRAINT [PK_Header] PRIMARY KEY CLUSTERED ([POHId]) ON [PRIMARY] ,
> CONSTRAINT [FK_Header_FK1] FOREIGN KEY ([FK1]) REFERENCES [FK1] ([KeyId]),
> CONSTRAINT [FK_Header_FK2] FOREIGN KEY ([FK2]) REFERENCES [FK1] ([KeyId]),
> CONSTRAINT [FK_Header_FK3] FOREIGN KEY ([FK3]) REFERENCES [FK1] ([KeyId])
> ) ON [PRIMARY]
> GO
> -- Create Detail Table
> CREATE TABLE [Detail] (
> [PODId] [int] IDENTITY (1, 1) NOT NULL ,
> [FK1] [int] NOT NULL ,
> [FK2] [int] NOT NULL ,
> CONSTRAINT [PK_Detail] PRIMARY KEY CLUSTERED ([PODId]) ON [PRIMARY] ,
> CONSTRAINT [FK_Detail_FK1] FOREIGN KEY ([FK1]) REFERENCES [FK1] ([KeyId]),
> CONSTRAINT [FK_Detail_FK2] FOREIGN KEY ([FK2]) REFERENCES [FK1] ([KeyId])
> ) ON [PRIMARY]
> GO
> -- Create Header table with at least 136977 entries
> Create table #G (Number Int)
> Declare @.A Int
> Set @.A =0
> Insert into #G Values(1)
> While @.A <=17
> Begin
> Insert into #G Select 1 From #G
> Set @.A = @.A + 1
> End
> Insert into Header Select top 200000 2, 1, 0, 1, 1, 1, 1 From #G
> Drop Table #G
> GO
> -- Create Index view with at least 3 index + clustered index
> CREATE View Search_IVw WITH SCHEMABINDING As
> Select D.PODId,
> H.POHId
> From Dbo.Header H
> join Dbo.Detail D on D.FK1 = H.POHId
> Go
> Create unique clustered index Search_IVw_Idx on Search_IVw (PODId)
> Create index Search_IVw_Idx2 on Search_IVw (POHId)
> Create index Search_IVw_Idx3 on Search_IVw (POHId)
> Create index Search_IVw_Idx4 on Search_IVw (POHId)
> GO
> Declare @.Temp Table (KeyId Int)
> Insert into Dbo.Detail
> Select 1,
> 2
> From Dbo.Header H (NoLock)
> join @.Temp X on X.KeyId =H.FK1
> join Dbo.FK1 DI1 (NoLock) on DI1.KeyId = 2
> join Dbo.FK1 DI2 (NoLock) on DI2.KeyId = 2
> join Dbo.FK1 DI3 (NoLock) on DI3.KeyId = 2
> Where H.FK3 =1
> and H.FK2=1
>
> --
> Thank You
> Hartco Oasys Team

Getting Internal SQL Server error. with SP4

Hi !
We recently changed server to a SQL 2000 SP4 on Windows 2003 (Old was SP3
with Windows 2000)
Since the server change we've had Internal SQL Server error on a few Stored
procedures.
Server: Msg 8624, Level 16, State 1, Line 5
Internal SQL Server error.
We were able to create this script that can be run on any test environment.
Notes: Index View must have at least 3 index + clustered index
Header Table rerquires 2 Foreign Keys
Details also requires 2 Foreign Keys
Final Select (To get error) requires :
1 Temp table (Declare @. or Temp #)
4 joins to any tables
2 conditions in the where clause
-- Drop view Search_IVw
-- Drop Table Header
-- Drop Table Detail
-- Drop Table FK1
-- Create Table for Foreign Keys
Create Table FK1 (KeyId Int ,CONSTRAINT PK_KeyId PRIMARY KEY CLUSTERED
(KeyId))
Insert into FK1 Values (1)
Insert into FK1 Values (2)
-- Create Header Table
CREATE TABLE [Header] (
[POHId] [int] IDENTITY (1, 1) NOT NULL ,
[FK2] [int] NOT NULL ,
[FK3] [int] NULL ,
[Bit1] [bit] NOT NULL ,
[Int1] [int] NOT NULL ,
[Int2] [int] NULL ,
[Int3] [int] NULL ,
[FK1] [int] NULL ,
CONSTRAINT [PK_Header] PRIMARY KEY CLUSTERED ([POHId]) ON [PRIMA
RY] ,
CONSTRAINT [FK_Header_FK1] FOREIGN KEY ([FK1]) REFERENCES [FK1]
([KeyId]),
CONSTRAINT [FK_Header_FK2] FOREIGN KEY ([FK2]) REFERENCES [FK1]
([KeyId]),
CONSTRAINT [FK_Header_FK3] FOREIGN KEY ([FK3]) REFERENCES [FK1]
([KeyId])
) ON [PRIMARY]
GO
-- Create Detail Table
CREATE TABLE [Detail] (
[PODId] [int] IDENTITY (1, 1) NOT NULL ,
[FK1] [int] NOT NULL ,
[FK2] [int] NOT NULL ,
CONSTRAINT [PK_Detail] PRIMARY KEY CLUSTERED ([PODId]) ON [PRIMA
RY] ,
CONSTRAINT [FK_Detail_FK1] FOREIGN KEY ([FK1]) REFERENCES [FK1]
([KeyId]),
CONSTRAINT [FK_Detail_FK2] FOREIGN KEY ([FK2]) REFERENCES [FK1]
([KeyId])
) ON [PRIMARY]
GO
-- Create Header table with at least 136977 entries
Create table #G (Number Int)
Declare @.A Int
Set @.A =0
Insert into #G Values(1)
While @.A <=17
Begin
Insert into #G Select 1 From #G
Set @.A = @.A + 1
End
Insert into Header Select top 200000 2, 1, 0, 1, 1, 1, 1 From #G
Drop Table #G
GO
-- Create Index view with at least 3 index + clustered index
CREATE View Search_IVw WITH SCHEMABINDING As
Select D.PODId,
H.POHId
From Dbo.Header H
join Dbo.Detail D on D.FK1 = H.POHId
Go
Create unique clustered index Search_IVw_Idx on Search_IVw (PODId)
Create index Search_IVw_Idx2 on Search_IVw (POHId)
Create index Search_IVw_Idx3 on Search_IVw (POHId)
Create index Search_IVw_Idx4 on Search_IVw (POHId)
GO
Declare @.Temp Table (KeyId Int)
Insert into Dbo.Detail
Select 1,
2
From Dbo.Header H (NoLock)
join @.Temp X on X.KeyId =H.FK1
join Dbo.FK1 DI1 (NoLock) on DI1.KeyId = 2
join Dbo.FK1 DI2 (NoLock) on DI2.KeyId = 2
join Dbo.FK1 DI3 (NoLock) on DI3.KeyId = 2
Where H.FK3 =1
and H.FK2=1
Thank You
Hartco Oasys TeamWe found this issue post sp3a and Microsoft support identified it as a bug
and relased a private HOTFIX for us. As per MS support, this bug exists in
SP4 as well. So you may have to open a case with MS support.
"Hartco Developers" <HartcoDevelopers@.discussions.microsoft.com> wrote in
message news:30445DFB-C7DE-4275-BA4C-05662EC420C3@.microsoft.com...
> Hi !
> We recently changed server to a SQL 2000 SP4 on Windows 2003 (Old was SP3
> with Windows 2000)
> Since the server change we've had Internal SQL Server error on a few
> Stored
> procedures.
> Server: Msg 8624, Level 16, State 1, Line 5
> Internal SQL Server error.
>
> We were able to create this script that can be run on any test
> environment.
> Notes: Index View must have at least 3 index + clustered index
> Header Table rerquires 2 Foreign Keys
> Details also requires 2 Foreign Keys
> Final Select (To get error) requires :
> 1 Temp table (Declare @. or Temp #)
> 4 joins to any tables
> 2 conditions in the where clause
>
> -- Drop view Search_IVw
> -- Drop Table Header
> -- Drop Table Detail
> -- Drop Table FK1
> -- Create Table for Foreign Keys
> Create Table FK1 (KeyId Int ,CONSTRAINT PK_KeyId PRIMARY KEY CLUSTERED
> (KeyId))
> Insert into FK1 Values (1)
> Insert into FK1 Values (2)
> -- Create Header Table
> CREATE TABLE [Header] (
> [POHId] [int] IDENTITY (1, 1) NOT NULL ,
> [FK2] [int] NOT NULL ,
> [FK3] [int] NULL ,
> [Bit1] [bit] NOT NULL ,
> [Int1] [int] NOT NULL ,
> [Int2] [int] NULL ,
> [Int3] [int] NULL ,
> [FK1] [int] NULL ,
> CONSTRAINT [PK_Header] PRIMARY KEY CLUSTERED ([POHId]) ON [PRI
MARY] ,
> CONSTRAINT [FK_Header_FK1] FOREIGN KEY ([FK1]) REFERENCES [FK1
] ([KeyId]),
> CONSTRAINT [FK_Header_FK2] FOREIGN KEY ([FK2]) REFERENCES [FK1
] ([KeyId]),
> CONSTRAINT [FK_Header_FK3] FOREIGN KEY ([FK3]) REFERENCES [FK1
] ([KeyId])
> ) ON [PRIMARY]
> GO
> -- Create Detail Table
> CREATE TABLE [Detail] (
> [PODId] [int] IDENTITY (1, 1) NOT NULL ,
> [FK1] [int] NOT NULL ,
> [FK2] [int] NOT NULL ,
> CONSTRAINT [PK_Detail] PRIMARY KEY CLUSTERED ([PODId]) ON [PRI
MARY] ,
> CONSTRAINT [FK_Detail_FK1] FOREIGN KEY ([FK1]) REFERENCES [FK1
] ([KeyId]),
> CONSTRAINT [FK_Detail_FK2] FOREIGN KEY ([FK2]) REFERENCES [FK1
] ([KeyId])
> ) ON [PRIMARY]
> GO
> -- Create Header table with at least 136977 entries
> Create table #G (Number Int)
> Declare @.A Int
> Set @.A =0
> Insert into #G Values(1)
> While @.A <=17
> Begin
> Insert into #G Select 1 From #G
> Set @.A = @.A + 1
> End
> Insert into Header Select top 200000 2, 1, 0, 1, 1, 1, 1 From #G
> Drop Table #G
> GO
> -- Create Index view with at least 3 index + clustered index
> CREATE View Search_IVw WITH SCHEMABINDING As
> Select D.PODId,
> H.POHId
> From Dbo.Header H
> join Dbo.Detail D on D.FK1 = H.POHId
> Go
> Create unique clustered index Search_IVw_Idx on Search_IVw (PODId)
> Create index Search_IVw_Idx2 on Search_IVw (POHId)
> Create index Search_IVw_Idx3 on Search_IVw (POHId)
> Create index Search_IVw_Idx4 on Search_IVw (POHId)
> GO
> Declare @.Temp Table (KeyId Int)
> Insert into Dbo.Detail
> Select 1,
> 2
> From Dbo.Header H (NoLock)
> join @.Temp X on X.KeyId =H.FK1
> join Dbo.FK1 DI1 (NoLock) on DI1.KeyId = 2
> join Dbo.FK1 DI2 (NoLock) on DI2.KeyId = 2
> join Dbo.FK1 DI3 (NoLock) on DI3.KeyId = 2
> Where H.FK3 =1
> and H.FK2=1
>
> --
> Thank You
> Hartco Oasys Team

Friday, February 24, 2012

Getting Exception while installing SQL Express 2005 in Windows Vista OS

Hi All,

I have developed an windows application using C#. I am using SQL Express as back-end.

I have created an installer class which first installs .NET Framework2.0, SQL Express2005 and then the

application. It is woking fine with WindowsNT and XP oprating systems.

If i try to install this on Windows Vista OS, I am getting expection while installing SQL Express(Creating SQL

Instance).

Can anybody help me in this scenario.

Regards,
Doppalapudi.

Can you supply the exact error message you are seeing? Are you seeing it on multiple Vista machines or just one? Can you also check your log directory for the text string "value 3" and supply the 10-15 lines above it?

Thanks,
Sam Lester (MSFT)

|||

Hi

Thanks for giving quick reply. I got the problem and solved it. I was able to install the application.

Thanks

Doppalapudi.

Getting error while using dbo in sql query

Dear All,

I am using a query as it is in SQL Server 2000 in my C# windows application.

The query is having name with "dbo" in all database object. If i remove that dbo from the name it is working fine. Why it is not working .net application ? What is the theory behind it. Please explain me..Thanks in advance.My query is given below.

strsql.Append("SELECT dbo.[Order].OrderID, dbo.Clients.CompanyName AS Customer,");
strsql.Append("dbo.Employee.LastName AS Employee, dbo.[Order].OrderDate, ");
strsql.Append("dbo.[Order].ShipmentDate, dbo.Clients_1.CompanyName AS Shipper, ");
strsql.Append("dbo.[Order].Freight,dbo.Clients.ClientID as CustomerID, ");
strsql.Append("dbo.Clients_1.ClientID as ShipperID FROM dbo.[Order] INNER JOIN ");
strsql.Append("dbo.Employee ON dbo.[Order].EmployeeID = dbo.Employee.EmployeeID INNER JOIN ");
strsql.Append("dbo.Clients ON dbo.[Order].CustomerID = dbo.Clients.ClientID INNER JOIN ");
strsql.Append("dbo.Clients Clients_1 ON dbo.[Order].ShipperID = Clients_1.ClientID ");

string sqlOrder = strsql.ToString();

Thanks,

Saji

1. Are the database objects actually in the dbo schema?

2. What do you mean by "not working" - an error? no results? incorrect results?

|||I noticed a posible problem in this lines:
strsql.Append("dbo.[Order].ShipmentDate, dbo.Clients_1.CompanyName AS Shipper, ");
and
strsql.Append("dbo.Clients_1.ClientID as ShipperID FROM dbo.[Order] INNER JOIN ");
Clients_1 don't exists as a database object, but instead is an alias for Clients table, so you can't use this sintax when using in select statement. Just remove dbo. before Clients_1 and probably will be Ok:

strsql.Append("SELECT dbo.[Order].OrderID, dbo.Clients.CompanyName AS Customer,");
strsql.Append("dbo.Employee.LastName AS Employee, dbo.[Order].OrderDate, ");
strsql.Append("dbo.[Order].ShipmentDate, Clients_1.CompanyName AS Shipper, ");
strsql.Append("dbo.[Order].Freight,dbo.Clients.ClientID as CustomerID, ");
strsql.Append("Clients_1.ClientID as ShipperID FROM dbo.[Order] INNER JOIN ");
strsql.Append("dbo.Employee ON dbo.[Order].EmployeeID = dbo.Employee.EmployeeID INNER JOIN ");
strsql.Append("dbo.Clients ON dbo.[Order].CustomerID = dbo.Clients.ClientID INNER JOIN ");
strsql.Append("dbo.Clients Clients_1 ON dbo.[Order].ShipperID = Clients_1.ClientID ");

string sqlOrder = strsql.ToString();

|||

Hi Boban,

Thank you so much..It is working well.

Regards,

Saji

Getting error while using dbo in sql query

Dear All,

I am using a query as it is in SQL Server 2000 in my C# windows application.

The query is having name with "dbo" in all database object. If i remove that dbo from the name it is working fine. Why it is not working .net application ? What is the theory behind it. Please explain me..Thanks in advance.My query is given below.

strsql.Append("SELECT dbo.[Order].OrderID, dbo.Clients.CompanyName AS Customer,");
strsql.Append("dbo.Employee.LastName AS Employee, dbo.[Order].OrderDate, ");
strsql.Append("dbo.[Order].ShipmentDate, dbo.Clients_1.CompanyName AS Shipper, ");
strsql.Append("dbo.[Order].Freight,dbo.Clients.ClientID as CustomerID, ");
strsql.Append("dbo.Clients_1.ClientID as ShipperID FROM dbo.[Order] INNER JOIN ");
strsql.Append("dbo.Employee ON dbo.[Order].EmployeeID = dbo.Employee.EmployeeID INNER JOIN ");
strsql.Append("dbo.Clients ON dbo.[Order].CustomerID = dbo.Clients.ClientID INNER JOIN ");
strsql.Append("dbo.Clients Clients_1 ON dbo.[Order].ShipperID = Clients_1.ClientID ");

string sqlOrder = strsql.ToString();

Thanks,

Saji

1. Are the database objects actually in the dbo schema?

2. What do you mean by "not working" - an error? no results? incorrect results?

|||I noticed a posible problem in this lines:
strsql.Append("dbo.[Order].ShipmentDate, dbo.Clients_1.CompanyName AS Shipper, ");
and
strsql.Append("dbo.Clients_1.ClientID as ShipperID FROM dbo.[Order] INNER JOIN ");
Clients_1 don't exists as a database object, but instead is an alias for Clients table, so you can't use this sintax when using in select statement. Just remove dbo. before Clients_1 and probably will be Ok:

strsql.Append("SELECT dbo.[Order].OrderID, dbo.Clients.CompanyName AS Customer,");
strsql.Append("dbo.Employee.LastName AS Employee, dbo.[Order].OrderDate, ");
strsql.Append("dbo.[Order].ShipmentDate, Clients_1.CompanyName AS Shipper, ");
strsql.Append("dbo.[Order].Freight,dbo.Clients.ClientID as CustomerID, ");
strsql.Append("Clients_1.ClientID as ShipperID FROM dbo.[Order] INNER JOIN ");
strsql.Append("dbo.Employee ON dbo.[Order].EmployeeID = dbo.Employee.EmployeeID INNER JOIN ");
strsql.Append("dbo.Clients ON dbo.[Order].CustomerID = dbo.Clients.ClientID INNER JOIN ");
strsql.Append("dbo.Clients Clients_1 ON dbo.[Order].ShipperID = Clients_1.ClientID ");

string sqlOrder = strsql.ToString();

|||

Hi Boban,

Thank you so much..It is working well.

Regards,

Saji

Getting error while using dbo in sql query

Dear All,

I am using a query as it is in SQL Server 2000 in my C# windows application.

The query is having name with "dbo" in all database object. If i remove that dbo from the name it is working fine. Why it is not working .net application ? What is the theory behind it. Please explain me..Thanks in advance.My query is given below.

strsql.Append("SELECT dbo.[Order].OrderID, dbo.Clients.CompanyName AS Customer,");
strsql.Append("dbo.Employee.LastName AS Employee, dbo.[Order].OrderDate, ");
strsql.Append("dbo.[Order].ShipmentDate, dbo.Clients_1.CompanyName AS Shipper, ");
strsql.Append("dbo.[Order].Freight,dbo.Clients.ClientID as CustomerID, ");
strsql.Append("dbo.Clients_1.ClientID as ShipperID FROM dbo.[Order] INNER JOIN ");
strsql.Append("dbo.Employee ON dbo.[Order].EmployeeID = dbo.Employee.EmployeeID INNER JOIN ");
strsql.Append("dbo.Clients ON dbo.[Order].CustomerID = dbo.Clients.ClientID INNER JOIN ");
strsql.Append("dbo.Clients Clients_1 ON dbo.[Order].ShipperID = Clients_1.ClientID ");

string sqlOrder = strsql.ToString();

Thanks,

Saji

1. Are the database objects actually in the dbo schema?

2. What do you mean by "not working" - an error? no results? incorrect results?

|||I noticed a posible problem in this lines:
strsql.Append("dbo.[Order].ShipmentDate, dbo.Clients_1.CompanyName AS Shipper, ");
and
strsql.Append("dbo.Clients_1.ClientID as ShipperID FROM dbo.[Order] INNER JOIN ");
Clients_1 don't exists as a database object, but instead is an alias for Clients table, so you can't use this sintax when using in select statement. Just remove dbo. before Clients_1 and probably will be Ok:

strsql.Append("SELECT dbo.[Order].OrderID, dbo.Clients.CompanyName AS Customer,");
strsql.Append("dbo.Employee.LastName AS Employee, dbo.[Order].OrderDate, ");
strsql.Append("dbo.[Order].ShipmentDate, Clients_1.CompanyName AS Shipper, ");
strsql.Append("dbo.[Order].Freight,dbo.Clients.ClientID as CustomerID, ");
strsql.Append("Clients_1.ClientID as ShipperID FROM dbo.[Order] INNER JOIN ");
strsql.Append("dbo.Employee ON dbo.[Order].EmployeeID = dbo.Employee.EmployeeID INNER JOIN ");
strsql.Append("dbo.Clients ON dbo.[Order].CustomerID = dbo.Clients.ClientID INNER JOIN ");
strsql.Append("dbo.Clients Clients_1 ON dbo.[Order].ShipperID = Clients_1.ClientID ");

string sqlOrder = strsql.ToString();

|||

Hi Boban,

Thank you so much..It is working well.

Regards,

Saji

Getting error while using dbo in sql query

Dear All,

I am using a query as it is in SQL Server 2000 in my C# windows application.

The query is having name with "dbo" in all database object. If i remove that dbo from the name it is working fine. Why it is not working .net application ? What is the theory behind it. Please explain me..Thanks in advance.My query is given below.

strsql.Append("SELECT dbo.[Order].OrderID, dbo.Clients.CompanyName AS Customer,");
strsql.Append("dbo.Employee.LastName AS Employee, dbo.[Order].OrderDate, ");
strsql.Append("dbo.[Order].ShipmentDate, dbo.Clients_1.CompanyName AS Shipper, ");
strsql.Append("dbo.[Order].Freight,dbo.Clients.ClientID as CustomerID, ");
strsql.Append("dbo.Clients_1.ClientID as ShipperID FROM dbo.[Order] INNER JOIN ");
strsql.Append("dbo.Employee ON dbo.[Order].EmployeeID = dbo.Employee.EmployeeID INNER JOIN ");
strsql.Append("dbo.Clients ON dbo.[Order].CustomerID = dbo.Clients.ClientID INNER JOIN ");
strsql.Append("dbo.Clients Clients_1 ON dbo.[Order].ShipperID = Clients_1.ClientID ");

string sqlOrder = strsql.ToString();

Thanks,

Saji

1. Are the database objects actually in the dbo schema?

2. What do you mean by "not working" - an error? no results? incorrect results?

|||I noticed a posible problem in this lines:
strsql.Append("dbo.[Order].ShipmentDate, dbo.Clients_1.CompanyName AS Shipper, ");
and
strsql.Append("dbo.Clients_1.ClientID as ShipperID FROM dbo.[Order] INNER JOIN ");
Clients_1 don't exists as a database object, but instead is an alias for Clients table, so you can't use this sintax when using in select statement. Just remove dbo. before Clients_1 and probably will be Ok:

strsql.Append("SELECT dbo.[Order].OrderID, dbo.Clients.CompanyName AS Customer,");
strsql.Append("dbo.Employee.LastName AS Employee, dbo.[Order].OrderDate, ");
strsql.Append("dbo.[Order].ShipmentDate, Clients_1.CompanyName AS Shipper, ");
strsql.Append("dbo.[Order].Freight,dbo.Clients.ClientID as CustomerID, ");
strsql.Append("Clients_1.ClientID as ShipperID FROM dbo.[Order] INNER JOIN ");
strsql.Append("dbo.Employee ON dbo.[Order].EmployeeID = dbo.Employee.EmployeeID INNER JOIN ");
strsql.Append("dbo.Clients ON dbo.[Order].CustomerID = dbo.Clients.ClientID INNER JOIN ");
strsql.Append("dbo.Clients Clients_1 ON dbo.[Order].ShipperID = Clients_1.ClientID ");

string sqlOrder = strsql.ToString();

|||

Hi Boban,

Thank you so much..It is working well.

Regards,

Saji

Sunday, February 19, 2012

Getting Error 1935 when trying to install SQLXML 3 SP3

I have a Windows 2003 Server SP1. I have SQL 2000 Server SP4 running on it. I am trying to instal SQL XML 3 SP3 on this server. But the installation aborts midway giving an error.I got the following in the event log.

Product: SQLXML 3.0 SP3 -- Error 1935. An error occured during the installation of assembly component {303994BA-6487-47AE-AF1D-7AF6088EEBDB}. HRESULT: 0x80070002. assembly interface: IAssemblyCacheItem, function: Commit, assembly name: Microsoft.MSXML2,publicKeyToken="6bd6b9abf345378f",version="4.20.9818.0",type="win32",processorArchitecture="x86"

Please help. Thanks in advance

Rupesh NairThis may be due to another process locking MSXML4.dll. You may need to shutdown any applications that may be using MSXML4.dll and then retry the install.

If you are unsure which of your processes may be using MSXML4.dll, you can use a tool like ListDlls from SysInternals to determine which process is holding onto it.

Give this a try, and see if it works out.|||

Another issue that can cause this is if you are using Ad-Watch SE Professional and have it active. Simply turn it off and then the SQLXML will install completely.

I hope this helps.

Marcus.......

|||

SpySweeper Enterprise Edition also causes the same issue.

Kill SpySweeper.exe and SpySweeperTray.exe from Task Manager, and the install will be successful.

|||

Please read the posting more carefully. The problem is the inability to deploy the MSXML4 assembly files to the WinSXS folder.

I have encountered this problem frequently in just the past two weeks wherever I am installing a software package that includes the Microsoft MSXML4sxs32.msm Merge Module. The packages have been using this merge module for two years, but just began showing this problem within the last two weeks.


MSI (s) (F8:28) [17:35:39:702]: Executing op: SetTargetFolder(Folder=C:\WINDOWS\system32\SXS\)
MSI (s) (F8:28) [17:35:39:702]: Executing op: SetSourceFolder(Folder=1\System32\SXS\)
MSI (s) (F8:28) [17:35:39:702]: Executing op: AssemblyCopy(SourceName=msxml4.dll,SourceCabKey=msxml4.dll.sxs.2E8D8EBB_CC16_45E1_BBCA_CB1ED881EDB7,DestName=msxml4.dll,Attributes=16896,FileSize=1233920,PerTick=32768,,VerifyMedia=1,,,,,ComponentId={303994BA-6487-47AE-AF1D-7AF6088EEBDB},,,,AssemblyMode=0,)
MSI (s) (F8:28) [17:35:39:795]: Assembly Error:Access is denied.

Getting Error 1935 when trying to install SQLXML 3 SP3

I have a Windows 2003 Server SP1. I have SQL 2000 Server SP4 running on it.
I
am trying to instal SQL XML 3 SP3 on this server. But the installation abort
s
midway giving an error.I got the following in the event log.
Product: SQLXML 3.0 SP3 -- Error 1935. An error occured during the
installation of assembly component {303994BA-6487-47AE-AF1D-7AF6088EEBDB}.
HRESULT: 0x80070002. assembly interface: IAssemblyCacheItem, function:
Commit, assembly name:
Microsoft.MSXML2,publicKeyToken="6bd6b9abf345378f",version="4.20.9818.0",typ
e="win32",processorArchitecture="x86"
Please help. Thanks in advance
Rupesh NairThis may be due to another process locking MSXML4.dll. You may need to
shutdown any applications that may be using MSXML4.dll and then retry the
install.
If you are unsure which of your processes may be using MSXML4.dll, you can
use a tool like ListDlls from SysInternals to determine which process is
holding onto it.
Give this a try, and see if it works out.
Bertan ARI
This posting is provided "AS IS" with no warranties, and confers no rights.
"Rupesh" <Rupesh@.discussions.microsoft.com> wrote in message
news:3BF087C5-3655-4332-8B79-34E4B559280F@.microsoft.com...
>I have a Windows 2003 Server SP1. I have SQL 2000 Server SP4 running on it.
>I
> am trying to instal SQL XML 3 SP3 on this server. But the installation
> aborts
> midway giving an error.I got the following in the event log.
> Product: SQLXML 3.0 SP3 -- Error 1935. An error occured during the
> installation of assembly component {303994BA-6487-47AE-AF1D-7AF6088EEBDB}.
> HRESULT: 0x80070002. assembly interface: IAssemblyCacheItem, function:
> Commit, assembly name:
> Microsoft.MSXML2,publicKeyToken="6bd6b9abf345378f",version="4.20.9818.0",t
ype="win32",processorArchitecture="x86"
> Please help. Thanks in advance
> Rupesh Nair
>

Getting Error 1935 when trying to install SQLXML 3 SP3

I have a Windows 2003 Server SP1. I have SQL 2000 Server SP4 running on it. I
am trying to instal SQL XML 3 SP3 on this server. But the installation aborts
midway giving an error.I got the following in the event log.
Product: SQLXML 3.0 SP3 -- Error 1935. An error occured during the
installation of assembly component {303994BA-6487-47AE-AF1D-7AF6088EEBDB}.
HRESULT: 0x80070002. assembly interface: IAssemblyCacheItem, function:
Commit, assembly name:
Microsoft.MSXML2,publicKeyToken="6bd6b9abf345378f" ,version="4.20.9818.0",type="win32",processorArchi tecture="x86"
Please help. Thanks in advance
Rupesh Nair
This may be due to another process locking MSXML4.dll. You may need to
shutdown any applications that may be using MSXML4.dll and then retry the
install.
If you are unsure which of your processes may be using MSXML4.dll, you can
use a tool like ListDlls from SysInternals to determine which process is
holding onto it.
Give this a try, and see if it works out.
Bertan ARI
This posting is provided "AS IS" with no warranties, and confers no rights.
"Rupesh" <Rupesh@.discussions.microsoft.com> wrote in message
news:3BF087C5-3655-4332-8B79-34E4B559280F@.microsoft.com...
>I have a Windows 2003 Server SP1. I have SQL 2000 Server SP4 running on it.
>I
> am trying to instal SQL XML 3 SP3 on this server. But the installation
> aborts
> midway giving an error.I got the following in the event log.
> Product: SQLXML 3.0 SP3 -- Error 1935. An error occured during the
> installation of assembly component {303994BA-6487-47AE-AF1D-7AF6088EEBDB}.
> HRESULT: 0x80070002. assembly interface: IAssemblyCacheItem, function:
> Commit, assembly name:
> Microsoft.MSXML2,publicKeyToken="6bd6b9abf345378f" ,version="4.20.9818.0",type="win32",processorArchi tecture="x86"
> Please help. Thanks in advance
> Rupesh Nair
>

Getting Error 1935 when trying to install SQLXML 3 SP3

I have a Windows 2003 Server SP1. I have SQL 2000 Server SP4 running on it. I am trying to instal SQL XML 3 SP3 on this server. But the installation aborts midway giving an error.I got the following in the event log.

Product: SQLXML 3.0 SP3 -- Error 1935. An error occured during the installation of assembly component {303994BA-6487-47AE-AF1D-7AF6088EEBDB}. HRESULT: 0x80070002. assembly interface: IAssemblyCacheItem, function: Commit, assembly name: Microsoft.MSXML2,publicKeyToken="6bd6b9abf345378f",version="4.20.9818.0",type="win32",processorArchitecture="x86"

Please help. Thanks in advance

Rupesh NairThis may be due to another process locking MSXML4.dll. You may need to shutdown any applications that may be using MSXML4.dll and then retry the install.

If you are unsure which of your processes may be using MSXML4.dll, you can use a tool like ListDlls from SysInternals to determine which process is holding onto it.

Give this a try, and see if it works out.

|||

Another issue that can cause this is if you are using Ad-Watch SE Professional and have it active. Simply turn it off and then the SQLXML will install completely.

I hope this helps.

Marcus.......

|||

SpySweeper Enterprise Edition also causes the same issue.

Kill SpySweeper.exe and SpySweeperTray.exe from Task Manager, and the install will be successful.

|||

Please read the posting more carefully. The problem is the inability to deploy the MSXML4 assembly files to the WinSXS folder.

I have encountered this problem frequently in just the past two weeks wherever I am installing a software package that includes the Microsoft MSXML4sxs32.msm Merge Module. The packages have been using this merge module for two years, but just began showing this problem within the last two weeks.


MSI (s) (F8:28) [17:35:39:702]: Executing op: SetTargetFolder(Folder=C:\WINDOWS\system32\SXS\)
MSI (s) (F8:28) [17:35:39:702]: Executing op: SetSourceFolder(Folder=1\System32\SXS\)
MSI (s) (F8:28) [17:35:39:702]: Executing op: AssemblyCopy(SourceName=msxml4.dll,SourceCabKey=msxml4.dll.sxs.2E8D8EBB_CC16_45E1_BBCA_CB1ED881EDB7,DestName=msxml4.dll,Attributes=16896,FileSize=1233920,PerTick=32768,,VerifyMedia=1,,,,,ComponentId={303994BA-6487-47AE-AF1D-7AF6088EEBDB},,,,AssemblyMode=0,)
MSI (s) (F8:28) [17:35:39:795]: Assembly Error:Access is denied.

Getting Error 1935 when trying to install SQLXML 3 SP3

I have a Windows 2003 Server SP1. I have SQL 2000 Server SP4 running on it. I am trying to instal SQL XML 3 SP3 on this server. But the installation aborts midway giving an error.I got the following in the event log.

Product: SQLXML 3.0 SP3 -- Error 1935. An error occured during the installation of assembly component {303994BA-6487-47AE-AF1D-7AF6088EEBDB}. HRESULT: 0x80070002. assembly interface: IAssemblyCacheItem, function: Commit, assembly name: Microsoft.MSXML2,publicKeyToken="6bd6b9abf345378f",version="4.20.9818.0",type="win32",processorArchitecture="x86"

Please help. Thanks in advance

Rupesh NairThis may be due to another process locking MSXML4.dll. You may need to shutdown any applications that may be using MSXML4.dll and then retry the install.

If you are unsure which of your processes may be using MSXML4.dll, you can use a tool like ListDlls from SysInternals to determine which process is holding onto it.

Give this a try, and see if it works out.|||

Another issue that can cause this is if you are using Ad-Watch SE Professional and have it active. Simply turn it off and then the SQLXML will install completely.

I hope this helps.

Marcus.......

|||

SpySweeper Enterprise Edition also causes the same issue.

Kill SpySweeper.exe and SpySweeperTray.exe from Task Manager, and the install will be successful.

|||

Please read the posting more carefully. The problem is the inability to deploy the MSXML4 assembly files to the WinSXS folder.

I have encountered this problem frequently in just the past two weeks wherever I am installing a software package that includes the Microsoft MSXML4sxs32.msm Merge Module. The packages have been using this merge module for two years, but just began showing this problem within the last two weeks.


MSI (s) (F8:28) [17:35:39:702]: Executing op: SetTargetFolder(Folder=C:\WINDOWS\system32\SXS\)
MSI (s) (F8:28) [17:35:39:702]: Executing op: SetSourceFolder(Folder=1\System32\SXS\)
MSI (s) (F8:28) [17:35:39:702]: Executing op: AssemblyCopy(SourceName=msxml4.dll,SourceCabKey=msxml4.dll.sxs.2E8D8EBB_CC16_45E1_BBCA_CB1ED881EDB7,DestName=msxml4.dll,Attributes=16896,FileSize=1233920,PerTick=32768,,VerifyMedia=1,,,,,ComponentId={303994BA-6487-47AE-AF1D-7AF6088EEBDB},,,,AssemblyMode=0,)
MSI (s) (F8:28) [17:35:39:795]: Assembly Error:Access is denied.