3
Answers

Sql server management studio installation

Photo of kritika Rana

kritika Rana

12y
1.2k
1
hi
i have have successfully installed SQL server Management studio. During installation the wizard does not ask for any login name and password but it installs successfully. Now when i started working on it, it asks authentication I selected sql server authentication then it asks login and password but i dont know the login and password to connect to the server.

It shows the following error for both authentication mode .
Please help in resolving this error.



TITLE: Connect to Server
------------------------------

Cannot connect to vikas-pc\sqlexpress.

------------------------------
ADDITIONAL INFORMATION:

A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Shared Memory Provider, error: 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 2)

Thanks
Kritika Rana

Answers (3)

0
Photo of Vulpes
NA 98.3k 1.5m 13y
None of those functions are anything to do with ASP.NET as such though they can be called from it (using the Platform Invoke mechanism in the case of the first two).

Briefly:

* LoadLibrary is an unmanaged function which loads a dll into a process's address space.

* CoCreateInstance is an unmanaged funmction which creates a COM object using its Class Id (CLSID).

* CreateObject is a VB library function which creates a COM object using its Program Id (ProgID).

* Assembly.Load is a .NET method which loads an assembly at runtime.