SQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsDatabaseSQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old September 24th, 2009, 05:19 PM
MikeGore MikeGore is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Sep 2009
Posts: 2 MikeGore User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 23 m 15 sec
Reputation Power: 0
Trouble with ConnectionString - What is my User ID and password

--------------------------------------------------------------------------------

Hi,

I don't know if this is the right forum to post, but I would really appreciate any help.I have posted this on other post hoping for a solution only for weeks to pass with no replies. I've been trying it for day and I haven't been able to figure it out. Is the syntax wrong? Do I have to write username and password in the single quotes or double quotes or none. What is my password? Do I have to set up Sql Server 2005 Express to use SQL Server Authentication? If so, I tried that couldn't even set that up. Is my server not running properly? What? Do some programs require Windows Server installation? I am just trying to get it run only on my computer (localhost).

I know the format is right, but what is my user ID and password. I get this error when I try to open the webpage on localhost:

HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.

And it is highlighting this part:

<add key="ConnectionString" value="Data Source=127.0.0.1\SQLEXPRESS;Initial Catalog=UDG;Persist Security Info=True;User ID=username;PWD=password;"/>


I am using SQL Server 2005 express.

IIS from vista original.

I am running this on my computer, still working on the webpage, so no remote server or anything just want to access the webpage I have done on my PC.

How do I find out what my username and password is. I am not sure if 127.0.0.1 is correct, but as I said I am running this on my computer. Its IE7.

Thanks,

Mike

Reply With Quote
  #2  
Old September 24th, 2009, 06:12 PM
mystic7's Avatar
mystic7 mystic7 is offline
Contributing User
ASP Free Intermediate (1500 - 1999 posts)
 
Join Date: Sep 2006
Posts: 1,591 mystic7 User rank is Major (30000 - 40000 Reputation Level)mystic7 User rank is Major (30000 - 40000 Reputation Level)mystic7 User rank is Major (30000 - 40000 Reputation Level)mystic7 User rank is Major (30000 - 40000 Reputation Level)mystic7 User rank is Major (30000 - 40000 Reputation Level)mystic7 User rank is Major (30000 - 40000 Reputation Level)mystic7 User rank is Major (30000 - 40000 Reputation Level)mystic7 User rank is Major (30000 - 40000 Reputation Level)mystic7 User rank is Major (30000 - 40000 Reputation Level)mystic7 User rank is Major (30000 - 40000 Reputation Level) 
Time spent in forums: 1 Week 2 Days 22 h 36 m 2 sec
Reputation Power: 357
If you have mySQL installed there's a utility built in called MySQL Administrator that shows you all of that information. If you didn't set one it's usually username: root password: admin.

Go here to find your connection string syntax:

http://www.connectionstrings.com/sql-server-2005

Last edited by mystic7 : September 24th, 2009 at 06:19 PM.

Reply With Quote
  #3  
Old September 24th, 2009, 08:47 PM
MikeGore MikeGore is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Sep 2009
Posts: 2 MikeGore User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 23 m 15 sec
Reputation Power: 0
The thing is this website I am trying to run was designed with sql server 2005 as the database. I could'nt find "sql server 2005" so I downloaded "sql server 2005 express", would that make a difference?

I simply added the database (sql script) by opening the sql.script it seemed to load everything. And I checked what subdirectory it should be in as well. Do I need to also press execute button after double clicking the sql script (which opened the sql server management studio express automatically). The reason I am asking is because when I click execute I get error message "Cannot find the user 'bla bla', because it does not exist or you do not have permission"

check this script:
Code:
IF NOT EXISTS (SELECT * FROM sys.schemas WHERE name = N'bla')
EXEC sys.sp_executesql N'CREATE SCHEMA [bla] AUTHORIZATION [bla]'


Since this script was originally designed on another system, it doesn't work on mine. The thing is I don't know what I have to replace "bla" with and where to find out what the username is. But does this matter, since the tables are created. I can check them from the gui in sql server management studio express.

Also the website was previously run on a Windows server. Does it matter if I have vista instead?

I'd really appreciate your help.

Thanks,

Mike

Reply With Quote
Reply

Viewing: ASP Free ForumsDatabaseSQL Development > Trouble with ConnectionString - What is my User ID and password


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump





 Free IT White Papers!
 
Create the Optimal Architecture for your Critical Applications
Warburton's the largest independently owned bakery in the UK faced a number of difficult challenges in providing the most robust yet efficient IT infrastructure for their organization's success. IBM's services combined with their xSeries servers created the perfect platform for their SAP environment with sufficient flexibility, and did so in very time effective fashion.

 
Five Best Practices for Deploying a Successful Service-Oriented Architecture
This white paper describes the benefits you can expect with SOA, and how IBM can help take your business there.

 
Gartner Magic Quadrant for Application Delivery Controllers
Gartner summarizes its view on Application Delivery Controllers, evaluates strengths and weaknesses of solutions, and provides Magic Quadrant reporting for a quick comparison across all vendors. Learn from Gartner how you can benefit from an all-in-one device like Citrix NetScaler that delivers the highest levels of availability, performance and security.

 
Knowledge is Power
What you don't know can hurt you, and is likely costing you money and increasing your security risks during an era of scarce resources. This white paper proposes six key strategies that enterprise security managers can use to improve their network defense posture.

 
Rationalizing the Multi-Tool Environment
The rationalized multi-tool approach is flexible, scalable and cost effective. It provides the necessary input to the IT service management business processes. It preserves prior investments in monitoring tools, empowers technologists to select the best tools with which to do their jobs, and enhances effective response to incidents.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2010 by Developer Shed. All rights reserved. DS Cluster 11 Hosted by Hostway
For more Enterprise Application Development news, visit eWeek