Showing posts with label express. Show all posts
Showing posts with label express. Show all posts

Friday, March 30, 2012

I've installed SQL express, now what?

This may be a stupid question, but I've installed SQL Express and I don't know what to do next. I went to my program files/Microsft SQL... and the only folder present is a configuration folder.

Next I went to my control panel/admin tools/ODBC and succussfully created a user data source. (With the help of the forum!)

Obviously, I've never used SQL before, but I've read a couple of books and other stuff online, and I want to teach myself. So I decided to install this. Basically, I'm looking for answers on how to access the database. I know it's installed, it's in the Add/Remove programs list. I just don't know how to connect/access it.

Sorry for the dumb question.

Stacey

I think I figured it out. You have to access the DB using another program, and connect using the ODBC that I previously created. Am I correct?

I thought it was an independent DB, meaning I could directly access it. Thanks!

|||

Hi

You'll need to download SQL Management Studio Express (here). It will allow you to create databases, run queries etc. That way you won't have to work "in the dark".

HTH

|||

Thank you so much for helping me. Now I just have to figure out how to use it, and what to do!!!

Stacey

|||Update - Thank you so much Andre! I am off and running thanks to you. I figured out how to use it, and now I'm learning SQL thanks to you!!

it's very urgent regarding XP_SEND MAIL

