Hello
For ASP.NET:
My Windows Is XP pro.in my computer class when I used
(local), Database connection worked but at home I had to
give my server name to make it work.See line 2,instead of
(local) I gave my server name and SQL Server worked
correctly,in class (local) worked as well,but class's
Windows was server 2000,is it because of that windows?It
means sql Server 2000 in Windows XP doesn't know (local)?
ConnStr = "Provider=SQLOLEDB; Data Source=UNIVERSI-
....NQ\NetSDK; Initial Catalog=ASPNET;User ID=sa;"
you see instead of (Local) I gave UNIVERSI-....NQ\NetSDK
which is my server name and it works.
Do you think it is because that sql Server 2000 in
Windows XP doesn't know (local)?
A friend told me:
"You can change where (local) maps to (ie to
YourComputerName\NetSDK) by using the system sproc:
sp_addserver "
But I don't know how to do that,Could give me a step by
step instruction?
Regards
Reza Saheban