I have develop a web application which is executing perfectly in my local machine.
I purchase a hosting from parallel Plesk. Where I had upload all my files.
I am using AttachDBFile [.MDF]as my database, which is store in App_Data Folder.
in the server its generating error as its is not connected.
My ConnectionString

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: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)

1 solution

Solution 1

In case of local sql express, the syntax is correct, assuming that the server instance name is SQLEXPRESS, and all other parameters are correct. But are you sure, that those stand also for the provider also?
I suggest you consult with the service provider, to get the correct connection string, and consult the syntax gallery also: http://www.connectionstrings.com/sql-server-2005[^]

I don't really remember your questions, but I'm really sorry for non-answering. You see, asking questions also requires some minimal qualification. Unfortunately, these days majority of the questions cannot be answered, because they are not qualified as such. Perhaps you are one of the many inquirers like that, I'm not sure.
When I face a question which I can answer, I usually try hard to answer, and most typically find a pretty good solution, you can see it by the feedback I have.

I would advise you that you consider even the down-votes and criticism as a sort of help, really useful. Didn't you notice that criticism is one of the major forces of the progress? To develop, a person needs some feedback, to know what can be improved. Also, think about it this way: if we did not down-vote the weakest posts, it would be unfair to those with excellent posts.

Also, you should understand that a member can leave only one report on one item. It is impossible to have more then one vote for the item as well. So, when I say that you have 4 abuse reports only on your member account, it means that 4 different members reported you personally for the abuse.

I'm afraid to be mistaken here, but I can guess that was due to your aggressive behavior toward those who really tried to help. And I don't think that you are really aggressive, it might only seem so. I might be not right here...