Hi,
I have a problem in sending mail from sql server 2000 which is using
windows 2000 professional and outlook express
Iam pasting my code below
/
************************************************************************************************************
Create procedure Pub_SendingMail
as
declare
@.EmailAddTO varchar(30),
@.EmailSubject varchar(130),
@.EmailText varchar(255),
@.return int,
@.Counting int
@.
begin
/* SET value */
set @.return = 0
set @.Counting = 0
set @.EmailSubject = 'TEST EMAIL'
set @.EmailText = 'This is a test email'
set @.EmailAddTO = 'nagesh@.emids.com'
/* LOOP. If e-mail is sent, break loop; ELSE WAIT 10 seconds, and
then RETRY. */
WHILE 1=1
begin
set @.Counting = @.Counting + 1
exec @.return = master.dbo.xp_sendmail
@.recipients = @.EmailAddTO,
@.message = @.EmailText ,
@.subject = @.EmailSubject
@.attachments = 'c:\attachment.txt'
/* CHECK value, break if SUCCESS */
if @.return = 0
begin
print 'EMAIL SENT'
break
end
else
begin
/* Try 1 times */
if @.Counting = 1
break
print 'EMAIL FAILED, WAIT 10 SECONDS, TRY AGAIN'
/*000 hours, 00 minutes, and 10 seconds */
waitfor delay '000:00:03'
end
end
end
*****************************************************************************************************************/
and when iam executing
EXEC Pub_SendingMail
it is giving the following error
Server: Msg 18030, Level 16, State 1, Line 0
xp_sendmail: Either there is no default mail client or the current
mail client cannot fulfill the messaging request. Please run Microsoft
Outlook and set it as the default mail client.
but here i need to send mail not only to out look express but also
general mail servers
I would deeply appriciate if any body can help me about this issue
and send any modifications in the above code.And also how to configure
the Microsoft Outlook Express as the default mail client.
it is very very very very very urgent
Regards
prasadXp_sendmail cannot use Outlook Express. Do yourself a big favor and use xp_smtp_sendmail from
www.sqldev.net.
--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
<shyam.yarlagadda@.gmail.com> wrote in message
news:1170414875.690570.8220@.v45g2000cwv.googlegroups.com...
> Hi,
> I have a problem in sending mail from sql server 2000 which is using
> windows 2000 professional and outlook express
> Iam pasting my code below
> /
> ************************************************************************************************************
> Create procedure Pub_SendingMail
> as
> declare
> @.EmailAddTO varchar(30),
> @.EmailSubject varchar(130),
> @.EmailText varchar(255),
> @.return int,
> @.Counting int
> @.
> begin
> /* SET value */
> set @.return = 0
> set @.Counting = 0
> set @.EmailSubject = 'TEST EMAIL'
> set @.EmailText = 'This is a test email'
> set @.EmailAddTO = 'nagesh@.emids.com'
> /* LOOP. If e-mail is sent, break loop; ELSE WAIT 10 seconds, and
> then RETRY. */
> WHILE 1=1
> begin
> set @.Counting = @.Counting + 1
> exec @.return = master.dbo.xp_sendmail
> @.recipients = @.EmailAddTO,
> @.message = @.EmailText ,
> @.subject = @.EmailSubject
> @.attachments = 'c:\attachment.txt'
> /* CHECK value, break if SUCCESS */
> if @.return = 0
> begin
> print 'EMAIL SENT'
> break
> end
> else
> begin
> /* Try 1 times */
> if @.Counting = 1
> break
> print 'EMAIL FAILED, WAIT 10 SECONDS, TRY AGAIN'
> /*000 hours, 00 minutes, and 10 seconds */
> waitfor delay '000:00:03'
> end
> end
> end
> *****************************************************************************************************************/
> and when iam executing
> EXEC Pub_SendingMail
> it is giving the following error
> Server: Msg 18030, Level 16, State 1, Line 0
> xp_sendmail: Either there is no default mail client or the current
> mail client cannot fulfill the messaging request. Please run Microsoft
> Outlook and set it as the default mail client.
> but here i need to send mail not only to out look express but also
> general mail servers
> I would deeply appriciate if any body can help me about this issue
> and send any modifications in the above code.And also how to configure
> the Microsoft Outlook Express as the default mail client.
> it is very very very very very urgent
> Regards
> prasad
>|||You'll need to set up a MAPI mail profile for this to work. Alternatively
you could use the XPSMTP.DLL which is free
(http://www.sqldev.net/xp/xpsmtp.htm).
Cheers,
Paul Ibison SQL Server MVP, www.replicationanswers.com .

Wednesday, March 28, 2012

It's possibel run SSIS in SQL Server 2005 Express Edition

Hy,

I wont now if it's possible to run SSIS in my server client that have instaled SQL Server 2005 Express Edition?

Regards,

Filipe Silva

Hello,

SSIS comes only with Microsoft SQL Server, it's not part odf the Express Edition

Regards,
Ovidiu Burlacu

|||

No. SQL Server Express does not include SSIS.

-Jamie

Friday, March 23, 2012

Issues with too many audittrace .trc files

Hi
I am running MSD 2005 Express Sequel Server and am noticing that in
the data folder located under C:\Program Files\Microsoft SQL Server
\MSSQL.1\MSSQL\Data, that every 3 hours or so a .trc file (I am
assuming it is some sort of log file) is being created. Here is a
sample title of what the file is labled:
audittrace20070618090810_328.trc. These files are big, at least
200,000KB, and are taking up way too much space in my hard drive.
Does any body here know the source for these files? What type of file
is it or neccessary for? I am assuming there is some stored process in
the sequel server that is creating these big files. I am just not sure
where to find that process or where the command is coming from.
Any help is much appreciated. Thanks in advance!
JonathanIt is the "default trace", a Profile trace. You can turn it off using sp_con
figure. If you want to
check what events and columns it traces, see:
http://sqlblog.com/blogs/tibor_kara...
ce.aspx
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://sqlblog.com/blogs/tibor_karaszi
<ridingtime516@.gmail.com> wrote in message
news:1184615740.955056.40490@.o61g2000hsh.googlegroups.com...
> Hi
> I am running MSD 2005 Express Sequel Server and am noticing that in
> the data folder located under C:\Program Files\Microsoft SQL Server
> \MSSQL.1\MSSQL\Data, that every 3 hours or so a .trc file (I am
> assuming it is some sort of log file) is being created. Here is a
> sample title of what the file is labled:
> audittrace20070618090810_328.trc. These files are big, at least
> 200,000KB, and are taking up way too much space in my hard drive.
> Does any body here know the source for these files? What type of file
> is it or neccessary for? I am assuming there is some stored process in
> the sequel server that is creating these big files. I am just not sure
> where to find that process or where the command is coming from.
> Any help is much appreciated. Thanks in advance!
> Jonathan
>sql

Issues with too many audittrace .trc files

Hi
I am running MSD 2005 Express Sequel Server and am noticing that in
the data folder located under C:\Program Files\Microsoft SQL Server
\MSSQL.1\MSSQL\Data, that every 3 hours or so a .trc file (I am
assuming it is some sort of log file) is being created. Here is a
sample title of what the file is labled:
audittrace20070618090810_328.trc. These files are big, at least
200,000KB, and are taking up way too much space in my hard drive.
Does any body here know the source for these files? What type of file
is it or neccessary for? I am assuming there is some stored process in
the sequel server that is creating these big files. I am just not sure
where to find that process or where the command is coming from.
Any help is much appreciated. Thanks in advance!
Jonathan
It is the "default trace", a Profile trace. You can turn it off using sp_configure. If you want to
check what events and columns it traces, see:
http://sqlblog.com/blogs/tibor_karaszi/archive/2007/03/12/whats-in-the-default-trace.aspx
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://sqlblog.com/blogs/tibor_karaszi
<ridingtime516@.gmail.com> wrote in message
news:1184615740.955056.40490@.o61g2000hsh.googlegro ups.com...
> Hi
> I am running MSD 2005 Express Sequel Server and am noticing that in
> the data folder located under C:\Program Files\Microsoft SQL Server
> \MSSQL.1\MSSQL\Data, that every 3 hours or so a .trc file (I am
> assuming it is some sort of log file) is being created. Here is a
> sample title of what the file is labled:
> audittrace20070618090810_328.trc. These files are big, at least
> 200,000KB, and are taking up way too much space in my hard drive.
> Does any body here know the source for these files? What type of file
> is it or neccessary for? I am assuming there is some stored process in
> the sequel server that is creating these big files. I am just not sure
> where to find that process or where the command is coming from.
> Any help is much appreciated. Thanks in advance!
> Jonathan
>

Wednesday, March 21, 2012

Issues with too many audittrace .trc files

Hi
I am running MSD 2005 Express Sequel Server and am noticing that in
the data folder located under C:\Program Files\Microsoft SQL Server
\MSSQL.1\MSSQL\Data, that every 3 hours or so a .trc file (I am
assuming it is some sort of log file) is being created. Here is a
sample title of what the file is labled:
audittrace20070618090810_328.trc. These files are big, at least
200,000KB, and are taking up way too much space in my hard drive.
Does any body here know the source for these files? What type of file
is it or neccessary for? I am assuming there is some stored process in
the sequel server that is creating these big files. I am just not sure
where to find that process or where the command is coming from.
Any help is much appreciated. Thanks in advance!
JonathanIt is the "default trace", a Profile trace. You can turn it off using sp_configure. If you want to
check what events and columns it traces, see:
http://sqlblog.com/blogs/tibor_karaszi/archive/2007/03/12/whats-in-the-default-trace.aspx
--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://sqlblog.com/blogs/tibor_karaszi
<ridingtime516@.gmail.com> wrote in message
news:1184615740.955056.40490@.o61g2000hsh.googlegroups.com...
> Hi
> I am running MSD 2005 Express Sequel Server and am noticing that in
> the data folder located under C:\Program Files\Microsoft SQL Server
> \MSSQL.1\MSSQL\Data, that every 3 hours or so a .trc file (I am
> assuming it is some sort of log file) is being created. Here is a
> sample title of what the file is labled:
> audittrace20070618090810_328.trc. These files are big, at least
> 200,000KB, and are taking up way too much space in my hard drive.
> Does any body here know the source for these files? What type of file
> is it or neccessary for? I am assuming there is some stored process in
> the sequel server that is creating these big files. I am just not sure
> where to find that process or where the command is coming from.
> Any help is much appreciated. Thanks in advance!
> Jonathan
>

Issues with Microsoft SQL Serever 2005 Express Edition and other versions of SQL Express

I have uninstalled the SQL Server Express Edition that I have installed from the CDs that were given to me during a Chicago Conference when READY TO LAUNCH Visual Studio 2005, SQL SERVER 2005, and Biz Talk 2005.

Then I went to microsoft website: http://msdn.microsoft.com/vstudio/express/sql/register/default.aspx and downloaded and installed the so called Microsoft SQL Server 2005 Express Edition and I got the messages Error that you read below. Then I Uninstalled Microsoft SQL Server 2005 Express Edition and went again to msdn website and downloaded Microsoft SQL Server 2005 Express Edition Advanced Services SP1 and installed it. I got again the same message as below.

MESSAGE:

1. First comes a window with the title: “setup.exe – Unable to Locate Component
And it displays a message:

This application has failed to start because MSTDCPRX.dll was not found.

Re-installing the application may fix this problem.

2. After I click the OK button of this window it comes another window with the title: “Microsoft SQL Server 2005 Server Setup”

And it displays a message: Failed to load SqlSpars.dll

Does anybody can tell what is going on with the 3 times I tried to installed different SQL Server 2005 Express Edition and I get the same message?

Thanks for your help and support when you have time to respond.

Sincerely,

TonyC

MORE INFORMATION ON THE:
C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files

1. C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0001_B3-XP_Core.txt

Error: Action "LaunchLocalBootstrapAction" threw an exception during execution. Error information reported during run:

"C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\setup.exe" finished and returned: 87

Aborting queue processing as nested installer has completed

Message pump returning: 87

2. C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0001_B3-XP_Core(Local).txt Running: InvokeSqlSetupDllAction at: 2007/1/20 1:22:8

Error: Action "InvokeSqlSetupDllAction" threw an exception during execution.

Unable to load setup helper module : 87

Message displayed to user

Failed to load SqlSpars.dll

Error: Failed to add file :"C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0001_B3-XP_.NET Framework 2.0.log" to cab file : "C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\SqlSetup0001.cab" Error Code : 2

Running: UploadDrWatsonLogAction at: 2007/1/20 1:22:17

Message pump returning: 87

3. C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0001_B3-XP_Datastore.xml

<

<S,<Scope Type="SetupStateScope" Id="">

<Property Id="machineName">B3-XP</Property>

<Property Id="logDirectory">C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\</Property>

<Property Id="logSummaryFilename">C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Summary.txt</Property>

<Property Id="logSequenceNumber">1</Property>

<Property Id="primaryLogFiles">{ ["C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0001_B3-XP_.NET Framework 2.0.log"], ["C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0001_B3-XP_Support.log"], ["C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0001_B3-XP_Core.log"], ["C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Summary.txt"], ["C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0001_B3-XP_Core(Local).log"] }</Property>

<Property Id="watsonFailedAction">InvokeSqlSetupDllAction</Property>

<Property Id="watsonFailedActionErrorCode">87</Property>

<Property Id="watsonFailedFunction">sqls::InvokeSqlSetupDllAction::perform</Property>

<Property Id="watsonFailedFunctionErrorCode">87</Property>

<Property Id="watsonSourceFileAndLineNo">setup\sqlsetupactions.cpp@.1709</Property>

<Property Id="watsonModuleAndVersion">setup.exe@.2005.90.3042.0</Property>

<Property Id="watsonMsi">None</Property>

<Property Id="watsonMsiAndVersion">None</Property>

<Property Id="watsonSourceFile">setup\sqlsetupactions.cpp</Property>

</<Scope>

This application has failed to start because MSTDCPRX.dll was not found.

It seems that DTS is corrupted on your computer. Would you reinstall DTC (Distributed Transaction Coordinator) and try setup.exe again?

|||

Can you be more specific because I am not familiar with what you just said.
1. Can you tell me where to find the DTC or where I can download it so I can reinstal or instal?
Does anybody else also has a different suggestion.
Thanks again

|||

I need more help with the SQL Server Express or more other responses, please.
Is anymore people out there who can tell me what to do?
I am still waiting to here from anybody, I check this forum almost twice a day and I see no answers.
I really would appreciate any of your advice if you look through my LOG files?
If you need me to look for some more code in the Log files like the one named something like log_support.txt which is a very long file I will do that as long as you tell me for what specific line or value or string to look.

Please help and thanks for your time if you try to help me.

Sincerely,
TonyCorrona

|||

Hello there,

PLEASE DELETE THIS THREAD.

Thanks and Regards,
TonyC

|||

Thanks to everybody's time reading my thread and trying to help me maybe.
Anyways, I have fixed the problem on my own without having to reinstall Microsoft Distributed Transaction Coordinator and do all the steps that Microsoft People say in their document they provide in msdn.microsoft site.

My problem above I have fixed using some logics of my head and fixed in less then 10 seconds and then tried to install SQL Server Express and it did install it without problem and generated successfull message without any errors and is working fine so far.

Now you can Delete this thread the Microsoft Admin People.
P.S. I like this TechNet forum site but the only lack of this site is that it does not allow us users to delete our own threads.
Maybe I might be misaken but I don't see anywhere a delete button besides the three or sometimes four buttons which
are: Mark as Answer, Reply, Quote and Edit.

Sincerely,
T C

|||

Tony, can you please supply your solution so that it may help others in the future? Congrats on getting it solved. :)

