Sharepoint Designer And SQL Express Login

Apr 19, 2007

I am using the two programs in the title and use IIS/Web Developer to display locally. All is well. However, when I file transfer to a web server on our intranet web server it fails. The generic aspx pages display, but when I go to login, I get errors indicating can't find the database. (SQL Server does not allow remote connections. Error 26)



I have tried 30+ connection string options and have talked to others in my office more advanced then I and they say my string/s looked fine.



My question is, Can I simply drag/drop my files from my system (inluding the SQL Express MDF file) or am I required to install something from SQL express on the web server to make it work?



Before you ask...Yes, I setup TCP/IP, allowed remote connections, no passwords etc. No matter what I try, I keep getting the above generic error. I can't help but think it has something to do with not having SQL Express installed on the web server.



Please HELP!

View 3 Replies


ADVERTISEMENT

Reporting Services/Sharepoint Double Login

Oct 23, 2007

I have a Reporting Services implementation setup to run in Native mode. Reports on the server are being accessed through a Sharepoint website that has a Report Viewer control.

This is posing a problem because after the user logs into Sharepoint, they are again prompted to login to the report server. Is there a way to pass the users Sharepoint credentials to the report server to prevent this double login prompt?

Thanks in advance for your help!!!

View 1 Replies View Related

VS 2008 Express, New Install: Cannot Open Database Aspnetdb Requested By The Login. The Login Failed.

May 9, 2008

Hi,
I just installed Visual web developper 2008 express with all options including SQL srvr express 2005!

This is from default iso image on the official website.

I create my first project and when I want to do ASP.NET configuration from web site menu, i got this error:

"Cannot open database "aspnetdb" requested by the login. The login failed."

I am just trying to learn here so i even did not create any dB or something, it is 1st time I run configuration to add security roles and users for testing!

I also un-installed all and re-installed, still the same...

pleas help and give me details as i am new.

kind regards,Golgot

View 12 Replies View Related

SharePoint Services And SQL Express

Dec 22, 2005

Hi, I'm new to the forum and also to SQL Server.
Has anybody implemented SharePoint Windows Services on top of SQL Express? I'm trying just that, but i'm encountering some problems when trying to enable Full-Text search. The configuration page for this option says that the database i'm running on does not support full-text search.
Thanks in advance,

Ulises

View 4 Replies View Related

Sharepoint And SQL Express 2005

Jan 9, 2008

I found out the battery in my UPS isn't working anymore. My server down a couple of times with power outages before I figured out it wasn't doing its job.

I make backups of my Sharepoint databases using the gui interface in Sharepoint, so I have backups and have used them for a couple of the outages.

