Showing posts with label installed. Show all posts
Showing posts with label installed. Show all posts

Wednesday, March 28, 2012

Help with SQL 2005 Client Tools

I installed SQL 2005 Express and 2005 Express Tools on a PC. The user now wants SQL 2005 Client Tools. When I uninstall 2005 Express Tools and try to install 2005 Client Tools I get an upgrade error. It says that I've got a newer version of online books already installed and won't let me finish the install.

I'v uninstalled everything relating to MS SQL and tried cleaning some of the registry entries, but can't seem to get it to work. Anybody have any ideas as to what to do?

Did you uninstall Books Online?

(I assume that the client has properly licensed SQL Servers (non Express Edition) -otherwise only SQL Server Express Client Tools would be in license...)

|||

Have you restarted the machine after uninstalling, as few of the .DLLs will be in use.

Also see whether any related SQL client programs or directories are still in place on that machine.

If its XP try to use restore point, it may help. I tried that way earlier.

BTW what was the exact error you are getting?

|||

Sorry I haven't responded sooner.

Yes, I did uninstall Books Online.

|||

I did restart the machine and deleted any SQL programs and/or directories on the system. This is server 2000 system and does not have the restore point feature.

I will post the exact error code tomorrow.

|||

Double check in Control Panel -> Add/Remove Programs to see if there are any SQL2K5 components left behind. Also, the exact installer error will help.

Cheers,

Dan

|||Hey guys thanks for all your help, but I ran out of time and ended up just re-imaging the drive. It was actually a virtual server, so it was easy to redo!

Help with SQL 2005 Client Tools

I installed SQL 2005 Express and 2005 Express Tools on a PC. The user now wants SQL 2005 Client Tools. When I uninstall 2005 Express Tools and try to install 2005 Client Tools I get an upgrade error. It says that I've got a newer version of online books already installed and won't let me finish the install.

I'v uninstalled everything relating to MS SQL and tried cleaning some of the registry entries, but can't seem to get it to work. Anybody have any ideas as to what to do?

Did you uninstall Books Online?

(I assume that the client has properly licensed SQL Servers (non Express Edition) -otherwise only SQL Server Express Client Tools would be in license...)

|||

Have you restarted the machine after uninstalling, as few of the .DLLs will be in use.

Also see whether any related SQL client programs or directories are still in place on that machine.

If its XP try to use restore point, it may help. I tried that way earlier.

BTW what was the exact error you are getting?

|||

Sorry I haven't responded sooner.

Yes, I did uninstall Books Online.

|||

I did restart the machine and deleted any SQL programs and/or directories on the system. This is server 2000 system and does not have the restore point feature.

I will post the exact error code tomorrow.

|||

Double check in Control Panel -> Add/Remove Programs to see if there are any SQL2K5 components left behind. Also, the exact installer error will help.

Cheers,

Dan

|||Hey guys thanks for all your help, but I ran out of time and ended up just re-imaging the drive. It was actually a virtual server, so it was easy to redo!sql

Help with SQL 2000 Debugger

I installed the SQL 2000 trial as a local server on a standalone XP Pro system. When use the debugger, it executes the stored procedure without allowing me to step into the code.

Any help would be greatly appreciated.

Check in the help topic in SQL Server Books Online titled: Troubleshooting the Transact-SQL Debugger

You can experience the problems you are having when the DCOM settings aren't configured correctly.

-Sue

|||

Sue, thanks for responding. Yes I've gone thru the DCOM settings and made sure EVERYONE was there and set to allow, SYSTEM is also there and set to allow. The identy for sqldbreg is set at interactive like described in the Troubleshooting the Transact-SQL Debugger section of the books online. You should know that I'm not a windows op sys expert. I think it has something to do with the Windows Services Account is the Local System Account. All the Services Account stuff is well beyond my knowledge or experience and I don't know if since my system is XP Pro wether I can even setup a Domain User Account?

Any more help would be appreciated.

|||Sue, I just figured it out. I had to change the MSSQLSERVER properties logon to logon using a User Account versus the Local System.|||

Can you please tell me where do I go to set MSSQLServer properties logon? Should I be a SysAdmin/DBA and have access to the server box.

Thank you.

|||

In SQL Server 2000, use Enterprise Manager to change the service accounts. Right click on the server and select properties. Then go to the Security tab.

In SQL Server 2005, you would use Configuration Manager to change the service accounts.

-Sue

Help with SQL 2000 Debugger

I installed the SQL 2000 trial as a local server on a standalone XP Pro system. When use the debugger, it executes the stored procedure without allowing me to step into the code.

Any help would be greatly appreciated.

Check in the help topic in SQL Server Books Online titled: Troubleshooting the Transact-SQL Debugger

You can experience the problems you are having when the DCOM settings aren't configured correctly.

-Sue

|||

Sue, thanks for responding. Yes I've gone thru the DCOM settings and made sure EVERYONE was there and set to allow, SYSTEM is also there and set to allow. The identy for sqldbreg is set at interactive like described in the Troubleshooting the Transact-SQL Debugger section of the books online. You should know that I'm not a windows op sys expert. I think it has something to do with the Windows Services Account is the Local System Account. All the Services Account stuff is well beyond my knowledge or experience and I don't know if since my system is XP Pro wether I can even setup a Domain User Account?

Any more help would be appreciated.

|||Sue, I just figured it out. I had to change the MSSQLSERVER properties logon to logon using a User Account versus the Local System.|||

Can you please tell me where do I go to set MSSQLServer properties logon? Should I be a SysAdmin/DBA and have access to the server box.

Thank you.

|||

In SQL Server 2000, use Enterprise Manager to change the service accounts. Right click on the server and select properties. Then go to the Security tab.

In SQL Server 2005, you would use Configuration Manager to change the service accounts.

-Sue

sql

Monday, March 26, 2012

Help with setting up Reporting Services

I am trying to set up Reporting Services. I am using SQL Server 2005.

I installed service pack 2 for SQL Server 2005. The database looks to be set up in the configuration manager. When I try to deploy the report I get the following message:

A connection could not be made to the report serverhttp://localhost/ReportServer

When trying to open the ReportServer folder in IIS I get another message:

An internal error occurred on the report server. See the error log for more details. (rsInternalError) Get Online Help
Exception has been thrown by the target of an invocation.
Could not load file or assembly 'Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot find the file specified.


I am not sure what SharePoint is and why I need it. I am just trying to set up simple reports on a local host SQL database and IIS on a standalone PC.

Any help appreciated.

Thanks

This is just a guess. In the IIS admin tool in Control Panel/Administrative Tools, check the Properties on the Reports (and ReportServer) virtual directories under Default Web Site and make sure they are set to the Application pool "ReportServer" (or "DefaultAppPool" if there is no ReportServer pool) and not "MSSharepointAppPool".|||This probably has something to do with the Sharepoint integration that is a part of sp2. You can run Reporting Services in Integrated Mode (instead of Native Mode), and it will synchronize your report directory in Reporting Services with a site in MOSS or WSS. If you don't want to use this, ensure you are in Native Mode. Go to Microsoft SQL Server 2005 --> Configuration Tools --> Reporting Services Configuration. Then click on the tab "Database Setup". If you've installed sp2, you will see a line called "Server Mode:".|||

I recently installed SQL Server 2005 SP2 and I'm receiving this same error.

When I bring up the Reporting Services Configuration tool, and go to "Database Setup" as you say, I do in fact see a "Server Mode" line and it's set to "SharePoint Integrated".

How do I turn this off / fix the problem?

Thanx for any help in advance.

|||

I found my answer here:http://msdn2.microsoft.com/en-us/library/bb326407.aspx

Friday, March 23, 2012

Help with SBE Business Contact Manager

I'm not sure if this is the correct place but I'm stuck!

I installed MS SBE 2003 w/ business contact manager and for about a week it worked well. Then funny things started happening. I got to the point where the business task menu pull down menu (from within Outlook 2003) was not even showing up! The contact manager that is under the same window as the regular contacts would only display the name of the contact but nothing else stating that the Business Contact Manager was unable to Initialize this Form. Ouch! That sucked.

