Showing posts with label local. Show all posts
Showing posts with label local. Show all posts

Friday, March 30, 2012

ReportViewer Find

I have a Local report bound to a ReportViewer control and when I am typing in text in the find text box and I click find I get this message on the report viewer "Object reference not set to an instance of an object" anybody have any idea

This is a known issue with the report viewer control. It is fixed in Visual Studio SP1. See this posting for more information:

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1032267&SiteID=1

Wednesday, March 28, 2012

ReportViewer control has no print button??

Is this just when you run the reports in local mode?

Yes, the report viewer in local mode has no print button. You will need to move your report to a reporting server to have the print button display.

-AO

Monday, March 26, 2012

ReportViewer & Local Resources

How come i couldn't find the Generate Local Resources option in the Tools Menu for my ReportViewer? Is that not possible? Thanks!

First, make sure you are in design view. Second, make sure your selecition is in on the document itself and not a tool window (i.e. Toolbox, Solution Explorer, etc). Finally, if nothing else works, try clicking "Tools->Import and Export Settings" and follow directions to "Reset all settings".

Hope this helps,

Jim

|||

Um, it didn't work. Is it not possible to generate local resources for the reportviewer? I've tried what you suggested but it didn't work. Maybe it's just not possible...?

ReportViewer - problems with deploying

I have a web application that was written in Visual Studio 2005, ASP.Net. I am using ReportViewer and it runs correctly and quickly in "local" setting. I have installed the ReportViewer.exe from my local machine's harddrive onto the web server and copied my web application to the web server. The aspx page opens fine, I see the reportviewer frame, but I do not see my report. I have tried changing the "ServerReport" and "LocalReport" ReportPath to "http://localhost/test" where the RDLC file is located but still no report shows up on the web server.

Could someone please instruct me how to deploy an ASP.Net web site that is using ReportViewer? I have installed, uninstalled and reinstalled the ReportViewer.exe file. I have downloaded it directly from Microsoft and restarted IIS, as I have seen in other posts. I am running out of options that I can try to get this to work, and I'd hate to have to scrap it and start over using tables and repeaters.

Thanks in advance.

Hi,

From your description, it seems that you want to connect to your report which existed on your remote web server, right?

To deploy reports in an Internet application, you can embed the ReportViewer Web server control in a custom Internet-ready application that you create and deploy. The ReportViewer Web server control is included in Visual Studio 2005 and can be distributed freely with your application. You can configure the control to display reports that run on a report server. The connection between your application and the report server is handled by the control, through the Web service programming interface. All authentication and authorization is handled by your application, which connects to the report server through a single, user-trusted connection.

For more information see:http://technet.microsoft.com/en-us/library/ms159272.aspx
More information on deploying see:http://technet.microsoft.com/en-us/library/ms159868.aspx

Thanks.

sql

Tuesday, March 20, 2012

Reports on medium trust host?

Hi, I am building a reporting tool for students and now I got ReportViewer to work greate, local on my PC. But when I load the app. to the server it dont work, and I understand that it is becuse my host only run "Medium trust".

Is there a way to make it work dispite the medium trust issue?

Or is there some other tool that work wiht my medium trust host?

Or am I doing something else wrong and the medium trust is no problem?

I talked to the support and they never heard of any customer having problems wiht reports... I use one of the biggest hosts in Sweden (loopia).

I use vwd 2005 express, vb, accessdatabase, MS ReportViewer. And what I want is to present how many hours each person spent on a few given tasks each week and sum it up and maybe get some % and in the end hopefully a chart, the chart is not nessecerly.

My error:

Parser Error Message:Could not load file or assembly 'Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.

please help

sinserly

chris


Hi,

From the error message you provided, it seems that the cause of the problem is that the system can't load the assembly which needed for your application.

So what I suggest is to check if the assembly "Microsoft.ReportViewer.WebForms.dll" has existed on the server and if it can be found in your /bin subfolder.

Thanks.

|||

Ok thanks, that is ok now. But now I get a worse one, is there a way around it?

Server Error in '/' Application.

Required permissions cannot be acquired.

Description:An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details:System.Security.Policy.PolicyException: Required permissions cannot be acquired.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


Stack Trace:

[PolicyException: Required permissions cannot be acquired.]
System.Security.SecurityManager.ResolvePolicy(Evidence evidence, PermissionSet reqdPset, PermissionSet optPset, PermissionSet denyPset, PermissionSet& denied, Boolean checkExecutionPermission) +2709488
System.Security.SecurityManager.ResolvePolicy(Evidence evidence, PermissionSet reqdPset, PermissionSet optPset, PermissionSet denyPset, PermissionSet& denied, Int32& securitySpecialFlags, Boolean checkExecutionPermission) +57

[FileLoadException: Could not load file or assembly 'Microsoft.ReportViewer.Common, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. Failed to grant minimum permission requests. (Exception from HRESULT: 0x80131417)]
System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +0
System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +211
System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +141
System.Reflection.Assembly.Load(String assemblyString) +25
System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +32

[ConfigurationErrorsException: Could not load file or assembly 'Microsoft.ReportViewer.Common, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. Failed to grant minimum permission requests. (Exception from HRESULT: 0x80131417)]
System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +596
System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory() +3596761
System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) +46
System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) +177
System.Web.Compilation.BuildProvidersCompiler..ctor(VirtualPath configPath, Boolean supportLocalization, String outputAssemblyName) +180
System.Web.Compilation.CodeDirectoryCompiler.GetCodeDirectoryAssembly(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories, Boolean isDirectoryAllowed) +350
System.Web.Compilation.BuildManager.CompileCodeDirectory(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories) +125
System.Web.Compilation.BuildManager.CompileCodeDirectories() +525
System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +448

[HttpException (0x80004005): Could not load file or assembly 'Microsoft.ReportViewer.Common, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. Failed to grant minimum permission requests. (Exception from HRESULT: 0x80131417)]
System.Web.Compilation.BuildManager.ReportTopLevelCompilationException() +57
System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +612
System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters) +521

