Showing posts with label connect. Show all posts
Showing posts with label connect. Show all posts

Friday, March 30, 2012

Reporting services and existing application

Hello everyone I have a small application in asp.net now I'm trying to use the SQL reporting services. But as soon as I try to connect to the DB on the "connection properties" window I get this error.

Unable to open the physical file "C:\my\Apps\mydb.mdf". Operating system error 32: "32(The file is in use by another process.)".

\

Thanks

Looks like you are using SQLExpress and in your web site, web.config file you are directly attaching a dbf file, so it is getting used by ASP.NET worker process. But again you are trying to access it through reporting services, which is another process. So that is why you are getting this exception.

Try to modify your connection string, instead of AttachDB file name, build a proper connection string to SQL Express

|||

I change my connection string to:

<connectionStrings>
<add name="DBCSCompany" connectionString="Data Source=.\SQLExpress;Integrated Security=True;User Instance=true;Database=C:\Inetpub\wwwroot\apps\App_Data\Database.mdf" />
</connectionStrings>

but I still get the same error

|||

Hi,

First, be sure that the physical path of the mdvb file is correct, I suggest that you shoud put your mdf file in app_code directory. so you can use "AttachDBFilename=|DataDirectory|someMdfFile"to locate the mdf file.

Second, when this problem occurred, just to check if other program is using the mdf file. Such as Visual Studio developpment server. If so, turn it off and try again.

Thank.

Wednesday, March 21, 2012

Reporting Services - cannot connect remotely

Hi,
I was wondering if anyone could help me. Im new to SQL and Reporting
Services.
Ive created a report and deployed it to the report server. When im
logged onto that server I can view the report ok, but when I try to
view it from a workstation I get an error message
'An error has occurred during report processing.
Cannot create a connection to data source 'ICTUForms'.
For more information about this error navigate to the report server on
the local server machine, or enable remote errors '
ICTUForms is a datasource im connecting to.
Can anyone help?I'm guessing you don't have access to the report's underlying data when you
connect on that workstation. Are you using Windows anthentication? You're
probably a local admin on the server (therefore "sa" on MSSQL) when you open
a session there, so all tables are accessible.
Alain Quesnel
alainsansspam@.logiquel.com
www.logiquel.com
"Mo" <markhayward27@.gmail.com> wrote in message
news:8353a3cb-2baa-4443-b6ab-d13d00188771@.q27g2000prf.googlegroups.com...
> Hi,
> I was wondering if anyone could help me. Im new to SQL and Reporting
> Services.
> Ive created a report and deployed it to the report server. When im
> logged onto that server I can view the report ok, but when I try to
> view it from a workstation I get an error message
>
> 'An error has occurred during report processing.
> Cannot create a connection to data source 'ICTUForms'.
> For more information about this error navigate to the report server on
> the local server machine, or enable remote errors '
>
> ICTUForms is a datasource im connecting to.
>
> Can anyone help?

Tuesday, February 21, 2012

Reporting on an Analysis Services data cube

Hello,

The problem I am having is I am trying to report on an Analysis Services data cube.

I connect fine but for some reason the "MDX query designer" does not appear as an option for creating the query for this data source. Is there a component of SQL 2000 or visual studio I am missing

Any help Would be great

Thank you

One good starting point might be this link:

http://www.microsoft.com/downloads/details.aspx?FamilyID=f9b6e945-1f4c-4b7c-9c83-c6801f0576ff&DisplayLang=en

It is a rs 2000 sample that uses cubes. I hope this helps

|||Just to confirm - are you using RS 2005 with the Analysis Services Provider - otherwise you won't get the MDX Query Designer?|||

Thank you for your help. I unfortunately am only using RS2003.

SO i need to upgrade to RS 2005 and install Analysis Services Provider before ill get the designer ?

|||

You would need to upgrade RS 2005 - the Analysis Services Provider should get added as part of the upgrade:

http://msdn2.microsoft.com/en-us/library/ms170417(SQL.90).aspx

>>

What's New in SQL Server 2005 > Reporting Services Enhancements

Reporting Services Design-Time Enhancements

New Analysis Services Query Designer

Report Designer includes a new query designer for creating MDX queries. You can use the integrated query designer for Analysis Services to build queries by dragging and dropping server metadata onto a report layout and previewing the results.

>>