So, I backed up everything I could think of (exported all bits and pieces of my Outlook to individual PST files and copied those to my external drive. Then I attempted to uninstall MSO SBE which worked sort of. It couldn't take out the SQL part and now even after a complete Norton Wipe, Disk Defrag and Registry Repair it still doesn't uninstall or reinstall properly. All other aspects of MSO SBE work except for the part that I bought it for the use of the database.

Could someone please assist or direct me to where I might be able to get some help - I don't know much VB but can find what I need with some help.

Anything is better than where I am now! Please help if you can.

Thanks!!

I also am experiencing this problem any help would be greatly appreciated.|||I'm having the same problem ...please someone out there HELP ......|||

I just found out how to fix this... open outlook...select help... then select about ms office outlook... select disabled items once you enable the BCM close outlook and open it again... voila is that simple...

|||I am getting the "Outlook business manager was unable to initialize this form" message but it's only happening when I try to design the form. I have SP2 installed, I am not importing or copying any BCM stuff. It's all new. BCM doesn't not show as being disabled. Any one have an explaination?

Help with SBE Business Contact Manager

I'm not sure if this is the correct place but I'm stuck!

I installed MS SBE 2003 w/ business contact manager and for about a week it worked well. Then funny things started happening. I got to the point where the business task menu pull down menu (from within Outlook 2003) was not even showing up! The contact manager that is under the same window as the regular contacts would only display the name of the contact but nothing else stating that the Business Contact Manager was unable to Initialize this Form. Ouch! That sucked.

So, I backed up everything I could think of (exported all bits and pieces of my Outlook to individual PST files and copied those to my external drive. Then I attempted to uninstall MSO SBE which worked sort of. It couldn't take out the SQL part and now even after a complete Norton Wipe, Disk Defrag and Registry Repair it still doesn't uninstall or reinstall properly. All other aspects of MSO SBE work except for the part that I bought it for the use of the database.

Could someone please assist or direct me to where I might be able to get some help - I don't know much VB but can find what I need with some help.

Anything is better than where I am now! Please help if you can.

Thanks!!

I also am experiencing this problem any help would be greatly appreciated.|||I'm having the same problem ...please someone out there HELP ......|||

I just found out how to fix this... open outlook...select help... then select about ms office outlook... select disabled items once you enable the BCM close outlook and open it again... voila is that simple...

|||I am getting the "Outlook business manager was unable to initialize this form" message but it's only happening when I try to design the form. I have SP2 installed, I am not importing or copying any BCM stuff. It's all new. BCM doesn't not show as being disabled. Any one have an explaination?

Wednesday, March 21, 2012

Help with reporting services

Ok, here's the deal.

I'm just learning sql express and I'm trying to get my reporting

services worked out. I have everything installed and I have managed to

connect to the report server at http://<computername>/Reports

my problem is I can only connect to this page when I am at the machine

where the sql database, reporting database, etc... I cannot log on to

this site from any other computer no my network? Does any one know why

?

I have also tried installing on a different machine and I get an error "Server Error in /ReportServer application..... failed to access IIS metabase.
IIS is installed on this machine.

Thanks!!!

As long as you are inserting the correct computer name in your URL string, I don't see why it shouldn't connect. Obviously you wouldn't want to use http://localhost/Reports to connect from a client machine. Are both the server and client under the same domain?

What happens when you try http://<computername>/reportserver ?

|||I've tried using the computer name when trying to connect from a client machine and I get the same result. Both machines are on the same domain but using different user accounts. Would that matter?|||

Jamaz wrote:

I've tried using the computer name when trying to connect from a client machine and I get the same result. Both machines are on the same domain but using different user accounts. Would that matter?

No that wouldn't matter.

What happens when you try http://<computername>/reportserver from a client machine where computername is the name of the computer with SQL server?

|||

GregSQL wrote:

Jamaz wrote:

I've tried using the computer name when trying to connect from a client machine and I get the same result. Both machines are on the same domain but using different user accounts. Would that matter?

No that wouldn't matter.

What happens when you try http://<computername>/reportserver from a client machine where computername is the name of the computer with SQL server?

That's the only way I had tried it. Should I be making computer name the name of the computer I happen to be on ? I didn't think that was the way it worked ?|||No, it should be the name of the computer on which SQL server resides. What is the error message you are getting?|||

Server Error in '/Reports' Application.


Failed to access IIS metabase.


I uninstalled SQL on the first machine i was trying it on ... and have now installed SQL on a new machine and I have run through the set up the same way I did before and I am getting this error now. I get this error when trying to connect from the server machine .. and when I try to connect from a client machine I get a page not found error in the browser

|||

Oh I see. I thought it was working on the server.

Check this forum: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=116989&SiteID=1

help with reporting services

I installed sql express with advanced services on a local network computer named 'Tester'. For service accounts I used 'network service' and 'mixed mode' for authentication. I would like to publish database reports using reporting services. when i open a web browser on the machine with sql express and type in the url: http://localhost/reports or http://localhost/reportserver the web pages work fine. but when i go to a different machine thats on the same network and use the url: http://Tester/reports or http://Tester/reportserver the web page is not found. how do i get users on the network to be able to view the virtual report server directories on the Tester computer? Help would be greatly appreciated.

Hi,

did you check your IIS configuration of your localhost (Tester)?

Is there an alias for your network computer - "Tester", DNS?

Have you put in a Hostheadername by IP?

What about a ping`?

Have you test http://172.../reports ?

CU

tosc

|||i can ping 'Tester' fine, i've tried http://<ip of host>/reports. IIS is configured for integrated windows autentication. I tried setting authentication to allow anonymous access but that didnt work either.|||

Hi John,

by installation, have you check "Use SSL..." checkbox in the installation wizard?

CU

tosc

|||

are you referring to the install of IIS? I dont recall, should I try to reinstall IIS?

Thanks,

John

|||

Hi John,

NO, i'm referring to Installing and Configuring SQL Server Reporting Services!

Have yopu check "Use SSL..." checkbox in the installation wizard?

CU

tosc

|||

Hi John,

Unless you changed it manually, Reporting Services is given an instance name just like the database service. Try adding "$SQLEXPRESS" (without quotes) to the end of your URL. Needless to say, if you installed to a different instance name, use that inplace of SQLEXPRESS.

Mike

|||I've tried all the url's and none of them work. Does IIS have to be configured in a particular way? also do I need to add permissions to my report server database? I would think that anyone on the intranet who knows the host computer name can put in the url and view the reportserver web page. Im not getting prompted for a login, my web browser just says the page cannot be displayed, that makes me think that it is network problem and not a configuration problem on the local machine.|||

I have had similar troubles. I have a report server configured on a computer on the network. I've installed SQL Express 2005 and the toolkits to get hold of RS. The computer is running IIS 5 and is connected using MMC. Reports can be generated, deployed, and viewed using a browser and URL from this machine quite happily.

However, when I try to access the report server from a different computer on the network I also get a

Internet Explorer cannot display the webpage

message.

I have tried:

http://rs_name/reports

http://rs_name.network.local/reports

http://rs_name/reports$sqlexpress

I can ping the machines from eachother successfully and I have made profiles from within Report Manager for each user on these machines. Is this a Express thing? SURELY, you must be able to access these reports across a Windows network.

Many thanks.

Leslie

|||

You sould ask this question in the Report Services forum to get a better answer. (http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=82&SiteID=1)

Mike

|||

OK. I'll ask them over there. Thank you very much, and apoligies for being in the wrong place.

L

help with reporting services

I installed sql express with advanced services on a local network computer named 'Tester'. For service accounts I used 'network service' and 'mixed mode' for authentication. I would like to publish database reports using reporting services. when i open a web browser on the machine with sql express and type in the url: http://localhost/reports or http://localhost/reportserver the web pages work fine. but when i go to a different machine thats on the same network and use the url: http://Tester/reports or http://Tester/reportserver the web page is not found. how do i get users on the network to be able to view the virtual report server directories on the Tester computer? Help would be greatly appreciated.

Hi,

did you check your IIS configuration of your localhost (Tester)?

Is there an alias for your network computer - "Tester", DNS?

Have you put in a Hostheadername by IP?

What about a ping`?

Have you test http://172.../reports ?

CU

tosc

|||i can ping 'Tester' fine, i've tried http://<ip of host>/reports. IIS is configured for integrated windows autentication. I tried setting authentication to allow anonymous access but that didnt work either.|||

Hi John,

by installation, have you check "Use SSL..." checkbox in the installation wizard?

CU

tosc

|||

are you referring to the install of IIS? I dont recall, should I try to reinstall IIS?

Thanks,

John

|||

Hi John,

NO, i'm referring to Installing and Configuring SQL Server Reporting Services!

Have yopu check "Use SSL..." checkbox in the installation wizard?

CU

tosc

|||

Hi John,

Unless you changed it manually, Reporting Services is given an instance name just like the database service. Try adding "$SQLEXPRESS" (without quotes) to the end of your URL. Needless to say, if you installed to a different instance name, use that inplace of SQLEXPRESS.

Mike

|||I've tried all the url's and none of them work. Does IIS have to be configured in a particular way? also do I need to add permissions to my report server database? I would think that anyone on the intranet who knows the host computer name can put in the url and view the reportserver web page. Im not getting prompted for a login, my web browser just says the page cannot be displayed, that makes me think that it is network problem and not a configuration problem on the local machine.|||

I have had similar troubles. I have a report server configured on a computer on the network. I've installed SQL Express 2005 and the toolkits to get hold of RS. The computer is running IIS 5 and is connected using MMC. Reports can be generated, deployed, and viewed using a browser and URL from this machine quite happily.

However, when I try to access the report server from a different computer on the network I also get a

Internet Explorer cannot display the webpage

message.

I have tried:

http://rs_name/reports

http://rs_name.network.local/reports

http://rs_name/reports$sqlexpress

I can ping the machines from eachother successfully and I have made profiles from within Report Manager for each user on these machines. Is this a Express thing? SURELY, you must be able to access these reports across a Windows network.

Many thanks.

Leslie

|||

You sould ask this question in the Report Services forum to get a better answer. (http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=82&SiteID=1)

Mike

|||

OK. I'll ask them over there. Thank you very much, and apoligies for being in the wrong place.

L

Monday, February 27, 2012

Help with MSDE Install

Installed MSDE on windowsxp pro.
When computer restarts, icon seen at System Tray.
Click on icon and SQL Server Service Manager.
Server field blank
Services field blank
typed in computername for Server field
select start/continue button.
error message that no service has been selected.
Where did I go wrong?
Walter Wu
Logfile:
2005-06-30 07:26:25.64 server Microsoft SQL Server 2000 - 8.00.760
(Intel X86)
Dec 17 2002 14:22:05
Copyright (c) 1988-2003 Microsoft Corporation
Desktop Engine on Windows NT 5.1 (Build 2600: Service Pack 2)
2005-06-30 07:26:25.64 server Copyright (C) 1988-2002 Microsoft
Corporation.
2005-06-30 07:26:25.64 server All rights reserved.
2005-06-30 07:26:25.64 server Server Process ID is 540.
2005-06-30 07:26:25.64 server Logging SQL Server messages in file
'G:\MSSQL$MYFIRSTSQLSERVER\LOG\ERRORLOG'.
2005-06-30 07:26:25.67 server SQL Server is starting at priority class
'normal'(2 CPUs detected).
2005-06-30 07:26:26.54 server SQL Server configured for thread mode
processing.
2005-06-30 07:26:26.54 server Using dynamic lock allocation. [500] Lock
Blocks, [1000] Lock Owner Blocks.
2005-06-30 07:26:26.70 spid2 Starting up database 'master'.
2005-06-30 07:26:27.07 server Using 'SSNETLIB.DLL' version '8.0.766'.
2005-06-30 07:26:27.07 spid5 Starting up database 'model'.
2005-06-30 07:26:27.10 spid2 Server name is 'MASTER\MYFIRSTSQLSERVER'.
2005-06-30 07:26:27.10 spid2 Skipping startup of clean database id 4
2005-06-30 07:26:27.21 server SQL server listening on Shared Memory.
2005-06-30 07:26:27.25 spid5 Clearing tempdb database.
2005-06-30 07:26:27.67 spid5 Starting up database 'tempdb'.
2005-06-30 07:26:27.75 spid2 Recovery complete.
2005-06-30 07:26:27.75 spid2 SQL global counter collection task is
created.
2005-06-30 07:26:28.57 server SQL Server is ready for client connections
"NoOne" <NoOne@.NoName.com> wrote in message
news:%238pclQQfFHA.268@.TK2MSFTNGP15.phx.gbl...
> Installed MSDE on windowsxp pro.
> When computer restarts, icon seen at System Tray.
> Click on icon and SQL Server Service Manager.
> Server field blank
> Services field blank
> typed in computername for Server field
> select start/continue button.
> error message that no service has been selected.
> Where did I go wrong?
>
> Walter Wu
>
|||hi Walter,
NoOne wrote:
> Installed MSDE on windowsxp pro.
> When computer restarts, icon seen at System Tray.
> Click on icon and SQL Server Service Manager.
> Server field blank
> Services field blank
> typed in computername for Server field
> select start/continue button.
> error message that no service has been selected.
> Where did I go wrong?
>
from your log file, your MSDE is runnig... but you probably installed MSDE
without network protocols support, and this unfortunately can cause the
corresponding instance not to show up in the SQL Server Service Manager, as
reported in http://support.microsoft.com/default...b;EN-US;814132
Andrea Montanari (Microsoft MVP - SQL Server)
http://www.asql.biz/DbaMgr.shtmhttp://italy.mvps.org
DbaMgr2k ver 0.12.0 - DbaMgr ver 0.58.0
(my vb6+sql-dmo little try to provide MS MSDE 1.0 and MSDE 2000 a visual
interface)
-- remove DMO to reply
|||-
/kj
"NoOne" <NoOne@.NoName.com> wrote in message
news:ekke%23fQfFHA.2384@.TK2MSFTNGP15.phx.gbl...[vbcol=seagreen]
> Logfile:
> 2005-06-30 07:26:27.10 spid2 Server name is 'MASTER\MYFIRSTSQLSERVER'.
> "NoOne" <NoOne@.NoName.com> wrote in message
> news:%238pclQQfFHA.268@.TK2MSFTNGP15.phx.gbl...
Trying entering
MASTER\MYFIRSTSQLSERVER
on the server line of SQL Server Manager, wait a painfully long time with
the hour glass, and eventually you should see your services state.
Unfortunately, you'll have to do this everytime as it won't stick. ( Don't
you wish you had shortened that instance name now? ;-) )
/kj
|||Change the instance name and removed the password and it works.
Thanks everyone.
"NoOne" <NoOne@.NoName.com> wrote in message
news:ekke%23fQfFHA.2384@.TK2MSFTNGP15.phx.gbl...
> Logfile:
> 2005-06-30 07:26:25.64 server Microsoft SQL Server 2000 - 8.00.760
> (Intel X86)
> Dec 17 2002 14:22:05
> Copyright (c) 1988-2003 Microsoft Corporation
> Desktop Engine on Windows NT 5.1 (Build 2600: Service Pack 2)
> 2005-06-30 07:26:25.64 server Copyright (C) 1988-2002 Microsoft
> Corporation.
> 2005-06-30 07:26:25.64 server All rights reserved.
> 2005-06-30 07:26:25.64 server Server Process ID is 540.
> 2005-06-30 07:26:25.64 server Logging SQL Server messages in file
> 'G:\MSSQL$MYFIRSTSQLSERVER\LOG\ERRORLOG'.
> 2005-06-30 07:26:25.67 server SQL Server is starting at priority class
> 'normal'(2 CPUs detected).
> 2005-06-30 07:26:26.54 server SQL Server configured for thread mode
> processing.
> 2005-06-30 07:26:26.54 server Using dynamic lock allocation. [500] Lock
> Blocks, [1000] Lock Owner Blocks.
> 2005-06-30 07:26:26.70 spid2 Starting up database 'master'.
> 2005-06-30 07:26:27.07 server Using 'SSNETLIB.DLL' version '8.0.766'.
> 2005-06-30 07:26:27.07 spid5 Starting up database 'model'.
> 2005-06-30 07:26:27.10 spid2 Server name is 'MASTER\MYFIRSTSQLSERVER'.
> 2005-06-30 07:26:27.10 spid2 Skipping startup of clean database id 4
> 2005-06-30 07:26:27.21 server SQL server listening on Shared Memory.
> 2005-06-30 07:26:27.25 spid5 Clearing tempdb database.
> 2005-06-30 07:26:27.67 spid5 Starting up database 'tempdb'.
> 2005-06-30 07:26:27.75 spid2 Recovery complete.
> 2005-06-30 07:26:27.75 spid2 SQL global counter collection task is
> created.
> 2005-06-30 07:26:28.57 server SQL Server is ready for client
> connections
> "NoOne" <NoOne@.NoName.com> wrote in message
> news:%238pclQQfFHA.268@.TK2MSFTNGP15.phx.gbl...
>

Help with MSDE 1.0

Hi everyone!
First I'll expose my problem: I have a crashed disk which I believe had MSDE
1.0 installed (MSSQL7 folder). I had no problems recovering the databases
from backups but there was some DTS's that obviously were in msdb database.
I have the .mdf and .ldf files and I also have a backup but the problem is
that I can't find any disk with that version nor download from Internet, the
version is not available from microsoft downloads anymore. I tried to
recover it with MSDE 2 Release A, but if I try to upload the backup it says
that it was created with other version, and if I just overwrite the msf file
it goes to "suspect" state.
Now, I have two petitions :
1.- Can anybody point me to a place where I can download MSDE 1.0 o tell me
one software app has it included ?
2.- Does somebody know any workaround to recover this data using MSDE 2 Rel
A?
Thanks in advance
Eduardo Martinez O.
Chief of Information Systems
Industria Envasadora de Queretaro, S.A. de C.V.
hi Eduardo,
"Eduardo Martinez" <eduardom@.nospamieqsa.com.mx> ha scritto nel
messaggio news:OCyWNNV2EHA.1192@.tk2msftngp13.phx.gbl
> Hi everyone!
> First I'll expose my problem: I have a crashed disk which I believe
> had MSDE
> 1.0 installed (MSSQL7 folder). I had no problems recovering the
> databases from backups but there was some DTS's that obviously were
> in msdb database. I have the .mdf and .ldf files and I also have a
> backup but the problem is that I can't find any disk with that
> version nor download from Internet, the version is not available from
> microsoft downloads anymore. I tried to recover it with MSDE 2
> Release A, but if I try to upload the backup it says that it was
> created with other version, and if I just overwrite the msf file it
> goes to "suspect" state.
> Now, I have two petitions :
> 1.- Can anybody point me to a place where I can download MSDE 1.0 o
> tell me one software app has it included ?
> 2.- Does somebody know any workaround to recover this data using MSDE
> 2 Rel A?
>
1) don't know how much legal...
http://www.blackberry.net/support/downloads/msde.shtml ... I do think (some
or all) Office 2000 (editions) should contain MSDE 1.0 too...
2) unfortunately not, as msdb database of 7.0 code base can not be restored
on 2000 versions...
Andrea Montanari (Microsoft MVP - SQL Server)
http://www.asql.biz/DbaMgr.shtmhttp://italy.mvps.org
DbaMgr2k ver 0.9.1 - DbaMgr ver 0.55.1
(my vb6+sql-dmo little try to provide MS MSDE 1.0 and MSDE 2000 a visual
interface)
-- remove DMO to reply
|||Thanks a lot, I downloaded from the page you told. I'll just use it to
restore mi backup and send the dts to the new disk.
Eduardo Martinez O.