Sam

|||

I am replying to this only on behalf of the users which are struggling with SQL 2005.
If it would be to helping the Programmers or Administrator of MSFT, I would never reply to this blog because they got the job and should try to help people because they get paid for it.
I don't get paid for this to help Microsoft Employee to resolve thier issues.
Myself I am unemployed since last year when I got laid off from a company. Today nobody is helping me with anything, nor to get a job or any interview just because I have only 2 years of work experience.

Anyways let get to the job helping you kindly users.

Since MSFT personnnel could not help me I thought would try to resolve the issue on my own without thier help.


After instaling SQL SERVER 2005, I was missing the MSTDCPRX.dll in the computer that I was installed the SQL 2005 and one thing that I remeber I have done was this.

So I went in another computer that I had Windows XP and searched for the DLL file MSTDCPRX.dll and copy the file and then pasted to the computer that I was missing the file. For those people who do not know where to paste the file, it should be in the directory C:\WINDOWS\system32.

After I copied this file and pasted I did not have any problems anymore with SQL Spars.DLL or any other issues instaling the SQL SERVER 2005.

Hope this will help to all of you who is having problems with SQL SERVER 2005.

Wish you a good day.

Sincerely,

T

Issues with Microsoft SQL Serever 2005 Express Edition and other versions of SQL Express

I have uninstalled the SQL Server Express Edition that I have installed from the CDs that were given to me during a Chicago Conference when READY TO LAUNCH Visual Studio 2005, SQL SERVER 2005, and Biz Talk 2005.

Then I went to microsoft website: http://msdn.microsoft.com/vstudio/express/sql/register/default.aspx and downloaded and installed the so called Microsoft SQL Server 2005 Express Edition and I got the messages Error that you read below. Then I Uninstalled Microsoft SQL Server 2005 Express Edition and went again to msdn website and downloaded Microsoft SQL Server 2005 Express Edition Advanced Services SP1 and installed it. I got again the same message as below.

MESSAGE:

1. First comes a window with the title: “setup.exe – Unable to Locate Component
And it displays a message:

This application has failed to start because MSTDCPRX.dll was not found.

Re-installing the application may fix this problem.

2. After I click the OK button of this window it comes another window with the title: “Microsoft SQL Server 2005 Server Setup”

