Hello, when I log onto Report Manager web server using Windows Authentication, I need this user to be directed to a default sub folder.
For example: if I have folder A and sub folder 1 and 2. I need to be able to log in and be directed to sub folder 1. I was able to set up view role and access folder A. But then I need to click on folder 1 to view / create my reports.
I have few reports under different folders in Report Manager. Is there a way to set the data source for the whole folder rather than each report individually? There is also a folder where reports generate dynamically. Since the report project doesn't exist anymore, I can't set the data source through code. How can I set the data source for the whole folder?
I am using SQL Server 2005 Developer Edition and have created several reports, deployed them to SQL Server and tested them.
Everything works correctly, but when I open the Report Manager using localhost/Reports, the page takes several minutes to connect and open. I am doing this on a new laptop I use for development and testing, so I can see where it would be a little slow, but a few minutes seems extreme. I don't have any problem with SQL Server itself, nor with VS 2005.
Are there any tips or setup issues which might affect the startup speed?
I was using Windows 7 and had SSRS 2014 installed.Having set up the inbound rule on Windows Firewall (port 80), to allow SSRS through, I was able to browse to the Report Manager URL, by opening up Internet Explorer as 'Administrator'..
However, now that I have upgraded to Windows 10, I am unable to open the URL.In fact there is now way for me to open Edge as administrator and open my Report Manager URL.
I've tried changing the default zoom setting by editing the RSReportServer.config file to include
<Configuration>
<DeviceInfo>
<Zoom>Page Width</Zoom> </DeviceInfo> </Configuration> under the
<Render>
<Extension Name = "HTML4.0" etc. However, all reports still show up with the zoom setting at 100% on the toolbar. I stop and restart the Report Server Service and it comes up OK so I know my XML syntax is cool. What am I doing wrong?
This is on a 2005 Report Server. Reports are built in VS2005 Report Designer and deployed to the Report Server directly. Reports are accessed via IE7 browser.
I get the below error only when my IDE open. It connects well when it is found closed. [SqlException (0x80131904): Cannot open user default database. Login failed.Login failed for user 'JPASPNET'.] I could solve this by giving the logged in windows user to impersonate under IIS window > WEBSITE > ASP.NET tab > EDIT CONFIG > APPLICATION tab But I wish someone could give me the proper solution. I almost tried all from giving ASPNET user as a administrator to configuring the same in Express management tool. Environment: XP pro, VWD and SQL Express
Hello, I just installed SQL Server 2000 on my home computer and amconnecting to a remote SQL server over the Internet. I can log intothe server just fine and see 7 folders including the 'Databases'folder. I can open up all of the other 6 folders but for some crazyreason when I double click on the 'Databases' folder, I can't open it!The hourglass appears and Enterprise Manager basically locks up. Doesanyone know what's going on?????Please email response to Join Bytes! as well as posting togroup.Thanks,Navin
Hi;I feel like an idiot to be asking this,but how do I change the default drive and folderin which new databases are created?I've been looking all over Server Mgmt Studio,and I can't find anything. I'm thinking that someonecan tell me this off the top of their heads,or slip me a link to a web page.Thanks,
Ive just installed VS2005 Pro and SQL Server Developer edition.
Now I want to set the default paths for project, templates, settings. But I want for both VS and SQL files.
For example, right now the default folders for SQL Studio are:
.My DocumentsSQL Server Management StudioProjects
.My DocumentsSQL Server Management StudioSettings
.My DocumentsSQL Server Management StudioTemplates
.My DocumentsSQL Server Management StudioBackup Files
... and so on.
For VS Studio:
.My DocumentsVisual Studio 2005Projects
.My DocumentsVisual Studio 2005Templates
.My DocumentsVisual Studio 2005Code Snippets
... and so on.
I would like for all sub-folders(from SQL Server and VS) to be in one same folder(Development), for example:
.My DocumentsDevelopmentProjects
.My DocumentsDevelopmentSettings
.My DocumentsDevelopmentTemplates
.My DocumentsDevelopmentBackup Files
.My DocumentsDevelopmentCode Snippets
... and so on.
I have tried changing in each application´s options the default path for each one, pointing to each folder I listed above.
My problem is that both VS and SQL Server still keeps creating folders in the old locations, for example: ".My DocumentsSQL Server Management StudioProjects". This example happens when I create a new query, and try to save it, it automatically creates that folder.
It only works for a few of them, like the settings folder. Ive managed to create a single folder for SQL and VS setting files.
Is there a way I can join both Application folders? I want to keep both projects files in one folder, both setting files in one folder, and so on...
Hi, We patched our servers last week and now, when connecting to our server remotely via Enterprise Manager (with DBO permissions), the management folder shows as empty. My guess is its permission related but, I'm not sure where to begin to correct the issue since we aren’t sure how it happened. Any help will be greatly appreciated. ~des
Whenever I open a .sql file in QA, the dialog box always displays the files in the 'list' format (you need to scroll side-to-side to see the files). However, I prefer the 'details' format, where I can see the file size and the date created (and sort by them).
Does anyone know how to change the default so I can open files the way I want to open them?
A user was created with a limited privilege under the USERS group. Once this user loged in the Report Manager he is acting like an Admin and Content Manager, though he is not given even a browser role.
What do u think that this guy is acting like a Super User evenif he is restricted to a browser role on the Report Manager ????????????
Hi Team I am working on a .net project, sql server 2000 based one. Now when iam connection to database server (remote) then me getting an error that the user cannot open the default database. I have made the database > all tasks > take offline. But after that I cant open the sql server thru the enterprise manager and query analyzer. How can I do the database online? Thanks Rajesh
When i try to open the Adventureworks database with SQL Server 2005 Express, it throws the following error:
Cannot open user default database. Login failed.Login failed for user 'SK-RIY37EQBYCYZsk'. Dim connString As String = ConfigurationManager.ConnectionStrings("AdWorkConnectionString").ConnectionString <add name="AdworkConnectionString" connectionString="Data Source=.SQLEXPRESS;AttachDbFilename=C:Program FilesMicrosoft SQL ServerMSSQL.1MSSQLDataAdventureWorks_Data.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True" providerName="System.Data.SqlClient" />
I am currently getting the error Cannot open user default database. Login failed. Login failed for user '<user name>'. (Microsoft SQL Server, Error: 4064)
I took a backup of my Production Database but when I try to restore it I get this error. I cant do anything at the moment without getting this error.
I'm developing a windows forms app with a local database to be deployed on a couple of users machines. To aid deployment I'm using 'user instance' with a connection string of:
Data Source=.SQLEXPRESS;AttachDbFilename=|DataDirectory|gma.mdf;Integrated Security=True;User Instance=True;Connection Timeout=15;
I've started with a backup function based on the blog 'Backup and Restore with User Instance' linked to from this forum. Problem is I always get the error message 'Cannot open user default database. Login failed for user xxx'. This happens when I run in debugger or just run the exe directly.
Has anyone tried Open File Manager to backup SQL 7? I'm in the middle of an evaluation (and all is going well), so I wanted to get other's opinions before I purchase.
I tried their 5.x product a year ago, and it didn't work. But V6 has been just what they toted (it worked, no questions asked).
Thanks, Charles Backup Integration Manager CDW Reseller
I work with Microsoft visual studio 2005. i get data from a table by ADO.NET :
SqlConnection sqlConn = new SqlConnection(strConnectionString); sqlConn.Open(); .....
it works fine.
but when i open the SQL Server 2005 express edition and connect to the server (inside the same computer) and run the code again ,the Open() function fails with the exception :
Cannot open user default database. Login failed.
disconnecting the server doesn't help and even closing the SQL Server 2005 application doesn't help. Only restarting the computer enables the Open() command to work again.
I am getting this error when i clicked on configuration manager. "Cannot connect to WMI provider. You do not have permissions or the server is unreachable. Note that you can only manage SQL server 2005 and later servers with configuration manager only."
Hi,I've got a machine with about 750 databases on it, and growing.Enterprise Manager is very slow coming up on this machine and I waswondering what I could do about it. What's it doing, connecting toevery database?
Hi,For working with linked servers , Mr. Hills had replied like , one cannot see the login rights etc if the particular user is not in theadmin role in the Enter prise manager.Since the E.Manager is a open book so that any one can access anydatabase , Do you explain me When the sql server E.manager ks theuser's login and password .With thanksRAGHU
Hi, I'm getting this error ever since I attached my VWD Express database to SQL Server Express. I detached the database after using it and closed SQL Server but as soon as I tried to run my application again in VWD I got... Cannot open user default database. Login failed.Login failed for user 'xxxxxxxASPNET'. I have tried attaching and detaching the database again in SQL Server with the 'Close Connections' check box ticked but still no joy. I have checked out all other posts on this subject but can't seem to find an answer that works for me. Does SQL Server Express do something to users / permissions when attaching databases? It's all way above my head! My connection string is as follows... <add name="DatabaseConnectionString1" connectionString="Data Source=.SQLEXPRESS;AttachDbFilename=|DataDirectory|Database.mdf;Integrated Security=True;User Instance=True" providerName="System.Data.SqlClient"/>
Hey,I renamed a database, and it happened to be my default; so I basically screwed myself, because I can't change it through script (doesn't exist or you don't have permissions). What can I do? Thanks.
I have created an app which use sqlserver exrpress and works fine. I have now craeted a authentication page login.aspx. I have added users successfully to the asp.net configuartion via the web site admin tool. When I go to login using my page I get the Cannot open default database.Login failed. Login failed for user servetaspnet.
I have looked at the asonetdb in sql server management studio and the serverasp net is set up on the database.
Can anyone suggeste what I ma doing wrong or where I might see a work through of the problem. Thanks
When I connect to SQL Server 2000 using SQL Server authentication I get error message error 4064, cannot open user default database. I can connect however if I use Windows Authentication. The problem started when I did the ffg. -backup sql db1 -restore db1 to another name (db2) -drop db1 -use sp_detach -use sp_attach to attach db2 as db1 (rename database)
When I connect in Query Analyzer via SQL Authentication I get the error, however via any other method it works fine.
hi to all, I am new to Sqlserver. in my machine i installed sqlserver2000.i created/registered a new server with sql authentication. but when i connecting it shows the login failed and i am unable to connect my database.after that i edited the server registration information as windows authentication. now it works well. what to do? how to tactic this problem? thanks in advance..
hi: I got the problem, which lots of people might encounter before.
In my case, I use login control and sqlexpress to build a login page. when password & user name were entered. It gave me: "Cannot open user default database, login fails"
The solution given by msdn is: SQL Server 2005You can use the sqlcmd utility to change the default database in SQL Server 2005. To do this, follow these steps: 1.Click Start, click Run, type cmd, and then press ENTER. 2.Use one of the following methods, depending on the kind of authentication that the SQL Server login uses: €˘If the SQL Server login uses Microsoft Windows authentication to connect to the instance, type the following at the command prompt, and then press ENTER:sqlcmd €“E -S InstanceName €“d master€˘If the SQL Server login uses SQL Server authentication to connect to the instance, type the following at the command prompt, and then press ENTER: sqlcmd -S InstanceName -d master -U SQLLogin -P PasswordNote InstanceName is a placeholder for the name of the SQL Server 2005 instance to which you are connecting. SQLLogin is a placeholder for the SQL Server login whose default database has been dropped. Password is a placeholder for the SQL Server login password.3.At the sqlcmd prompt, type the following, and then press ENTER: ALTER LOGIN SQLLogin WITH DEFAULT_DATABASE = AvailDBNameNote AvailDBName is a placeholder for the name of the existing database that can be accessed by the SQL Server login in the instance.4.At the sqlcmd prompt, type GO, and then press ENTER.
I wonder what are InstanceName, SQLLogin & AvailDBName. It would be nice if someone can give me a specific example, since I am not sure how to type them in a command line. :)
I'm using Visual C# 2008 Express to connect to the Northwind database in SQL Server 2005 Express. My Visual C# project which worked yesterday now yields an exception on build.
The error message is:
Cannot open user default database. Login failed. Login failed for user 'Plesva-PCPlesva'.
The connection string is:
Data Source=.SQLEXPRESS;AttachDbFilename="C:Program FilesMicrosoft SQL ServerMSSQL.1MSSQLDataNorthwnd.mdf";Integrated Security=True;Connect Timeout=30;User Instance=True
In SQL Server Management Studio Express, I can see that the default database for this Login is master. In the master database, the user mapped to this Login is 'Plesva-PCPlesva'. The database role membership for this Login in master is 'public'.
Does this have something to do with user instances? I'm not familiar with that topic, but have seen a few posts here and elsewhere that alluded to it. I couldn't make heads or tails of what they were talking about.
Cannot open user default database. Login failed. Login failed for user '[machine name]ASPNET'.I'm working in VS 2005 with a starter kit. I close VS and open an MDF file in SQL Server 2005 Management Studio to modify a table. I attach the file, change a data type, then detach the file. When I go back to VS and try to run the program, I get this error. Everything runs normally before I bring the file into Management Studio. It is not a permissions issue. Does SQL Server put some kind of lock on the file? This must be a fairly common problem. A developer will sometimes want to modify an .mdf file. How does he do that and then run his program? Thank you for any suggestions I can try.
I have installed SQL Server 2005 Express edition and when i try to run the web site as http://127.0.0.1/SiteName/Login.aspx. I am using default SQL Provider.
Can anyoone please help me??? i was struck here from last two days.
System.Data.SqlClient.SqlException: Cannot open user default database. Login failed.