Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Source Safe / August 2007

Tip: Looking for answers? Try searching our database.

Running ANALYZE over the network - batch

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
herlihyboy - 10 Aug 2007 13:33 GMT
I'd like to set up a scheduled task to run ANALYZE on a regular basis.
I have no problems setting up a batch file to do this. My challenge is
that our VSS DBs are on a detached storage location, and not a
dedicated box. So, when ANALYZE starts, it challenges with a 'do you
want to run this over the network?' message.

I can click 'yes' and it runs just fine. Obviously, this is not an
acceptable solution for an automated process. Anyone have any
experience with trying to do this or have any suggestions?

Thanks in advance,

Ryan
Ralph - 10 Aug 2007 14:04 GMT
> I'd like to set up a scheduled task to run ANALYZE on a regular basis.
> I have no problems setting up a batch file to do this. My challenge is
[quoted text clipped - 9 lines]
>
> Ryan

The 'i' option doesn't work?

Note: the decriptions for command line help options presented with " analyze
/? " is not as up todate as the "Analyze Help" article in VSS Help.

-ralph
herlihyboy - 10 Aug 2007 18:36 GMT
> The 'i' option doesn't work?
>
> Note: the decriptions for command line help options presented with "analyze
> /? " is not as up todate as the "AnalyzeHelp" article in VSS Help.

Nope. The "i" argument is for the program to exit when analysis is
completed. My current issue is that when my batch file kicks off, I
get a "For reliability and performance reasons using the analyze,
archive, and restore utilities over network is not recommended. Do you
want to continue?" I want to continue, but running automagically won't
'click' the yes button for me.

Ryan
Ralph - 11 Aug 2007 04:03 GMT
> > The 'i' option doesn't work?
> >
[quoted text clipped - 9 lines]
>
> Ryan

I sure thought it turned those messages off - unattended mode.
It looks like running it on the server would be the next step.
http://msdn2.microsoft.com/en-us/library/ysxsfw4x(VS.80).aspx

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.