And it displays a message: Failed to load SqlSpars.dll

Does anybody can tell what is going on with the 3 times I tried to installed different SQL Server 2005 Express Edition and I get the same message?

Thanks for your help and support when you have time to respond.

Sincerely,

TonyC

MORE INFORMATION ON THE:
C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files

1. C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0001_B3-XP_Core.txt

Error: Action "LaunchLocalBootstrapAction" threw an exception during execution. Error information reported during run:

"C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\setup.exe" finished and returned: 87

Aborting queue processing as nested installer has completed

Message pump returning: 87

2. C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0001_B3-XP_Core(Local).txt Running: InvokeSqlSetupDllAction at: 2007/1/20 1:22:8

Error: Action "InvokeSqlSetupDllAction" threw an exception during execution.

Unable to load setup helper module : 87

Message displayed to user

Failed to load SqlSpars.dll

Error: Failed to add file :"C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0001_B3-XP_.NET Framework 2.0.log" to cab file : "C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\SqlSetup0001.cab" Error Code : 2

Running: UploadDrWatsonLogAction at: 2007/1/20 1:22:17

Message pump returning: 87

3. C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0001_B3-XP_Datastore.xml

<

<S,<Scope Type="SetupStateScope" Id="">

<Property Id="machineName">B3-XP</Property>

<Property Id="logDirectory">C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\</Property>

<Property Id="logSummaryFilename">C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Summary.txt</Property>

<Property Id="logSequenceNumber">1</Property>

<Property Id="primaryLogFiles">{ ["C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0001_B3-XP_.NET Framework 2.0.log"], ["C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0001_B3-XP_Support.log"], ["C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0001_B3-XP_Core.log"], ["C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Summary.txt"], ["C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0001_B3-XP_Core(Local).log"] }</Property>

<Property Id="watsonFailedAction">InvokeSqlSetupDllAction</Property>

<Property Id="watsonFailedActionErrorCode">87</Property>

<Property Id="watsonFailedFunction">sqls::InvokeSqlSetupDllAction::perform</Property>

<Property Id="watsonFailedFunctionErrorCode">87</Property>

<Property Id="watsonSourceFileAndLineNo">setup\sqlsetupactions.cpp@.1709</Property>

<Property Id="watsonModuleAndVersion">setup.exe@.2005.90.3042.0</Property>

<Property Id="watsonMsi">None</Property>

<Property Id="watsonMsiAndVersion">None</Property>

<Property Id="watsonSourceFile">setup\sqlsetupactions.cpp</Property>

</<Scope>

This application has failed to start because MSTDCPRX.dll was not found.

It seems that DTS is corrupted on your computer. Would you reinstall DTC (Distributed Transaction Coordinator) and try setup.exe again?

|||

Can you be more specific because I am not familiar with what you just said.
1. Can you tell me where to find the DTC or where I can download it so I can reinstal or instal?
Does anybody else also has a different suggestion.
Thanks again

|||

I need more help with the SQL Server Express or more other responses, please.
Is anymore people out there who can tell me what to do?
I am still waiting to here from anybody, I check this forum almost twice a day and I see no answers.
I really would appreciate any of your advice if you look through my LOG files?
If you need me to look for some more code in the Log files like the one named something like log_support.txt which is a very long file I will do that as long as you tell me for what specific line or value or string to look.

Please help and thanks for your time if you try to help me.

Sincerely,
TonyCorrona

|||

Hello there,

PLEASE DELETE THIS THREAD.

Thanks and Regards,
TonyC

|||

Thanks to everybody's time reading my thread and trying to help me maybe.
Anyways, I have fixed the problem on my own without having to reinstall Microsoft Distributed Transaction Coordinator and do all the steps that Microsoft People say in their document they provide in msdn.microsoft site.

My problem above I have fixed using some logics of my head and fixed in less then 10 seconds and then tried to install SQL Server Express and it did install it without problem and generated successfull message without any errors and is working fine so far.

Now you can Delete this thread the Microsoft Admin People.
P.S. I like this TechNet forum site but the only lack of this site is that it does not allow us users to delete our own threads.
Maybe I might be misaken but I don't see anywhere a delete button besides the three or sometimes four buttons which
are: Mark as Answer, Reply, Quote and Edit.

Sincerely,
T C

|||

Tony, can you please supply your solution so that it may help others in the future? Congrats on getting it solved. :)

Sam

|||

I am replying to this only on behalf of the users which are struggling with SQL 2005.
If it would be to helping the Programmers or Administrator of MSFT, I would never reply to this blog because they got the job and should try to help people because they get paid for it.
I don't get paid for this to help Microsoft Employee to resolve thier issues.
Myself I am unemployed since last year when I got laid off from a company. Today nobody is helping me with anything, nor to get a job or any interview just because I have only 2 years of work experience.

Anyways let get to the job helping you kindly users.

Since MSFT personnnel could not help me I thought would try to resolve the issue on my own without thier help.


After instaling SQL SERVER 2005, I was missing the MSTDCPRX.dll in the computer that I was installed the SQL 2005 and one thing that I remeber I have done was this.

So I went in another computer that I had Windows XP and searched for the DLL file MSTDCPRX.dll and copy the file and then pasted to the computer that I was missing the file. For those people who do not know where to paste the file, it should be in the directory C:\WINDOWS\system32.

After I copied this file and pasted I did not have any problems anymore with SQL Spars.DLL or any other issues instaling the SQL SERVER 2005.

Hope this will help to all of you who is having problems with SQL SERVER 2005.

Wish you a good day.

Sincerely,

T

sql

Issues with Microsoft SQL Serever 2005 Express Edition and other versions of SQL Express

I have uninstalled the SQL Server Express Edition that I have installed from the CDs that were given to me during a Chicago Conference when READY TO LAUNCH Visual Studio 2005, SQL SERVER 2005, and Biz Talk 2005.

Then I went to microsoft website: http://msdn.microsoft.com/vstudio/express/sql/register/default.aspx and downloaded and installed the so called Microsoft SQL Server 2005 Express Edition and I got the messages Error that you read below. Then I Uninstalled Microsoft SQL Server 2005 Express Edition and went again to msdn website and downloaded Microsoft SQL Server 2005 Express Edition Advanced Services SP1 and installed it. I got again the same message as below.

MESSAGE:

1. First comes a window with the title: “setup.exe – Unable to Locate Component
And it displays a message:

This application has failed to start because MSTDCPRX.dll was not found.

Re-installing the application may fix this problem.

