Overcoming MSDE Setup Problems

Nov 5, 2004

Here is my experience with installing MSDE.





I'm leaning C# and ASP.NET at the same time using the book "Microsoft ASP.NET Programming with Microsoft Visual C# .NET Step by Step". In Appendix C, P 577, it says to locate setup.exe under …Microsoft Visual Studio .NETSetupMSDE and "run setup.exe to install MSDE."





This was my first mistake, because there are more recent versions available with security patches (for the slammer virus). I have been unable to successfully update the old version. The install program for MSDE has got to be a hackers delight because only a hacker can make it work. I decided to uninstall the old version of MSDE 2000 and install the latest download from the MSDN website. The new version would get most of the files installed and then rollback the install, removing all the files. When I tried to reinstall the old version, it did the same thing. At least the new version requires a password parameter for the sa user. The bad news is that the new password is ignored. Since I already installed the first version with a blank sa password by running setup.exe with no parameters the password will remain blank until I change it using the user friendly osql command line utility. More about osql later…





Here is how I solved the rollback problem:





I first (after many hours trying to modify the registry to clean up the mess Windows uninstaller left there) used the command line switch /L*V <your logfile name> to get a verbose log file. I noticed a property listed called "Disablerollback" this was set to 0. So, I ran setup on the command line as below (all one line):





>setup DisableRollback=1 /L*V "C:Program FilesMicrosoft Visual Studio .NETSetupMSDEsetupbat.log" SAPWD="ignored password"





The setup still failed, but its tracks were preserved for XP to complain about on system restart.


I then restarted the system and logged in. XP threw an error dialog box with the message "Your server installation is either corrupt or has been tampered with (unknown package ID)…" I clicked OK and waited a few extra minutes for XP to finish logging me in.





After logging in, I closed the Service Manger from the taskbar notification area. I then deleted the folders 80, and MSSQL (name of default instance) from the target install directory. Finally, I ran setup.exe again as shown:





>setup /L*V "C:Program FilesMicrosoft Visual Studio .NETSetupMSDEsetupgood.log" SAPWD="ignored password"





This time, after restarting, my old MSDE worked. This approach seems to only work with the first old version of MSDE that was shipped with Visual Studio .NET. I still have yet to figure out how to upgrade and get MSDE to work again.





Once you get MSDE to work, here are some tips on how to administer it using the osql command tool.


To change the sa password do the following (use null for a blank password):


>osql -U sa


Password:


1> sp-password @old=null, @new='newpassword', @loginame='sa'


2> go


Password has been changed


3> quit





On page 113 of the authors' first attempt with the book "Microsoft ASP.NET Programming…", the hacks wrote:


Set up the SQL Server session state database by running the InstallSQLState.sql batch (located in …) against the SQL Server you plan to use. (For more information about running batch statements, check with your database administrator or the SQL Server Books Online.)





Here is how to do it with osql:





> osql -S MSSQLSERVER -U sa -i InstallSQLState.sql





For less characters than it took to write the last parenthetical sentence, they could have just given the same example I supplied here.





If you want a graphical interface to administer you MSDE server, try downloading the small package for "Microsoft SQL Web Data Administrator" from Microsoft's website. This even comes with a modern installer. Here are some tips on how to connect to your locally installed MSDE using this utility:





The main dialog just requires that you click the start button. A login page comes up. To log in as sa, do the following:





? Click the "SQL Login" radio button.


? Under "Please enter a SQL Server name:" fill in the following text boxes:


? Username: sa


? Password: [your password | leave blank if no password is set]


? Server: (local)





This should get you to the server tools page. Click "Security", then Logins. Now, on the Logins page, you can add new users. If you install MSDE for mixed mode, you can add "Windows Integrated" user accounts. This best since you won't have to put passwords in your code to allow database access to these users. To add a user, click on "Create New Login". Set Authentication Method to "Windows Integrated" in the combo box. For Login Name you need to use the form <computername><username> . For example, "MSSQLServerDan".





If you did like I did, and installed MSDE in SQL login mode only, you can do the following registry hack to change it to mixed authentication mode:





1. Locate either of the following subkeys (depending on whether you installed MSDE as the default MSDE instance or as a named instance:


HKEY_LOCAL_MACHINESoftwareMicrosoftMSSqlserverMSSqlServer





-or-





HKEY_LOCAL_MACHINESoftwareMicrosoftMicrosoft SQL Server<Instance Name>MSSQLServer





2. In the right-pane, double-click the LoginMode subkey.





3. In the DWORD Editor dialog box, set the value of this subkey to 1. Make sure that the Hex option is selected, and then click OK.





4. Restart the MSSQLSERVER and the SQLSERVERAgent services for this change to take effect.





Try this link for more details:


http://support.microsoft.com/default.aspx?scid=kb;en-us;Q322336

View 8 Replies


ADVERTISEMENT

MSDE Setup Failed

Jul 31, 2004

was installing MSDE for use with Web matrix
thot had done all correctly ie the setup.exe sapwd=xxxxx securitymode=sql from the command prompt
was told that setup has failed
where is the problem

View 1 Replies View Related

MSDE Setup Question

Dec 12, 2004

Hello:

I had partitioned my harddrive to have both XP PRO and Red Hat. Got fed up with all that and so used Partition Magic 8.0 to repartition the drive to be one 16 Gig drive. I still have over 8 Gig left on it even after installing VS .NET on it.

I have successfully installed Visual Studio .NET Pro 2003 on it and I can now write programs in VB and see it on my intranet at c:/wwwroot/.

I am now trying to install MSDE 2000 for Developers Using VS .NET. I have downloaded the file from Microsoft and then when I go to install it on my hard drive it tells me it cannot; I have to free up 92.44 Megs for it to be able to extract it to my c drive.

I am a newbee and any help will be GREATLY appreciated!!

View 2 Replies View Related

MSDE Setup Problem

Mar 1, 2005

i got prob running setup in MSDE ,
there r options to set in setup.ini to enable setting the parameter in MSDE after installed
but it cant run
i use

[Options}
SAPWD=123

after install the sapassword still null,seems like no effect
i've try running from prompt setup.exe /SAPWD 123 too

View 5 Replies View Related

MSDE Setup -- Where's The Server?

Mar 12, 2004

I am using VB.net to build ASP.net pages. I finally decided it was time to start using SQL server based code. So, I installed MSDE....or so I thought.

I have the server Icon in the bottom systray and it's green and seems to be running.

I have been able to use Microsoft Access' Database Upgrade Wizard to create BB.adp file.

An in VB.net I see a master.dbo connection in Server Explorer.

But I can't figure out how to access the database via the SQL server. When I right click on Server Explorer....the Create a New SQL database menu item is greyed out.

My concern is that my installation is not complete and/or I don't know how to locate and verify the server.

Any help would be appreciated. Thanks

View 1 Replies View Related

Setup On Localhost MSDE Permissions

Nov 20, 2003

I'm trying to setup the ASP.Net forum on my local XP Pro PC and am having problems with MSDE security. I had an old version of MSDE on the PC and uninstalled it and downloaded/setup the version on the download page with the forum.

Looking at the MSDE readme I did the Windows Authentication mode instead of the mised mode - was that wrong?

When setup tries to setup the DB I get the log entry:
Determined SQL Server version (8.00.194).

[Fail] Could not add ASPNET user to SQL Server.
SQL Server does not exist or access denied.

The server is up and running and I have already used another tool to setup its DB so the server is up an running and functioning fine.

I have search around on the net about MSDE persmissions but the hits have not been helpful - they usually refer to client tools not provided with MSDE. Even if I could find instructions on setting up a user the ASPForumSetup doesn't say what user name or permissons are needed.

I can't find any spot in the XP Pro environment to setup access permissions to MSDE - is finding that the key? My login is a member of the Administrators group.

Help!

View 3 Replies View Related

Trying To Setup MSDE 2000 Release A

Dec 12, 2004

Hello:

I have extracted the files from the Microsoft download and am all ready to run SETUP for the MSDE 2000 release A for Visual Studio .NET 2003 Pro.

Is there anything I need to know about or run or configure for it all to work?? I am a newbee and I am the only user on my XP Pro machine under Administrator.

Thank you in advance for any pointers.

View 1 Replies View Related

Want To Avoid Reboot After MSDE Setup

Jun 5, 2007

Hello,



OS: Windows XP Embedded

MSDE: 2000 SP3 to SP4



I want to avoid reboot after upgrading MSDE from SP3 to SP4.

setup.exe seems to no option to avoid reboot.



The resason to avoid reboot is continue to do some process after upgrade MSDE.



Regards,

View 3 Replies View Related

Get Local Machine Name In MSDE Setup .bat File

Nov 5, 2003

I have the following command in a .bat file

osql -E -S localhost sp_grantlogin 'GREGASPNET'"

What I would like to do is replace GREG with the name of the local computer this .bat file is being run on.

Is there any string for this... i.e [LOCALMACHINE]ASPNET or something like that?

Greg

View 1 Replies View Related

Creating Custom Tables During MSDE Setup!

Nov 13, 2004

Hi folks, i need ur guidance.
I have a few DDL and DML scripts which i want to be automatically applied during MSDE setup; or an .MDF file be attached automatically. Please suggest an easier way!



Howdy!

View 1 Replies View Related

How To Setup Email Notification For Msde 2000?

Apr 14, 2006

is it possible? Thanks.

View 1 Replies View Related

Correct Syntax For Query Using Osql.exe In MSDE Setup

Nov 10, 2003

I have the following .bat file that I call to register users to my MSDE instance...

echo osql -E -S %COMPUTERNAME%OfficiumInstance -Q "sp_grantlogin '" + %COMPUTERNAME% + "ASPNET'"
echo osql -E -S %COMPUTERNAME%OfficiumInstance -d Officium -Q "sp_grantdbaccess '" + %COMPUTERNAME% + "ASPNET'"
echo osql -E -S %COMPUTERNAME%OfficiumInstance -d Officium -Q "sp_addrolemember 'db_owner', '" + %COMPUTERNAME% + "ASPNET'"

My question is how do I correctly append %COMPUTERNAME% as a string to

I have tried using + signs...

"sp_grantlogin '" + %COMPUTERNAME% + "ASPNET'"

But that doesn't work.
I have looked for .bat file tutorials on the web but can't find the correct way to do this.

Greg

View 1 Replies View Related

Overcoming The Openquery 8000 Char Limit &&amp; Problem With Using Call Mystoredproc() In Open Query

Oct 10, 2007

Does anyone know why this statement would fail? I have created my own assembly which is on the server and when i run the mdx query call myassembly.mystoredproc() it returns data, but now when I use call myassembly.mystoredproc() it returns an error.

using an mdx query this works fine
call AsmTest.Asm.Analysis.TestClass.NameMe()

When using openquery i get an error
select * from openquery(NV, 'call AsmTest.Asm.Analysis.TestClass.NameMe()' )

OLE DB provider "MSOLAP.3" for linked server "NV" returned message "Prepare is not safe during execution of the NameMe stored procedure.".
Msg 7321, Level 16, State 2, Line 1
An error occurred while preparing the query "call AsmTest.Asm.Analysis.TestClass.NameMe()" for execution against OLE DB provider "MSOLAP.3" for linked server "NV".




linked server definition

USE master
GO

/* Add new linked server */
EXEC sp_addlinkedserver
@server='NV', -- local SQL name given to the linked server
@srvproduct='', -- not used
@provider='MSOLAP.3', -- OLE DB provider (the .2 means the SQL2K version)
@datasrc='nvsifwfp', -- analysis server name (machine name)
@catalog='ARTSDW' -- default catalog/database

View 1 Replies View Related

MDAC 2.8 Fatal Setup Error. This Setup Does Not Support Installing On This Operating System

Jan 5, 2006

I have XP Pro SP2 with MDAC 2.8.1022.  It had a problem so I tried to reinstall MDAC and got a Fatal Setup Error. This setup does not support installing on this operating system. I downloaded MDAC 2.8 1177 and get the same error.

I thought of uninstalling/reinstalling SP2, but this is a 2 month old Dell Latitude 610 with factory installed XP.  There is no Windows Service Pack 2 option listed in the Control Panel > Add/Remove Programs. 

There's some other strange things, so I wonder if they are related. 

1) I have Paul set up as an administrator account.  Some folders like MSSQL show that account with no permissions.  I grant all the permissions to Paul for that folder.  I come back later and the permissions are gone.

2) I deleted 20 files in Explorer, but 7 of them did not go away. I deleted those 7 again and they instatnly reappeared.  I deleted those 7 again and then they finally went away.

3) I get a slow reaction time for things like Windows Explorer and opening and closing programs. This is suprising since it has 2 gig of RAM and 2.3 Gig processor. Could it be a memory handling problem that's causing OS problems. Probably, the memory didn't handle the OS installation well and the whole system is compromised now.

 

View 12 Replies View Related

Setup And Upgrade :: 2008 R2 Setup UI Has Incomplete List Of Installed Features - Can't Uninstall RS

Jul 23, 2015

We're doing upgrades from SQL 2008 R2 to SQL 2014. This is blocked due to RS is installed but not configured. Our desired action is to uninstall RS and proceed with the upgrade. But when setuparp.exe is raised, it does not list all the features on the 'Select Features' page.  In fact, it only lists the last 2 shared features (SQ Client Connectivity SDK and Microsoft Sync Framework). However, all items appear to be listed on the 'Select Instance' page including RS. I've seen this issue on 2 of our SQL 2008 R2 Servers already.

View 3 Replies View Related

MSDE Text Datatype - Unable To Store More Than 900 Characters. (msde + Visual Studio 2003)

Jun 6, 2005

Hello,