Sunday, February 19, 2012

Help with java connection to MS SQL 2000 with windows integrated security

Hi , I am trying to connect to MS Sql server 2000 from Java (1.4.2 /
1.5 ). I installed my Sql Server(8.00.382) from the one supplied with
VS.NET 2001. When I installed it on my laptop it did not ask me for a
user name and password. After install when I re-started my machine I
see the server started up with a green light. Now when I connect to the
server from VS.NET it works fine. This is because VS uses windows
integrated security. I now need to connect using Java , so I downloaded
the microsoft drivers for SQL2000-JDBC sp3 from the microsoft site. I
added the jar files to my Java project classpath. I manage to register
the driver in java :

Class dbClass = ClassLoader.getSystemClassLoader().

loadClass("com.microsoft.jdbc.sqlserver.SQLServerDriver");

DriverManager.registerDriver((Driver) dbClass.newInstance() );

Connection conn =
DriverManager.getConnection("jdbc:microsoft:sqlserver://localhost:1433;_
integrated security=SSPI");

but cannot seem to get a connection as it gives an SQLException saying
that it is unable to connect:

java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Error
establishing socket.

I cant seem to figure it out.Can some one help ??

I am a newbie to sqlserver so couldnt quite figure out how to change
admin password or create a new user with the tools provided with this
version of sql (SQL Server Desktop Engine).

Any help will be appreciated.

EbbyHi ... I also tried the following connection string which I made after
looking at other peoples problems.

jdbc:microsoft:sqlserver://EBBY/VSdotNET:1433;DatabaseName=Ebby");

where EBBY is the server name
VSdotNET the instance name
Ebby the database name|||Hi

You may want to check out
http://support.microsoft.com/defaul...kb;en-us;313100

The following would imply that a names instance would require a different
port (or possibly an alias) to connect
http://support.microsoft.com/defaul...kb;en-us;313225

John
<ebrahimbandookwala@.gmail.com> wrote in message
news:1111297471.633617.217830@.g14g2000cwa.googlegr oups.com...
> Hi ... I also tried the following connection string which I made after
> looking at other peoples problems.
> jdbc:microsoft:sqlserver://EBBY/VSdotNET:1433;DatabaseName=Ebby");
> where EBBY is the server name
> VSdotNET the instance name
> Ebby the database name|||(ebrahimbandookwala@.gmail.com) writes:
> Hi , I am trying to connect to MS Sql server 2000 from Java (1.4.2 /
> 1.5 ). I installed my Sql Server(8.00.382) from the one supplied with
> VS.NET 2001.

8.00.382 is SQL 2000 SP1. The current service pack of SQL 2000 is SP3 (and
SP4 is in beta). I strongly recommend you to upgrade to SP3, as SP3
has a fix for the Slammer worm which could attack your SQL Server if
you were to expose it on the Internet.

> Connection conn =
> DriverManager.getConnection("jdbc:microsoft:sqlserver://localhost:1433;_
> integrated security=SSPI");

1433 is normally the port for the default instance, and apparently you have
a named instance. Check out the links posted by John, and see if they help.

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

Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techin.../2000/books.asp

Help with installing/setup of SQL Server 2000 Trial

I've installed SQL Server 2000 trial on a standalone XP Pro machine as a local server, however the debugger does not work correctly. I will not allow me to step into the code of stored procedures. Can anyone provide me assistance in resolving this.

Before we go into the details, the looming question is:

"Why have you chosed SQL 2000 to eval, rather than SQL 2005 -that seems odd?"

|||Arnie, because I am a student at University of Cincinnati and that is what my database programming class is based on. I wanted to use the same version, get ahead in class and learn more than what the class will be covering. Also evaluating SQL Server will hopefully help me decide if I want to persue a career on the database side of things versus more of a visual studio or .net concentration.|||

More the reason to get a copy of SQL Server 2005. Most job opportunities (by the time you are looking) will be concerned with SQL 2005 skills. You will be able to accomplish just about everything using SQL 2005 Express that your class will be doing with SQL 2000. It's too bad that education instutitions are so moribund and change so slowly, When you finish, you will know a lot about a deprecated technology. I highly recommend learning SQL 2005.

Download SQL 2005 Express (free), or for about $50 you can buy the Developer's Edition of SQL Server (equilivent to the Enterprise Edition)

SQL Express is available here: http://msdn2.microsoft.com/en-us/sql/aa336346.aspx

SQL Server 2005 Express Books Online Express Edition
http://msdn2.microsoft.com/en-us/library/ms165706.aspx

SQL Server 2005 Express Edition (Advanced/SSMS/BI Toolkit)
http://tinyurl.com/yelwr9 (SSMSE)
http://tinyurl.com/ovcx3(Advanced Services)
http://tinyurl.com/23hg7n (BI Toolkit)
http://msdn.microsoft.com/vstudio/express/sql/compare/default.aspx
http://msdn2.microsoft.com/en-us/library/ms365247.aspx

SQL Server 2005 Express –Installation Details
http://msdn2.microsoft.com/en-us/library/ms143441.aspx

SQL Server 2005 Express Overview
http://msdn2.microsoft.com/en-us/library/ms345154.aspx
http://www.pcw.co.uk/personal-computer-world/software/2155087/review-microsoft-sql-server

SQL Server 2005 Express System Requirements
http://www.microsoft.com/sql/editions/express/sysreqs.mspx

|||I certainly appreciate your advice, however if you could see fit to help me with the Trial 2000 problem, I'd appreciate that. and if you choose not to, I understand and am thankful for your opinion|||

One of the reasons I was trying to direct you away from SQL 2000, is that the 'Debugger' is somewhat tempermental and problematic. To paraphase a recent series of drug and alcohol ads, most of us 'Just say No!'

Are you attempting to access the Debugger by right clicking on the stored procedure name in the Object Explorer?

And if so, what errors or other indicators are you getting that it is not working?

|||

Arnie, I wish I could just say no, however I don't have any spare cycles to deal with taking something I've done in 2005 to UC's 2000. I've got a rather heavy class load this quarter. I will take your advice and learn 2005 after this quarter's over.

Yes I'm accessing the debugger by right clicking on the name of the stored procedure from the object explorer. And what it does is open the debugger then the code executes immediately upon the debugger window dispalying without allowing me to start or step into the code.

Is there another way to start the debugger for a store procedure?

|||Could you post the procedure code that you are attempting to debug?|||yes i can, do I just copy and paste it to a post message?|||

Here is the code

SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS OFF
GO


CREATE PROCEDURE spPFW_Load_Financial_Reporting_Data
AS
-
-- spPFW_Load_Financial_Reporting_Data
--
-- Is the main procedure that executes and controls the loading of Monthly PFW data into the tblPFW_Account_Header and
-- tblPFW_Financial_Reporting_Data tables.
--
-- It retrieves values from the tblPFW_Report_Line_Master, tblPFW_Account_Header & tblPFW_Monthly_Load_Data tables in
-- order to create new rows in both the tblPFW_Account_Header and tblPFW_Financial_Reporting_Data
--
-- It may execute the following store procedures if necessary:
-- master.dbo.xp_cmdshell
-- 1. to determine if there is a PFWDataLoad.txt file in the Load folder to process
-- 2. to execute the DTS PFW Data Load package that populates the tblPFW_Monthly_Load_Data from the PFWDataLoad.txt file
-- 3. to copy the PFWDataLoad.txt file to the Load History folder at end successful processing
-- 4. to delete the PFWDataLoad.txt file from Load folder at end successful processing
-- spPFW_Create_tblPFW_Data_Load_Message_Log to create the message log if it does not exist
-- spPFW_Write_Data_Load_Message to log load processing and/or error messages to tblPFW_Load_Data_Message_Log
-- spPFW_Create_tblPFW_Account_Header to create the Account Header table if it does not exist
-- spPFW_Create_tblPFW_Financial_Reporting_Data to create the Financial Reporting Data table if it does not exist
-- spPFW_Reset_tblPFW_Monthly_Load_Data to create an empty table for the DTS xxxxxx package to populate
-- spPFW_Update_Account_Header to determine if any new accounts were added to PFW & creates and inserts new Account
-- Header rows if necessary.
-- spPFW_Insert_Financial_Reporting_Data to insert all new Financial Reporting Data rows
--
-
--
-- The procedure first checks if a PFWDataLoad.txt file exists in the L:\Home\PFWtoNoetix\Load folder. If it does not,
-- there is nothing to process & it returns 0.
--
-- If a PFWDataLoad.txt file exists, The procedure either executues or does not execute the following 17 processing
-- steps based on @.LOAD_Status set in a previous step. It logs processing and/or error messages as it proceeds.
-- The first 7 steps check if the required tables and stored procedures exists. In some case, it will create the
-- non-existant tables. Step 8 drops & re-creates a new tblPFW_Monthly_Load_Data table. Step 9 runs the DTS PAckage
-- xxxxx to load it from the PFWDataLoad.txt file. Step 10 checks if the data being load is already present in the
-- tblPFW_Financial_Report_Data table. The steps 11 thru 15 are executed if the data has not been previously loaded.
-- Step 11 updates the tblPFW_Account_Header table with any new accounts found in the tblPFW_Monthly_Load_Data table.
-- Steps 12 thru 15 insert rows into the tblPFW_Financial_Report_Data for the new months data. Step 16 moves and renames
-- PFWDataLoad.txt to L:\Home\PFWtoNoetix\Load_History folder named as PFWDataLoad.YYYY.MM.txt with YYYY & MM equaling
-- the PFW_Year & PFW_Month just processed.
--
-- Step 17 finishes up the load process.
-- It only commits log messages to the tblPFW_Load_Data_Message_Log if a processing error occurs. All inserts
-- into the tblPFW_Account_Header & tblPFW_Financial_Report_Data tables were previously rolled back.
--
-- If no errors occur, then all inserts into the tblPFW_Load_Data_Message_Log, tblPFW_Account_Header &
-- tblPFW_Financial_Report_Data tables are committed to end the process.
--
-
--
-- The procedure does not update values in either the tblPFW_Account_Header or tblPFW_Financial_Report_Data tables, it
-- only inserts a new month of PFW financial data.
--
-
--
-- Load Processing Steps executed if a PFWDataLoad.txt file exists
-- 1. Check if tblPFW_Load_Data_Message_Log exists, if it does continue to step 2
-- If it does not exist, check if spPFW_Create_tblPFW_Data_Load_Message_Log exists, if that does not, abort load process
-- If spPFW_Create_tblPFW_Data_Load_Message_Log exists, create tblPFW_Data_Load_Message_Log
-- If tblPFW_Data_Load_Message_Log did not get created, abort the load process
--
-- 2. Check if spPFW_Reset_tblPFW_Monthly_Load_Data exists, if it does continue to step 3
-- If it does not exist, it's a hard stop, abort load process
--
-- 3. Check if spPFW_Update_Account_Header exists, if it does continue to step 4
-- If it does not exist, it's a hard stop, abort load process
--
-- 4. Check if spPFW_Load_Financial_Reporting_Data exists, if it does continue to step 5
-- If it does not exist, it's a hard stop, abort load process
--
-- 5. Check if tblPFW_Report_Line_Master exists
-- If it does exist, check it to make sure it's not empty, if it's empty abort the load process, else continue to step 6
-- If it does not exist, it's a hard stop, abort load process
--
-- 6. Check if tblPFW_Account_Header exists, if it does continue to step 7
-- If it does not exist, check if spPFW_Create_tblPFW_Account_Header exists, if it does not, abort load process
-- If spPFW_Create_tblPFW_Account_Header exists, create tblPFW_Account_Header
-- If tblPFW_Account_Header did not get created, abort the load process
--
-- 7. Check if tblPFW_Financial_Reporting_Data exists, if it does continue to step 8
-- If it does not exist, check if spPFW_Create_tblPFW_Financial_Reporting_Data exists, if it does not, abort load process
-- If spPFW_Create_tblPFW_AFinancial_Reporting_Data exists, create tblPFW_Financial_Reporting_Data
-- If tblPFW_Financial_Reporting_Data did not get created, abort the load process
--
-- 8. Drop existing tblPFW_Monthly_Load_Data, then recreate it
-- If it gets created, continue to step 9
-- If it does not get created, abort the load process
--
-- 9. Run DTS Package PFW Data Load to Load PFWDataLoad.txt file into tblPFW_Monthly_Load_Data
-- If it gets load successfully, continue to step 10
-- If it does not get loaded successfully, abort the load process
--
-- 10. Check if this month has already been added to tblPFW_Financial_Reporting_Data
-- If its already in tblPFW_Financial_Reporting_Data, abort load process, else continue to step 11
--
-- 11. Update Account Header table
-- If an error occured inserting Account Header rows, execute rollback, & abort load process
--
-- 12. Insert Balance Sheet - Account & Company Level rows into tblPFW_Financial_Reporting_Data
-- If an error occured while inserting Balance Sheet - Account or Company Level rows, execute rollback, & abort load process
--
-- 13. Insert Income Statement - Account Level rows into tblPFW_Financial_Reporting_Data
-- If an error occured while inserting Income Statement - Account Level rows, execute rollback, & abort load process
--
-- 14. Insert Income Statement - Company Level rows into tblPFW_Financial_Reporting_Data
-- If an error occured while inserting Income Statement - Company Level rows, execute rollback, & abort load process
--
-- 15. Insert Income Statement - BGI Consolidated Level rows into tblPFW_Financial_Reporting_Data
-- If an error occured while inserting Income Statement - BGI Consolidated Level rows, execute rollback, & abort load process
--
-- 16. Moves & renames PFWDataLoad.txt file to Load History folder as PFWDataLoad.YYYY.MM.txt
--
-- 17. Complete the Load Process
-- Log either Successfully Load Process or Error Occurred message
-- Commit any message rows and/or Financial Reporting Data Rows
--
-
-- Revisions
-
-- 1. Revision: Initial creation
-- Date: 3/20/2007
-- By: Greg Ouellette
-

-- Declare general use variables
DECLARE @.test int
DECLARE @.syserror int
DECLARE @.id int
DECLARE @.SP_Return int
DECLARE @.Report_Line_Master_Count int

DECLARE @.Load_Status int
DECLARE @.Load_PFW_Year int
DECLARE @.Load_PFW_Month int
DECLARE @.Load_YYYYMM int
DECLARE @.MoveCmd varchar (250)


SET @.Load_Status = 0
SET @.Load_PFW_Year = 9999
SET @.Load_PFW_Month = 99

EXEC @.Load_Status = master.dbo.xp_cmdshell 'dir L:\Home\PFW\Load\PFWDataLoad.txt', NO_OUTPUT
IF (@.Load_Status <> 0) -- There is no new PFWDataLoad.txt file to load
Return 0

--
-- Check if all the tables and stored procedures exist before loading the new PFWDataLoad.txt file
--

IF @.Load_Status = 0
-- 1. Check if tblPFW_Load_Data_Message_Log exists, if it does continue to step 2
-- If it does not exist, check if spPFW_Create_tblPFW_Data_Load_Message_Log exists, if it does not, abort load process
-- If spPFW_Create_tblPFW_Data_Load_Message_Log exists, create tblPFW_Data_Load_Message_Log
-- If tblPFW_Data_Load_Message_Log did not get created, abort the load process
BEGIN
SET @.id = null
SELECT @.id = id FROM dbo.sysobjects WHERE id = (object_id(N'[dbo].[tblPFW_Data_Load_Message_Log]'))
IF @.id = null
BEGIN
SELECT @.id = id FROM dbo.sysobjects WHERE id = (object_id(N'[dbo].[spPFW_Create_tblPFW_Data_Load_Message_Log]'))
IF @.id = null
SET @.Load_Status = -1
ELSE
BEGIN
EXECUTE @.sp_Return = spPFW_Create_tblPFW_Data_Load_Message_Log @.syserror
IF @.sp_Return = 0 -- tblPFW_Load_Log created successfully, log msg
BEGIN
EXECUTE @.sp_Return = spPFW_Write_Data_Load_Message @.Load_Status, @.Load_PFW_Year, @.Load_PFW_Month, 'Load MSG001A'
IF @.sp_Return <> 0
SET @.Load_Status = -1 -- Write message failed
END
ELSE -- tblPFW_Load_Log was not created, can not insert message, it's a hard stop, abort load process
SET @.Load_Status = -1
END
END
END

IF @.Load_Status = 0 -- Log Load Process Started msg
BEGIN
EXECUTE @.sp_Return = spPFW_Write_Data_Load_Message @.Load_Status, @.Load_PFW_Year, @.Load_PFW_Month, 'Load MSG0000'
IF @.sp_Return <> 0
SET @.Load_Status = -1 -- Write message failed
END


IF @.Load_Status = 0
-- 2. Check if spPFW_Reset_tblPFW_Monthly_Load_Data exists
-- If it does not exist, it's a hard stop, abort load process
BEGIN
SET @.id = null
SELECT @.id = id FROM dbo.sysobjects WHERE id = (object_id(N'[dbo].[spPFW_Reset_tblPFW_Monthly_Load_Data]'))
IF @.id = null /* spPFW_Reset_Monthly_Load_Data does not exist, log msg, set @.Load_Status to abort load process */
BEGIN
SET @.Load_Status = -2
EXECUTE spPFW_Write_Data_Load_Message @.Load_Status, @.Load_PFW_Year, @.Load_PFW_Month, 'Load MSG002A'
END
END

IF @.Load_Status = 0
-- 3. Check if spPFW_Update_Account_Header exists
-- If it does not exist, it's a hard stop, abort load process
BEGIN
SET @.id = null
SELECT @.id = id FROM dbo.sysobjects WHERE id = (object_id(N'[dbo].[spPFW_Update_Account_Header]'))
IF @.id = null /* spPFW_Update_Account_Header does not exist, log msg, set @.Load_Status to abort load process */
BEGIN
SET @.Load_Status = -3

EXECUTE spPFW_Write_Data_Load_Message @.Load_Status, @.Load_PFW_Year, @.Load_PFW_Month, 'Load MSG003A'
END
END

IF @.Load_Status = 0
-- 4. Check if spPFW_Insert_Financial_Reporting_Data exists
-- If it does not exist, it's a hard stop, abort load process
BEGIN
SET @.id = null
SELECT @.id = id FROM dbo.sysobjects WHERE id = (object_id(N'[dbo].[spPFW_Insert_Financial_Reporting_Data]'))
IF @.id = null /* spPFW_Create_tblPFW_Monthly_Load_Data does not exist, log msg, set @.Load_Status to abort load process */
BEGIN
SET @.Load_Status = -4
EXECUTE spPFW_Write_Data_Load_Message @.Load_Status, @.Load_PFW_Year, @.Load_PFW_Month, 'Load MSG004A'
END
END

IF @.Load_Status = 0
-- 5. Check if tblPFW_Report_Line_Master exists
-- If it does not exist, it's a hard stop, abort load process, else check it to make sure it's not empty
BEGIN
SET @.id = null
SELECT @.id = id FROM dbo.sysobjects WHERE id = (object_id(N'[dbo].[tblPFW_Report_Line_Master]'))
IF @.id = null /* tblPFW_Report_Line_Master does not exist, log message, set load status to abort */
BEGIN
SET @.Load_Status = -5
EXECUTE spPFW_Write_Data_Load_Message @.Load_Status, @.Load_PFW_Year, @.Load_PFW_Month, 'Load MSG005A'
END
ELSE
BEGIN
SELECT @.Report_Line_Master_Count = COUNT(DISTINCT [Report Line]) FROM dbo.tblPFW_Report_Line_Master
IF @.Report_Line_Master_Count = 0 -- tblPFW_Report_Line_Master exists, however no rows in table, log message, set load status to abort
BEGIN
SET @.Load_Status = -5
EXECUTE spPFW_Write_Data_Load_Message @.Load_Status, @.Load_PFW_Year, @.Load_PFW_Month, 'Load MSG005B'
END
END
END

IF @.Load_Status = 0
-- 6. Check if tblPFW_Account_Header exists, if it does continue next step
-- If it does not exist, check if spPFW_Create_tblPFW_Account_Header exists, if it does not, abort load process
-- If spPFW_Create_tblPFW_Account_Header exists, create tblPFW_Account_Header
-- If tblPFW_Account_Header did not get created, abort the load process
BEGIN
SET @.id = null
SELECT @.id = id FROM dbo.sysobjects WHERE id = (object_id(N'[dbo].[tblPFW_Account_Header]'))
IF @.id = null /* tblPFW_Account_Header does not exist, create it */
BEGIN
SELECT @.id = id FROM dbo.sysobjects WHERE (id = object_id(N'[dbo].[spPFW_Create_tblPFW_Account_Header]'))
IF @.id = null /* spPFW_Create_tblPFW_Account_Header does not exist, abort load process */
BEGIN
SET @.Load_Status = -6
EXECUTE spPFW_Write_Data_Load_Message @.Load_Status, @.Load_PFW_Year, @.Load_PFW_Month, 'Load MSG006A'
END
ELSE -- spPFW_Create_tblPFW_Account_Header exists, create tblPFW_Account_Header
BEGIN
EXECUTE @.SP_Return = spPFW_Create_tblPFW_Account_Header @.syserror
IF @.SP_Return <> 0 -- Error creating tblPFW_Account_Header, log msg, set Load Status to abort Load Process
BEGIN
IF @.syserror <> 0 -- log the @.@.error and sysmessages description
EXECUTE spPFW_Write_Data_Load_Message @.syserror, @.Load_PFW_Year, @.Load_PFW_Month, 'sysmsg'
SET @.Load_Status = -6
EXECUTE spPFW_Write_Data_Load_Message @.Load_Status, @.Load_PFW_Year, @.Load_PFW_Month, 'Load MSG006B'
END
ELSE -- tblPFW_Account_Header created, log msg,
BEGIN
EXECUTE @.SP_Return = spPFW_Write_Data_Load_Message @.Load_Status, @.Load_PFW_Year, @.Load_PFW_Month, 'Load MSG006C'
IF @.SP_Return <> 0 -- Write message failed
SET @.Load_Status = -6
END
END
END
END

IF @.Load_Status = 0
-- 7. Check if tblPFW_Financial_Reporting_Data exists, if it does continue next step
-- If it does not exist, check if spPFW_Create_tblPFW_Financial_Reporting_Data exists, if it does not, abort load process
-- If spPFW_Create_tblPFW_Financial_Reporting_Data exists, create tblPFW_Financial_Reporting_Data
-- If tblPFW_Financial_Reporting_Data did not get created, abort the load process
BEGIN
SET @.id = null
SELECT @.id = id FROM dbo.sysobjects WHERE id = (object_id(N'[dbo].[tblPFW_Financial_Reporting_Data]'))
IF @.id = null /* tblPFW_Financial_Reporting_Data does not exist */
BEGIN
SELECT @.id = id FROM dbo.sysobjects WHERE id = (object_id(N'[dbo].[spPFW_Create_tblPFW_Financial_Reporting_Data]'))
IF @.id = null /* spPFW_Create_tblPFW_Financial_Reporting_Data does not exist, log msg, set @.Load_Status to abort load process */
BEGIN
SET @.Load_Status = -7
EXECUTE spPFW_Write_Data_Load_Message @.Load_Status, @.Load_PFW_Year, @.Load_PFW_Month, 'Load MSG007A'
END
ELSE -- spPFW_Create_tblPFW_Financial_Reporting_Data does exist, create tblPFW_Financial_Reporting_Data
BEGIN
EXECUTE @.SP_Return = spPFW_Create_tblPFW_Financial_Reporting_Data @.syserror
IF @.SP_Return <> 0 -- Error creating tblPFW_Financial_Reporting_Data, log msg, set Load Status to abort Load Process
BEGIN
IF @.syserror <> 0 -- log the @.@.error and sysmessages description
EXECUTE spPFW_Write_Data_Load_Message @.syserror, @.Load_PFW_Year, @.Load_PFW_Month, 'sysmsg'
SET @.Load_Status = -7
EXECUTE spPFW_Write_Data_Load_Message @.Load_Status, @.Load_PFW_Year, @.Load_PFW_Month, 'Load MSG007B'
END
ELSE -- tblPFW_Financial_Reporting_Data created, log msg
BEGIN
EXECUTE @.SP_Return = spPFW_Write_Data_Load_Message @.Load_Status, @.Load_PFW_Year, @.Load_PFW_Month, 'Load MSG007C'
IF @.SP_Return <> 0 -- Write message failed
SET @.Load_Status = -7
END
END
END
END

--
-- If all the tables and stored procedures exist, then load tblPFW_Monthly_Load_Data from PFWDataLoad.txt file
--

IF @.Load_Status = 0
-- 8. Reset tblPFW_Monthly_Load_Data so new month's data can be loaded
BEGIN
EXECUTE @.SP_Return = spPFW_Reset_tblPFW_Monthly_Load_Data @.syserror
IF (@.SP_Return <> 0) -- Error resetting tblPFW_Monthly_Load_Data, log msg, set status to abort load process
BEGIN
IF @.syserror <> 0 -- log the @.@.error and sysmessages description
EXECUTE spPFW_Write_Data_Load_Message @.syserror, @.Load_PFW_Year, @.Load_PFW_Month, 'sysmsg'
SET @.Load_Status = -8
EXECUTE spPFW_Write_Data_Load_Message @.Load_Status, @.Load_PFW_Year, @.Load_PFW_Month, 'Load MSG008A'
END
ELSE -- tblPFW_Monthly_Load_Data was reset successfully, log msg
BEGIN
EXECUTE @.SP_Return = spPFW_Write_Data_Load_Message @.Load_Status, @.Load_PFW_Year, @.Load_PFW_Month, 'Load MSG008B'
IF @.SP_Return <> 0 -- Write message failed
SET @.Load_Status = -8
END
END

IF @.Load_Status = 0
-- 9. Run DTS Package to Load PFWDataLoad.txt file into tblPFW_Monthly_Load_Data
--call DTSRun to execute it (via xp_cmdshell), etc. Hope this helps.
--dtsrun /Sserver_name /Uuser_nName /Ppassword /Npackage_name /Mpackage_password

--dtsrun /Ffilename /Npackage_name /Mpackage_password
BEGIN
EXECUTE @.SP_Return = master.dbo.xp_cmdshell 'DTSRun /SBLUEMOON\BIGO /UBigO /P74654o /NPFW Data Load /M74654o'
--EXEC @.SP_Return = master.dbo.xp_cmdshell 'DTSRun /DTSRun /~Z0x2F3FF8E9164A7A7241D0849BD24CA7247E86CB4EECC129B5E26FD37D413B9B2ADBDE9C1D917AFF317DA388EF1B0A2FB233E9E765955B37B1BEE4CE9BA73460D04C312F8FFD2B8127516D0D5F546781F994DBE96BFA75E30E2D313C194341153CF1B3D539E1FEE5A4B28AD6A300303D06AFEBF82ABBA7AAB5B7F278F5984E3C44F9374B'
IF (@.SP_Return <> 0) -- Load of tblPFW_Monthly_Load_Data from PFWDataLoad.txt failed, log msg, set load status to abort process
BEGIN
SET @.Load_Status = -9
EXECUTE spPFW_Write_Data_Load_Message @.Load_Status, @.Load_PFW_Year, @.Load_PFW_Month, 'Load MSG009A'
END
ELSE -- tblPFW_Monthly_Load_Data was created successfully, log msg
BEGIN
EXECUTE @.SP_Return = spPFW_Write_Data_Load_Message @.Load_Status, @.Load_PFW_Year, @.Load_PFW_Month, 'Load MSG009B'
IF @.SP_Return <> 0 -- Write message failed
SET @.Load_Status = -9
END
END

IF @.Load_Status = 0
-- 10. Load of tblPFW_Monthly_Load_Data successful, get PFW Year & PFW Month, check if this month has already been added to
-- tblPFW_Financial_Reporting_Data, if so, log msg & set load status to abort load process
BEGIN
SELECT @.Load_PFW_Year = MAX(DISTINCT [PFW Year]) FROM dbo.tblPFW_Monthly_Load_Data
SELECT @.Load_PFW_Month = MAX(DISTINCT [PFW Month]) FROM dbo.tblPFW_Monthly_Load_Data
SELECT @.Load_YYYYMM = MAX(DISTINCT YYYYMM) FROM dbo.tblPFW_Financial_Reporting_Data WHERE ([PFW Year] = @.Load_PFW_Year) AND ([PFW Month] = @.Load_PFW_Month)
IF @.Load_YYYYMM <> null /* Monthly data has already been loaded, log MSG & set load status */
BEGIN
SET @.Load_Status = -10
EXECUTE spPFW_Write_Data_Load_Message @.Load_Status, @.Load_PFW_Year, @.Load_PFW_Month, 'Load MSG010A'
END
END
COMMIT -- All log messages to this point


--
-- If all the tables and stored procedures exist, and tblPFW_Monthly_Load_Data was loaded successfully, then determine if there have been
-- any accounts added to PFW during the month and update tblPFW_Account_Header if so, then create & insert the new PFW Year & PFW Month rows
-- into tblPFW_Financial_Reporting_Data
--

IF @.Load_Status = 0
-- 11. Update Account Header table
BEGIN
EXECUTE @.SP_Return = spPFW_Update_Account_Header @.syserror
IF @.SP_Return <> 0 -- Error occured inserting Account Header rows, execute rollback, log msg & set load status
BEGIN
ROLLBACK TRANSACTION
IF @.syserror <> 0 -- log the @.@.error and sysmessages description
EXECUTE spPFW_Write_Data_Load_Message @.syserror, @.Load_PFW_Year, @.Load_PFW_Month, 'sysmsg'
SET @.Load_Status = -11
EXECUTE spPFW_Write_Data_Load_Message @.Load_Status, @.Load_PFW_Year, @.Load_PFW_Month, 'Load MSG0011A'
END
ELSE -- Account Header table was updated successfully log msg
BEGIN
EXECUTE @.SP_Return = spPFW_Write_Data_Load_Message @.Load_Status, @.Load_PFW_Year, @.Load_PFW_Month, 'Load MSG0011B'
IF @.SP_Return <> 0 -- Write message failed
SET @.Load_Status = -11
END
END

IF @.Load_Status = 0
-- 12. Load Balance Sheet - Account & Company Level rows into tblPFW_Financial_Reporting_Data
BEGIN
EXECUTE @.SP_Return = spPFW_Insert_Financial_Reporting_Data 'Balance Sheet', 'All', @.syserror
IF @.SP_Return <> 0 -- Error occured while inserting Balance Sheet - Account or Company Level rows, execute rollback, log msg & set load status
BEGIN
ROLLBACK TRANSACTION
EXECUTE spPFW_Write_Data_Load_Message @.Load_Status, @.Load_PFW_Year, @.Load_PFW_Month, 'Load MSG011B' -- Rewrite previous msg dropped in Rollback
IF @.syserror <> 0 -- log the @.@.error and sysmessages description
EXECUTE spPFW_Write_Data_Load_Message @.syserror, @.Load_PFW_Year, @.Load_PFW_Month, 'sysmsg'
SET @.Load_Status = -12
EXECUTE spPFW_Write_Data_Load_Message @.Load_Status, @.Load_PFW_Year, @.Load_PFW_Month, 'Load MSG012A'
END
ELSE -- Balance Sheet - Account & Company rows were inserted successfully, log msg
BEGIN
EXECUTE @.SP_Return = spPFW_Write_Data_Load_Message @.Load_Status, @.Load_PFW_Year, @.Load_PFW_Month, 'Load MSG0012B'
IF @.SP_Return <> 0 -- Write message failed
SET @.Load_Status = -12
END
END

IF @.Load_Status = 0
-- 13. Load Income Statement - Account Level rows into tblPFW_Financial_Reporting_Data
BEGIN
EXECUTE @.SP_Return = spPFW_Insert_Financial_Reporting_Data 'Income Statement', 'Account', @.syserror
IF @.SP_Return <> 0 -- Error occurred inserting Income Statement - Account Level rows, execute rollback, log msg & set load status
BEGIN
ROLLBACK TRANSACTION
EXECUTE spPFW_Write_Data_Load_Message @.Load_Status, @.Load_PFW_Year, @.Load_PFW_Month, 'Load MSG012B' -- Rewrite previous msg dropped in Rollback
IF @.syserror <> 0 -- log the @.@.error and sysmessages description
EXECUTE spPFW_Write_Data_Load_Message @.syserror, @.Load_PFW_Year, @.Load_PFW_Month, 'sysmsg'
SET @.Load_Status = -13
EXECUTE spPFW_Write_Data_Load_Message @.Load_Status, @.Load_PFW_Year, @.Load_PFW_Month, 'Load MSG013A'
END
ELSE -- Income Statement - Account Level rows were inserted successfully, log msg
BEGIN
EXECUTE @.SP_Return = spPFW_Write_Data_Load_Message @.Load_Status, @.Load_PFW_Year, @.Load_PFW_Month, 'Load MSG0013B'
IF @.SP_Return <> 0 -- Write message failed
SET @.Load_Status = -13
END
END


IF @.Load_Status = 0
-- 14. Create & insert Income Statement - Company Level rows into tblPFW_Financial_Reporting_Data
BEGIN
EXECUTE @.SP_Return = spPFW_Insert_Financial_Reporting_Data 'Income Statement', 'Company', @.syserror
IF @.SP_Return <> 0 -- Error occurred inserting Income Statement - Company Level rows, execute rollback, log msg & set load status
BEGIN
ROLLBACK TRANSACTION
EXECUTE spPFW_Write_Data_Load_Message @.Load_Status, @.Load_PFW_Year, @.Load_PFW_Month, 'Load MSG013B' -- Rewrite previous msg dropped in Rollback
IF @.syserror <> 0 -- log the @.@.error and sysmessages description
EXECUTE spPFW_Write_Data_Load_Message @.syserror, @.Load_PFW_Year, @.Load_PFW_Month, 'sysmsg'
SET @.Load_Status = -14
EXECUTE spPFW_Write_Data_Load_Message @.Load_Status, @.Load_PFW_Year, @.Load_PFW_Month, 'Load MSG014A'
END
ELSE -- Income Statement - Company Level rows were inserted successfully, log msg
BEGIN
EXECUTE @.SP_Return = spPFW_Write_Data_Load_Message @.Load_Status, @.Load_PFW_Year, @.Load_PFW_Month, 'Load MSG0014B'
IF @.SP_Return <> 0 -- Write message failed
SET @.Load_Status = -14
END
END

IF @.Load_Status = 0
-- 15. Create & insert Income Statement - Consolidated Level rows into tblPFW_Financial_Reporting_Data
BEGIN
EXECUTE @.SP_Return = spPFW_Insert_Financial_Reporting_Data 'Income Statement', 'Consolidated', @.syserror
IF @.SP_Return <> 0 -- Error occurred inserting Income Statement Consolidated Level Data, execute rollback, log msg & set load status
BEGIN
ROLLBACK TRANSACTION
EXECUTE spPFW_Write_Data_Load_Message @.Load_Status, @.Load_PFW_Year, @.Load_PFW_Month, 'Load MSG014B' -- Rewrite Msg, dropped in Rollback
IF @.syserror <> 0 -- log the @.@.error and sysmessages description
EXECUTE spPFW_Write_Data_Load_Message @.syserror, @.Load_PFW_Year, @.Load_PFW_Month, 'sysmsg'
SET @.Load_Status = -15
EXECUTE spPFW_Write_Data_Load_Message @.Load_Status, @.Load_PFW_Year, @.Load_PFW_Month, 'Load MSG015A'
END
ELSE -- Income Statement - Consolidated Level rows were inserted successfully, log msg
BEGIN
EXECUTE @.SP_Return = spPFW_Write_Data_Load_Message @.Load_Status, @.Load_PFW_Year, @.Load_PFW_Month, 'Load MSG015B'
IF @.SP_Return <> 0 -- Write message failed
SET @.Load_Status = -15
END
END

IF @.Load_Status = 0
-- 16. Copy PFWDataLoad.txt file to Load History folder
BEGIN
SET @.MoveCmd = 'move L:\Home\PFW\Load\PFWDataLoad.txt L:\Home\PFW\Load_History\PFWDataLoad.' + cast(@.Load_PFW_Year as char(4)) + '.' + cast(@.Load_PFW_Month as varchar(2)) + '.txt'
EXEC @.SP_Return = master.dbo.xp_cmdshell @.MoveCmd
IF (@.SP_Return <> 0) -- Copy of PFWDataLoad.txt to Load History folder failed
BEGIN
SET @.Load_Status = -16
EXECUTE spPFW_Write_Data_Load_Message @.Load_Status, @.Load_PFW_Year, @.Load_PFW_Month, 'Load MSG016A'
END
ELSE -- Copy of PFWDataLoad.txt to Load History folder successful
EXECUTE spPFW_Write_Data_Load_Message @.Load_Status, @.Load_PFW_Year, @.Load_PFW_Month, 'Load MSG016B'
END

-- 17. Complete the Load Process

IF @.Load_Status = 0 -- Load Process completed successfully, log msg
EXECUTE spPFW_Write_Data_Load_Message @.Load_Status, @.Load_PFW_Year, @.Load_PFW_Month, 'Load MSG017B'
ELSE -- Error occurred in Load Process, log msg
EXECUTE spPFW_Write_Data_Load_Message @.Load_Status, @.Load_PFW_Year, @.Load_PFW_Month, 'Load MSG017A'

COMMIT -- Commit all inserts into tblPFW_Financial_Reporting_Data any remaining inserts into tblPFW_Data_Load_Message_Log

GO
SET QUOTED_IDENTIFIER OFF
GO
SET ANSI_NULLS ON
GO

|||Is there anyone that can assisted me|||

Have you configured as in this article?

http://msdn2.microsoft.com/en-us/library/6ksc0a82(vs.80).aspx

|||Thanks for getting back to me, yes the config has been set to allow for both the system and the user Greg|||

Arnie, This is the message that is entered into the event viewer after I run the debugger.

SQL Server when started as service must not log on as System Account. Reset to logon as user account using Control Panel.

I tried adding another account as an administrator, then changing my initial account (Greg) to limited, but that didn't work either

|||

It sounds like SQL Server is using the wrong account.

Perhaps these will help.


Configuration -Service Accounts, SQL Server 2005 - Setting Up Windows Service Accounts
http://support.microsoft.com/kb/283811/en-us
http://msdn2.microsoft.com/en-us/library/ms143691.aspx
http://msdn2.microsoft.com/en-us/library/ms143504.aspx

Help with installation of Standard SQL Server 2000

I have installed IIS, VS.NET 2003, .NET 2.0 Framework, and now I have tried to install the standard version of SQL Server 2000 and it is telling me that I can only install the client components. The O/S is Windows XP Pro on a laptop.

Thanks for any ideas,Thats fine. Just click ok. Install should go straight through.

It detected that its not running on a server thats all.

Once installed browse to MSDE folder and install that.

Everthing should work fine from there.