2. After I click the OK button of this window it comes another window with the title: “Microsoft SQL Server 2005 Server Setup”

And it displays a message: Failed to load SqlSpars.dll

Does anybody can tell what is going on with the 3 times I tried to installed different SQL Server 2005 Express Edition and I get the same message?

Thanks for your help and support when you have time to respond.

Sincerely,

TonyC

MORE INFORMATION ON THE:
C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files

1. C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0001_B3-XP_Core.txt

Error: Action "LaunchLocalBootstrapAction" threw an exception during execution. Error information reported during run:

"C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\setup.exe" finished and returned: 87

Aborting queue processing as nested installer has completed

Message pump returning: 87

2. C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0001_B3-XP_Core(Local).txt Running: InvokeSqlSetupDllAction at: 2007/1/20 1:22:8

Error: Action "InvokeSqlSetupDllAction" threw an exception during execution.

Unable to load setup helper module : 87

Message displayed to user

Failed to load SqlSpars.dll

Error: Failed to add file :"C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0001_B3-XP_.NET Framework 2.0.log" to cab file : "C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\SqlSetup0001.cab" Error Code : 2

Running: UploadDrWatsonLogAction at: 2007/1/20 1:22:17

Message pump returning: 87

3. C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0001_B3-XP_Datastore.xml

<

<S,<Scope Type="SetupStateScope" Id="">

<Property Id="machineName">B3-XP</Property>

<Property Id="logDirectory">C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\</Property>

<Property Id="logSummaryFilename">C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Summary.txt</Property>

<Property Id="logSequenceNumber">1</Property>

<Property Id="primaryLogFiles">{ ["C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0001_B3-XP_.NET Framework 2.0.log"], ["C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0001_B3-XP_Support.log"], ["C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0001_B3-XP_Core.log"], ["C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Summary.txt"], ["C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0001_B3-XP_Core(Local).log"] }</Property>

<Property Id="watsonFailedAction">InvokeSqlSetupDllAction</Property>

<Property Id="watsonFailedActionErrorCode">87</Property>

<Property Id="watsonFailedFunction">sqls::InvokeSqlSetupDllAction::perform</Property>

<Property Id="watsonFailedFunctionErrorCode">87</Property>

<Property Id="watsonSourceFileAndLineNo">setup\sqlsetupactions.cpp@.1709</Property>

<Property Id="watsonModuleAndVersion">setup.exe@.2005.90.3042.0</Property>

<Property Id="watsonMsi">None</Property>

<Property Id="watsonMsiAndVersion">None</Property>

<Property Id="watsonSourceFile">setup\sqlsetupactions.cpp</Property>

</<Scope>

This application has failed to start because MSTDCPRX.dll was not found.

It seems that DTS is corrupted on your computer. Would you reinstall DTC (Distributed Transaction Coordinator) and try setup.exe again?

|||

Can you be more specific because I am not familiar with what you just said.
1. Can you tell me where to find the DTC or where I can download it so I can reinstal or instal?
Does anybody else also has a different suggestion.
Thanks again

|||

I need more help with the SQL Server Express or more other responses, please.
Is anymore people out there who can tell me what to do?
I am still waiting to here from anybody, I check this forum almost twice a day and I see no answers.
I really would appreciate any of your advice if you look through my LOG files?
If you need me to look for some more code in the Log files like the one named something like log_support.txt which is a very long file I will do that as long as you tell me for what specific line or value or string to look.

Please help and thanks for your time if you try to help me.

Sincerely,
TonyCorrona

|||

Hello there,

PLEASE DELETE THIS THREAD.

Thanks and Regards,
TonyC

|||

Thanks to everybody's time reading my thread and trying to help me maybe.
Anyways, I have fixed the problem on my own without having to reinstall Microsoft Distributed Transaction Coordinator and do all the steps that Microsoft People say in their document they provide in msdn.microsoft site.

My problem above I have fixed using some logics of my head and fixed in less then 10 seconds and then tried to install SQL Server Express and it did install it without problem and generated successfull message without any errors and is working fine so far.

Now you can Delete this thread the Microsoft Admin People.
P.S. I like this TechNet forum site but the only lack of this site is that it does not allow us users to delete our own threads.
Maybe I might be misaken but I don't see anywhere a delete button besides the three or sometimes four buttons which
are: Mark as Answer, Reply, Quote and Edit.

Sincerely,
T C

|||

Tony, can you please supply your solution so that it may help others in the future? Congrats on getting it solved. :)

Sam

|||

I am replying to this only on behalf of the users which are struggling with SQL 2005.
If it would be to helping the Programmers or Administrator of MSFT, I would never reply to this blog because they got the job and should try to help people because they get paid for it.
I don't get paid for this to help Microsoft Employee to resolve thier issues.
Myself I am unemployed since last year when I got laid off from a company. Today nobody is helping me with anything, nor to get a job or any interview just because I have only 2 years of work experience.

Anyways let get to the job helping you kindly users.

Since MSFT personnnel could not help me I thought would try to resolve the issue on my own without thier help.


After instaling SQL SERVER 2005, I was missing the MSTDCPRX.dll in the computer that I was installed the SQL 2005 and one thing that I remeber I have done was this.

So I went in another computer that I had Windows XP and searched for the DLL file MSTDCPRX.dll and copy the file and then pasted to the computer that I was missing the file. For those people who do not know where to paste the file, it should be in the directory C:\WINDOWS\system32.

After I copied this file and pasted I did not have any problems anymore with SQL Spars.DLL or any other issues instaling the SQL SERVER 2005.

Hope this will help to all of you who is having problems with SQL SERVER 2005.

Wish you a good day.

Sincerely,

T

Issues with Microsoft SQL Serever 2005 Express Edition and other versions of SQL Express

I have uninstalled the SQL Server Express Edition that I have installed from the CDs that were given to me during a Chicago Conference when READY TO LAUNCH Visual Studio 2005, SQL SERVER 2005, and Biz Talk 2005.

Then I went to microsoft website: http://msdn.microsoft.com/vstudio/express/sql/register/default.aspx and downloaded and installed the so called Microsoft SQL Server 2005 Express Edition and I got the messages Error that you read below. Then I Uninstalled Microsoft SQL Server 2005 Express Edition and went again to msdn website and downloaded Microsoft SQL Server 2005 Express Edition Advanced Services SP1 and installed it. I got again the same message as below.

MESSAGE:

1. First comes a window with the title: “setup.exe – Unable to Locate Component
And it displays a message:

This application has failed to start because MSTDCPRX.dll was not found.

Re-installing the application may fix this problem.

2. After I click the OK button of this window it comes another window with the title: “Microsoft SQL Server 2005 Server Setup”

And it displays a message: Failed to load SqlSpars.dll

Does anybody can tell what is going on with the 3 times I tried to installed different SQL Server 2005 Express Edition and I get the same message?

Thanks for your help and support when you have time to respond.

Sincerely,

TonyC

MORE INFORMATION ON THE:
C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files

1. C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0001_B3-XP_Core.txt

Error: Action "LaunchLocalBootstrapAction" threw an exception during execution. Error information reported during run:

"C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\setup.exe" finished and returned: 87

Aborting queue processing as nested installer has completed

Message pump returning: 87

2. C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0001_B3-XP_Core(Local).txt Running: InvokeSqlSetupDllAction at: 2007/1/20 1:22:8

Error: Action "InvokeSqlSetupDllAction" threw an exception during execution.

Unable to load setup helper module : 87

Message displayed to user

Failed to load SqlSpars.dll

Error: Failed to add file :"C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0001_B3-XP_.NET Framework 2.0.log" to cab file : "C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\SqlSetup0001.cab" Error Code : 2

Running: UploadDrWatsonLogAction at: 2007/1/20 1:22:17

Message pump returning: 87

3. C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0001_B3-XP_Datastore.xml

<

<S,<Scope Type="SetupStateScope" Id="">

<Property Id="machineName">B3-XP</Property>

<Property Id="logDirectory">C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\</Property>

<Property Id="logSummaryFilename">C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Summary.txt</Property>

<Property Id="logSequenceNumber">1</Property>

<Property Id="primaryLogFiles">{ ["C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0001_B3-XP_.NET Framework 2.0.log"], ["C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0001_B3-XP_Support.log"], ["C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0001_B3-XP_Core.log"], ["C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Summary.txt"], ["C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0001_B3-XP_Core(Local).log"] }</Property>

<Property Id="watsonFailedAction">InvokeSqlSetupDllAction</Property>

<Property Id="watsonFailedActionErrorCode">87</Property>

<Property Id="watsonFailedFunction">sqls::InvokeSqlSetupDllAction::perform</Property>

<Property Id="watsonFailedFunctionErrorCode">87</Property>

<Property Id="watsonSourceFileAndLineNo">setup\sqlsetupactions.cpp@.1709</Property>

<Property Id="watsonModuleAndVersion">setup.exe@.2005.90.3042.0</Property>

<Property Id="watsonMsi">None</Property>

<Property Id="watsonMsiAndVersion">None</Property>

<Property Id="watsonSourceFile">setup\sqlsetupactions.cpp</Property>

</<Scope>

This application has failed to start because MSTDCPRX.dll was not found.

It seems that DTS is corrupted on your computer. Would you reinstall DTC (Distributed Transaction Coordinator) and try setup.exe again?

|||

Can you be more specific because I am not familiar with what you just said.
1. Can you tell me where to find the DTC or where I can download it so I can reinstal or instal?
Does anybody else also has a different suggestion.
Thanks again

|||

I need more help with the SQL Server Express or more other responses, please.
Is anymore people out there who can tell me what to do?
I am still waiting to here from anybody, I check this forum almost twice a day and I see no answers.
I really would appreciate any of your advice if you look through my LOG files?
If you need me to look for some more code in the Log files like the one named something like log_support.txt which is a very long file I will do that as long as you tell me for what specific line or value or string to look.

Please help and thanks for your time if you try to help me.

Sincerely,
TonyCorrona

|||

Hello there,

PLEASE DELETE THIS THREAD.

Thanks and Regards,
TonyC

|||

Thanks to everybody's time reading my thread and trying to help me maybe.
Anyways, I have fixed the problem on my own without having to reinstall Microsoft Distributed Transaction Coordinator and do all the steps that Microsoft People say in their document they provide in msdn.microsoft site.

My problem above I have fixed using some logics of my head and fixed in less then 10 seconds and then tried to install SQL Server Express and it did install it without problem and generated successfull message without any errors and is working fine so far.

Now you can Delete this thread the Microsoft Admin People.
P.S. I like this TechNet forum site but the only lack of this site is that it does not allow us users to delete our own threads.
Maybe I might be misaken but I don't see anywhere a delete button besides the three or sometimes four buttons which
are: Mark as Answer, Reply, Quote and Edit.

Sincerely,
T C

|||

Tony, can you please supply your solution so that it may help others in the future? Congrats on getting it solved. :)

Sam

|||

I am replying to this only on behalf of the users which are struggling with SQL 2005.
If it would be to helping the Programmers or Administrator of MSFT, I would never reply to this blog because they got the job and should try to help people because they get paid for it.
I don't get paid for this to help Microsoft Employee to resolve thier issues.
Myself I am unemployed since last year when I got laid off from a company. Today nobody is helping me with anything, nor to get a job or any interview just because I have only 2 years of work experience.

Anyways let get to the job helping you kindly users.

Since MSFT personnnel could not help me I thought would try to resolve the issue on my own without thier help.


After instaling SQL SERVER 2005, I was missing the MSTDCPRX.dll in the computer that I was installed the SQL 2005 and one thing that I remeber I have done was this.

So I went in another computer that I had Windows XP and searched for the DLL file MSTDCPRX.dll and copy the file and then pasted to the computer that I was missing the file. For those people who do not know where to paste the file, it should be in the directory C:\WINDOWS\system32.

After I copied this file and pasted I did not have any problems anymore with SQL Spars.DLL or any other issues instaling the SQL SERVER 2005.

Hope this will help to all of you who is having problems with SQL SERVER 2005.

Wish you a good day.

Sincerely,

T

Issues with getting SQL SERVER Express to understand a variable decleration and set

Here is the begning part of the stored procedure

ALTERPROCEDURE [dbo].[purchaseStock]

@.stock_idint,

@.user_namevarchar(50),

@.amount_requestint

AS

DECLARE @.UserIduniqueidentifier

DECLARE @.walletdouble

SET @.UserId=SELECT UserIdFROM aspnet_UsersWHERE UserName= @.user_name

The exact error I get is

Msg 156, Level 15, State 1, Procedure purchaseStock, Line 10

Incorrect syntax near the keyword 'SET'.

That is common T-SQL what gives?

Double is not a datatype in SQL Server. Use Decimal instead.

Monday, March 12, 2012

Issues

Hi,
I've installed SQL Express as the default 'SQLExpress' install (windows
authentication) and while I can connect fine to my created databases from VS
Web Edition 2005 (using the test server) I cannot get access to the database
s
from IIS http://localhost/test.aspx for example. I've worked through variou
s
issues to get to this point and I now just want to use a connection string
i.e. string strConn = "Initial Catalog=Pandora; Integrated Security=True;
Database=Pandora; Server=WireslessBliss;"; to connect to my database and
while it doesn't initially throw an error as soon as I run the
objConn.Open(); line:
SqlConnection objConn = new SqlConnection(strConn);
SqlCommand objCommand = new SqlCommand("SELECT * FROM CatInfo2;", objConn);
objConn.Open();
(using the namespaces <%@. Import Namespace="System.Data"%>
<%@. Import Namespace="System.Data.SqlClient"%> )
it says this...Exception Details: System.Data.SqlClient.SqlException:
Timeout expired. The timeout period elapsed prior to completion of the
operation or the server is not responding. And points to the objConn.Open()
;
line.
I am really frustrated by this as all I am trying to do is connect so I can
do a little hand coding without VS to get more of a feel for whats going on
with dotNet. I am just starting SQL Express as a move up from Access
Can someone PLEASE help!!
Thanks in advance.
AlexTry this one:
Dim cn As ADODB.Connection
Set cn = New Connection
cn.ConnectionString = "Provider=SQLNCLI.1;Integrated Security=SSPI;" & _
"Persist Security Info=False;" & _
"AttachDBFileName=" & App.Path & "\BDatos.mdf;Data
Source=servidor\sqlexpress"
73
"Alex" <Alex@.discussions.microsoft.com> escribi en el mensaje
news:40FA2342-7D46-44B4-A18A-3626B4C06541@.microsoft.com...
> Hi,
> I've installed SQL Express as the default 'SQLExpress' install (windows
> authentication) and while I can connect fine to my created databases from
> VS
> Web Edition 2005 (using the test server) I cannot get access to the
> databases
> from IIS http://localhost/test.aspx for example. I've worked through
> various
> issues to get to this point and I now just want to use a connection string
> i.e. string strConn = "Initial Catalog=Pandora; Integrated Security=True;
> Database=Pandora; Server=WireslessBliss;"; to connect to my database and
> while it doesn't initially throw an error as soon as I run the
> objConn.Open(); line:
> SqlConnection objConn = new SqlConnection(strConn);
> SqlCommand objCommand = new SqlCommand("SELECT * FROM CatInfo2;",
> objConn);
> objConn.Open();
> (using the namespaces <%@. Import Namespace="System.Data"%>
> <%@. Import Namespace="System.Data.SqlClient"%> )
> it says this...Exception Details: System.Data.SqlClient.SqlException:
> Timeout expired. The timeout period elapsed prior to completion of the
> operation or the server is not responding. And points to the
> objConn.Open();
> line.
> I am really frustrated by this as all I am trying to do is connect so I
> can
> do a little hand coding without VS to get more of a feel for whats going
> on
> with dotNet. I am just starting SQL Express as a move up from Access
> Can someone PLEASE help!!
> Thanks in advance.
> Alex

Issues

Hi,
I've installed SQL Express as the default 'SQLExpress' install (windows
authentication) and while I can connect fine to my created databases from VS
Web Edition 2005 (using the test server) I cannot get access to the databases
from IIS http://localhost/test.aspx for example. I've worked through various
issues to get to this point and I now just want to use a connection string
i.e. string strConn = "Initial Catalog=Pandora; Integrated Security=True;
Database=Pandora; Server=WireslessBliss;"; to connect to my database and
while it doesn't initially throw an error as soon as I run the
objConn.Open(); line:
SqlConnection objConn = new SqlConnection(strConn);
SqlCommand objCommand = new SqlCommand("SELECT * FROM CatInfo2;", objConn);
objConn.Open();
(using the namespaces <%@. Import Namespace="System.Data"%>
<%@. Import Namespace="System.Data.SqlClient"%> )
it says this...Exception Details: System.Data.SqlClient.SqlException:
Timeout expired. The timeout period elapsed prior to completion of the
operation or the server is not responding. And points to the objConn.Open();
line.
I am really frustrated by this as all I am trying to do is connect so I can
do a little hand coding without VS to get more of a feel for whats going on
with dotNet. I am just starting SQL Express as a move up from Access
Can someone PLEASE help!!
Thanks in advance.
Alex
Try this one:
Dim cn As ADODB.Connection
Set cn = New Connection
cn.ConnectionString = "Provider=SQLNCLI.1;Integrated Security=SSPI;" & _
"Persist Security Info=False;" & _
"AttachDBFileName=" & App.Path & "\BDatos.mdf;Data
Source=servidor\sqlexpress"
73
"Alex" <Alex@.discussions.microsoft.com> escribi en el mensaje
news:40FA2342-7D46-44B4-A18A-3626B4C06541@.microsoft.com...
> Hi,
> I've installed SQL Express as the default 'SQLExpress' install (windows
> authentication) and while I can connect fine to my created databases from
> VS
> Web Edition 2005 (using the test server) I cannot get access to the
> databases
> from IIS http://localhost/test.aspx for example. I've worked through
> various
> issues to get to this point and I now just want to use a connection string
> i.e. string strConn = "Initial Catalog=Pandora; Integrated Security=True;
> Database=Pandora; Server=WireslessBliss;"; to connect to my database and
> while it doesn't initially throw an error as soon as I run the
> objConn.Open(); line:
> SqlConnection objConn = new SqlConnection(strConn);
> SqlCommand objCommand = new SqlCommand("SELECT * FROM CatInfo2;",
> objConn);
> objConn.Open();
> (using the namespaces <%@. Import Namespace="System.Data"%>
> <%@. Import Namespace="System.Data.SqlClient"%> )
> it says this...Exception Details: System.Data.SqlClient.SqlException:
> Timeout expired. The timeout period elapsed prior to completion of the
> operation or the server is not responding. And points to the
> objConn.Open();
> line.
> I am really frustrated by this as all I am trying to do is connect so I
> can
> do a little hand coding without VS to get more of a feel for whats going
> on
> with dotNet. I am just starting SQL Express as a move up from Access
> Can someone PLEASE help!!
> Thanks in advance.
> Alex

Wednesday, March 7, 2012

Issue with 2003 virtual server and ASP.NET 2.0 Application

I'm using Sql server 2005 Express.

my connection string is as fallows:

Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\ccinfo.mdf;Integrated Security=True;User Instance=True

When testing this website on my local computer everything works fine. But then I uploaded it to my server... dun dun dun....

Its a godaddy virtual server running windows server 2003.

When I try to connect to the database stored in my app_data folder I get this error message:

'Failed to generate a user instance of SQL Server due to failure in retrieving the user's local application data path. Please make sure the user has a local user profile on the computer. The connection will be closed. '

What does this mean?

There was a similar discussion on a different forum (SQL Server Database Engine) that hopefully contains enough information to help you on this particular scenario. You can find it at: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=125227&SiteID=1.

Please, take a look to this link, and if the information posted there doesn’t help you, please let us know.

Thanks a lot,

-Raul Garcia

SDE/T

SQL Server engine

|||

I figured it out.

the problem was I needed to detach my mdf file from my local sql server before I uploaded the database to the host server. thanks anyway

|||

I was wondering if you could provide any more information about what was causing the problem, and how detaching the mdf files fixed it?

I'm having the exact same problem on the exact same server setup described in the original post. I have already read the other threads mentioned above and tried detaching the mdf files, but nothing seems to work.

I was able to find a work around that gets past the error, but that introduces its own strange issues. Basically, if I go into IIS Manager and set the website to impersonate a user with sufficient access rights, it works -- BUT, only if I first login to the server as that user (via remote desktop, since it's a remote virtual dedicated server). I have to do this every few hours (login as the impersonated user, that is) or the app goes back to giving the same error:

"Failed to generate a user instance of SQL Server due to failure in retrieving the user's local application data path. Please make sure the user has a local user profile on the computer. The connection will be closed."

I can't figure out what logging in accomplishes -- unless somehow that lets ASP .NET or SQL Express retrieve the user's local app path? I don't need to start or run the app from the user's account -- just login to it.

The other thing I don't understand is if user instances in SQL Server Express Edition cause the system DBs to be copied into the user's local application path (which seems to be related to this problem), where do the default NETWORK SERVICE or ASPNET accounts have the files copied? I know that ASP .NET uses the Default User when no local app path exists, but I can't confirm what SQL Server Express does. I just know that giving "Everyone" write access to the SQL Express directory under Default User does not help.

If anyone can shed any light onto this situation, I'd really appreciate it. I've spent the last few days reading through everything I can find related to this issue, but can't find an explanation. I realize that not using user instances would eliminate the problem, but this should work, and I'd really like to figure out what's going on here.

|||

User instances (RANU) is a feature that was originally designed for interactive users and it requires a local profile. Typically the profile is created when a user interactively logs in a machine.

The error message suggests that the user you are impersonating in your web application has not login to this server; and from your description (things work after you login in the machine), I think this is the case indeed.

I assume you are trying to use the attach database feature in RANU, but probably a different approach may work for your scenario. For example, create the user instance with attach database using a fixed (low privileged) Windows user for your application, and allow other users to connect directly via the instance named pipe (you can find the pipe name in the management view sys.dm_os_child_instances).

The main idea behind RANU is to allow any usre in the machine to run their own (isolated) copy of SQL Server as an application running under their own context. A copy of all default databases (including master) is copied to the application path. These files are not copied from the parent instance, instead, they are copied from the SQL Express “Template Data” folder. The only exception to this rule is resource database, a read-only system database that is shared across all instances.

I hope this information helped to answer your questions, and please, let us know if you have other questions.

-Raul Garcia

SDE/T

SQL Server Engine

Friday, February 24, 2012

Issue to install Reporting Services

I installed SQL Server 2005 Express with Reporting Service on Windows Server 2003 Standard on a server called psmart01. I type the URL of reporting services: http://psmart01/reportserver$SQLEXPRESS and I get only:

psmart01/ReportServer$SQLExpress - /

Microsoft SQL Server Reporting Services Version 9.00.2047.00

I have gone through the Troubleshoot a Reporting Services Installation Problem of MSDN but there is not such issue.

I wonder if reporting service database is not created properly. When I restart the SQL Server Reporting Services I see in the eventvwr: Starting up database 'ReportServer$SQLExpressTempDB'. Why TempDB ?

Can someone help ?

I think you are seeing the Report Server v-dir listing, and your catalog is empty. This is expected. What do you see when you navigate to this URL:

http://psmart01/Reports$SQLExpress

Issue Resolved

Hello,

I have installed SQL Server 2005 Express edition but can not 'launch' or 'invoke' the application. When I look under ' SQL Server Configuratin Manager' there are 2 files, SQL Server and SQL Server Browser which the status of both is 'Running'. I do not see any other files or icons to launch the application. Can anyone tell me what other steps I need to take or install to run the application and start working with it?

Thank you.

SQL Server is a 'backend' database server. There is no user application to 'launch' or 'invoke'.

However, I suspect from the nature of your posting, that you are wanting a way to interact with the data server. You can download a free copy of SQL Server Management Studio Express from here. And a tutorial about how to use it is available here.

Here are some additional resources that may be helpful.

http://www.microsoft.com/sql/editions/express/default.mspx

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

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

|||

Thank you for your response, Arnie.

The links you provided are actually the links where I downloaded SQL 2005. Let me simplify my question: How can I query a file using SQL 2005 in Windows environment?

Thanks.

|||

I guess I don't understand what you are asking.

To retreive data from SQL Server, you MUST have a client application.

Client applications include

SQL Server Management Studio

SQLCmd.exe

Custom Applications

Pruchased Applications

|||

If you are online, let's get on the messenger for a few minutes to discuss this.

Thanks

|||

Time differences may not allow that.

Try to describe your situation, and what you are atttempting to accomplish.

(Also, Use the [Reply] button on this post INSTEAD of starting a new thread.)

|||

Thank you for gettin back to me Arnie. The issue is resolved now. I had to download one more file in order to proceed.

Thanks again.

Issue installing SQL Server Express on Visual Studio Beta 2

Hi,

I have installed VS 2005 Beta 2 (Team System) using a DVD available from MS TEch Ed. This also installs SQL Server 2005 Express edition along with other tools. This installation is done on a vpc.

However when I try to install SQL Server Express Manager over this installation, I get "The installer package could not be opened. Contact the vendor to make sure to verify that the Windows installer package is valid".

Is there a solution to get this resolved ?

Thanks in advance !
It likely that you need to download the file again. Also not that you may need to uninstall the .Net Framework and re-install the version that SQL Server shipped in its June CTP as the NetFx version between Vs Beta 2 and SQL CTP June is different.

-Euan