[HttpException (0x80004005): Could not load file or assembly 'Microsoft.ReportViewer.Common, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. Failed to grant minimum permission requests. (Exception from HRESULT: 0x80131417)]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +3540923
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +69
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +275



Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832

Reports not working on server

Hello all!
I have been developing my asp.net application in c#, on my local machine. I have started working with the "reportViewer " and it works fine on my machine, but as soon as i upload it onto our server, which is windows 2000 server, IIS 5.0, it won't work.

i get the following error, MASTER1 is the name of the server.

Hope someone can help me. I presume it is an IIS thing. other non-report aspx pages are accessed fine.

Any ideas where i should be looking?

Thanks,
Munira

"An error has occurred during report processing.

Exception has been thrown by the target of an invocation.

Login failed for user 'MASTER1\ASPNET'."

well i have the same problem on w2003 & IIS 6,any idea?

Monday, March 12, 2012

Reports Deployed on a local machine cannot be viewd from internet

We have deployed our reports on a local machine say "MC230" which is the
local intranet. Now we have created a asp.net page and given a link to one of
the reports by mentioning "MC230" in the URL of the link. After hosting this
page on out web site, we are able to take the reports by clicking the link in
the local intranet. But when v take the reports out side the domain we are
not getting the reports, instead it is showing Page Cannot be Displayed. As
mentioned in this group v tried changing the url in RSWebApplication.config.
still v r getting the same error.
Can any one please help us. As we are developing a corporate application it
is very urgent.The Reporting Services setup program assumes that you will be accessing the
Reports website using an address similar to http://servername/Reports. This
works fine inside your network, but it probably isn't going to work well if
you want to make the Reports website available from outside your network.
In this case you should make a change to the RSWebApplication.config file.
Find lines like
<Configuration>
<UI>
<ReportServerUrl>http://servername/ReportServer</ReportServerUrl>
</UI>
and replace <ReportServerUrl></ReportServerUrl> parameter like
<Configuration>
<UI>
<ReportServerUrl>http://www.MyRSServer.com/ReportServer</ReportServerUrl>
</UI>
you can write servers IP too, like http://212.212.222.222/ReportServer
After this change you may need to restart the IIS service for this change to
take effect.
"Bigil" <Bigil@.discussions.microsoft.com> wrote in message
news:37C202DC-B311-4A79-8556-97A966FBE756@.microsoft.com...
> We have deployed our reports on a local machine say "MC230" which is the
> local intranet. Now we have created a asp.net page and given a link to one
of
> the reports by mentioning "MC230" in the URL of the link. After hosting
this
> page on out web site, we are able to take the reports by clicking the link
in
> the local intranet. But when v take the reports out side the domain we are
> not getting the reports, instead it is showing Page Cannot be Displayed.
As
> mentioned in this group v tried changing the url in
RSWebApplication.config.
> still v r getting the same error.
> Can any one please help us. As we are developing a corporate application
it
> is very urgent.
>|||Hi,
Tanks for de reply, but it culd'nt solve the issue, u have asked me to give
> <UI>
> <ReportServerUrl>http://servername/ReportServer</ReportServerUrl>
> </UI>
right, since reporting services isnstalled on a localmachine "MC230" how
should i give the url "http://MC230/ReportServer"'? how will this b
recognized on internet
"saglamtimur" wrote:
> The Reporting Services setup program assumes that you will be accessing the
> Reports website using an address similar to http://servername/Reports. This
> works fine inside your network, but it probably isn't going to work well if
> you want to make the Reports website available from outside your network.
> In this case you should make a change to the RSWebApplication.config file.
> Find lines like
> <Configuration>
> <UI>
> <ReportServerUrl>http://servername/ReportServer</ReportServerUrl>
> </UI>
> and replace <ReportServerUrl></ReportServerUrl> parameter like
> <Configuration>
> <UI>
> <ReportServerUrl>http://www.MyRSServer.com/ReportServer</ReportServerUrl>
> </UI>
> you can write servers IP too, like http://212.212.222.222/ReportServer
> After this change you may need to restart the IIS service for this change to
> take effect.
>
> "Bigil" <Bigil@.discussions.microsoft.com> wrote in message
> news:37C202DC-B311-4A79-8556-97A966FBE756@.microsoft.com...
> > We have deployed our reports on a local machine say "MC230" which is the
> > local intranet. Now we have created a asp.net page and given a link to one
> of
> > the reports by mentioning "MC230" in the URL of the link. After hosting
> this
> > page on out web site, we are able to take the reports by clicking the link
> in
> > the local intranet. But when v take the reports out side the domain we are
> > not getting the reports, instead it is showing Page Cannot be Displayed.
> As
> > mentioned in this group v tried changing the url in
> RSWebApplication.config.
> > still v r getting the same error.
> >
> > Can any one please help us. As we are developing a corporate application
> it
> > is very urgent.
> >
> >
>
>|||Talk to your IT person about mapping an internet DNS address (or public IP
address) to the report server. If that's not done, it's not possible.
Whatever the IT guy tells you is the correct address, put that in the config
file.
--
Cheers,
'(' Jeff A. Stucker
\
Business Intelligence
www.criadvantage.com
---
"Bigil" <Bigil@.discussions.microsoft.com> wrote in message
news:626225B4-BDF0-45B9-81F9-93E5573F195F@.microsoft.com...
> Hi,
> Tanks for de reply, but it culd'nt solve the issue, u have asked me to
> give
>> <UI>
>> <ReportServerUrl>http://servername/ReportServer</ReportServerUrl>
>> </UI>
> right, since reporting services isnstalled on a localmachine "MC230" how
> should i give the url "http://MC230/ReportServer"'? how will this b
> recognized on internet
> "saglamtimur" wrote:
>> The Reporting Services setup program assumes that you will be accessing
>> the
>> Reports website using an address similar to http://servername/Reports.
>> This
>> works fine inside your network, but it probably isn't going to work well
>> if
>> you want to make the Reports website available from outside your network.
>> In this case you should make a change to the RSWebApplication.config
>> file.
>> Find lines like
>> <Configuration>
>> <UI>
>> <ReportServerUrl>http://servername/ReportServer</ReportServerUrl>
>> </UI>
>> and replace <ReportServerUrl></ReportServerUrl> parameter like
>> <Configuration>
>> <UI>
>> <ReportServerUrl>http://www.MyRSServer.com/ReportServer</ReportServerUrl>
>> </UI>
>> you can write servers IP too, like http://212.212.222.222/ReportServer
>> After this change you may need to restart the IIS service for this change
>> to
>> take effect.
>>
>> "Bigil" <Bigil@.discussions.microsoft.com> wrote in message
>> news:37C202DC-B311-4A79-8556-97A966FBE756@.microsoft.com...
>> > We have deployed our reports on a local machine say "MC230" which is
>> > the
>> > local intranet. Now we have created a asp.net page and given a link to
>> > one
>> of
>> > the reports by mentioning "MC230" in the URL of the link. After hosting
>> this
>> > page on out web site, we are able to take the reports by clicking the
>> > link
>> in
>> > the local intranet. But when v take the reports out side the domain we
>> > are
>> > not getting the reports, instead it is showing Page Cannot be
>> > Displayed.
>> As
>> > mentioned in this group v tried changing the url in
>> RSWebApplication.config.
>> > still v r getting the same error.
>> >
>> > Can any one please help us. As we are developing a corporate
>> > application
>> it
>> > is very urgent.
>> >
>> >
>>|||Hi,
Thanks!! it was really helpful.
This was the answer i was looking for "If that's not done, it's not possible."
Best Regards
Bigil Kuriyan
"Jeff A. Stucker" wrote:
> Talk to your IT person about mapping an internet DNS address (or public IP
> address) to the report server. If that's not done, it's not possible.
> Whatever the IT guy tells you is the correct address, put that in the config
> file.
> --
> Cheers,
> '(' Jeff A. Stucker
> \
> Business Intelligence
> www.criadvantage.com
> ---
> "Bigil" <Bigil@.discussions.microsoft.com> wrote in message
> news:626225B4-BDF0-45B9-81F9-93E5573F195F@.microsoft.com...
> > Hi,
> >
> > Tanks for de reply, but it culd'nt solve the issue, u have asked me to
> > give
> >> <UI>
> >> <ReportServerUrl>http://servername/ReportServer</ReportServerUrl>
> >> </UI>
> > right, since reporting services isnstalled on a localmachine "MC230" how
> > should i give the url "http://MC230/ReportServer"'? how will this b
> > recognized on internet
> >
> > "saglamtimur" wrote:
> >
> >> The Reporting Services setup program assumes that you will be accessing
> >> the
> >> Reports website using an address similar to http://servername/Reports.
> >> This
> >> works fine inside your network, but it probably isn't going to work well
> >> if
> >> you want to make the Reports website available from outside your network.
> >>
> >> In this case you should make a change to the RSWebApplication.config
> >> file.
> >>
> >> Find lines like
> >>
> >> <Configuration>
> >> <UI>
> >> <ReportServerUrl>http://servername/ReportServer</ReportServerUrl>
> >> </UI>
> >>
> >> and replace <ReportServerUrl></ReportServerUrl> parameter like
> >>
> >> <Configuration>
> >> <UI>
> >>
> >> <ReportServerUrl>http://www.MyRSServer.com/ReportServer</ReportServerUrl>
> >> </UI>
> >>
> >> you can write servers IP too, like http://212.212.222.222/ReportServer
> >>
> >> After this change you may need to restart the IIS service for this change
> >> to
> >> take effect.
> >>
> >>
> >> "Bigil" <Bigil@.discussions.microsoft.com> wrote in message
> >> news:37C202DC-B311-4A79-8556-97A966FBE756@.microsoft.com...
> >> > We have deployed our reports on a local machine say "MC230" which is
> >> > the
> >> > local intranet. Now we have created a asp.net page and given a link to
> >> > one
> >> of
> >> > the reports by mentioning "MC230" in the URL of the link. After hosting
> >> this
> >> > page on out web site, we are able to take the reports by clicking the
> >> > link
> >> in
> >> > the local intranet. But when v take the reports out side the domain we
> >> > are
> >> > not getting the reports, instead it is showing Page Cannot be
> >> > Displayed.
> >> As
> >> > mentioned in this group v tried changing the url in
> >> RSWebApplication.config.
> >> > still v r getting the same error.
> >> >
> >> > Can any one please help us. As we are developing a corporate
> >> > application
> >> it
> >> > is very urgent.
> >> >
> >> >
> >>
> >>
> >>
>
>

Wednesday, March 7, 2012

ReportIoError when performing backup - what can be done?

Our site is running SQL Server 2000 sp3 on Windows 2000 sp3
When attempting a full database backup to a local drive I get the following
error - and have not found any workable documentation.
BackupMedium::ReportIoError: write failure on backup device
'd:\mssql7\backup\Pxxxxxx_backup.bak'. Operating system error 2(error not
found).
Background:
On 2 previous occasions, and the last weekend, the transaction log on the
above database has become full over the weekend.
The main contributor seems to be a script provided as part of a vendor's
software package which reindexes the database.
As there is little spare space on our server, to avoid this problem the
recovery mode has been changed from 'full' to 'bulk logged' before the
re-index is run, and changed back after the event.
I was advised after previously posting to Microsoft's discussion groups to
perform a full database backup after each change of recovery mode. It is
this step that failed with the full log last night.
PREVIOUSLY this problem has been worked around using the following steps:
1. Increased log file size to 3000MB
2. Tried to backup transaction log (failed)
3. Tried to make dbo access only (failed - said that other users logged in)
4. Checked Current activity (no occurance of extra users)
5. Rebooted server.
6. Made Pxxxxxx database dbo access only
7. Ran database shrink (job successful, but logfile still the same size)
8. Ran backup transaction log (successful this time, but logfile still the
same size)
9. Ran full backup ( why not? successful)
10. Ran command: DBCC SQLPERF (LOGSPACE) which indicates that logfile is
only utilising 5% of allocated space.
11. Ran database shrink (job successful, but logfile still the same size)
12. Set log file autogrow to as small as possible (actual + 1)
13. Ran script based on
http://support.microsoft.com/default...b;en-us;256650 (which was
used to shrink a full log on SQL 7)
14. Performed a full database backup
15. Removed dbo access only flag.
Unfortunately, this time, the above process has failed. Any attempts to
backup the transaction log were unsuccessful, and any shrinkfile commands
failed due to the log being full or in use - preventing progress beyond steps
7&8.
A contact refered me to Article
http://support.microsoft.com/default...b;EN-US;272318
* DBCC SHRINKFILE(Pxxxxxx_log, 2) - failed saying that the logfile was
in use.
* BACKUP LOG Pxxxxxx WITH TRUNCATE_ONLY - ran successfully, but file not
shrunk
*"Take a full backup of your database after you perform backup log with
truncate_only" ie:
BACKUP DATABASE [Pxxxxxx]
TO DISK = N'D:\mssql7\backup\Pxxxxxx_backup.bak'
WITH INIT ,
NOUNLOAD ,
NAME = N'Pxxxxxx backup',
NOSKIP ,
STATS = 10,
NOFORMAT
- fails with the same error (above) previously encountered when attempting a
log backup
Regards,
Kim.
Hi!
Just a quick help: you can get description of the OS error messages if you
use NET HELPMSG from the command prompt. For your case,
net helpmsg 2
gives
The system cannot find the file specified.
Hpe this will lead you to a resolution!
Dejan Sarka, SQL Server MVP
Associate Mentor
www.SolidQualityLearning.com
"KD-Mudgee" <KDMudgee@.discussions.microsoft.com> wrote in message
news:3646EB63-2227-4ED6-A0B7-83716826C916@.microsoft.com...
> Our site is running SQL Server 2000 sp3 on Windows 2000 sp3
> When attempting a full database backup to a local drive I get the
following
> error - and have not found any workable documentation.
> BackupMedium::ReportIoError: write failure on backup device
> 'd:\mssql7\backup\Pxxxxxx_backup.bak'. Operating system error 2(error not
> found).
>
> Background:
> On 2 previous occasions, and the last weekend, the transaction log on the
> above database has become full over the weekend.
> The main contributor seems to be a script provided as part of a vendor's
> software package which reindexes the database.
> As there is little spare space on our server, to avoid this problem the
> recovery mode has been changed from 'full' to 'bulk logged' before the
> re-index is run, and changed back after the event.
> I was advised after previously posting to Microsoft's discussion groups to
> perform a full database backup after each change of recovery mode. It is
> this step that failed with the full log last night.
> PREVIOUSLY this problem has been worked around using the following steps:
> 1. Increased log file size to 3000MB
> 2. Tried to backup transaction log (failed)
> 3. Tried to make dbo access only (failed - said that other users logged
in)
> 4. Checked Current activity (no occurance of extra users)
> 5. Rebooted server.
> 6. Made Pxxxxxx database dbo access only
> 7. Ran database shrink (job successful, but logfile still the same size)
> 8. Ran backup transaction log (successful this time, but logfile still the
> same size)
> 9. Ran full backup ( why not? successful)
> 10. Ran command: DBCC SQLPERF (LOGSPACE) which indicates that logfile is
> only utilising 5% of allocated space.
> 11. Ran database shrink (job successful, but logfile still the same size)
> 12. Set log file autogrow to as small as possible (actual + 1)
> 13. Ran script based on
> http://support.microsoft.com/default...b;en-us;256650 (which was
> used to shrink a full log on SQL 7)
> 14. Performed a full database backup
> 15. Removed dbo access only flag.
>
> Unfortunately, this time, the above process has failed. Any attempts to
> backup the transaction log were unsuccessful, and any shrinkfile commands
> failed due to the log being full or in use - preventing progress beyond
steps
> 7&8.
> A contact refered me to Article
> http://support.microsoft.com/default...b;EN-US;272318
>
> * DBCC SHRINKFILE(Pxxxxxx_log, 2) - failed saying that the logfile
was
> in use.
> * BACKUP LOG Pxxxxxx WITH TRUNCATE_ONLY - ran successfully, but file
not
> shrunk
> *"Take a full backup of your database after you perform backup log with
> truncate_only" ie:
> BACKUP DATABASE [Pxxxxxx]
> TO DISK = N'D:\mssql7\backup\Pxxxxxx_backup.bak'
> WITH INIT ,
> NOUNLOAD ,
> NAME = N'Pxxxxxx backup',
> NOSKIP ,
> STATS = 10,
> NOFORMAT
> - fails with the same error (above) previously encountered when attempting
a
> log backup
>
> --
> Regards,
> Kim.
|||Dejan,
Thanks for the response. The explanation of the error code didn't leave me
much the wiser...
I increased the log file by another Gb and the backup succeeded.
Given that the data file is only 5.5GB, having a log file with so much space
allocated (over 3Gb) seems overkill, but... at least it works.
I've also now done a successful log file backup and shrunk the log - less
than 1% of the current log file in use.
"Dejan Sarka" wrote:

> Hi!
> Just a quick help: you can get description of the OS error messages if you
> use NET HELPMSG from the command prompt. For your case,
> net helpmsg 2
> gives
> The system cannot find the file specified.
> Hpe this will lead you to a resolution!
> --
> Dejan Sarka, SQL Server MVP
> Associate Mentor
> www.SolidQualityLearning.com
> "KD-Mudgee" <KDMudgee@.discussions.microsoft.com> wrote in message
> news:3646EB63-2227-4ED6-A0B7-83716826C916@.microsoft.com...
> following
> in)
> steps
> was
> not
> a
>
>
|||> Thanks for the response. The explanation of the error code didn't leave
me
> much the wiser...
> I increased the log file by another Gb and the backup succeeded.
> Given that the data file is only 5.5GB, having a log file with so much
space
> allocated (over 3Gb) seems overkill, but... at least it works.
> I've also now done a successful log file backup and shrunk the log - less
> than 1% of the current log file in use.
Thank you for sharing your experience, although I have to say the same as
you - do not feel much wiser :-) But not because of your post, it is because
I can't understand what's going on.
Dejan Sarka, SQL Server MVP
Associate Mentor
www.SolidQualityLearning.com
|||KD-Mudgee wrote:
> Our site is running SQL Server 2000 sp3 on Windows 2000 sp3
> When attempting a full database backup to a local drive I get the following
> error - and have not found any workable documentation.
> BackupMedium::ReportIoError: write failure on backup device
> 'd:\mssql7\backup\Pxxxxxx_backup.bak'. Operating system error 2(error not
> found).
>
> Background:
> On 2 previous occasions, and the last weekend, the transaction log on the
> above database has become full over the weekend.
> The main contributor seems to be a script provided as part of a vendor's
> software package which reindexes the database.
> As there is little spare space on our server, to avoid this problem the
> recovery mode has been changed from 'full' to 'bulk logged' before the
> re-index is run, and changed back after the event.
> I was advised after previously posting to Microsoft's discussion groups to
> perform a full database backup after each change of recovery mode. It is
> this step that failed with the full log last night.
> PREVIOUSLY this problem has been worked around using the following steps:
> 1. Increased log file size to 3000MB
> 2. Tried to backup transaction log (failed)
> 3. Tried to make dbo access only (failed - said that other users logged in)
> 4. Checked Current activity (no occurance of extra users)
> 5. Rebooted server.
> 6. Made Pxxxxxx database dbo access only
> 7. Ran database shrink (job successful, but logfile still the same size)
> 8. Ran backup transaction log (successful this time, but logfile still the
> same size)
> 9. Ran full backup ( why not? successful)
> 10. Ran command: DBCC SQLPERF (LOGSPACE) which indicates that logfile is
> only utilising 5% of allocated space.
> 11. Ran database shrink (job successful, but logfile still the same size)
> 12. Set log file autogrow to as small as possible (actual + 1)
> 13. Ran script based on
> http://support.microsoft.com/default...b;en-us;256650 (which was
> used to shrink a full log on SQL 7)
> 14. Performed a full database backup
> 15. Removed dbo access only flag.
>
did you shrink the transaction log after truncate? how much space do you
have on that backup drive?

> Unfortunately, this time, the above process has failed. Any attempts to
> backup the transaction log were unsuccessful, and any shrinkfile commands
> failed due to the log being full or in use - preventing progress beyond steps
> 7&8.
> A contact refered me to Article
> http://support.microsoft.com/default...b;EN-US;272318
>
> * DBCC SHRINKFILE(Pxxxxxx_log, 2) - failed saying that the logfile was
> in use.
> * BACKUP LOG Pxxxxxx WITH TRUNCATE_ONLY - ran successfully, but file not
> shrunk
> *"Take a full backup of your database after you perform backup log with
> truncate_only" ie:
> BACKUP DATABASE [Pxxxxxx]
> TO DISK = N'D:\mssql7\backup\Pxxxxxx_backup.bak'
> WITH INIT ,
> NOUNLOAD ,
> NAME = N'Pxxxxxx backup',
> NOSKIP ,
> STATS = 10,
> NOFORMAT
> - fails with the same error (above) previously encountered when attempting a
> log backup
>

ReportIoError when performing backup - what can be done?

Our site is running SQL Server 2000 sp3 on Windows 2000 sp3
When attempting a full database backup to a local drive I get the following
error - and have not found any workable documentation.
BackupMedium::ReportIoError: write failure on backup device
'd:\mssql7\backup\Pxxxxxx_backup.bak'. Operating system error 2(error not
found).
Background:
On 2 previous occasions, and the last weekend, the transaction log on the
above database has become full over the weekend.
The main contributor seems to be a script provided as part of a vendor's
software package which reindexes the database.
As there is little spare space on our server, to avoid this problem the
recovery mode has been changed from 'full' to 'bulk logged' before the
re-index is run, and changed back after the event.
I was advised after previously posting to Microsoft's discussion groups to
perform a full database backup after each change of recovery mode. It is
this step that failed with the full log last night.
PREVIOUSLY this problem has been worked around using the following steps:
1. Increased log file size to 3000MB
2. Tried to backup transaction log (failed)
3. Tried to make dbo access only (failed - said that other users logged in)
4. Checked Current activity (no occurance of extra users)
5. Rebooted server.
6. Made Pxxxxxx database dbo access only
7. Ran database shrink (job successful, but logfile still the same size)
8. Ran backup transaction log (successful this time, but logfile still the
same size)
9. Ran full backup ( why not? successful)
10. Ran command: DBCC SQLPERF (LOGSPACE) which indicates that logfile is
only utilising 5% of allocated space.
11. Ran database shrink (job successful, but logfile still the same size)
12. Set log file autogrow to as small as possible (actual + 1)
13. Ran script based on
http://support.microsoft.com/default.aspx?scid=kb;en-us;256650 (which was
used to shrink a full log on SQL 7)
14. Performed a full database backup
15. Removed dbo access only flag.
Unfortunately, this time, the above process has failed. Any attempts to
backup the transaction log were unsuccessful, and any shrinkfile commands
failed due to the log being full or in use - preventing progress beyond steps
7&8.
A contact refered me to Article
http://support.microsoft.com/default.aspx?scid=kb;EN-US;272318
* DBCC SHRINKFILE(Pxxxxxx_log, 2) - failed saying that the logfile was
in use.
* BACKUP LOG Pxxxxxx WITH TRUNCATE_ONLY - ran successfully, but file not
shrunk
*"Take a full backup of your database after you perform backup log with
truncate_only" ie:
BACKUP DATABASE [Pxxxxxx]
TO DISK = N'D:\mssql7\backup\Pxxxxxx_backup.bak'
WITH INIT ,
NOUNLOAD ,
NAME = N'Pxxxxxx backup',
NOSKIP ,
STATS = 10,
NOFORMAT
- fails with the same error (above) previously encountered when attempting a
log backup
--
Regards,
Kim.Hi!
Just a quick help: you can get description of the OS error messages if you
use NET HELPMSG from the command prompt. For your case,
net helpmsg 2
gives
The system cannot find the file specified.
Hpe this will lead you to a resolution!
--
Dejan Sarka, SQL Server MVP
Associate Mentor
www.SolidQualityLearning.com
"KD-Mudgee" <KDMudgee@.discussions.microsoft.com> wrote in message
news:3646EB63-2227-4ED6-A0B7-83716826C916@.microsoft.com...
> Our site is running SQL Server 2000 sp3 on Windows 2000 sp3
> When attempting a full database backup to a local drive I get the
following
> error - and have not found any workable documentation.
> BackupMedium::ReportIoError: write failure on backup device
> 'd:\mssql7\backup\Pxxxxxx_backup.bak'. Operating system error 2(error not
> found).
>
> Background:
> On 2 previous occasions, and the last weekend, the transaction log on the
> above database has become full over the weekend.
> The main contributor seems to be a script provided as part of a vendor's
> software package which reindexes the database.
> As there is little spare space on our server, to avoid this problem the
> recovery mode has been changed from 'full' to 'bulk logged' before the
> re-index is run, and changed back after the event.
> I was advised after previously posting to Microsoft's discussion groups to
> perform a full database backup after each change of recovery mode. It is
> this step that failed with the full log last night.
> PREVIOUSLY this problem has been worked around using the following steps:
> 1. Increased log file size to 3000MB
> 2. Tried to backup transaction log (failed)
> 3. Tried to make dbo access only (failed - said that other users logged
in)
> 4. Checked Current activity (no occurance of extra users)
> 5. Rebooted server.
> 6. Made Pxxxxxx database dbo access only
> 7. Ran database shrink (job successful, but logfile still the same size)
> 8. Ran backup transaction log (successful this time, but logfile still the
> same size)
> 9. Ran full backup ( why not? successful)
> 10. Ran command: DBCC SQLPERF (LOGSPACE) which indicates that logfile is
> only utilising 5% of allocated space.
> 11. Ran database shrink (job successful, but logfile still the same size)
> 12. Set log file autogrow to as small as possible (actual + 1)
> 13. Ran script based on
> http://support.microsoft.com/default.aspx?scid=kb;en-us;256650 (which was
> used to shrink a full log on SQL 7)
> 14. Performed a full database backup
> 15. Removed dbo access only flag.
>
> Unfortunately, this time, the above process has failed. Any attempts to
> backup the transaction log were unsuccessful, and any shrinkfile commands
> failed due to the log being full or in use - preventing progress beyond
steps
> 7&8.
> A contact refered me to Article
> http://support.microsoft.com/default.aspx?scid=kb;EN-US;272318
>
> * DBCC SHRINKFILE(Pxxxxxx_log, 2) - failed saying that the logfile
was
> in use.
> * BACKUP LOG Pxxxxxx WITH TRUNCATE_ONLY - ran successfully, but file
not
> shrunk
> *"Take a full backup of your database after you perform backup log with
> truncate_only" ie:
> BACKUP DATABASE [Pxxxxxx]
> TO DISK = N'D:\mssql7\backup\Pxxxxxx_backup.bak'
> WITH INIT ,
> NOUNLOAD ,
> NAME = N'Pxxxxxx backup',
> NOSKIP ,
> STATS = 10,
> NOFORMAT
> - fails with the same error (above) previously encountered when attempting
a
> log backup
>
> --
> Regards,
> Kim.|||Dejan,
Thanks for the response. The explanation of the error code didn't leave me
much the wiser...
I increased the log file by another Gb and the backup succeeded.
Given that the data file is only 5.5GB, having a log file with so much space
allocated (over 3Gb) seems overkill, but... at least it works.
I've also now done a successful log file backup and shrunk the log - less
than 1% of the current log file in use.
"Dejan Sarka" wrote:
> Hi!
> Just a quick help: you can get description of the OS error messages if you
> use NET HELPMSG from the command prompt. For your case,
> net helpmsg 2
> gives
> The system cannot find the file specified.
> Hpe this will lead you to a resolution!
> --
> Dejan Sarka, SQL Server MVP
> Associate Mentor
> www.SolidQualityLearning.com
> "KD-Mudgee" <KDMudgee@.discussions.microsoft.com> wrote in message
> news:3646EB63-2227-4ED6-A0B7-83716826C916@.microsoft.com...
> > Our site is running SQL Server 2000 sp3 on Windows 2000 sp3
> >
> > When attempting a full database backup to a local drive I get the
> following
> > error - and have not found any workable documentation.
> >
> > BackupMedium::ReportIoError: write failure on backup device
> > 'd:\mssql7\backup\Pxxxxxx_backup.bak'. Operating system error 2(error not
> > found).
> >
> >
> > Background:
> >
> > On 2 previous occasions, and the last weekend, the transaction log on the
> > above database has become full over the weekend.
> >
> > The main contributor seems to be a script provided as part of a vendor's
> > software package which reindexes the database.
> >
> > As there is little spare space on our server, to avoid this problem the
> > recovery mode has been changed from 'full' to 'bulk logged' before the
> > re-index is run, and changed back after the event.
> >
> > I was advised after previously posting to Microsoft's discussion groups to
> > perform a full database backup after each change of recovery mode. It is
> > this step that failed with the full log last night.
> >
> > PREVIOUSLY this problem has been worked around using the following steps:
> > 1. Increased log file size to 3000MB
> > 2. Tried to backup transaction log (failed)
> > 3. Tried to make dbo access only (failed - said that other users logged
> in)
> > 4. Checked Current activity (no occurance of extra users)
> > 5. Rebooted server.
> > 6. Made Pxxxxxx database dbo access only
> >
> > 7. Ran database shrink (job successful, but logfile still the same size)
> > 8. Ran backup transaction log (successful this time, but logfile still the
> > same size)
> > 9. Ran full backup ( why not? successful)
> > 10. Ran command: DBCC SQLPERF (LOGSPACE) which indicates that logfile is
> > only utilising 5% of allocated space.
> >
> > 11. Ran database shrink (job successful, but logfile still the same size)
> > 12. Set log file autogrow to as small as possible (actual + 1)
> > 13. Ran script based on
> > http://support.microsoft.com/default.aspx?scid=kb;en-us;256650 (which was
> > used to shrink a full log on SQL 7)
> > 14. Performed a full database backup
> > 15. Removed dbo access only flag.
> >
> >
> > Unfortunately, this time, the above process has failed. Any attempts to
> > backup the transaction log were unsuccessful, and any shrinkfile commands
> > failed due to the log being full or in use - preventing progress beyond
> steps
> > 7&8.
> >
> > A contact refered me to Article
> > http://support.microsoft.com/default.aspx?scid=kb;EN-US;272318
> >
> >
> > * DBCC SHRINKFILE(Pxxxxxx_log, 2) - failed saying that the logfile
> was
> > in use.
> > * BACKUP LOG Pxxxxxx WITH TRUNCATE_ONLY - ran successfully, but file
> not
> > shrunk
> > *"Take a full backup of your database after you perform backup log with
> > truncate_only" ie:
> >
> > BACKUP DATABASE [Pxxxxxx]
> > TO DISK = N'D:\mssql7\backup\Pxxxxxx_backup.bak'
> > WITH INIT ,
> > NOUNLOAD ,
> > NAME = N'Pxxxxxx backup',
> > NOSKIP ,
> > STATS = 10,
> > NOFORMAT
> >
> > - fails with the same error (above) previously encountered when attempting
> a
> > log backup
> >
> >
> > --
> > Regards,
> >
> > Kim.
>
>|||> Thanks for the response. The explanation of the error code didn't leave
me
> much the wiser...
> I increased the log file by another Gb and the backup succeeded.
> Given that the data file is only 5.5GB, having a log file with so much
space
> allocated (over 3Gb) seems overkill, but... at least it works.
> I've also now done a successful log file backup and shrunk the log - less
> than 1% of the current log file in use.
Thank you for sharing your experience, although I have to say the same as
you - do not feel much wiser :-) But not because of your post, it is because
I can't understand what's going on.
--
Dejan Sarka, SQL Server MVP
Associate Mentor
www.SolidQualityLearning.com|||KD-Mudgee wrote:
> Our site is running SQL Server 2000 sp3 on Windows 2000 sp3
> When attempting a full database backup to a local drive I get the following
> error - and have not found any workable documentation.
> BackupMedium::ReportIoError: write failure on backup device
> 'd:\mssql7\backup\Pxxxxxx_backup.bak'. Operating system error 2(error not
> found).
>
> Background:
> On 2 previous occasions, and the last weekend, the transaction log on the
> above database has become full over the weekend.
> The main contributor seems to be a script provided as part of a vendor's
> software package which reindexes the database.
> As there is little spare space on our server, to avoid this problem the
> recovery mode has been changed from 'full' to 'bulk logged' before the
> re-index is run, and changed back after the event.
> I was advised after previously posting to Microsoft's discussion groups to
> perform a full database backup after each change of recovery mode. It is
> this step that failed with the full log last night.
> PREVIOUSLY this problem has been worked around using the following steps:
> 1. Increased log file size to 3000MB
> 2. Tried to backup transaction log (failed)
> 3. Tried to make dbo access only (failed - said that other users logged in)
> 4. Checked Current activity (no occurance of extra users)
> 5. Rebooted server.
> 6. Made Pxxxxxx database dbo access only
> 7. Ran database shrink (job successful, but logfile still the same size)
> 8. Ran backup transaction log (successful this time, but logfile still the
> same size)
> 9. Ran full backup ( why not? successful)
> 10. Ran command: DBCC SQLPERF (LOGSPACE) which indicates that logfile is
> only utilising 5% of allocated space.
> 11. Ran database shrink (job successful, but logfile still the same size)
> 12. Set log file autogrow to as small as possible (actual + 1)
> 13. Ran script based on
> http://support.microsoft.com/default.aspx?scid=kb;en-us;256650 (which was
> used to shrink a full log on SQL 7)
> 14. Performed a full database backup
> 15. Removed dbo access only flag.
>
did you shrink the transaction log after truncate? how much space do you
have on that backup drive?
> Unfortunately, this time, the above process has failed. Any attempts to
> backup the transaction log were unsuccessful, and any shrinkfile commands
> failed due to the log being full or in use - preventing progress beyond steps
> 7&8.
> A contact refered me to Article
> http://support.microsoft.com/default.aspx?scid=kb;EN-US;272318
>
> * DBCC SHRINKFILE(Pxxxxxx_log, 2) - failed saying that the logfile was
> in use.
> * BACKUP LOG Pxxxxxx WITH TRUNCATE_ONLY - ran successfully, but file not
> shrunk
> *"Take a full backup of your database after you perform backup log with
> truncate_only" ie:
> BACKUP DATABASE [Pxxxxxx]
> TO DISK = N'D:\mssql7\backup\Pxxxxxx_backup.bak'
> WITH INIT ,
> NOUNLOAD ,
> NAME = N'Pxxxxxx backup',
> NOSKIP ,
> STATS = 10,
> NOFORMAT
> - fails with the same error (above) previously encountered when attempting a
> log backup
>

ReportIoError when performing backup - what can be done?

Our site is running SQL Server 2000 sp3 on Windows 2000 sp3
When attempting a full database backup to a local drive I get the following
error - and have not found any workable documentation.
BackupMedium::ReportIoError: write failure on backup device
'd:\mssql7\backup\Pxxxxxx_backup.bak'. Operating system error 2(error not
found).
Background:
On 2 previous occasions, and the last weekend, the transaction log on the
above database has become full over the weekend.
The main contributor seems to be a script provided as part of a vendor's
software package which reindexes the database.
As there is little spare space on our server, to avoid this problem the
recovery mode has been changed from 'full' to 'bulk logged' before the
re-index is run, and changed back after the event.
I was advised after previously posting to Microsoft's discussion groups to
perform a full database backup after each change of recovery mode. It is
this step that failed with the full log last night.
PREVIOUSLY this problem has been worked around using the following steps:
1. Increased log file size to 3000MB
2. Tried to backup transaction log (failed)
3. Tried to make dbo access only (failed - said that other users logged in)
4. Checked Current activity (no occurance of extra users)
5. Rebooted server.
6. Made Pxxxxxx database dbo access only
7. Ran database shrink (job successful, but logfile still the same size)
8. Ran backup transaction log (successful this time, but logfile still the
same size)
9. Ran full backup ( why not? successful)
10. Ran command: DBCC SQLPERF (LOGSPACE) which indicates that logfile is
only utilising 5% of allocated space.
11. Ran database shrink (job successful, but logfile still the same size)
12. Set log file autogrow to as small as possible (actual + 1)
13. Ran script based on
http://support.microsoft.com/defaul...kb;en-us;256650 (which was
used to shrink a full log on SQL 7)
14. Performed a full database backup
15. Removed dbo access only flag.
Unfortunately, this time, the above process has failed. Any attempts to
backup the transaction log were unsuccessful, and any shrinkfile commands
failed due to the log being full or in use - preventing progress beyond step
s
7&8.
A contact refered me to Article
http://support.microsoft.com/defaul...kb;EN-US;272318
* DBCC SHRINKFILE(Pxxxxxx_log, 2) - failed saying that the logfile was
in use.
* BACKUP LOG Pxxxxxx WITH TRUNCATE_ONLY - ran successfully, but file not
shrunk
*"Take a full backup of your database after you perform backup log with
truncate_only" ie:
BACKUP DATABASE [Pxxxxxx]
TO DISK = N'D:\mssql7\backup\Pxxxxxx_backup.bak'
WITH INIT ,
NOUNLOAD ,
NAME = N'Pxxxxxx backup',
NOSKIP ,
STATS = 10,
NOFORMAT
- fails with the same error (above) previously encountered when attempting a
log backup
Regards,
Kim.Hi!
Just a quick help: you can get description of the OS error messages if you
use NET HELPMSG from the command prompt. For your case,
net helpmsg 2
gives
The system cannot find the file specified.
Hpe this will lead you to a resolution!
Dejan Sarka, SQL Server MVP
Associate Mentor
www.SolidQualityLearning.com
"KD-Mudgee" <KDMudgee@.discussions.microsoft.com> wrote in message
news:3646EB63-2227-4ED6-A0B7-83716826C916@.microsoft.com...
> Our site is running SQL Server 2000 sp3 on Windows 2000 sp3
> When attempting a full database backup to a local drive I get the
following
> error - and have not found any workable documentation.
> BackupMedium::ReportIoError: write failure on backup device
> 'd:\mssql7\backup\Pxxxxxx_backup.bak'. Operating system error 2(error not
> found).
>
> Background:
> On 2 previous occasions, and the last weekend, the transaction log on the
> above database has become full over the weekend.
> The main contributor seems to be a script provided as part of a vendor's
> software package which reindexes the database.
> As there is little spare space on our server, to avoid this problem the
> recovery mode has been changed from 'full' to 'bulk logged' before the
> re-index is run, and changed back after the event.
> I was advised after previously posting to Microsoft's discussion groups to
> perform a full database backup after each change of recovery mode. It is
> this step that failed with the full log last night.
> PREVIOUSLY this problem has been worked around using the following steps:
> 1. Increased log file size to 3000MB
> 2. Tried to backup transaction log (failed)
> 3. Tried to make dbo access only (failed - said that other users logged
in)
> 4. Checked Current activity (no occurance of extra users)
> 5. Rebooted server.
> 6. Made Pxxxxxx database dbo access only
> 7. Ran database shrink (job successful, but logfile still the same size)
> 8. Ran backup transaction log (successful this time, but logfile still the
> same size)
> 9. Ran full backup ( why not? successful)
> 10. Ran command: DBCC SQLPERF (LOGSPACE) which indicates that logfile is
> only utilising 5% of allocated space.
> 11. Ran database shrink (job successful, but logfile still the same size)
> 12. Set log file autogrow to as small as possible (actual + 1)
> 13. Ran script based on
> http://support.microsoft.com/defaul...kb;en-us;256650 (which was
> used to shrink a full log on SQL 7)
> 14. Performed a full database backup
> 15. Removed dbo access only flag.
>
> Unfortunately, this time, the above process has failed. Any attempts to
> backup the transaction log were unsuccessful, and any shrinkfile commands
> failed due to the log being full or in use - preventing progress beyond
steps
> 7&8.
> A contact refered me to Article
> http://support.microsoft.com/defaul...kb;EN-US;272318
>
> * DBCC SHRINKFILE(Pxxxxxx_log, 2) - failed saying that the logfile
was
> in use.
> * BACKUP LOG Pxxxxxx WITH TRUNCATE_ONLY - ran successfully, but file
not
> shrunk
> *"Take a full backup of your database after you perform backup log with
> truncate_only" ie:
> BACKUP DATABASE [Pxxxxxx]
> TO DISK = N'D:\mssql7\backup\Pxxxxxx_backup.bak'
> WITH INIT ,
> NOUNLOAD ,
> NAME = N'Pxxxxxx backup',
> NOSKIP ,
> STATS = 10,
> NOFORMAT
> - fails with the same error (above) previously encountered when attempting
a
> log backup
>
> --
> Regards,
> Kim.|||Dejan,
Thanks for the response. The explanation of the error code didn't leave me
much the wiser...
I increased the log file by another Gb and the backup succeeded.
Given that the data file is only 5.5GB, having a log file with so much space
allocated (over 3Gb) seems overkill, but... at least it works.
I've also now done a successful log file backup and shrunk the log - less
than 1% of the current log file in use.
"Dejan Sarka" wrote:

> Hi!
> Just a quick help: you can get description of the OS error messages if you
> use NET HELPMSG from the command prompt. For your case,
> net helpmsg 2
> gives
> The system cannot find the file specified.
> Hpe this will lead you to a resolution!
> --
> Dejan Sarka, SQL Server MVP
> Associate Mentor
> www.SolidQualityLearning.com
> "KD-Mudgee" <KDMudgee@.discussions.microsoft.com> wrote in message
> news:3646EB63-2227-4ED6-A0B7-83716826C916@.microsoft.com...
> following
> in)
> steps
> was
> not
> a
>
>|||> Thanks for the response. The explanation of the error code didn't leave
me
> much the wiser...
> I increased the log file by another Gb and the backup succeeded.
> Given that the data file is only 5.5GB, having a log file with so much
space
> allocated (over 3Gb) seems overkill, but... at least it works.
> I've also now done a successful log file backup and shrunk the log - less
> than 1% of the current log file in use.
Thank you for sharing your experience, although I have to say the same as
you - do not feel much wiser :-) But not because of your post, it is because
I can't understand what's going on.
Dejan Sarka, SQL Server MVP
Associate Mentor
www.SolidQualityLearning.com|||KD-Mudgee wrote:
> Our site is running SQL Server 2000 sp3 on Windows 2000 sp3
> When attempting a full database backup to a local drive I get the followin
g
> error - and have not found any workable documentation.
> BackupMedium::ReportIoError: write failure on backup device
> 'd:\mssql7\backup\Pxxxxxx_backup.bak'. Operating system error 2(error not
> found).
>
> Background:
> On 2 previous occasions, and the last weekend, the transaction log on the
> above database has become full over the weekend.
> The main contributor seems to be a script provided as part of a vendor's
> software package which reindexes the database.
> As there is little spare space on our server, to avoid this problem the
> recovery mode has been changed from 'full' to 'bulk logged' before the
> re-index is run, and changed back after the event.
> I was advised after previously posting to Microsoft's discussion groups to
> perform a full database backup after each change of recovery mode. It is
> this step that failed with the full log last night.
> PREVIOUSLY this problem has been worked around using the following steps:
> 1. Increased log file size to 3000MB
> 2. Tried to backup transaction log (failed)
> 3. Tried to make dbo access only (failed - said that other users logged in
)
> 4. Checked Current activity (no occurance of extra users)
> 5. Rebooted server.
> 6. Made Pxxxxxx database dbo access only
> 7. Ran database shrink (job successful, but logfile still the same size)
> 8. Ran backup transaction log (successful this time, but logfile still the
> same size)
> 9. Ran full backup ( why not? successful)
> 10. Ran command: DBCC SQLPERF (LOGSPACE) which indicates that logfile is
> only utilising 5% of allocated space.
> 11. Ran database shrink (job successful, but logfile still the same size)
> 12. Set log file autogrow to as small as possible (actual + 1)
> 13. Ran script based on
> http://support.microsoft.com/defaul...kb;en-us;256650 (which was
> used to shrink a full log on SQL 7)
> 14. Performed a full database backup
> 15. Removed dbo access only flag.
>
did you shrink the transaction log after truncate? how much space do you
have on that backup drive?

> Unfortunately, this time, the above process has failed. Any attempts to
> backup the transaction log were unsuccessful, and any shrinkfile commands
> failed due to the log being full or in use - preventing progress beyond st
eps
> 7&8.
> A contact refered me to Article
> http://support.microsoft.com/defaul...kb;EN-US;272318
>
> * DBCC SHRINKFILE(Pxxxxxx_log, 2) - failed saying that the logfile wa
s
> in use.
> * BACKUP LOG Pxxxxxx WITH TRUNCATE_ONLY - ran successfully, but file n
ot
> shrunk
> *"Take a full backup of your database after you perform backup log with
> truncate_only" ie:
> BACKUP DATABASE [Pxxxxxx]
> TO DISK = N'D:\mssql7\backup\Pxxxxxx_backup.bak'
> WITH INIT ,
> NOUNLOAD ,
> NAME = N'Pxxxxxx backup',
> NOSKIP ,
> STATS = 10,
> NOFORMAT
> - fails with the same error (above) previously encountered when attempting
a
> log backup
>

ReportingServicesCompression.dll error

I have a report that will not initially run if the user running the report is
not a local administrator on the machine running reporting services. If the
user is a local administrator, the report will run. The user that is not a
local administrator is able to run the report after the local administrator
user has run the report.
It appears a local administrator has to get a dll loaded first before a
non-local administrator can run the report.
The error received is:
An unexpected error occurred in Report Processing. (rsInternalError) Get
Online Help Unable to load DLL (ReportingServicesCompression.dll).
The log file for reporting services contains the following:
w3wp!processing!d94!11/05/2004-08:56:02:: e ERROR: Throwing
Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: An
unexpected error occurred in Report Processing., ;
Info:
Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: An
unexpected error occurred in Report Processing. -->
System.DllNotFoundException: Unable to load DLL
(ReportingServicesCompression.dll).
at
Microsoft.ReportingServices.Diagnostics.CompressUtil.inflateInit_(z_stream
strm, String version, Int32 stream_size)
at Microsoft.ReportingServices.Diagnostics.CompressUtil.UnCompress(Byte[]
input, Int32 outputBufferLength, Byte[]& output)
at
Microsoft.ReportingServices.Library.BufferedCompressedReadStream.Uncompress(Byte[]
compressedBuffer, Int32 uncompressedBufferLength, Byte[]& uncompressedBuffer)
at
Microsoft.ReportingServices.Library.BufferedCompressedReadStream.ReadAndUncompressBuffer()
at
Microsoft.ReportingServices.Library.BufferedCompressedReadStream.FillBuffer()
at
Microsoft.ReportingServices.Library.BufferedCompressedReadStream..ctor(Stream
store)
at
Microsoft.ReportingServices.Library.SnapshotChunkStreamFactory.CreateReadStream(Guid
snapshotDataID, Boolean isPermanentSnapshot, String chunkName, Int32
chunkType, String& mimeType)
at
Microsoft.ReportingServices.Library.ReportSnapshot.GetReportChunk(String
name, ReportChunkTypes type, String& mimeType)
at
Microsoft.ReportingServices.ReportProcessing.ReportProcessing.a(GetReportChunk A_0, ReportItem A_1)
at
Microsoft.ReportingServices.ReportProcessing.ReportProcessing.a(GetReportChunk A_0)
at
Microsoft.ReportingServices.ReportProcessing.ReportProcessing.GetAllDataSources(CatalogItemContext
reportContext, GetReportChunk getCompiledDefinitionCallback,
SubReportDataSourcesCallback subReportCallback, DataSourceInfoCollection
dataSources, Boolean checkIfUsable, ServerDataSourceSettings
serverDatasourceSettings)
Please advise.Hi,
Thanks for your post.
From your descriptions, I understood that you will have to view the report
by local administartor first to load DLL file, otherwise it will be error.
Have I understood you? Correct me if I was wrong.
It seems to be a permission issue and please make sure that non-local
administrator user was content manager ("New Role Assignment" in Report
Manager's Properties). Try to initial view the report with the non-local
administrator again and let me now whether it works this time.
If it doesn't work, please show me the detailed descriptions about your
sceanrio, such as remote access or local access, how do you change the user
to view the reports.
Thank you for your patience and corporation. If you have any questions or
concerns, don't hesitate to let me know. We are always here to be of
assistance!
Sincerely yours,
Michael Cheng
Online Partner Support Specialist
Partner Support Group
Microsoft Global Technical Support Center
---
Get Secure! - http://www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
Please reply to newsgroups only, many thanks!|||We have an IIS Server running Reporting Services (machine "RS") with the
report published to it.
User "A" is a domain user on the network and logs onto computer "Computer A"
on the local intranet. User "A" does not have administrative priviledges on
machine "RS". User "A" is a Content Manager.
User "B" is a domain user on the network and logs onto "Computer B" on the
local intranet. User "B" has administrative priviledges on machine "RS"
User "A" runs the report on "Computer A" and the error is received.
User "B" runs the report on "Computer B" and it runs fine. User "A" on
"Computer A" can now run the report also.
The report uses a shared data source. The security on the shared data
source is
"Credentials stored securely in the Report Server" - "User as Windows
credentials when connecting to the data source" - "Impersonate the
authenticated user after a connection has been made to the data source". The
user specified is a domain user who is an administrator on "Computer RS"
""Michael Cheng [MSFT]"" wrote:
> Hi,
> Thanks for your post.
> From your descriptions, I understood that you will have to view the report
> by local administartor first to load DLL file, otherwise it will be error.
> Have I understood you? Correct me if I was wrong.
> It seems to be a permission issue and please make sure that non-local
> administrator user was content manager ("New Role Assignment" in Report
> Manager's Properties). Try to initial view the report with the non-local
> administrator again and let me now whether it works this time.
> If it doesn't work, please show me the detailed descriptions about your
> sceanrio, such as remote access or local access, how do you change the user
> to view the reports.
> Thank you for your patience and corporation. If you have any questions or
> concerns, don't hesitate to let me know. We are always here to be of
> assistance!
>
> Sincerely yours,
> Michael Cheng
> Online Partner Support Specialist
> Partner Support Group
> Microsoft Global Technical Support Center
> ---
> Get Secure! - http://www.microsoft.com/security
> This posting is provided "as is" with no warranties and confers no rights.
> Please reply to newsgroups only, many thanks!
>
>|||Hi,
I am looking into this issue, I will update you as soon as possible when I
find anything valueable.
Thank you for your patience and corporation.
Sincerely yours,
Michael Cheng
Online Partner Support Specialist
Partner Support Group
Microsoft Global Technical Support Center
---
Get Secure! - http://www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
Please reply to newsgroups only, many thanks!|||Hi,
What kind of Reporting Server you are using now? Is it Reporting
ServicesSP1 (8.0.878)? Go to the report server virtual directory and see
what version number it says.
Thank you for your patience and corporation. If you have any questions or
concerns, don't hesitate to let me know. We are always here to be of
assistance!
Sincerely yours,
Michael Cheng
Online Partner Support Specialist
Partner Support Group
Microsoft Global Technical Support Center
---
Get Secure! - http://www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
Please reply to newsgroups only, many thanks!|||Hi,
I am currently standing by for an update from you and would like to know
how things are going there. Should you have any questions or concerns on
the recent questions/ information I've posted, please don't hesitate to let
me know directly. It's my pleasure to be of assistance
Sincerely yours,
Michael Cheng
Online Partner Support Specialist
Partner Support Group
Microsoft Global Technical Support Center
---
Get Secure! - http://www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
Please reply to newsgroups only, many thanks!

ReportingServer Path (Url)

Hello
I develop my reports local on my pc (VS2003, IIS5, SQL Server 2000 and
ReportingServer are on the same Pc) and when i be finish then i want
transfer the reports to official ReportingServer.
Now my question witch files must transfer to the ReportingServer? And when i
transfer the files to another server then i think i must change the
ReportingServer-Path, how can do that? I see that i can change the path in
the VS-Project-Code, but can i do that purhaps with a Config-File or at real
time?
Thank you very much
Regards
RogerIf you are talking about reports ONLY , then the .RDL file is the only file
which must be transferred...
A common method is to use the Web interface on the production server to
UPLOAD the RDL files. That way you do not have to change anything on your
test side...Just tell the production guy where the RDL is.
--
Wayne Snyder, MCDBA, SQL Server MVP
Mariner, Charlotte, NC
www.mariner-usa.com
(Please respond only to the newsgroups.)
I support the Professional Association of SQL Server (PASS) and it's
community of SQL Server professionals.
www.sqlpass.org
"R.Odermatt" <roger.odermatt@.nospam.swica.ch> wrote in message
news:uME3TRi%23EHA.1544@.TK2MSFTNGP11.phx.gbl...
> Hello
> I develop my reports local on my pc (VS2003, IIS5, SQL Server 2000 and
> ReportingServer are on the same Pc) and when i be finish then i want
> transfer the reports to official ReportingServer.
> Now my question witch files must transfer to the ReportingServer? And when
i
> transfer the files to another server then i think i must change the
> ReportingServer-Path, how can do that? I see that i can change the path in
> the VS-Project-Code, but can i do that purhaps with a Config-File or at
real
> time?
> Thank you very much
> Regards
> Roger
>|||The only issue deployment might give you is if you have used jump to url
action. Otherwise everything is handled for you. Install your production
server, then from the the development environment you set the
TargetServerURL (you can have multiple configuration, for instance I have a
debug server and a production server). To set the TargetServerURL you do a
right mouse click on the project in your solution explorer, properties.
Then you deploy from the IDE (you can also script this but using the Visual
Studio is easiest). It deploys the data sources as well and after deployment
you might need to configure them at the server. After deploying once VS does
not overwrite the data sources, it just warns, so once you setup the data
sources on your production server they will not get overwritten.
Be sure to read up on how to setup security as well on the production
server.
Bruce Loehle-Conger
MVP SQL Server Reporting Services
"R.Odermatt" <roger.odermatt@.nospam.swica.ch> wrote in message
news:uME3TRi%23EHA.1544@.TK2MSFTNGP11.phx.gbl...
> Hello
> I develop my reports local on my pc (VS2003, IIS5, SQL Server 2000 and
> ReportingServer are on the same Pc) and when i be finish then i want
> transfer the reports to official ReportingServer.
> Now my question witch files must transfer to the ReportingServer? And when
i
> transfer the files to another server then i think i must change the
> ReportingServer-Path, how can do that? I see that i can change the path in
> the VS-Project-Code, but can i do that purhaps with a Config-File or at
real
> time?
> Thank you very much
> Regards
> Roger
>