I'm not sure if it's the setup I did wrong, but I can't seem to get my
text datatype in my database to store more than 900 characters. 
I'm trying to setup a news database for my website, which will populate
the information into a datagrid.  To test, I manually added a news
item in the database through the visual studio 2003 gui.  I
immediately noticed a problem as the I was getting an error after a
long news item saying:

"The value you entered is not consistent with the data type or length of the column, or over grid buffer limit."

I couldn't find anthing to set the buffer limit and the datatype is
"text" filled with simple text in the column.  As a further test,
I
simply entered 12334567890123... up to 900 characters and still
recevied the error.

I would appreciate someone leading me in the right direction on this one.

Thanks a lot.

View 1 Replies View Related

Setup And Upgrade :: Error Setup Account Privileges

Nov 15, 2015

I'm trying to install SQL Server Management studio 2012 on my Windows 7 (x64) standalone laptop.  When I click "New SQL stand-alone installation..." it runs a Setup Support Rules check and always fails "Setup Account Privileges". I've looked into the error and I keep getting that I need to change security rules but I don't have that option in window 7.  How do I get around this without having to resort to a computer running Windows Server?

I have Visual Studio 2013 premium installed along with Localdb v11.  I just want to connect and manage my database engine through SSMS when developing any application.

View 2 Replies View Related

Please Post Setup And Installation Questions In The Setup Forum

Nov 17, 2005

This forum is intended for users who are new to SQL Server, and have basic usage questions. If you have setup or installation issues or questions, you should check out the Setup forum.

Thanks

View 11 Replies View Related

How Do I Change The Name Of A Computer Running MSDE With Out Reinstalling MSDE

May 27, 2000

I am trying to change the computer name of a machine running MSDE but I get an error when SQL Server starts. With regular SQL when I change the name of a computer I re-run setup and setup fixes this problem. MSDE can only be installed from unattended mode so I can’t rerun setup and fix the problem.

My question is "How do I change the name of a computer running MSDE with out reinstalling MSDE"

View 1 Replies View Related

Setup And Upgrade :: One Machine 6 IPs - How To Setup DNS For Server

Apr 24, 2015

I am running a number of SQL instances on my PC. Within the network, I have think server with various System Center components. For compatibility reasons, some features of System Center 2012 R2 had to be delegated to different SQL databases. My question is, because there is now more than one IP address on my system, and each instance of SQL is assigned to its own IP, is there a way to setup DNS and SQL so the namespace points to the desired IP address? For Instance:

MSSQL2008 instance is set to run on = 11.12.13.1
MSSQL2012 is set to run on = 11.12.13.2
IN DNS:
A Record: Mike-PC = 11.12.13.1
A Record: Mike-PC = 11.12.13.2

If I want to use MSSQL2008 by specifying Mike-PC as the DNS name, how would I do that with 100% accuracy? If there is another way to get the job done, I am more than willing to approach this differently.

View 3 Replies View Related

MSDE: Renaming Machine Without Reinstall Of MSDE

Mar 27, 2001

We currently have the problem, that all our machines are produced with the
same name and afterwards the name is changed. So we have the problem that
the checksum key for the MSDE isn't valid anymore. As MSDE can only be installed
from unattended mode so I can’t rerun setup and fix the problem. Does anyone
know a solution for this problem ?? A program recalculating the cheksum ??

regards,

Manfred

View 3 Replies View Related

MSDE Worth Using Or Should I Invest In MySQL? (was MSDE)

Mar 9, 2005

I'm not sure if this is the correct forum for this this question but I'll give it a shot.

The only db development that I have ever done is in MS Access. I have a project at work that is being accomplished in VB and I need a db engine to use as the back end. Visual studio came with a copy of MSDE. Is this tool worth using or should I invest in mySQL? Are there any advantages to using MSDE over mySQL?

View 4 Replies View Related

SQL Setup

Apr 9, 2001

Hello everyone

I know this is discussed very often, but please indulge me.
I have two hardware/software configurations for the SQL servers,
(1) NT4 + SQL7 on 2HDD's (C/D-drive) and,
(2) NT4 + SQL7 on 3HDD's (C/D/E-drive).
What will be the best configuration for SQL regarding:
a. RAID,
b. placement of the OS,
c. placement of the data & log files(devices),
d. local(hdd) backups

Regards
George

View 1 Replies View Related

SQL Setup

Jun 29, 1998

Hello!

I`m new to SQL Server, so excuse this if it`s a well-known
problem with a well-known solution.

I tried setting up SQL Server 6.5 (the box but not the
docs or install claims it`s an
upgrade product) but the install hung at "Setup is now
installing the initial SQL Server configuration" for over
10 minutes. That is, the install kept processing
something but did not appear to be coming to an end until
I killed it. This happened repeatedly, and on a second
server, too.

I then installed 6.0 (over 6.5!), and was able to install
6.5 over 6.0. However, I`m not able to install the 6.5
docs.

SQL Server appears to run (although I`ve not tried any
DB stuff).

Any suggestions? Should I uninstall and start over?

best, paul

View 2 Replies View Related

Setup

Mar 7, 2007

Hello,
This is the present setup.
Server A --> sql server 2000
Server B --> sql server 2005

On my machine I point to an instance name of sql server 2000 to use. i.e.
sqlserver2000Serverinstance1
On my local machine I have installed sql server 2000 and can use the enterprise manager. Have the Admin rights.
I have setup a daily backup job on sql 2000...

On server B, I installed sql 2005. Restored the sql 2000 backup onto sql 2005. And now I have the sql 2000 database in sql server 2005.

Now I can use the sql 2005 by refering to the serverB name (Not an instance).

In Server A, the applications are using a login name (sql authentication) i.e. username, password.

Questions
1) How do I install sql 2005 on my local machine (Remember that I have sql 2000)

2) If I should run the setup for sql 2005 on local machine, then during the installation, do I give it an instance name or should this instance name be done on the server i.e. server B ?

Thanks

View 3 Replies View Related

DTS Setup

Mar 23, 2007

Hi All

Iam new to SQL and using sql2000. I have created a DTS which works as I want, but I am abit concerned about the way set-up.

My source is a Lotus notes view and my data is going to a sql table. Now when I click in 'EM/DTS/MyPackage' and then rhs click 'design package' and look how the source is being extract after double clicking the source db I get a mini window labelled 'Execute SQL Task Properties'. In the bottom part of this window their is a line labelled SQL Statement. In here there is a syntax for creating a table, exactly the same as my created table ie. the destination table. I really dont understand why this syntax is appearing here.

Please can you help.

Many Thanks

View 1 Replies View Related

DTS Setup

Mar 23, 2007

Hi All

Iam new to SQL and using sql2000. I have created a DTS which works as I want, but I am abit concerned about the way set-up.

My source is a Lotus notes view and my data is going to a sql table. Now when I click in 'EM/DTS/MyPackage' and then rhs click 'design package' and look how the source is being extract after double clicking the source db I get a mini window labelled 'Execute SQL Task Properties'. In the bottom part of this window their is a line labelled SQL Statement. In here there is a syntax for creating a table, exactly the same as my created table ie. the destination table. I really dont understand why this syntax is appearing here.

Please can you help.

Many Thanks

View 1 Replies View Related

Sql Setup

Aug 8, 2006

I need help with SQL Server 2005 Setup.

View 1 Replies View Related

Tables Setup

Jun 16, 2006

How would I set up a sql server database based on the following problem? I will be creating a poll based on 9 dimensions that compare two companies.
honda yamaha               performance        features        reliability        conformance        durability        serviceability        aesthetics        safety        other perceptives
The values stored would be 1 or 0 so the values can be totalled. The user will be using a web pageand will select a radio button per dimension for either honda or yamaha. Would this work?
tbl_companiescompanyid    int pkcompanyname  varchar
tbl_resultsresultsid  int pkp          int --performancef          int --featuresr          int --reliabilityc          int --conformanced          int --durabilitys          int --serviceabilitya          int --aestheticssf         int --safteyop         int --other perceptivescompanyid  int -- fk to tbl_companies.companyiduserid     int -- fk to tbl_users.userid
tlb_usersuserid    int pkusername  varcharuserip    varchar

View 2 Replies View Related

Can't Connect To Db After Web Setup

Nov 17, 2006

I have an asp 2.0 app that connects to a database in another city.
When I test this app through VS2005 is connects and works great. After I created a web setup project it goes bad.
I ran the setup on 2 different computers, including the dev machine, both start ok and bring up the applications main menu, but when I choose a menu item that is supposed to bring up a datagrid from the sql server I get an error saying it's not a trusted connection.
Any advice on where I should start looking? It's got me beat.
Thanks.

View 4 Replies View Related

SQL Server Setup

Feb 2, 2005

Hi Everybody,

I was trying to install the SQL Server on my machine and I successfully did it because the server is running. I can get into the Enterprise Manager (without password) and I'm able to create new databases. Except, I can not log into those databases with the userid that I also created with full access. It must be somekind of security issue but I can not figure out what. The message says: "Unable to connect to server local - SQL server does not exist or access denied". If I look at my SQL service manager my server name is "NEWONE" , which is also my computer name. So, I'm not sure what's wrong. I tried to log in with the 'sa' account it doesn't work either.

I would appreciate any help you can give me.

Thank you,

Laszlo

View 1 Replies View Related

Creating SQL At Setup

Feb 16, 2005

I must install web applications on many servers
how can I create a MS SQL database at setup ?

thank you

View 4 Replies View Related

Setup MSDE200A

Jun 8, 2005

Hi can you help me with this problem with msde
 
I have installed MSDE200A and i didn’t gave any password(setup BLANKSAPWD=1).
My configuration code for the connection with msde is:
  <appSettings>
     <add key="DSN" value="Initial Catalog=dyt_mac;Data Source=localhost;Integrated Security=SSPI;"/>
  </appSettings>
 
When i try to connect with the database this error occurs:
 
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Data.SqlClient.SqlException: SQL Server does not exist or access denied.
 
Thank you!

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved