Thursday, March 22, 2012
cannot open table in Enterprise manager
this message pop up:
The query cannot be executed because some files are
either missing or not registered.
I found, on microsoft.com, that I just have to reinstall
the product or use regsvr32.exe to register some dll's.
I tried both solutions and it's not working.
Any ideas?
thanks
A little more information might help - What application are you using to
perform the query?
Jim
"eric champagne" <anonymous@.discussions.microsoft.com> wrote in message
news:1417e01c41801$7a6a3070$a601280a@.phx.gbl...
> Hi, each time I want to open a table (return all rows)
> this message pop up:
> The query cannot be executed because some files are
> either missing or not registered.
> I found, on microsoft.com, that I just have to reinstall
> the product or use regsvr32.exe to register some dll's.
> I tried both solutions and it's not working.
> Any ideas?
> thanks
|||sql server enterprise manager 2000... on my other windows
xp workstation , it's working fine.
>--Original Message--
>A little more information might help - What application
are you using to
>perform the query?
>Jim
>"eric champagne" <anonymous@.discussions.microsoft.com>
wrote in message
>news:1417e01c41801$7a6a3070$a601280a@.phx.gbl...
reinstall
>
>.
>
|||Did you apply Service Pack 3a of SQL Server to the workstation? This needs
to be done to update EM also.
Jim
<anonymous@.discussions.microsoft.com> wrote in message
news:142be01c41813$7d1bddc0$a601280a@.phx.gbl...
> sql server enterprise manager 2000... on my other windows
> xp workstation , it's working fine.
> are you using to
> wrote in message
> reinstall
|||Yes I did that...
It's very strange because it's working on all my other
workstation with XP
>--Original Message--
>Did you apply Service Pack 3a of SQL Server to the
workstation? This needs
>to be done to update EM also.
>Jim
><anonymous@.discussions.microsoft.com> wrote in message
>news:142be01c41813$7d1bddc0$a601280a@.phx.gbl...
windows
application
rows)
dll's.
>
>.
>
|||Did you reinstall the client tools?
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/
"eric champagne" <anonymous@.discussions.microsoft.com> wrote in message
news:1417e01c41801$7a6a3070$a601280a@.phx.gbl...
> Hi, each time I want to open a table (return all rows)
> this message pop up:
> The query cannot be executed because some files are
> either missing or not registered.
> I found, on microsoft.com, that I just have to reinstall
> the product or use regsvr32.exe to register some dll's.
> I tried both solutions and it's not working.
> Any ideas?
> thanks
|||Are you trying to use Query Analyzer or the table data browser in EM?
Can you run queries using QA?
Jim
<anonymous@.discussions.microsoft.com> wrote in message
news:143b801c41821$c469c530$a601280a@.phx.gbl...
> Yes I did that...
> It's very strange because it's working on all my other
> workstation with XP
> workstation? This needs
> windows
> application
> rows)
> dll's.
Tuesday, March 20, 2012
Cannot open SSIS project in BIDS
I have been working on an SSIS project for sometime now. The project files are located on a remote server. Suddenly I am not able to open the solution I get a lot of error messages and all the data flow taks are gone. I later found out that SSIS encrypts packages, so that other users will not be able to see them. Fine, but I have been using the same windows user account for months now. What could be the problem?
This is what I get when trying to open the solution:
There were errors while the package was being loaded.
The package might be corrupted.
See the Error List for details.
And the error list also contains messages saying "Could not load from xml".
Any pointers will be much appreciated.
TIA
Can you please post the specific errors you are receiving? You can copy and paste from the error list.|||Hi,
thanks for that quick reply.
Here are the error messages from the error list.
There are 9 control flow tasks and these three messages seem to
occur for all of them.
Error 1
Error loading RecruteToTempJobs01.dtsx: Unable to instantiate
XML DOM document, please verify that MSXML binaries are properly
installed and registered.
d:\ssis\RecruteToTempJobs01.dtsx
Error 2
Error loading RecruteToTempJobs01.dtsx: Unable to load from
XML. d:\ssis\RecruteToTempJobs01.dtsx
Error 3
Error loading RecruteToTempJobs01.dtsx: Error loading a task.
The contact information for the task is "Performs high-performance data
extraction, transformation and loading;Microsoft Corporation; Microsoft
SQL Server v9; (C) 2004 Microsoft Corporation; All Rights
Reserved;http://www.microsoft.com/sql/support/default.asp;1". This happens when
loading a task fails.
d:\ssis\RecruteToTempJobs01.dtsx|||
Could you try to register xml libraries on your machine:
regsvr32 msxml3.dll
regsvr32 msxml6.dll
Try to search this forum and you will find a lot of details about issues similar to the one you are seeing.
Thanks.
|||Thanks a ton Bob, that worked!Just curious, what could have happened to require the dlls to be registered. I didn't register them before and things were working fine.
Thanks once again!
|||
I do not remember exactly. Some setup issues...
Try to search this forum, there was a lot of posts about this.
Thanks.
|||This is quite likely a setup issue in an entirely different application. These DLLs are used by a wide range of applications, and any one of them could have a dodgy installer, stuff you may not even think about. For example I have seeen several instances of "security patches" being deployed via SMS that have broken the registration for one or more of the MSXML versions.|||Thanks for the information Darren,
the culprit must be one of those 'security patches' in my case I guess!
Thanks.
Cannot open file : C:\Program Files\Microsoft SQL Server\80\Tools\
frustrating not to have the documentation.
I'm runnig Win XP Pro w/update Service packs
SQL Server 2000 Developer sp3
I have done the following fruitlessly
Sent the error report when BOL fails because of hh.exe or hhctrl.ocx
Update the version of BOL
Modified the hhcolreg.dat to have the same value as the C:\Program
Files\Microsoft SQL Server\80\Tools\Books\sql80.col
Unregistered and registered the hhctrl.ocx ActiveX Control
LPHi
You may want to post the full error number and message. This may be a
corruption or a permissions issue. Also check that you are not restricted by
a group policy.
Try removing BOL and installing it in a different directory.
John
"LP" wrote:
> Why is MICROSOFT not putting out any help on this topic. It is INCREDIBLY
> frustrating not to have the documentation.
> I'm runnig Win XP Pro w/update Service packs
> SQL Server 2000 Developer sp3
>
> I have done the following fruitlessly
> Sent the error report when BOL fails because of hh.exe or hhctrl.ocx
> Update the version of BOL
> Modified the hhcolreg.dat to have the same value as the C:\Program
> Files\Microsoft SQL Server\80\Tools\Books\sql80.col
> Unregistered and registered the hhctrl.ocx ActiveX Control
> LP
Cannot open file : C:\Program Files\Microsoft SQL Server\80\Tools\
frustrating not to have the documentation.
I'm runnig Win XP Pro w/update Service packs
SQL Server 2000 Developer sp3
I have done the following fruitlessly
Sent the error report when BOL fails because of hh.exe or hhctrl.ocx
Update the version of BOL
Modified the hhcolreg.dat to have the same value as the C:\Program
Files\Microsoft SQL Server\80\Tools\Books\sql80.col
Unregistered and registered the hhctrl.ocx ActiveX Control
LP
Hi
You may want to post the full error number and message. This may be a
corruption or a permissions issue. Also check that you are not restricted by
a group policy.
Try removing BOL and installing it in a different directory.
John
"LP" wrote:
> Why is MICROSOFT not putting out any help on this topic. It is INCREDIBLY
> frustrating not to have the documentation.
> I'm runnig Win XP Pro w/update Service packs
> SQL Server 2000 Developer sp3
>
> I have done the following fruitlessly
> Sent the error report when BOL fails because of hh.exe or hhctrl.ocx
> Update the version of BOL
> Modified the hhcolreg.dat to have the same value as the C:\Program
> Files\Microsoft SQL Server\80\Tools\Books\sql80.col
> Unregistered and registered the hhctrl.ocx ActiveX Control
> LP
sql
Cannot open file : C:\Program Files\Microsoft SQL Server\80\Tools\
frustrating not to have the documentation.
I'm runnig Win XP Pro w/update Service packs
SQL Server 2000 Developer sp3
I have done the following fruitlessly
Sent the error report when BOL fails because of hh.exe or hhctrl.ocx
Update the version of BOL
Modified the hhcolreg.dat to have the same value as the C:\Program
Files\Microsoft SQL Server\80\Tools\Books\sql80.col
Unregistered and registered the hhctrl.ocx ActiveX Control
LPHi John,
Thanks for getting back with me. I did download and install a new version
first I just installed it to the default location and had the same error. I
then installed it to a different location and it works.
Thanks
"John Bell" wrote:
> Hi
> You may want to post the full error number and message. This may be a
> corruption or a permissions issue. Also check that you are not restricted by
> a group policy.
> Try removing BOL and installing it in a different directory.
> John
> "LP" wrote:
> > Why is MICROSOFT not putting out any help on this topic. It is INCREDIBLY
> > frustrating not to have the documentation.
> > I'm runnig Win XP Pro w/update Service packs
> > SQL Server 2000 Developer sp3
> >
> >
> > I have done the following fruitlessly
> > Sent the error report when BOL fails because of hh.exe or hhctrl.ocx
> > Update the version of BOL
> > Modified the hhcolreg.dat to have the same value as the C:\Program
> > Files\Microsoft SQL Server\80\Tools\Books\sql80.col
> > Unregistered and registered the hhctrl.ocx ActiveX Control
> >
> > LP
Monday, March 19, 2012
Cannot Open / Create SQL Express Databases (.mdf files) in Visual Studio 2005 Professional
Hi, I am trying to open or create a sqlexpress database within Visual Studio 2005 Professional in the App_Data folder. If I attempt either method, I get the following dialog box:
Required Components Missing
Connections to SQL Server files (*.mdf) require SQL Server Express 2005 to function properly. Please verify the installation of the component or download from the URL: http://go.microsoft.com/fwlink/?LinkID=49251
The link above just takes you to the download page for Sql Server Express 2005.
I have both SQL Server 2005 Developer and SQL Server 2005 Expression instances running. The existing database will work properly in my web application, however I cannot access it through Visual Studio.
As background, I did have a problem connecting to the database via the web application, receiving a "Failed to generate a User Instance of SQL Server" error. But I was able to fix that by renaming my SQLEXPRESS folder in C:\Documents and Settings\user\Local Settings\Application Data\Microsoft\Microsoft SQL Server Data. When the web page ran, it created another SQLEXPRESS folder.
However, I cannot figure out why I am having the other issue.
Thanks in advance
Patrick
Hi,
This error means that you are not pointing to the correct instance.
Right click the mdf database > Modify Connection > Advanced > Data Source string.
Check this string and see if it points to the correct instance
HTH,
Suprotim Agarwal
--
http://www.dotnetcurry.com
--
Saturday, February 25, 2012
Cannot install SQL 2000
programme installation left pending files please restart. I already restarted
five times but it still doesn't work. Anybody got a clue why it's happening?Perhaps this applies?
http://support.microsoft.com/kb/312995/en-us
--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
Blog: http://solidqualitylearning.com/blogs/tibor/
"lc_craze" <lccraze@.discussions.microsoft.com> wrote in message
news:A2A80F8D-70FF-4A18-A49A-EBC3EAE6B02D@.microsoft.com...
> When I try to install SQL 2000 on my pc windows xp sp 2 I get previous
> programme installation left pending files please restart. I already restarted
> five times but it still doesn't work. Anybody got a clue why it's happening?|||Hi
I think there are still some registry entries remaining in the Registry of
the system. Delete the entries for SQL Server.
1) go to 'START -> RUN'
2) type 'regedit' and run it.
3) go to 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\' folder.
4) delet the folder 'Microsoft SQL Server' in it.
CAUTION: backup your registry before doing any changes to it else you'll end
up with all haywire.
After deleting that folder, reboot once and then try installing SQL again.
Hope this helps :-)
Regards
Amer M J
MCP
"lc_craze" wrote:
> When I try to install SQL 2000 on my pc windows xp sp 2 I get previous
> programme installation left pending files please restart. I already restarted
> five times but it still doesn't work. Anybody got a clue why it's happening?
Cannot install SQL 2000
programme installation left pending files please restart. I already restarted
five times but it still doesn't work. Anybody got a clue why it's happening?
Perhaps this applies?
http://support.microsoft.com/kb/312995/en-us
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
Blog: http://solidqualitylearning.com/blogs/tibor/
"lc_craze" <lccraze@.discussions.microsoft.com> wrote in message
news:A2A80F8D-70FF-4A18-A49A-EBC3EAE6B02D@.microsoft.com...
> When I try to install SQL 2000 on my pc windows xp sp 2 I get previous
> programme installation left pending files please restart. I already restarted
> five times but it still doesn't work. Anybody got a clue why it's happening?
|||Hi
I think there are still some registry entries remaining in the Registry of
the system. Delete the entries for SQL Server.
1) go to 'START -> RUN'
2) type 'regedit' and run it.
3) go to 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\' folder.
4) delet the folder 'Microsoft SQL Server' in it.
CAUTION: backup your registry before doing any changes to it else you'll end
up with all haywire.
After deleting that folder, reboot once and then try installing SQL again.
Hope this helps :-)
Regards
Amer M J
MCP
"lc_craze" wrote:
> When I try to install SQL 2000 on my pc windows xp sp 2 I get previous
> programme installation left pending files please restart. I already restarted
> five times but it still doesn't work. Anybody got a clue why it's happening?
Cannot install SQL 2000
programme installation left pending files please restart. I already restarte
d
five times but it still doesn't work. Anybody got a clue why it's happening?Perhaps this applies?
http://support.microsoft.com/kb/312995/en-us
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
Blog: http://solidqualitylearning.com/blogs/tibor/
"lc_craze" <lccraze@.discussions.microsoft.com> wrote in message
news:A2A80F8D-70FF-4A18-A49A-EBC3EAE6B02D@.microsoft.com...[vbcol=seagreen]
> When I try to install SQL 2000 on my pc Windows XP sp 2 I get previous
> programme installation left pending files please restart. I already restar
ted
> five times but it still doesn't work. Anybody got a clue why it's happening?[/vbco
l]|||Hi
I think there are still some registry entries remaining in the Registry of
the system. Delete the entries for SQL Server.
1) go to 'START -> RUN'
2) type 'regedit' and run it.
3) go to 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft'
folder.
4) delet the folder 'Microsoft SQL Server' in it.
CAUTION: backup your registry before doing any changes to it else you'll end
up with all haywire.
After deleting that folder, reboot once and then try installing SQL again.
Hope this helps :-)
Regards
Amer M J
MCP
"lc_craze" wrote:
[vbcol=seagreen]
> When I try to install SQL 2000 on my pc Windows XP sp 2 I get previous
> programme installation left pending files please restart. I already restar
ted
> five times but it still doesn't work. Anybody got a clue why it's happening?[/vbco
l]
Cannot install Setup Support Files
Setup Support Files do not finish installing. When proceeding to the next
step I get a â'Microsoft SQL Server 2000 Reporting Services Setup was unable
to install on your computerâ'. â'Microsoft SQL Server 2000 Reporting Services
Setup encountered a problem and has rolled backâ'. I cannot get any further
than this. When I try the installer again it trys to install the Setup
Sopport Files again...
I am installing on Win2K Server SP4, recently rebuilt.
Below are the last few lines of the log file - it seems to be an issue with
finding the "InstalledInstances"? Any and all help much appreciated.
Cheers,
Nick
<EndFunc Name='UpdateComponents' Return='0' GetLastError='0'>
<Func Name='DwLaunchMsiExec'>
<Func Name='PerformDetections'>
0
Failed to find property in cache: InstalledInstances
Failed to perform discovery on machine: SYD123456
HRESULT: 2147749904
<EndFunc Name='PerformDetections' Return='2' GetLastError='183'>
<Func Name='FSetupLogging'>
<Func Name='CreateSetupLogCabs'>
Creating Setup Logs Cab "C:\Program Files\Microsoft SQL Server\80\RS Setup
Bootstrap\LOG\RSStp_.cab"Hi Nick,
I ran the same problem but only on one machine among 2 servers and 3
developers. Did you ever find answer (reason) for this and did you find a way
how to fix it? I did try to uninstall and reinstall SQL server but it doesn't
help.
Regards,
Nisad.
"NickB" wrote:
> Iâ'm unable to complete the first step of the install. For some reason the
> Setup Support Files do not finish installing. When proceeding to the next
> step I get a â'Microsoft SQL Server 2000 Reporting Services Setup was unable
> to install on your computerâ'. â'Microsoft SQL Server 2000 Reporting Services
> Setup encountered a problem and has rolled backâ'. I cannot get any further
> than this. When I try the installer again it trys to install the Setup
> Sopport Files again...
> I am installing on Win2K Server SP4, recently rebuilt.
> Below are the last few lines of the log file - it seems to be an issue with
> finding the "InstalledInstances"? Any and all help much appreciated.
> Cheers,
> Nick
> <EndFunc Name='UpdateComponents' Return='0' GetLastError='0'>
> <Func Name='DwLaunchMsiExec'>
> <Func Name='PerformDetections'>
> 0
> Failed to find property in cache: InstalledInstances
> Failed to perform discovery on machine: SYD123456
> HRESULT: 2147749904
> <EndFunc Name='PerformDetections' Return='2' GetLastError='183'>
> <Func Name='FSetupLogging'>
> <Func Name='CreateSetupLogCabs'>
> Creating Setup Logs Cab "C:\Program Files\Microsoft SQL Server\80\RS Setup
> Bootstrap\LOG\RSStp_.cab"
>|||Hi Nisad,
I did speak to MS support about it but between us we were unable to come up
with an answer within the timeframe my client required. Because we were
installing RS on a test box we decided to simply rebuild it in the hope that
would fix things. After that we had no problems doing the install.
Unfortunately we were none the wiser about what caused the issue.
Sorry...no real answer to the problem. Good luck.
Cheers,
Nick
"Nisad" wrote:
> Hi Nick,
> I ran the same problem but only on one machine among 2 servers and 3
> developers. Did you ever find answer (reason) for this and did you find a way
> how to fix it? I did try to uninstall and reinstall SQL server but it doesn't
> help.
> Regards,
> Nisad.
> "NickB" wrote:
> >
> > Iâ'm unable to complete the first step of the install. For some reason the
> > Setup Support Files do not finish installing. When proceeding to the next
> > step I get a â'Microsoft SQL Server 2000 Reporting Services Setup was unable
> > to install on your computerâ'. â'Microsoft SQL Server 2000 Reporting Services
> > Setup encountered a problem and has rolled backâ'. I cannot get any further
> > than this. When I try the installer again it trys to install the Setup
> > Sopport Files again...
> >
> > I am installing on Win2K Server SP4, recently rebuilt.
> >
> > Below are the last few lines of the log file - it seems to be an issue with
> > finding the "InstalledInstances"? Any and all help much appreciated.
> >
> > Cheers,
> > Nick
> >
> > <EndFunc Name='UpdateComponents' Return='0' GetLastError='0'>
> > <Func Name='DwLaunchMsiExec'>
> > <Func Name='PerformDetections'>
> > 0
> > Failed to find property in cache: InstalledInstances
> > Failed to perform discovery on machine: SYD123456
> > HRESULT: 2147749904
> > <EndFunc Name='PerformDetections' Return='2' GetLastError='183'>
> > <Func Name='FSetupLogging'>
> > <Func Name='CreateSetupLogCabs'>
> > Creating Setup Logs Cab "C:\Program Files\Microsoft SQL Server\80\RS Setup
> > Bootstrap\LOG\RSStp_.cab"
> >
Sunday, February 19, 2012
Cannot get write permissions to a folder
security context of the local admin.Whn i try to copy the backup files
from this server to a network share it acnnot access the share unless
the sever has all authenticated user write permisssions.On setting the
auditing on we found that ser1$ uis the account which is trying to
write to the share.My question is as follows:- what is the difference
between the domaonname\ser1 and domainname\ser1$ account.I cannot see
this ser1$ account in the domain so I caaanot give it permissions.Is
there a way I could get to this account and give it permissions to
tighter up the security?
Thanks in anticipation.
AjayI'm not a network adminstrator, but I tried the same thing before and it
doesn't work. If you want SQL to have access to network resources it has to
run under a domain account. Then you can grant permissions to that account
on the network share you are trying to access. You will either need to setup
sql server to run under a domain account or have sql server write the backup
locally and schedule a job that can run with domain credentials to copy the
backup to the network share.
Mark
"Ag" <ajaygarg1962@.gmail.com> wrote in message
news:1154617829.443666.306270@.i42g2000cwa.googlegroups.com...
>I have a server ser1 which has the sql server running under the
> security context of the local admin.Whn i try to copy the backup files
> from this server to a network share it acnnot access the share unless
> the sever has all authenticated user write permisssions.On setting the
> auditing on we found that ser1$ uis the account which is trying to
> write to the share.My question is as follows:- what is the difference
> between the domaonname\ser1 and domainname\ser1$ account.I cannot see
> this ser1$ account in the domain so I caaanot give it permissions.Is
> there a way I could get to this account and give it permissions to
> tighter up the security?
> Thanks in anticipation.
>
> Ajay
>|||Mark Miller wrote:
> I'm not a network adminstrator, but I tried the same thing before and it
> doesn't work. If you want SQL to have access to network resources it has to
> run under a domain account. Then you can grant permissions to that account
> on the network share you are trying to access. You will either need to setup
> sql server to run under a domain account or have sql server write the backup
> locally and schedule a job that can run with domain credentials to copy the
> backup to the network share.
> Mark
> "Ag" <ajaygarg1962@.gmail.com> wrote in message
> news:1154617829.443666.306270@.i42g2000cwa.googlegroups.com...
> >I have a server ser1 which has the sql server running under the
> > security context of the local admin.Whn i try to copy the backup files
> > from this server to a network share it acnnot access the share unless
> > the sever has all authenticated user write permisssions.On setting the
> > auditing on we found that ser1$ uis the account which is trying to
> > write to the share.My question is as follows:- what is the difference
> > between the domaonname\ser1 and domainname\ser1$ account.I cannot see
> > this ser1$ account in the domain so I caaanot give it permissions.Is
> > there a way I could get to this account and give it permissions to
> > tighter up the security?
> >
> > Thanks in anticipation.
> >
> >
> > Ajay
Thanks Mark for the response:-
Here is what I notices and I was able to resolve the issue:-
ser1$ is the computername account which is trying to acces a directory
whenever the sql server uses a local admin account.We can resolve this
in three ways:-
1.Give the network share permissions for the the
domainname/computername account in this case domainname/compuetname$ .
2.Change sql servr to use a domain account means chaning the apps to
use the domain acocunt a non starteer in my enviormment as the apps are
owned by the vendors.
3.Use a proxy account for the sql server agent so that even if sql runs
on a local admin account the proxy account would enable the agent to
use a doain account.
Thanks for your response.
Ajay
> >|||Ag wrote:
> Mark Miller wrote:
>> I'm not a network adminstrator, but I tried the same thing before and it
>> doesn't work. If you want SQL to have access to network resources it has to
>> run under a domain account. Then you can grant permissions to that account
>> on the network share you are trying to access. You will either need to setup
>> sql server to run under a domain account or have sql server write the backup
>> locally and schedule a job that can run with domain credentials to copy the
>> backup to the network share.
>> Mark
>> "Ag" <ajaygarg1962@.gmail.com> wrote in message
>> news:1154617829.443666.306270@.i42g2000cwa.googlegroups.com...
>> I have a server ser1 which has the sql server running under the
>> security context of the local admin.Whn i try to copy the backup files
>> from this server to a network share it acnnot access the share unless
>> the sever has all authenticated user write permisssions.On setting the
>> auditing on we found that ser1$ uis the account which is trying to
>> write to the share.My question is as follows:- what is the difference
>> between the domaonname\ser1 and domainname\ser1$ account.I cannot see
>> this ser1$ account in the domain so I caaanot give it permissions.Is
>> there a way I could get to this account and give it permissions to
>> tighter up the security?
>> Thanks in anticipation.
>>
>> Ajay
> Thanks Mark for the response:-
> Here is what I notices and I was able to resolve the issue:-
> ser1$ is the computername account which is trying to acces a directory
> whenever the sql server uses a local admin account.We can resolve this
> in three ways:-
> 1.Give the network share permissions for the the
> domainname/computername account in this case domainname/compuetname$ .
> 2.Change sql servr to use a domain account means chaning the apps to
> use the domain acocunt a non starteer in my enviormment as the apps are
> owned by the vendors.
This is just plain wrong. Changing the account that the SQL Server and
SQL Agent services run under has absolutely nothing to do with the
logins use by applications to connect to SQL databases. If you want to
access network resources from within SQL, this is how you do it. Change
the MSSQLSERVER and SQLSERVERAGENT services to run as a domain user, and
grant share permissions to that domain user.
> 3.Use a proxy account for the sql server agent so that even if sql runs
> on a local admin account the proxy account would enable the agent to
> use a doain account.
> Thanks for your response.
>
> Ajay
>
Tracy McKibben
MCDBA
http://www.realsqlguy.com|||Tracy McKibben wrote:
> Ag wrote:
> > Mark Miller wrote:
> >> I'm not a network adminstrator, but I tried the same thing before and it
> >> doesn't work. If you want SQL to have access to network resources it has to
> >> run under a domain account. Then you can grant permissions to that account
> >> on the network share you are trying to access. You will either need to setup
> >> sql server to run under a domain account or have sql server write the backup
> >> locally and schedule a job that can run with domain credentials to copy the
> >> backup to the network share.
> >>
> >> Mark
> >>
> >> "Ag" <ajaygarg1962@.gmail.com> wrote in message
> >> news:1154617829.443666.306270@.i42g2000cwa.googlegroups.com...
> >> I have a server ser1 which has the sql server running under the
> >> security context of the local admin.Whn i try to copy the backup files
> >> from this server to a network share it acnnot access the share unless
> >> the sever has all authenticated user write permisssions.On setting the
> >> auditing on we found that ser1$ uis the account which is trying to
> >> write to the share.My question is as follows:- what is the difference
> >> between the domaonname\ser1 and domainname\ser1$ account.I cannot see
> >> this ser1$ account in the domain so I caaanot give it permissions.Is
> >> there a way I could get to this account and give it permissions to
> >> tighter up the security?
> >>
> >> Thanks in anticipation.
> >>
> >>
> >> Ajay
> >
> > Thanks Mark for the response:-
> >
> > Here is what I notices and I was able to resolve the issue:-
> >
> > ser1$ is the computername account which is trying to acces a directory
> > whenever the sql server uses a local admin account.We can resolve this
> > in three ways:-
> >
> > 1.Give the network share permissions for the the
> > domainname/computername account in this case domainname/compuetname$ .
> > 2.Change sql servr to use a domain account means chaning the apps to
> > use the domain acocunt a non starteer in my enviormment as the apps are
> > owned by the vendors.
> This is just plain wrong. Changing the account that the SQL Server and
> SQL Agent services run under has absolutely nothing to do with the
> logins use by applications to connect to SQL databases. If you want to
> access network resources from within SQL, this is how you do it. Change
> the MSSQLSERVER and SQLSERVERAGENT services to run as a domain user, and
> grant share permissions to that domain user.
>
> > 3.Use a proxy account for the sql server agent so that even if sql runs
> > on a local admin account the proxy account would enable the agent to
> > use a doain account.
> >
> > Thanks for your response.
> >
> >
> > Ajay
> >
>
> --
> Tracy McKibben
> MCDBA
> http://www.realsqlguy.com
Maybe i did not explain it right:- AT the sql end changing the sql
server to use the domain service accoutn would make the sql server run
on a domain account but the DSn which is configurd to use the local
admin account and use IIS has been configured to use the local admin by
defualt(that is what irt chooses) SO CHANING THE SECURITY CONTEXT OF
THE SQL SERVER SERVICE AND THE SQL AGENT SERICE WOULD MEAN THAT I
CHANGE THE DSN OF ALL THE APPLICATIONS WHICH ARE CONFIGURED TO LOGIN
USING NT ATHENTICATION AND LOCAL ADMIN account on the box.Surprisingly
most apps reside on the same box as the sql server and use the Local
Admin account and are configured to use a dsn /logins odf the local
account on sql server.
This is diiifcult as it entails coordinatig with vendors and so I wold
not wat to go with this option.
Sunday, February 12, 2012
cannot format numbers to CSV Destination file
Hi,
I would like to know if there is any trick to convert numbers to csv files. I don't have any control to format the numbers.
Source: Sql server
for example:
select cast( 1 as float)/ cast(201 as float)
Destination:CSV file
the output of the file is 4,9751243E-3
i don't want to have scientific notation on the number. I want the result to be 0,00497512437810945. how can i do it?
I tried to change the type of destination columns to String or numeric but nothing works. what is the influence of changing data type in the destination columns e the output to files?
I tried using convert but with the same results.
Can it be because of local settings or something else?
thanks
prb222
I am having this SAME problem and would be very happy if someone could provide a solution. I have found the only way to keep a long string of numbers in text format, is to switch it to text and then click on each individual cell and then the formula bar. This will not work when there are thousands of rows of records - way too much manual work. There has to be some way for the numbers to stay in their original format. HELP!!|||Hi,
If I use a data viewer, I see the normal value but in the csv it gets converted to scientific.
I found this workaround. In case you do not need more precision, you should be fine.
select cast(cast( 1 as float)/ cast(201 as float) as decimal(28,28)) as myOutput
It generates the csv like this
.0049751243781094500000000000
if I open it in Excel I get this
0.00497512437810945
Philippe
|||I was having the same problem. I asked my co-worker if he knew, and said they put four quotes then concatenate in the select statement like '''' + field_name.
cannot format numbers to CSV Destination file
Hi,
I would like to know if there is any trick to convert numbers to csv files. I don't have any control to format the numbers.
Source: Sql server
for example:
select cast( 1 as float)/ cast(201 as float)
Destination:CSV file
the output of the file is 4,9751243E-3
i don't want to have scientific notation on the number. I want the result to be 0,00497512437810945. how can i do it?
I tried to change the type of destination columns to String or numeric but nothing works. what is the influence of changing data type in the destination columns e the output to files?
I tried using convert but with the same results.
Can it be because of local settings or something else?
thanks
prb222
I am having this SAME problem and would be very happy if someone could provide a solution. I have found the only way to keep a long string of numbers in text format, is to switch it to text and then click on each individual cell and then the formula bar. This will not work when there are thousands of rows of records - way too much manual work. There has to be some way for the numbers to stay in their original format. HELP!!|||Hi,
If I use a data viewer, I see the normal value but in the csv it gets converted to scientific.
I found this workaround. In case you do not need more precision, you should be fine.
select cast(cast( 1 as float)/ cast(201 as float) as decimal(28,28)) as myOutput
It generates the csv like this
.0049751243781094500000000000
if I open it in Excel I get this
0.00497512437810945
Philippe
|||I was having the same problem. I asked my co-worker if he knew, and said they put four quotes then concatenate in the select statement like '''' + field_name.
Friday, February 10, 2012
Cannot find stored proc dbo.sp_MSmakeexpandproc
I moved the CRM SQL Server mdf & ldf files from the C drive to the E drive
following the instructions in KB872585.
Everything went well except I cannot enable replication.
I performed the following steps:
Reopen Microsoft SQL Enterprise Manager; click Start, point to All Programs,
point to Microsoft SQL Server, and then click Enterprise Manager.
Expand Microsoft SQL Servers, expand SQL Server Group, expand your Microsoft
CRM SQL Server, then expand Replication Monitor, expand Publishers, and
expand your SQL Server Name where you will find the CRMMetaPub and CRMPub
publications.
Select CRMMetaPub and right-click the Snapshot in the right window pane.
Click Start Agent. (When finished the CRMMetaPub snapshot states, "A
snapshot of 79 article(s) was generated." )
Select CRMPub and right-click the Snapshot in the right window pane. Click
Start Agent.
This step fails with the error:
"Cannot find stored proc dbo.sp_MSmakeexpandproc."
When I search both drives for this file, I cannot find it.
I cannot find this error message in the knowledgebase.
Is this issue CRM specific or is it a general SQL Server replication
problem?
Can anyone tell me what is wrong? Right now our CRM is dead in the water.
Sounds like this proc is missing
I'm not sure why this is, but from time to time on this newsgroup and on one
site I have worked on the replication stored procedures go missing. The last
time this happened I think we were pretty sure that the service pack had not
been correctly applied.
Any way you can reapply the sp? Perhaps even SP4?
Hilary Cotter
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html
Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com
"Dave" <dave@.nospam.ru> wrote in message
news:OsotUBNVFHA.3312@.TK2MSFTNGP09.phx.gbl...
> This question has to do with SL Server replication with CRM
> I moved the CRM SQL Server mdf & ldf files from the C drive to the E drive
> following the instructions in KB872585.
> Everything went well except I cannot enable replication.
> I performed the following steps:
> Reopen Microsoft SQL Enterprise Manager; click Start, point to All
Programs,
> point to Microsoft SQL Server, and then click Enterprise Manager.
> Expand Microsoft SQL Servers, expand SQL Server Group, expand your
Microsoft
> CRM SQL Server, then expand Replication Monitor, expand Publishers, and
> expand your SQL Server Name where you will find the CRMMetaPub and CRMPub
> publications.
> Select CRMMetaPub and right-click the Snapshot in the right window pane.
> Click Start Agent. (When finished the CRMMetaPub snapshot states, "A
> snapshot of 79 article(s) was generated." )
> Select CRMPub and right-click the Snapshot in the right window pane. Click
> Start Agent.
> This step fails with the error:
> "Cannot find stored proc dbo.sp_MSmakeexpandproc."
> When I search both drives for this file, I cannot find it.
> I cannot find this error message in the knowledgebase.
> Is this issue CRM specific or is it a general SQL Server replication
> problem?
> Can anyone tell me what is wrong? Right now our CRM is dead in the water.
>
>
Cannot find mdf files
hi,
the database files you created, if you did not specify alternate positions, usually are in \Program Files\Microsoft SQL Server\MSSQL.[x]\MSSQL\Data ,where [x] is a number representing your database engine instance..
regards
|||Unfortunately, they are not there, at least not with the name I gave it.|||can u see the database which you created in SSMO. If yes , open a query analyser , and execute sp_helpfile sp to get the physical file of the database. If you can see in SSMO, tell us how you have created the database. Also post the connection string which you use in Visual studio.
Madhu
|||To see the default path where data files are send to, navigate to the properties of the server (in SSMS). there should be an entry for the default storage path which is extracted from the registry.Jens K. Suessmeyer.
http://www.sqlserver2005.de