What I was wondering (I'm a newb to SQL), if I do a checkdb and get no errors when the databases (sharepoint_config and sharepoint_data) are marked suspect, is there an easy way to get them back online without using the backups. The only reason I ask, there is data entered in the 23hrs (daily backups) since the last backup that I wouldn't mind keeping.

Also, I seem to have gotten (from reading some of the posts here) my sharepoint_config stuck in emergency mode and can't find a post on how to get it back to normal/online mode ;)

-Sony

View 1 Replies View Related

I Created A Login In SQL SERVER 2005 EXPRESS, But Cant Login...

Nov 24, 2005

create login dave with password='abc', default_database=tempdb

View 6 Replies View Related

Connecting Visual Web Designer To SQL Server 2005 Express

May 21, 2008

Hi all!On a server computer, I have SQL server 2005 express edition installed, and am using that for my web server, but I want to develop the applications in Visual Web Developer on a remote machine on my LAN. This means I will have to connect VWD to the remote SQL server, to work with the databases.How do you connect VWD to a Remote SQL server?Thanks!

View 3 Replies View Related

SQL Server Express And Sharepoint SQL Version

Oct 10, 2006

I created an ASP application using Web Developer Express and SQL Server Express on my workstation. Everything works great. I copied the application and all files to my intranet server which is a 2003 server running Sharepoint. When I attempt to run the application from the server.Access to the ADO.net Managed Provider 'SqlClientFactory' was denied in the data source with ID 'SqlDataSource' because of security settingsIs there something in the web config that I must change or settings on the server that must be changed for the application to run?

View 2 Replies View Related

SQL Express Advanced With Sharepoint Services.

Jul 1, 2006

Hi

I've recently upgraded from MSDE (SBS 2003 SP1 with .NET 2.0) to SQL Express SP1.

I am trying to enable full text sarching on the Sharepoint instance but whenever I go to Sharepoint central administaton and text sarching it reports that the SQL server installed does not suport this.

I can't find any documentation on this anywhere.

Admidatley the machine is a domain controller and I know this isn't recommended but surely this shouldn't stop this from working?

All components where selected when installing SQLExpress and I recieved no errors.

Any sugestions would be greatly appreciated.

Many kind thanks

Gareth
Gareth.Hunter@gmail.com

View 6 Replies View Related

SQL 2005 Express And Sharepoint Services 2.0 SP2

May 31, 2006



If I upgrade my sharepoint Database from MSDE that comes with sharepoint, to SQL 2005 Express, will I lose my no limit on the Database size?

Normally MSDE has limit of 2GB but I guess it doesn't when installed with Sharepoint services. So if I upgrade to 2005 express, will I then get a 4 GB limit on size?



Thanks for your help

View 1 Replies View Related

SharePoint Configuration && SQL Express - Error 4060

Apr 26, 2006

While trying to "Set Configuration Database Server" for Windows SharePoint Services I receive the error:
"Cannot open database "SharePoint" requested by the login.
The login failed. (Error code: 4060)"

I set up a test bed server 'SNET' with WinServer03 SP1, IIS 6. SQL Server Express, and SharePoint Services.

In "Set Configuration Database Server" I used:
Database server: snetsqlexpress
SQL Server database name: SharePoint (I know real imaginative)
Database connection type: * Use Windows authentication
X Connect to existing configuration database.

If I try "Use SQL Authentication"
"Login failed for user <username>. The user is not associated with a trusted SQL Server connection. (Error code: 18452)"

First let me say that while I'm not a newbie, as usual I've bitten off more than I can chew comfortably. Server '03, Active Directory, IIS 6, SQLExpress, and SharePoint are all relatively new to me, hence the test bed server, and I'm on a pretty steep learning curve.

But what's life without a challenge.

So the short and sweet of it is can somebody point me in the right direction to find the root cause of this error. I do have other programs running with this instance of SQLExpress and doing so quite happily. And I've given myself god privileges in AD just to try to get around this.

View 1 Replies View Related

Can't Login To SQL 2005 Express Edition Through Mangerment Studio Express

Apr 29, 2007

Hi, all

I installed SQL 2005 express edition in my pc (Pro XP), then I can login from SQL 2005 Managerment Studio Express. After a few days later, I can't do it and an error message as belows:


An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) (Microsoft SQL Server, Error: -1)
It seems that the default setting does not allow remote connections, however, I connected it before and havn't change any setting. I try to reinstall the studio express but still not working.

Any idea / solution will be welcome.

Kevin Cheang

View 3 Replies View Related

Reporting Services And Sharepoint Integration - Sharepoint Alternate Access Mappings (Zones)

Mar 2, 2007

I get the following error when I try to navigate to a report/model/data source, stored in a Sharepoint Document Library using a Sharepoint URL based on an Extranet or Intranet zone - but it works OK using the url for the Default zone:

System.Web.Services.Protocols.SoapException: The specified path refers to a SharePoint zone that is not supported. The default zone path must be used. ---> Microsoft.ReportingServices.Diagnostics.Utilities.SecurityZoneNotSupportedException: The specified path refers to a SharePoint zone that is not supported. The default zone path must be used.


Is this a limitation of the SQLRS-WSS3 integration or is there a workaround?

Many thanks to anyone who can help!





View 22 Replies View Related

Sharepoint Integration Microsoft.ReportingServices.SharePoint.UI.WebParts.dll

Feb 2, 2007

Does anyone know the location of Microsoft.ReportingServices.SharePoint.UI.WebParts.dll after you install the web part? I am wondering if I can inherit from this web part to wrap some other functionality into it. I know that i see it in the GAC buyt can't seem to find it so I can look at the assembly using reflector.

Also, how easy is it to pass in parameters to the Report Viewer?

Thanks!

Erik



View 6 Replies View Related

Problems With SharePoint Integration And Reporting On SharePoint With SSRS

Jan 17, 2008

Since I wasn't getting any replies with answers or suggestions to my initial posting, I figured I would continue to list the problems and solutions I've encountered while trying to setup and utilize SharePoint integration mode, and read data from SharePoint with SSRS reports (developed in VS2005). Hopefully this is helpful to anyone that is also trying to learn all this stuff and figure it out.

(Single server - W2K3R2_SP2 as: DC / SQL2005 Standard / MOSS2007 Enterprise - see the bottom of this posting for the steps I took to set that up)

Note: After I get this to work, I intend to post my experiences for setting up SharePoint Integration with SQL and SP on separate boxes.

1. In the new reporting section under SharePoint application management in the Central Admin Console, the Grant database AND Set Server Defaults work when using the domain admin account, but not when using the SQLSPS service account I used to setup both SQL and SharePoint. Why can't I use the service account? Is the domain admin account now going to be used as a service account for accessing the sharepoint database?


This question remains unanswered as of yet.

2. Reporting Services configuration tool shows Sharepoint integration as red x when I create a new database in integration mode. (the service account SQLSPS and the Server object are members of the group WSS_WPG). If I switch back to native mode (the original reportserver database), the red x goes to a blue exclamation instead. Using Service Credentials or Windows credentials (as either the service account SQLSPS or as domain admin) doesn't change anything.


RESOLVED by using a domain user account for the ReportServer WebApp. Even though everything is installed on the same machine, it seems using the default of NETWORK SERVICE wasn't acceptable. Possibly because SharePoint is configured to allow additional machines in the farm?

3. http://servername:8080/reportserver will display Report Server information as it did before the integration on port 80, but http://servername/reportserver doesn't display anything through SharePoint.


Resolved. I needed to define a repository before I could view it (go figure). When I created a sharepoint site based on a report center template, created a data connection library and report library, and then referenced that by http://servername/sites/myReportCenterSite/myReportLibrary, I was able to see the equivalent of http://servername/reports (which is now disabled due to integration mode).

4. Unable to deploy to new report center sharepoint site I mention above using Visual Studio. I kept getting "A connection could not be made to the report server http://servername/sites/ReportCenter. Server was unable to process request. The request failed with HTTP status 503: Service unavailable (System.Web.Services). In Visual Studio, the project properties were: TargetDataSourceFolder = http://servername/sites/myReportCenterSite/myDataConnectionLibrary, TargetReportFolder = http://servername/sites/myReportCenterSite/myReportLibrary, TargetServerURL = http://servername/sites/myReportCenterSite/


Found these errors in the event logs on the server.

Event Type: Warning
Event Source: W3SVC
Event ID: 1021
Description:
The identity of application pool, 'ReportServer' is invalid. If it remains invalid when the first request for the application pool is processed, the application pool will be disabled. The data field contains the error number.

Event Type: Warning
Event Source: W3SVC
Event ID: 1057
Description:
The identity of application pool 'ReportServer' is invalid, so the World Wide Web Publishing Service can not create a worker process to serve the application pool. Therefore, the application pool has been disabled.

Event Type: Error
Event Source: W3SVC
Event ID: 1059
Description:
A failure was encountered while launching the process serving application pool 'ReportServer'. The application pool has been disabled.

RESOLVED the issue by changing the Application Pool used by reporting services from ReportServer to DefaultAppPool and changing the account DefaultAppPool used from NETWORK SERVICE to my service account SQLSPS. I have no idea why ReportServer is invalid, it was set to use the service account SQLSPS the same as DefaultAppPool is. Perhaps the reporting services add-on makes a change to invalidate this?

5. Attempting to read a SharePoint list using a SSRS report. This should be fun.

First, created a new custom list in the ReportCenter SharePoint sites I've been using and called it myCustomList. I added one item with a title of myCustomListItem1. I don't know if I need to do more than that for a simple test of reporting or not yet.

Second, configured new shared data source. Name = myCustomList1DataSource, type=XML, Connection String = http://servername/_vti_bin/lists.asmx (this URL is viewable in IE), Using Windows authenticaion.

Third, in VS2005 on a workstation in the domain, create new report item (report1.rdl). New dataset for report; Name=Report1DataSet, Data Source=myCustomList1DataSource (Shared), Command type = text, Query String = [See Queries and associated errors below]:

Initial query obtained from: Connecting SQL Reporting Services to a SharePoint List (David Wise)
http://www.sharepointblogs.com/dwise/archive/2007/11/28/connecting-sql-reporting-services-to-a-sharepoint-list-redux.aspx

Note: Queries when executing the dataset (which errors out) and when executing a query in CAML Viewer for the same information (which does work just fine) both initially return 401.1 and 401.2 errors (as viewed in Fiddler). Since the CAML query works, I have not tracked this down yet.


A. Original format from posting



<Query>
<Method Namespace=http://schemas.microsoft.com/sharepoint/soap/ Name="GetListItems"/>
<SoapAction>
http://schemas.microsoft.com/sharepoint/soap/GetListItems
</SoapAction>
</Query>


Parameter; Name => listName, Value => =myCustomList

Was NOT prompted to define the query parameters


- Gets this error: "An error occurred while setting the command text property of the data extension command. The XmlDP query is invalid. (Microsoft.ReportingServices.DataExtensions)."


- Advanced information from the error => 'http' is an unexpected token. The expected token is '"' or '''. Line 2, position 19. (System.Xml)

B. Changed: Placed the namespace URL in quotes (also tried with and without / in namespace after /soap)

<Query>
<Method Namespace="http://schemas.microsoft.com/sharepoint/soap/" Name="GetListItems"/>
<SoapAction>http://schemas.microsoft.com/sharepoint/soap/GetListItems
</SoapAction>
</Query>

Parameter; Name => listName, Value => =myCustomList (also tried Value => myCustomList) (no equal sign)

Clicked "!" to execute, and got prompted to define the query parameters
Entered Name => listName, Value => myCustomList

- Gets this error: "failed to execute web request for the specified URL (Microsoft.ReportingServices.DataExtensions)."

- Advanced information: <faultstring>Server did not recognize the value of HTTP Header SOAPAction: http://schemas.microsoft.com/sharepoint/soap/GetListItems/.</faultstring>


C. Try the query string that seems to work for Stramit CAML Viewer to read myCustomList

Stramit CAML query:
<Query xmlns="http://schemas.microsoft.com/sharepoint/soap/">
<OrderBy>
<FieldRef Name="ID" />
</OrderBy>
</Query>

Also tried
<Query xmlns="http://schemas.microsoft.com/sharepoint/soap/">
</Query>

And tried entering no query...

Parameter; Name => listName, Value => =myCustomList (also tried Value => myCustomList) (no equal sign)

Clicked "!" to execute, and got prompted to define the query parameters
Entered Name => listName, Value => myCustomList

- Gets this error: "failed to execute web request for the specified URL (Microsoft.ReportingServices.DataExtensions)."



- Advanced information: <soap:Fault><soap:Code><soap:Value>soap:Receiver</soap:Value></soap:Code><soap:Reason><soap:Text xml:lang="en">Server was unable to process request. ---&gt; Data at the root level is invalid. Line 1, position 1.</soap:Text></soap:Reason><soap: Detail /></soap:Fault>

RESOLVED. Went back to the query used in B above, and mysteriously it works now. This could be the "funny things happen" symptom I've been reading about. We'll see if it continues to function.

Here's what I've learned so far on Issue #5:

1. XML is confusing. XmlDP is even more confusing...whatever that is. Apparently it's new to/with Reporting Services in SharePoint integration mode?
2. There is far too little documentation regarding XmlDP and querying SharePoint lists from SQL Reporting Services.
3. According to http://msdn2.microsoft.com/en-us/library/ms159741.aspx: You must use the generic query designer to create the query. The query is not analyzed to identify parameters; therefore you must create parameters through the Parameter tab on the Dataset dialog box.

Tried this query:

<Query>
<SoapAction>http://schemas.microsoft.com/sharepoint/soap/GetListItems</SoapAction>
<Method Namespace="http://schemas.microsoft.com/sharepoint/soap/" Name="GetListItems" />
<Parameters>
<Parameter Name="listName">
<DefaultValue>myCustomReport2</DefaultValue>
</Parameter>
<OrderBy>
<FieldRef name="ows_Date" />
</OrderBy>
</Parameters>
</Query>
I was still prompted for the listName and the list returned with ows_Date still out of order. So maybe that proves this statement is true?
<translation: why make it convenient when it's already [somewhat] functional?>
4. When building the dataset, anything I place in the "Query string" box has to be enclosed in <query></query> tags or it errors out. I am trying to understand how to translate the CAML viewer query (which does work but isn't wrapped in query tags) into something that fits between query tags, and it hasn't gone well so far.
<translation: To be at one with your reports Grasshopper, you must understand xml>
5. According to http://srv1/sites/ReportCenter/_vti_bin/lists.asmx, "GetListItems" operation is supported
<translation: you're getting warmer...>
6. According to the soap output of my site http://srv1/sites/ReportCenter/_vti_bin/lists.asmx?op=GetListItems, I am only allowed to specify the following parameters: listName, viewName, query, viewFields, rowLimit, queryOptions and webID.
<translation: that and $3.00 will get you a cup of coffee>
7. According to http://www.sharepointblogs.com/dwise/archive/2007/11/28/connecting-sql-reporting-services-to-a-sharepoint-list-redux.aspx, only listName, viewName and rowLimit parameters are usable(?) (query and queryOptions may not be working properly with SSRS).
<translation: that kind of sucks>
8. When this started mysteriously working again, I tested using the "/" at the end of the namespace (wouldn't work without) and the "=" sign in front of the parameter value as defined on the parameter tab of the dataset (turns out to be optional).

As long as I can query SharePoint and get my list information back, I'm going to consider this issue closed and move on to actually using this information in a report. I'm sure that won't work right either, but why stop now?!

6. Ok, now that I can read SharePoint list data with SSRS, I need to try and actually do something with it.


A. Begin by setting up new data to report on


1. Create a new custom list (myCustomList2) and add a test record. This list will simulate the data we intend to submit to SharePoint using InfoPath, so it has a number of custom/created columns in it


2. Modify the working information from #5 above; add a new shared data source (myCustomList2DataSource), tell the dataset to use the new shared data source, change the information set in the parameter tab (Name => listName, Value => =myCustomList2) and test the dataset. Lucky me, it actually returned the record I entered on the first try.

B. Begin to build the report with the dataset returned

1. So, as I'm feeling good that it's actually reading the list in Step A without me threatening to destroy the machine, I look to the left in the Dataset results navigation pane in VS2005 and realize there are NO fields for me to choose to report on.
2. At this point, I have no clue what to do about getting this XML data into a report. Not that I have a large clue about SSRS otherwise, but I have at least been able to build SSRS reports when using a SQL database as the datasource. Fyi, http://msdn2.microsoft.com/en-us/library/ms159741.aspx states: "Reports can use data from XML documents and Web services, or embed XML in the query. There is no built-in support for retrieving XML documents from a SQL Server database.", in case anyone is trying to do that....

RESOLVED. Since the fields were not appearing automatically, I had started to add new fields to the dataset manually (if it doesn't work, beat it with a hammer, right?). I entered half a dozen or so fields, each one with the exact name as displayed in the query results, and then decided it would be fun to hit the refresh fields icon. As soon as I did that, all the fields shown in the query immediately appeared in the dataset and I was able to add them to a report. I don't know if I hit the refresh fields when working in issue #5, so I can't say if they are there now because of that, or because of adding some fields manually first, a combination of the two, or if it's just one of those mystery items I'm reading about with sharepoint reporting.

7. Rows are being returned even though they have NULL values (so far anyway), and most data is returning nicely for the bulk of the columns I created in the list I'm reporting on. Here are the current issues:


A. I have one column in my SharePoint list that is multi-lined text. If the text type is either rich text or enhanced rich text, the value returned in the query is formatted like this: "<div class=ExternalClassyadayada<div>My notes display here". If I set the column to be plain text, this doesn't happen. I will need to figure out how to filter that for my report.


RESOLVED. David Wise had some code listed at http://www.sharepointblogs.com/dwise/archive/2007/11/28/connecting-sql-reporting-services-to-a-sharepoint-list-redux.aspx that addressed this issue somewhat. I modified it to match my circumstances. Disclaimer: I'm not a programmer, so use this at your own risk.


function ExtractMultiLineText(myField as string) as string
dim strBegin as string
dim strEnd as string
dim myBegin as integer
dim myEnd as integer
dim myTextLength as integer
strBegin = "<div>"
strEnd = "</div>"
if myField = nothing then return ""
if myField = "" then return ""
myBegin = Instr(myField, strBegin) + Len(strBegin)
myEnd = Instr(myField, strEnd)
myTextLength = myEnd - myBegin

if myBegin < 1 then return myField
return mid(myField, myBegin, myTextLength)
end function

B. I have two columns in the SharePoint list that are set as number values with 0 decimal places. When I query those however in SSRS, they return with the number plus like 12 zeroes behind the decimal. Not a major issue, but I'll put it on the list anyway.


RESOLVED. Used the Int() function; =Int(Fields!ows_myProblemNumber)

C. If I go to "/_vti_bin/lists.asmx?op=GetListItems", it appears from the sample soap output that I am allowed to ask GetListItems for is: listName, viewName, query, viewFields, rowLimit, queryOptions and webID. As I mentioned in issue #5, according to http://www.sharepointblogs.com/dwise/archive/2007/11/28/connecting-sql-reporting-services-to-a-sharepoint-list-redux.aspx, only listName, viewName and rowLimit parameters are usable(?) and query and queryOptions may not be working properly with SSRS.

So, if I can't put anything other than this in my query string;

<Query>
<Method Namespace="http://schemas.microsoft.com/sharepoint/soap/" Name="GetListItems"/>
<SoapAction>http://schemas.microsoft.com/sharepoint/soap/GetListItems</SoapAction>
</Query>
and I only have a couple parameters to pass on top of that, then it appears to me that my options for filtering the amount of data returned from the SharePoint list is to figure out a way to do it with expressions in the parameters or in the report itself. Am I missing something? Is this really all I get to work with out-of-the-box?


More to come...


==================================
Installation steps taken to build the server VM:
==================================

(Using VirtualPC 2007)
1. Build OS (2003R2SP2) and promote to DC

1a. Create domain user service account SQLSPS
2. Prep for SQL

2a. Install ASP.NET, IIS (www) and .NET 2.0
3. Install SQL/SSRS 2005 Std

3a. Verify SSRS works
3b. RS config tool shows SP integration as blue exclamation
3c. Use service account SQLSPS for anything requiring Windows credentials
4. Install SQL2005 SP2

4a. Verify SSRS works
4b. RS config tool shows SP integration as blue exclamation
5. Prep for SharePoint

5a. Install .NET 3.0
6. Install MOSS2007 Enterprise and configure

6a. Webapps, SSP and anything else use svc acct SQLSPS
6b. Move Default website to port 8080 and re-activate (SharePoint stopped the site)
6c. Verify SSRS works on 8080
7. Install Reporting Services Add-in
8. Create new RS database in integration mode (with service credentials)

8a. RS config tool shows SP integration as red x
9. SP central admin /application management / manage integration settings

9a. reports server = http://srv1:8080/reportserver (since default port has been moved to 8080)
10. SP central admin /application management/grant database access

10a. using the FQDN, confirm servername and default instance - click OK
10b. Prompted for an account to use to retrieve information; svc acct SQLSPS did not work, domain admin did though
11. SP central admin / application management/set server defaults

11a. Accepted all defaults
12. Verify reportserver answers at http://srv1:8080/reportserver (via reportserver AppPool and DefaultAppPool)
13. Changed the application pool identity for the ReportServer AppPool from Network Service to the domain user service account I used for all SQL and SharePoint configurations (SQLSPS) and rebooted. The red x for sharepoint integration in the RS configuration tool is now a green checkmark.

View 7 Replies View Related

Can't Login To Db After I Do A Db Backup In SQL Express

Dec 5, 2006

 
I have a working dnn site.  I've created several modules and corresponding tables in the database and everything works great.  Then, I open SQL Server Management Studio Express, attach to the database, backup the database, detach from the database and I can no longer run my site (error shown below which says I cannot login to db).  I can open the database from Visual Studio and see my tables, but I cannot run the application.  Rebooting doesn't help.  I've even tried copying over the database with a prior copy.  It still doesn't work.  The only way I have found to reconnect to the database is to copy over the entire dotnetnuke install directory with a copy I made prior to the backup.  Then it works again. 
Anyone else had this behavior?  How do I fix it?
Thanks
 
-----------------  DB ERROR BELOW --------------------------------------
DotNetNuke Upgrade Error
The Assembly Version ( [ASSEMBLYVERSION] ) does not match the Database Version ( [DATABASEVERSION] ) ERROR: Could not connect to database.Cannot open user default database. Login failed. Login failed for user 'PARAPRO1ASPNET'.

View 1 Replies View Related

Failed Login SQL Express

Jul 10, 2007

Everything works fine with the website I've created except i get a Login failed message every now and then
Failed Login is: NT AUTHORITYNETWORK SERVICE
 Is this to do with the maximum number of connections to the database?
 how can i stop this from happening?

View 1 Replies View Related

Can't Login To Sql 2005 Express

Sep 8, 2007

when i installed visual web developer and sql management studio,i try to use sql management studio to connect to sql 2005 express,but a error ocurred.here is the  error message.
TITLE: Connect to Server------------------------------
Cannot connect to DHSQLEXPRESS.
------------------------------ADDITIONAL INFORMATION:
The type initializer for 'System.Data.SqlClient.SqlConnection' threw an exception. (System.Data)
------------------------------
The type initializer for 'System.Data.SqlClient.SqlConnectionFactory' threw an exception. (System.Data)
------------------------------
The type initializer for 'System.Data.SqlClient.SqlPerformanceCounters' threw an exception. (System.Data)
------------------------------
Configuration system failed to initialize (System.Configuration)
------------------------------
Unrecognized configuration section system.serviceModel. (C:WINDOWSMicrosoft.NETFrameworkv2.0.50727Configmachine.config line 136) (System.Configuration)
and i wonder if anybody has experienced this error can tell me how to solve?

View 6 Replies View Related

I Can Not Login Sql Server Express :((

Mar 23, 2008

This is my connection string : <add connectionString="Data Source=.SQLEXPRESS;User id=sa;password=*******;AttachDbFilename=|DataDirectory|serdarmuh.mdf;Initial Catalog=serdarmuh;" name="connString"/>  but it says :Login failed for user 'sa'.I adjust the password for "sa" during the setup and set the authentication moded to "Sql Server and Windows Authentication Mode". But it does not work.... If I tried "Integrated Security = True", then it says :Login failed for user 'Administrator' what should I do? Is it better to re-install sql server?  

View 1 Replies View Related

Login Failed For SQL Express

Apr 16, 2005

Whenever I try to connect to my SQL Express Database with C# code,(.net 2.0), it says "Login failed for user 'TUser'. The user is not associated with a trusted SQL Server connection."
But I can connect with SQL Express Manager.
I've heard somewhere this is a SQL authentication problem, I didn't enable it during installation.
So is there a way to fix this? How can I enable SQL authentication without uninstalling it?

View 1 Replies View Related

SQL Express/Login Problem

Jan 23, 2006

I had a an intranet site that was working fine with SQL Server Express. I then tried using the downloadable Management Studio CTP. I manually had to set it to connect to the database in my website folder, but it connected using windows auth and I could run queries and examine tables. I then tried to open my website and it couldn't connect. At first I thought it was just because the management studio was slow at closing so maybe the database was still open, so I tried again after making sure that I disconnected the database and the process was stopped in task manager. Now I am getting a message saying that machinename/aspnet can not connect to the database.
I was another similar problem where they tried removing the userinstance=true from the web config file and it worked for them, but when I tried it looks like the website is trying to run the installation again. I am still getting a login error for aspnet, but now it is on the error installing dotnetnuke page. Any ideas how I can get my site running again using the existing database?
 

View 1 Replies View Related

Stay Login In Sql Express

Mar 7, 2007

Tomer writes "Hi:

I installed sql server express management studio. i'm able to login with the local user and sa user as well. However when I’m connected and i open a new file to a query window (a sql file for example) the login window prompts me and I need to login again.

Do you think there's a way to overcome this problem and login only once?

Thanks,

Tomer"

View 1 Replies View Related

SQL 2005 Express Login

Apr 10, 2007

Hello,

I'm trying to log into a remote SQL Server but get: Login Failed for user
'XXXXXXXX' and I also get the 18456 error.

The host company assure me they are the right logins and curiously when I use Visual Web Developer and the data connection I can access the database tables etc.

I am using TCP/IP

any ideas what might be going wrong?

thanks.

View 5 Replies View Related

SQL 2005 Express New Login

Nov 27, 2006

Hello all

Im new to SQL 2005 express so please bare with me,

I have set up wireless peer to peer network and I am trying to access an express database from one machine to another. I can transfer files no problem.

When I try to create a new login, I am forced to only select logins local to the machine with the database. When I try and create a new login by typing <machinename><windows account > of the second PC, SQL can not see it.

I have tried both Windows authentication and mixed mode... no success.

Any ideas?

Thanks

View 24 Replies View Related

SQL Server Express For Login Control

Aug 11, 2006

I have built a page with the login control using the default sql server express database that is integrated into the application. I have got it working on my development machine and want to post it on the web with a web hosting company. I did not know if they had to have sql server express installed on that machine for my database to work properly or will it work with sql server 2005 installed. Most web hosting companies that I have called say they only support sql server 2005 and not sql server express. I was unsure if the login would work or not. Please help with this issue. I am new at ASP.net and really enjoy it. However, I want to ensure that my site will work on the web as it does on my machine.

View 4 Replies View Related

Login Failed To SQL Server Express

Oct 10, 2007

For the life of me I've had nothing but trouble using SQL Server Express.  My latest problem sprung up out of nowhere, I all of a sudden begin getting the following error, when I know my app was working last time I ran it: "Cannot open user default database. Login failed.Login failed for user 'PINCHCPUBrad'."I get this error in an auto-generated file App_Code.1voqxxpd.18.cs.  What kills me is, I can connect to the database through Server Explorer and SQL Management Studio, but for some reason my application cannot.  I really don't understand how logging-in works with SQL Server Express as I've never even set up a login.  When I look at my database properties in Server Explorer is shows Owner as the exact entity my application says it can't find: 'PINCHCPUBrad'. The database I'm trying to connect is in my App/Data folder and my Connection String says: "LocalSqlServer" connectionString="Data Source=.SQLExpress;Integrated Security=True;User Instance=False;AttachDBFilename=|DataDirectory|aspnetdb.mdf" providerName="System.Data.SqlClient"/>    I honestly don't get why attaching to and maintaining a simple database is unbelievable difficult and unpredictable, but I constantly get screwey errors like this that pop up out of nowhere. 

View 2 Replies View Related

Login Problems With SQL Express Edition.

Mar 8, 2006

Hi,
when running my application and trying to access an SqlServer express edition DB, I encounter the folowing error:
Cannot open user default database. Login failed.
Login failed for user 'NT AUTHORITYNETWORK SERVICE'.
Does any one know how this problem can be resolved?
It is the SQL Server that comes togather with the VS2005.
Thank you!

View 1 Replies View Related

SQL Express At Home - Can't Create Login

Sep 16, 2006

Short version - how can I create a server login for a remotely connected machine on a simple 2 computer XP home network connected via router?

Long version - I'm doing an Access-SQL Migration. I used the migration assistant (which creates DSN-less linked tables) to convert the data to SQL Server, and now I'm at the point of making all of the modifications to my Access front end so that the two play nice.

I have SQL Express running on my laptop. I would like to do the Access work on my desktop because a) I can work faster with the fullsize keyboard and b) the install at my client's location will include users hitting the database over their network and I'd like to simulate that while I'm making the modifications.

My Access front-end works 100% fine on my laptop. The Access front end will NOT connect when I run it on my desktop.

My guess is that this is due to not having a server login or DB user associated with the account on my desktop machine. In view of that, I'm trying to create those items on my server.

So, I open SSMS on the laptop and try to create a Server login. Under "Login Name:" I enter "DesktopAccountName" and it fails saying "Windows NT user or group 'DesktopAccountName' not found. Check the name again."

If I click the "Search" button next to "Login Name:" The only "Location" that I'm given is "LAPTOP" and that's greyed out preventing me from changing it.

Both machines are running XP home. My network is simply called "Home" if that means anything.

View 5 Replies View Related

ASP.net SQL Server Express Login Question

Aug 27, 2007

I'm attempting to connect to a SQL server database from the code behind in an ASP.net 2005 page. I am receiving the error:

"Cannot open database "Fastaff" requested by the login. The login failed. Login failed for user 'DEBASER1\Carlo'."

4060

My web.config connection string is:

<add name="FastaffConnectionString2" connectionString="Data Source=.SQLEXPRESS;Initial Catalog=Fastaff;Integrated Security=True" providerName="System.Data.SqlClient"/>

The odd thing is when I login to the the same database from the management console using windows authentication I am able to login and the connection info shows:

DEBASER1SQLEXPRESS (SQL Server 9.0.3042 - DEBASER1Carlo)

DEBASER1Carlo is the admin on the machine.

Any ideas?

View 3 Replies View Related

Cannot Login To SQL Server Express 2005

Apr 28, 2008



After a successful install, when I try to Login I get:

Cannot connect or EDHANSEN-PCSQL EXPRESS

"The initializer for 'System.Data.SQLClient.SQLConnection' Three an exception . (System Data)

'The type initializer for System.Data.SqlClient.SqlConnectionfactory' threw an exception.

'Unrecoginzed configuration section system.serviceModel.
(C/WindowsMicrosoft.NetFrameworkv.2.0.50727Configmachine.config line 136) (System.Configuration)

I've tried uninstalling and re-installing. What do you think this is telling me?

Thanks,

Ed Hansen



View 2 Replies View Related

Best Approach To Login To SQL Server Express?

Mar 28, 2007

I borrowed some code from a colleague to login into SQL Server:

public static SqlConnection GetConnection()
{
string dbNameSvr = ConfigurationSettings.AppSettings.Get("DataBaseServer");
string db = ConfigurationSettings.AppSettings.Get("DataBase");
string userId = ConfigurationSettings.AppSettings.Get("UserId");
string password = ConfigurationSettings.AppSettings.Get("Password");

string connStr = "Data Source=" + dbNameSvr + ";" +
"Database=" + db + ";" +
"User Id=" + userId +";" +
"Password=" + password + ";";

SqlConnection aConn = new SqlConnection(connStr);

return aConn;
}



It works but someone has commented that it is very insecure. I don't really understand why but I'll take his word for it. So I'm wondering what approach most people use to have a web app login to their database?

Robert W.

View 6 Replies View Related

SQL Server Express Login Failure

Nov 21, 2007

I am using and learning Visual Basic 2005 Express edtion
I have created a project and wriiten/adapted code, as below, to connect to sql server 2005 express edition, that works well.

=============================================================

Dim ConnectionString As String = "Integrated Security=SSPI;" + "Initial Catalog=JIMDbase2;" + "Data Source=.SQLEXPRESS;"

conn = New SqlConnection(ConnectionString)

' Open the connection
If conn.State <> ConnectionState.Open Then
Try
conn.Open()
Catch ae As SqlException
MsgBox(ae.Message.ToString())
End Try

End If
=============================================================

Later and in the same Project, via Database explorer I 'Add connection' to the same sql database to review tables etc.
After this when I run the same code, as above, I get an error that the database is in use

If I then 'Close Connection' or even Delete the connection via Database explorer I receive the error


"Cannot open Database, "JimDbase2" requested by the login. The login failed.
Login failed for User "..".

Can anyone help on this matter?

Thanks and regards,

Jim

View 7 Replies View Related

SQL Express Database When Attached: Login Failed

Mar 23, 2007

Hello,
I was using a SQL Express database for some time now with no problems for a NUnit Test project.  No, all of a sudden, I'm getting these problems:
DatabaseProviderTest.TestContainsUser : System.Data.SqlClient.SqlException : Cannot open user default database. Login failed.Login failed for user 'XXXXXX'.
For the SQLEXPRESS database, I checked and I am a user, and I gave myself every permission imaginable.  The default database is master, so I don't know why I am getting this problem?
Any ideas?  Thanks.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved