|
Hi,
I had Intalled Sqlserver 2005 for Dotnet 2.0 in PC on the Operating System Windows Server 2003
I had Installed Sqlserver2005 in Mixedmode Authentication,
When I make the Connectivity, It Showing Error i.e Login Failed for user
NT Authority\Network Server
When I installed Sqlserver 2005 in same in WindowsXP it working well,
But in WindowsServer2003 only it showning this Error
I used Normal Connection Sting "server;uid;pwd;database;integrated security;"
Give me reply as soon as possible.. when u know this info..
Thanking for you
Balu
|
|
|
|
|
I'm guessing that you're trying to make an ASP.NET website. Integrated Security uses the credentials of the thread making the call to authenticate with the database.
Under Windows XP, IIS 5.1 knows nothing about ASP.NET. The ASP.NET runtime itself starts an ASPNET_WP.EXE worker process, which by default runs under the machine-name\ASPNET account. You can change this by editing the <processModel> element in machine.config.
IIS 6.0 on Windows Server 2003 recognises ASP.NET natively, and uses a standard W3WP.EXE worker process. The worker processes use the identity configured in the Application Pool for the application, which by default is the NETWORK SERVICE account.
You have three choices:
- Create a database server login for the NETWORK SERVICE account;
- Change the application pool's identity to a different account that already has a SQL Server login;
- Use SQL Server authentication and pass a username and password in the connection string.
Stability. What an interesting concept. -- Chris Maunder
|
|
|
|
|
hi,
Thnak u for your reply,
I got that connectivity..
|
|
|
|
|
NT Authority\Network Server is anonyous user for ASP.NET 2.0 websites (in 1.1x it was called IUSER_MACHINENAME which is run under a protected thread by ASP.NET.
If you change your IIS to Windows authenication it will pick up your current Windows authenication and pass this to SQL server.
If you require anonyous access web internet then you need to provide an authenicated user to SQL 2005 either via SQL user connection or use impersonation via your web.config using the indentity
<br />
<indentity impresonate="true" userName="username" password="password"><br />
Look where you want to go not where you don't want to crash.
Bikers Bible
-- modified at 18:59 Friday 21st July, 2006
|
|
|
|
|
i´m working with reporting services and i have to make some graphs and i really don´t know how. there are only 2 report types - tabular and matrix. i also have problem with drill down option when using matrix, it´s not working correctly, i mean it´s hiding rows and columns, but it´s not sumarizing values.
cellardoor
|
|
|
|
|
Graphs are stored in the Chart section of reporting services IDE (Visual Studio).
Look where you want to go not where you don't want to crash.
Bikers Bible
|
|
|
|
|
I have a scenario in which SQL server 2000 need to execute a stored proccedure on a particular day. If thre is a failure in execution error need to be logged.
How to do and steps to do it.
|
|
|
|
|
Use a DTS package or a SQL server Job to schedule the stored procedure. You can setup failure notifications emails.
Look where you want to go not where you don't want to crash.
Bikers Bible
|
|
|
|
|
Hello,
I have a program in VB 2005 Express Edition which accesses an SQL Server 2005 Express Edition database.
I have 600,000 rows of data in a comma-delimited text file that I need to add to an existing table.
Is there a way to import this data quickly into the table? (Copy/Paste will take forever, as I am discovering) I know it is easy to do Access use 'Get External Data' from the 'File' menu.
Your help would be greatly greatly appreciated!
-Lee
|
|
|
|
|
Have you tried the import/export wizard that comes with SQL 2005 Express? You might want to look at:
C:\Program Files\Microsoft SQL Server\90\DTS\Binn for DTSWizard.exe
It might be helpful
Paul
|
|
|
|
|
Beautiful...This sounds like just the thing I need. Only problem is, I've search my whole system for DTSWizard.exe and it's no on my computer.
Is it possible to install it as an add-in, or do you think I need to re-install SQL Server?
Thanks a bunch. Oh and sorry for cross posting.
-Lee
-- modified at 20:24 Thursday 20th July, 2006
|
|
|
|
|
kscadi wrote: Thanks a bunch. Oh and sorry for cross posting.
Don't worry about it Just a friendly reminder.
kscadi wrote: DTSWizard.exe
I don't recall where DTSWizard is found. I think it is a part of the SQL Server Management Studio Express package. I could be wrong, though. Honestly, it's been a while since I've installed SQL 2005 Express and its tools :->
|
|
|
|
|
Look up the documentation for bcp.exe .
Stability. What an interesting concept. -- Chris Maunder
|
|
|
|
|
SQL2005 no longer provides the DTS services or like a wizard as in SQL2000, it is now provides as one of the services. Take a look at that.
Thanks.
Vani
|
|
|
|
|
VK-Cadec wrote: SQL2005 no longer provides the DTS services or like a wizard as in SQL2000
Are you sure about this? DTSWizard.exe came with SQL 2005 Express as I stated earlier
|
|
|
|
|
Hi. i want to Get information for each table in DataBase.
especially i want to get column type and column size. (I want to use OleDb) i used OleDbSchemaGid and some select statements but most of its returns are (null) and doesnt have any useful information.
|
|
|
|
|
From where do you want to use OLEDB?
C#, VB.NET, Managed C++ or native code?
If the latter, there is stuff in ATL DB Client templates that will help.
Steve S
Developer for hire
|
|
|
|
|
from C# in a Windows form app
|
|
|
|
|
If your database is SQL Server try looking up Information_Schema views in the books online.
Select * from Information_Schema.Tables
will give list of all the tables.
--
Don't take life seriously because you can't come out of it alive.
-Warren Miller
(From Monty2[^] bio)
|
|
|
|
|
No. I want to use OleDb. I want to write a Program for all kind of Databases like access,Oracle and ... . is there any standard SQL statement for that.
|
|
|
|
|
hamidreza_buddy wrote: No. I want to use OleDb. I want to write a Program for all kind of Databases like access,Oracle and ... . is there any standard SQL statement for that.
You have to create separate connection for each type of database.
Regards
_____________________________
Success is not something to wait for, its something to work for.
|
|
|
|
|
I guess not. Doing 10 Find() operations on a large table (55000 records) loaded into a BindingSource component always takes about 1.8 secs, with or without a primary key set on the column being searched.
Any ideas on how to add an indexed field to speed up searching?
Kees
|
|
|
|
|
I guess you've bound DataTable or DataSet to your control? If so, table is searched as it was an array of objects, not as a table in a database. Hence, indexes don't matter.
If you want index to speed up the process then you need to perform search by database. Just execute query again with different WHERE clause.
|
|
|
|
|
Thanks for your reply, your information is very clear.
|
|
|
|
|
I am having one physical table in which there are 5 columns and 20,000 rows (say first table) and i want to insert those rows into another physical table(say second table) but before insertion all rows into second physical table ,i need to fetch exact ids of each columns from diff-diff. tables from first phy. table and then when i get those ,insert those ids into second physical tables.
Here i am planning to use joins to fetch appropriate id but joins can only usefull when i give one row at a time.I don't want to use cursor to fetch single rows becoz it reduce performance.
is there any other way like for-loop in sql server 2005 from which i can loop throw one by one records(rows) till end of first physical table?
montu3377
|
|
|
|