Showing posts with label path. Show all posts
Showing posts with label path. Show all posts

Monday, March 12, 2012

How to set the path to the reports snapshots folder?

We have a statutory requirement to keep 5 years of history, so I've checked the option in the Site Settings page in the Report Manager to "Keep an unlimited number of snapshots in report history". The drives are partitioned as follows:

C: -- OS; 20GB

D: -- Apps; 20GB

E: --Data: 160GB

I want to force the report history snapshots onto the data (E:) drive, but I can't figure out what setting will force them there. Can anyone tell me how to set the path to the reports snapshots folder?

Hello,

The snapshots are stored in the database, not as seperate files on the server. You'll just need to put the data file for the ReportServer database on a drive with enough space allocated.

Jarret

Friday, March 9, 2012

How to set path to db

How do I set the path to the working database for other users?
Currently it's on a mapped folder as Z:\
I know I can change the WORKINGDIRECTORY value but was wondering if there
was a way to do this when adding a user
Thanks to a post by MVP Hari Prasad for the following info:
osql -S Name -Usa -Ppassword
sp_addlogin 'SKY','password'
go
Use engdb
go
sp_adduser 'SKY'
go
When I first tested MSDE, it looked for a database in the DATA folder on the
local computer's drive. We've got the database mapped to a Server's drive.
When adding this user (I've got several that will have to be added), is
there a SP for the path. I'm either overlooking or there isn't one or I'm
looking in the total wrong place.
Also,Hari had posted that
sp_addrolemember 'db_datareader','hari'
go <enter>
was used and if so, is it required to give the member a specific role.
AFAIK, all users will have read/write access and I'm hoping that read/write
access is set by default.
Thanks,
David Guess
Well, I found sp_attach, one out of two so far.
"DGuess" <majik@.mindspring.oops> wrote in message
news:%2363j2rX5FHA.3136@.TK2MSFTNGP09.phx.gbl...
> How do I set the path to the working database for other users?
> Currently it's on a mapped folder as Z:\
> I know I can change the WORKINGDIRECTORY value but was wondering if there
> was a way to do this when adding a user
> Thanks to a post by MVP Hari Prasad for the following info:
> osql -S Name -Usa -Ppassword
> sp_addlogin 'SKY','password'
> go
> Use engdb
> go
> sp_adduser 'SKY'
> go
>
> When I first tested MSDE, it looked for a database in the DATA folder on
> the local computer's drive. We've got the database mapped to a Server's
> drive. When adding this user (I've got several that will have to be
> added), is there a SP for the path. I'm either overlooking or there isn't
> one or I'm looking in the total wrong place.
> Also,Hari had posted that
> sp_addrolemember 'db_datareader','hari'
> go <enter>
> was used and if so, is it required to give the member a specific role.
> AFAIK, all users will have read/write access and I'm hoping that
> read/write access is set by default.
>
> Thanks,
> David Guess
>
>
|||For SQL Server/MSDE, users DO NOT need to know file path to database(s)
running by the SQL Server/MSDE. Users (or more accurate, apps that access to
SQL Server/MSDE) only need to know server name, database name, and
login/password (if the SQL Server/MSDE database uses SQL Server security).
"DGuess" <majik@.mindspring.oops> wrote in message
news:%2363j2rX5FHA.3136@.TK2MSFTNGP09.phx.gbl...
> How do I set the path to the working database for other users?
> Currently it's on a mapped folder as Z:\
> I know I can change the WORKINGDIRECTORY value but was wondering if there
> was a way to do this when adding a user
> Thanks to a post by MVP Hari Prasad for the following info:
> osql -S Name -Usa -Ppassword
> sp_addlogin 'SKY','password'
> go
> Use engdb
> go
> sp_adduser 'SKY'
> go
>
> When I first tested MSDE, it looked for a database in the DATA folder on
> the local computer's drive. We've got the database mapped to a Server's
> drive. When adding this user (I've got several that will have to be
> added), is there a SP for the path. I'm either overlooking or there isn't
> one or I'm looking in the total wrong place.
> Also,Hari had posted that
> sp_addrolemember 'db_datareader','hari'
> go <enter>
> was used and if so, is it required to give the member a specific role.
> AFAIK, all users will have read/write access and I'm hoping that
> read/write access is set by default.
>
> Thanks,
> David Guess
>
>
|||"Norman Yuan" <NotReal@.NotReal.not> wrote in message
news:O9%233rxY5FHA.884@.TK2MSFTNGP14.phx.gbl...
> For SQL Server/MSDE, users DO NOT need to know file path to database(s)
> running by the SQL Server/MSDE. Users (or more accurate, apps that access
> to SQL Server/MSDE) only need to know server name, database name, and
> login/password (if the SQL Server/MSDE database uses SQL Server security).
>
Correct me if I'm wrong, but woudn't it point to the server's Data folder?
The server is on one machine, the data on another.
When we first set it up and upsized the Access database to SQL (via
BillQuick 2005 Pro), it put it on the server machine where MSDE was
installed.
When I did a second test, I changed the WORKINGDIRECTORY value in the
registry to point to the mapped folder and whenIwent to upsize it, it put
the data on the other machine where they want it.
They want the db to be on another computer that gets backed up daily and
also won't cause such a slow down on the server computer. MSDE is set up on
the one machine which they can access while the data is downstairs way off
to itself and there are other security reasons the don't want to allow
access for something such as Remote Desktop where they could easily make the
changes/additions as needed.
If I don't have to set the path, that'll make it easier on me but I have
this funny feeling I'll have to do that with the way they have their setup.
Anyway, I'll know how close I am to getting them access to the db.... I
think I'm close anyway. If the other users can connect to it I'll be fine
till one leaves to work elsewhere or whatever.
Appreciate the reply,
dg
|||"Norman Yuan" <NotReal@.NotReal.not> wrote in message
news:O9%233rxY5FHA.884@.TK2MSFTNGP14.phx.gbl...
> For SQL Server/MSDE, users DO NOT need to know file path to database(s)
> running by the SQL Server/MSDE. Users (or more accurate, apps that access
> to SQL Server/MSDE) only need to know server name, database name, and
> login/password (if the SQL Server/MSDE database uses SQL Server security).
>
I think you may be right on not having to add the path. I was so happy to
get the thing running and all users (20) added and running, I forgot to look
where it went. <G>
Things atarted out okay until we opened BillQuick on the one computer then
went to open it on the second and were prompted that the one user license
was already logged in. They have a 20 user license and we had to hunt up
what was going on there. Found out, that during the upsizing of the database
from Access to MSDE in BillQuick 2005 Pro, it does not include the
additional licenses. Entered that to get it to show 20 users and still,
could only log in one at a time. Looked thru everything and finally gave up
and called tech support and they too were stumped. Thgey asked for some
screenshots so when I went to log on the second user's computer, instead of
the prompt that one user was already logged in on one user license, it
logged it just fine. Haven't a clue as to why it did it that way.
Anyway, since I managed to get all the user logins, users added, and each
logged into the proper database I went home..
I'll check tomorrow to see where it landed, I do hope it is on the drive it
upsized the Access database from.
Appreciate the info and for someone who three days ago had never looked at
anything SQL/MSDE, I've learned a lot and feel the comfort level with it as
I do with VB6. I was reading on some of the scripting to help automate some
of this and will experiment with them. I, personally, won't be the
administrator on this so anything I can do to help them will help me in the
long run.
Thanks,
David Guess
Microsoft MVP Outlook Express.

Friday, February 24, 2012

How to set a photo path when creating table

Hi all,
I am doing a project which need to use Microsoft SQL Server 2000 as my
database. Now, I am creating a table, that I need to put in a photo.
So, I am facing a problem of setting the photo path. Can u all give me
some help on it. Thks.
Besides that, I am using Visual Basic 6.0 to do my GUI, Graphic User
Interface. So, I need to do the database linking between my database in
SQL Server to VB. Can I have the sample code which can do the linking
part. Thks.
Whats photo path?
If you are trying to save an image, use image datatype. or keep it in a
particular folder in server and update the location in database.
Use connection string,
"Driver={SQL Server};Server=ServerName;Database=pubs;Uid=sa;Pwd =asdasd;"
Thanks,
Sree
[Please specify the version of Sql Server as we can save one thread and time
asking back if its 2000 or 2005]
"jyetying" wrote:

> Hi all,
> I am doing a project which need to use Microsoft SQL Server 2000 as my
> database. Now, I am creating a table, that I need to put in a photo.
> So, I am facing a problem of setting the photo path. Can u all give me
> some help on it. Thks.
> Besides that, I am using Visual Basic 6.0 to do my GUI, Graphic User
> Interface. So, I need to do the database linking between my database in
> SQL Server to VB. Can I have the sample code which can do the linking
> part. Thks.
>
|||Have a look at this.
http://support.microsoft.com/kb/194975/en-us
Hilary Cotter
Director of Text Mining and Database Strategy
RelevantNOISE.Com - Dedicated to mining blogs for business intelligence.
This posting is my own and doesn't necessarily represent RelevantNoise's
positions, strategies or opinions.
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
"jyetying" <yam_jyet_ying@.hotmail.com> wrote in message
news:1158310229.209741.157910@.p79g2000cwp.googlegr oups.com...
> Hi all,
> I am doing a project which need to use Microsoft SQL Server 2000 as my
> database. Now, I am creating a table, that I need to put in a photo.
> So, I am facing a problem of setting the photo path. Can u all give me
> some help on it. Thks.
> Besides that, I am using Visual Basic 6.0 to do my GUI, Graphic User
> Interface. So, I need to do the database linking between my database in
> SQL Server to VB. Can I have the sample code which can do the linking
> part. Thks.
>

How to set a photo path when creating table

Hi all,
I am doing a project which need to use Microsoft SQL Server 2000 as my
database. Now, I am creating a table, that I need to put in a photo.
So, I am facing a problem of setting the photo path. Can u all give me
some help on it. Thks.
Besides that, I am using Visual Basic 6.0 to do my GUI, Graphic User
Interface. So, I need to do the database linking between my database in
SQL Server to VB. Can I have the sample code which can do the linking
part. Thks.Whats photo path?
If you are trying to save an image, use image datatype. or keep it in a
particular folder in server and update the location in database.
Use connection string,
"Driver={SQL Server};Server=ServerName;Database=pubs;
Uid=sa;Pwd=asdasd;
"
Thanks,
Sree
[Please specify the version of Sql Server as we can save one thread and
time
asking back if its 2000 or 2005]
"jyetying" wrote:

> Hi all,
> I am doing a project which need to use Microsoft SQL Server 2000 as my
> database. Now, I am creating a table, that I need to put in a photo.
> So, I am facing a problem of setting the photo path. Can u all give me
> some help on it. Thks.
> Besides that, I am using Visual Basic 6.0 to do my GUI, Graphic User
> Interface. So, I need to do the database linking between my database in
> SQL Server to VB. Can I have the sample code which can do the linking
> part. Thks.
>|||Have a look at this.
http://support.microsoft.com/kb/194975/en-us
Hilary Cotter
Director of Text Mining and Database Strategy
RelevantNOISE.Com - Dedicated to mining blogs for business intelligence.
This posting is my own and doesn't necessarily represent RelevantNoise's
positions, strategies or opinions.
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
"jyetying" <yam_jyet_ying@.hotmail.com> wrote in message
news:1158310229.209741.157910@.p79g2000cwp.googlegroups.com...
> Hi all,
> I am doing a project which need to use Microsoft SQL Server 2000 as my
> database. Now, I am creating a table, that I need to put in a photo.
> So, I am facing a problem of setting the photo path. Can u all give me
> some help on it. Thks.
> Besides that, I am using Visual Basic 6.0 to do my GUI, Graphic User
> Interface. So, I need to do the database linking between my database in
> SQL Server to VB. Can I have the sample code which can do the linking
> part. Thks.
>

How to set a photo path when creating table

Hi all,
I am doing a project which need to use Microsoft SQL Server 2000 as my
database. Now, I am creating a table, that I need to put in a photo.
So, I am facing a problem of setting the photo path. Can u all give me
some help on it. Thks.
Besides that, I am using Visual Basic 6.0 to do my GUI, Graphic User
Interface. So, I need to do the database linking between my database in
SQL Server to VB. Can I have the sample code which can do the linking
part. Thks.Whats photo path?
If you are trying to save an image, use image datatype. or keep it in a
particular folder in server and update the location in database.
Use connection string,
"Driver={SQL Server};Server=ServerName;Database=pubs;Uid=sa;Pwd=asdasd;"
--
Thanks,
Sree
[Please specify the version of Sql Server as we can save one thread and time
asking back if its 2000 or 2005]
"jyetying" wrote:
> Hi all,
> I am doing a project which need to use Microsoft SQL Server 2000 as my
> database. Now, I am creating a table, that I need to put in a photo.
> So, I am facing a problem of setting the photo path. Can u all give me
> some help on it. Thks.
> Besides that, I am using Visual Basic 6.0 to do my GUI, Graphic User
> Interface. So, I need to do the database linking between my database in
> SQL Server to VB. Can I have the sample code which can do the linking
> part. Thks.
>|||Have a look at this.
http://support.microsoft.com/kb/194975/en-us
--
Hilary Cotter
Director of Text Mining and Database Strategy
RelevantNOISE.Com - Dedicated to mining blogs for business intelligence.
This posting is my own and doesn't necessarily represent RelevantNoise's
positions, strategies or opinions.
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
"jyetying" <yam_jyet_ying@.hotmail.com> wrote in message
news:1158310229.209741.157910@.p79g2000cwp.googlegroups.com...
> Hi all,
> I am doing a project which need to use Microsoft SQL Server 2000 as my
> database. Now, I am creating a table, that I need to put in a photo.
> So, I am facing a problem of setting the photo path. Can u all give me
> some help on it. Thks.
> Besides that, I am using Visual Basic 6.0 to do my GUI, Graphic User
> Interface. So, I need to do the database linking between my database in
> SQL Server to VB. Can I have the sample code which can do the linking
> part. Thks.
>